MySql为.NET提供了数据提供程序MySql Data Provider,从MySql官网可以下载安装。
请问,Enterprise Library 5如何使用MySql Data Provider去访问MySql数据库?
http://entlibcontrib.codeplex.com/wikipage?title=MySqlDataProvider41&referringTitle=Home
上面提供了web.config,但我尝试了一下,报下面这个错误:
The type 'EntLibContrib.Data.MySql.MySqlDatabase, EntLibContrib.Data.MySql, Version=5.0.414.0, Culture=neutral, PublicKeyToken=null' cannot be resolved. Please verify the spelling is correct or that the full type name is provided.
注意:我要的是Enterprise Library 和oracle提供的MySql Data Provider结合去访问MySql数据库,而不是使用Enterprise Library 使用的数据提供程序。