摘要: 使用EF的时候映射数据的时候,出现了下面的问题。如图:错误的提示为:Model compatibility cannot be checked because the database does not contain model metadata.Model compatibility can only be checked for databases created using Code First or Code First Migrations.解决方法:USE [master]GO/****** Object: Database [DBname] ******/ ALTER DATA 阅读全文
posted @ 2014-02-14 10:08 风中娉婷 阅读(938) 评论(0) 推荐(0) 编辑