i want to create a data access layer that work with any provider.
its possible to create a DBCommand using the factory method objDbCon.CreateCommand().
but couldnt find anything to create a DbDataAdapter , so how come?
is this is a bug in ado.net or what?
views:
24answers:
1
+2
A:
DbProviderFactory.CreateDataAdapter *
Also you can get all registered DbProviders via DbProviderFactories class.
*I think this is a wrong place for this method.
Sergey Mirvoda
2010-08-15 19:51:09