mySQL DataSource on Visual Studio 2012

后端 未结 7 1529
花落未央
花落未央 2020-11-27 19:18

I\'ve been reading about mySQL DataSource and the ability to use mySQL with Entity Framework, but I can\'t really generate EF with mySQL without the use of the DataSource Di

7条回答
  •  时光取名叫无心
    2020-11-27 19:42

    One clarification: Visual Studio Express DOES NOT support MySQL .NET Connector as extension.

    You still may use it adding reference to MySql.Data.dll file that you may find in MySQL Connector installation folder (for me it was W:\Program Files\MySQL\Connector NET 6.5.4\Assemblies\v4.0). After that you may use it like this:

    using MySql.Data.MySqlClient;
    ...
    var mycon = new MySqlConnection();
    

提交回复
热议问题