Fluent Entity Framework Mapping

2019-05-29 05:33发布

问题:

Is there any way to perform Fluent EF Mapping like Fluent NHibernate for NHibernate ?

回答1:

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