9 entity-framework code-first entity-framework-4
我想知道使用EF4 Code-First方法的优缺点.我们可以复制EF4生成的类提供的所有功能,如延迟加载,加载相关实体等吗?
谢谢
优点
缺点
有关示例代码和使用EF 4.0 Code First映射到现有数据库,请参阅此博客文章. http://theminimalistdeveloper.com/2010/07/28/how-to-map-pocos-to-existing-databases-in-entity-framework-4-0-code-first-and-asp-net-mvc- 2 /