to create a dataset such as
System.Data.Common.DBConnection conn = getConn();
DbCommand com = conn.CreateCommand();
DbDataAdapter da = // get a datadapter from conn ??? There is NO CreateDataAdapter here ?
da.SelectCommand = com;
da.Fill(ds);
any help ?
UPDATE – I know there’s no CreateDataAdapter() method there, looking for a workaround !
I’am not sure if understand correctly.. but maybe you want something like this:
EDIT (Not tested):
you can create generic CreateAdapter method like this (will create adapter based on command type):