Microsoft Application Block

Hexane
2004-02-01
2004-02-03
  • Hexane
    Hexane
    2004-02-01

    Does anyone know if the MySQLDriverCS works with the Microsoft Application Block (Data Access)?  An example of how to implement it would also be very appreciated.

    Thanks

    Matthew Workman

     

    • Anonymous
      2004-02-03

      Sorry my English

      Noo.. You can implement it..

      First.. Microsoft.ApplicationBlocks.Data is only to MS SqlServer.. SqlHelper is static  and sealed class. I create Custom.ApplicationBlocks.Data to any .NET Provider. (include MySQL using MySQLDriverCS, of course)

      I Remove Static ans sealed by SqlHelper and redefine all SqlCommand, SqlDataAdapter and SqlDataReader by Interfaces..

      Declare SqlHelper abstract an create NewSqlConnaection, NewSQLDataAdapter and NewSqlDataReader abtract methods.

      Create MySQLHelper an redefine Abstract Methods..

      Finish.. You can use all SqlHelper Methods with MySQL.. in future I send this Work to Manuel Lucas (MySQlDriverCS creator) to public it free.

      Remember.. My English is poor..
      Omar del Valle Rodrguez