NHibernte Fluent与XML映射 [英] NHibernte Fluent vs XML mapping
本文介绍了NHibernte Fluent与XML映射的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我看到围绕NH Fluent接口产生了很多嗡嗡声,那么使用Fluent代替XML映射和Criteria API有什么好处?
I see a lot of buzz generated around NH Fluent interface, so what is the benefit of using Fluent instead of XML mapping and Criteria API?
推荐答案
- 重构友好(重命名不会破坏映射)
- 具有可配置约定的自动映射
- 您的域映射中的智能感知
- 编译时间验证
这篇关于NHibernte Fluent与XML映射的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文