摘要: 一、为模型更改设置Code First数据迁移 1、工具—>库程序包管理器—>程序包管理器控制台—>输入“Enable-Migrations” 或者 Enable-Migrations -ContextTypeName Mvc.Models.DataContext Enable-Migrations 阅读全文
posted @ 2017-02-17 10:06 编程帅 阅读(1268) 评论(0) 推荐(0) 编辑