NHibernate与Fluent NHibernate的启动性能有没有关系? [英] Is there any data on NHibernate vs Fluent NHibernate startup performance?
本文介绍了NHibernate与Fluent NHibernate的启动性能有没有关系?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
$ ul
SessionFactory预编译XML
配置或
配置的编程方式?
解决方案
XML文档和Sessionfactory底层,所以比不使用流利的NHibernate要慢。
为什么要问?
In short, what works faster:
- SessionFactory precompiling XML configuration, or
- Fluent NHibernate providing configuration programmatically ?
解决方案
Fluent NHIbernate creates the XML documents and Sessionfactory under the hood, so it is slower than not using Fluent NHibernate.
Why do you ask?
这篇关于NHibernate与Fluent NHibernate的启动性能有没有关系?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文