有没有什么办法来执行流利的EF映射像功能NHibernate NHibernate的?
Is there any way to perform Fluent EF Mapping like Fluent NHibernate for NHibernate ?
实体框架V4.0引入了code只有概念,它是非常接近流利的NHibernate的。更多信息,请访问这里和的此处在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