实体框架工作f [英] Entity Frame work f

查看:58
本文介绍了实体框架工作f的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我是实体框架工作的新手, 

I am new to Entity Frame Work, 

 

我首先尝试在MYSQL中添加一些表,每次从数据库刷新数据设计时都能正常工作。然后我能够在我的应用程序中初始化数据库类。但是当我尝试引用表格时,我开始收到错误,
或数据库实体。 

I first tried to add some tables in MYSQL, It worked fine every time I did refresh the data design from the database. Then I was able to initilize the database class within my application. But I started getting error when I tried to reference the tables, or the database entities. 

我尝试执行以下操作:(在实体成名工作中工作5 )

I try to do the following:( while working in Entity Fame Work 5)

Projec->添加新项目 - >数据 - > ADO.NET实体数据模型-ADD->空EF设计器 - >

Projec-> Add New Item-> Data->ADO.NET Entity Data Model-ADD->Empty EF Designer->

然后打开在空Model.edmx中,右键单击设计图面  Both  从数据库更新模型或从数据库生成数据不起作用。

Then open In the Empty Model.edmx, right click on the design surface  Both  update Model from Database nor Generate Data From Database does not work.

但是我说它可以使用此选项 如果我更新到实体框架工作6 ,我做了

But then I it said that  this option is possible  if I  update to Entity Frame Work 6 , which I did

然后 空EF设计师模型根本没有更新。

then the Empty EF designer Model does not update at all.

现在选择实体数据模型向导中的EF Designer在基于现有数据库的EF设计器中创建不起作用。 

Now EF Designer in the Entity Data Model Wizard when selected to create in the EF designer based on the existing Database does not work. 

如果你能帮助我,我很感激

I do appreciate if you can help me with this

谢谢你 

推荐答案

https://social.msdn.microsoft.com/Forums / en-US / home?forum = adodotnetentityframework

https://social.msdn.microsoft.com/Forums/en-US/home?forum=adodotnetentityframework

这是你应该发布的地方。

It's where you should post.


这篇关于实体框架工作f的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆