Me and MySql, MySql Enterprise Library V2

As for my preview post, i need to let work MySql with Enterprise Library in .net 2.0
 
First af all, i downloaded MySQL Connector/Net from http://dev.mysql.com/downloads/connector/net/1.0.html.
 
This is a well done project, that works very well if used alone.
But if you want to use it with Enterprise Library…mmm there are a lot of issue to solve.
First of all, the MySqlConnection, MySqlCommand, etc implements the right interface (IDbConnection, IDbCommand etc), but they dont inherits from DbConnection, DbCommand (and so on) as needed from Enterprise Library.
Second, some classes required from Enterprise Library are missing, like
MySqlClientPermission and MySqlClientPermissionAttribute.
 
After i did the required customization to the library, i’ve implemented the MySql Enterprise Library data layer, and all seems to work well.
 
I’ve done it for MySql 4.1, so it don’t yet use Stored Procedures, but use an exteral file where you can put custom query.
 
My project is open source and you can get it from my workspace
Advertisements

One thought on “Me and MySql, MySql Enterprise Library V2

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s