如何使用asp.net Entity Framework配置mysql?

时间:2022-09-07 15:13:50

I am trying to connect MySQL database with entity framework from vs2010-12(Web developer).

我试图将MySQL数据库与vs2010-12(Web开发人员)的实体框架连接起来。

I have downloaded and installed MySQLConnector(MySQL-connector-net-6.6.5.msi) to connect with entity framework.

我已经下载并安装了MySQLConnector(MySQL-connector-net-6.6.5.msi)来连接实体框架。

After installation I have created a new website,added a entity data model and tried to configure but in the Entity Data Model Wizard I am not able to see the data source of MySQL to configure it with my database.

安装后我创建了一个新的网站,添加了一个实体数据模型,并尝试配置,但在实体数据模型向导中,我无法看到MySQL的数据源,无法使用我的数据库进行配置。

Anybody have idea on this.

任何人都有这个想法。

Please help me.

请帮帮我。

1 个解决方案

#1


1  

Download this : http://cl.ly/JqXO

下载:http://cl.ly/JqXO

Kindly refer to this answer : mySQL DataSource on Visual Studio 2012

请参考这个答案:Visual Studio 2012上的mySQL DataSource

#1


1  

Download this : http://cl.ly/JqXO

下载:http://cl.ly/JqXO

Kindly refer to this answer : mySQL DataSource on Visual Studio 2012

请参考这个答案:Visual Studio 2012上的mySQL DataSource