模型不是从数据库表& gt;生成的。的EntityFramework [英] Model is not generating from database table > Entityframework
本文介绍了模型不是从数据库表& gt;生成的。的EntityFramework的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图首先使用数据库方法中的实体框架代码从数据库表生成模型。
I am trying to generate model from database table using entity framework code first from database approach.
我有一个只有2列的表。一个是带有NONCLUSTERED INDEX的PK,另一个是FK。
I have a table with only 2 columns. One is PK with NONCLUSTERED INDEX and the other one FK.
因此,当我尝试生成类时,它没有生成。
So when I am trying to generate the class, It's not getting generated.
请帮助我实现它。
推荐答案
您好
Raveendra,
与提到的标题一样,您的案例与Entityframework更相关。我会将您的案例移至EF论坛以获得更好的支持。
Like your title mentioned, your case more related to Entityframework. I will move your case to EF forum for better support.
祝你好运,
Kristin
这篇关于模型不是从数据库表& gt;生成的。的EntityFramework的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文