摘要: MVC里自己建立数据库访问,出现数据库错误:Model compatibility cannot be checked because the database does not containmodel metadata. Model compatibility can only be checked for databases createdusing Code First or Code First Migrations.百度无果,隔日Google英文~~解决方案:command in Package Manager Console.1.PM>Enable-Migrations或者 阅读全文
posted @ 2012-10-19 10:36 Raywang80s 阅读(471) 评论(0) 推荐(0) 编辑