开发者

Trying to use Mysql with .net

开发者 https://www.devze.com 2023-03-25 14:27 出处:网络
I install the MySQL connector but this error \"System.ArgumentException: Unable to find the requested .Net Framework

I install the MySQL connector but this error

"System.ArgumentException: Unable to find the requested .Net Framework Data Provider. It may not be installed."

/// Initializes a new gerente开发者_如何学GoEntities object using the connection string found in the 'gerenteEntities' section of the application configuration file. Line 41: /// Line 42:

public gerenteEntities() : base("name=gerenteEntities", "gerenteEntities") Line 43: { Line 44:

this.ContextOptions.LazyLoadingEnabled = true;

does not appear to show. I already added the references but it still does not work.

What can I do?


This is different to the direction you are heading in but recently I too had problems initalising a connection to MySQL. The solution I eventually found was to use the SharpSSH code written by Tamir Gal (albeit with slight modifications for my context) that you can get free. That might be worth looking in to if your problems continue.

0

精彩评论

暂无评论...
验证码 换一张
取 消