摘要: 1. Code First 可以先在代码里写好数据模型,自动生成DB。下一次启动的时候会根据__MigrationHistory判断 数据库是否和模型一致。详情参考:http://blogs.msdn.com/b/adonet/archive/2012/02/09/ef-4-3-code-based... 阅读全文
posted @ 2015-09-29 17:03 sunshine静 阅读(263) 评论(0) 推荐(0) 编辑