且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用NHibernate的大型应用程序

更新时间:2022-06-25 03:43:39

我们正在使用它在我的当前项目与复合应用程序... n层的解决方案,在负载均衡的硬件和数据库上运行的WCF服务复制到多个数据中心的全球分销和DR。因此,它肯定是一个企业级应用程序。

We're using it on my current project ... n-tier solution with composite application, WCF services running on load-balanced hardware and databases replicated to multiple data centres for global distribution and DR. So it's definitely an enterprise scale application.

我的建议是真的pretty的显而易见的 - NHibernate的是不平凡的,它有很多的功能,所以花时间去好好学学吧。确保你知道它是什么能力做(比如我最近才发现如何映射计算/触发生成的列),否则你会花时间落实解决方法不真正存在的问题。

My advice is really pretty obvious - NHibernate is not trivial, it has lots of functionality, so take the time to learn it properly. Make sure you know what it's capable of doing (e.g. I only discovered recently how to map a computed / trigger-generated column) because otherwise you'll spend time implementing workarounds for problems that don't really exist.