2018年9月19日

在原有数据库中使用 CodeFirst

摘要: 一、为当前实体模型启用数据迁移 1、Enable-Migrations -ContextTypeName EME.DBHelper.StoreContext(数据访问上下文) 2、 Add-Migration Initial (自定义文件名) -IgnoreChanges (参数:以现状为准,第一次 阅读全文

posted @ 2018-09-19 15:53 power_yu 阅读(230) 评论(0) 推荐(0)

导航