数据库迁移
摘要:一、代码Models 二、生成Controller 三、执行程序访问页面 (生成了数据库) 四、enable-migration -type contextname 修改Configuration.cs 将false改为true 五、update-database//初次迁移完成 循环六和七 六 、
阅读全文
posted @ 2016-05-13 01:29
posted @ 2016-05-13 01:29
posted @ 2016-05-13 01:19
posted @ 2016-05-12 18:54