(代码先行):先从代码开始,然后实体框架生成数据库。
Code-first: You start with code, and Entity Framework generates the database.
EF 4.1添加了DbContext API和代码先行功能的支持。
EF 4.1 added support for the DbContext API and Code First functionality.
应用程序开发领域中的代码先行(Code First)方法指的是先在代码中创建对象模型,然后按照模型生成数据库结构。
The Code First approach to application development means that the object model is created in code, and then the database structure is generated from that model.
应用推荐