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.
精彩评论