您的位置:首页 > 其它

The entity type <type> is not part of the model for the current context

2017-07-05 16:20 841 查看
这个错误是由于没有在DbContext将某个对象实例化

在继承自DbContext的对象中添加 public DbSet admin { get; set; }
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐