Information générale
Catégorie:
The Mere Mortals .NET Framework
> So I'm going to have to implement a DataAccessOdbc class
Just to note I took mmDataAccessOleDb.cs and basically searched and replaced every instance of "OleDb" with "Odbc" and replaced all GetOleDbSchema with the GetSchema() equivalent. So far can use it to read data using the ODBC driver I need. So far I've only tried SELECT statements, remains to be seen if insert/update/delete or any other scenarios work. I also haven't checked if the column names returned by GetSchema are the same as other drivers.
If you want it, you can have it, but I suspect the value here is in testing, and I haven't done enough yet!
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement