流利的实体框架映射 [英] Fluent Entity Framework Mapping
本文介绍了流利的实体框架映射的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有什么办法来执行流利的EF映射像功能NHibernate NHibernate的?
Is there any way to perform Fluent EF Mapping like Fluent NHibernate for NHibernate ?
推荐答案
实体框架V4.0引入了code只有概念,它是非常接近流利的NHibernate的。更多信息,请访问<一个href="http://blogs.msdn.com/adonet/archive/2009/11/12/updated-feature-ctp-walkthrough-$c$c-only-for-entity-framework.aspx"相对=nofollow>这里和的此处在ADO.NET团队博客
Entity Framework v4.0 introduces the Code Only concept which is really close to Fluent NHibernate. More information is available here and here in the ADO.NET team blog
这篇关于流利的实体框架映射的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文