用MySQL连接asp.net mvc 3 [英] connecting asp.net mvc 3 with mysql

查看:93
本文介绍了用MySQL连接asp.net mvc 3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试通过mysql连接asp.net mvc 3网站
我有Windows 7,Visual Studio 2010速成版
我安装了mysql连接器6.5.4
然后我尝试添加实体模型,它没有在实体向导中显示mysql provider

我在web.config文件中定义了简单的连接字符串,但未连接
我正在尝试添加未显示的mysql引用....


请帮助我该怎么做....

I am trying to connect asp.net mvc 3 website by mysql
I have windows 7 , visual studio 2010 express edition
I installed mysql connector 6.5.4
and then i am trying to add entity model it is not showing mysql provider in entity wizard
and
I was define simple connection string in web.config file it is not connect
I am trying to add reference of mysql it is not showing ....


Please help me what to do ....

推荐答案

您不能在VSExpress中使用默认情况下列表中未提供的其他提供程序.当然,如果您不想使用设计器,则可以使用它.尝试以代码为先的方法.或使用更高版本的VS ...
You cannot use in VSExpress other providers than that yo see in the list by default. Of course if you don''t want to use the designer, you can use it. Try code-first approach. Or use higher edition of VS...


这篇关于用MySQL连接asp.net mvc 3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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