J
James Tharpe
Hello,
My application *only* uses the base-classes (e.g. DbCommand, DbParameter)
for data access and uses DbProviderFactories/DbProviderFactory to create the
concrete classes.
That said, I need the functionality of the DeriveParameters static method
that is part of the various xxxCommandBuilder classes. So my question is: if
I don't know which client is being used, how can I call DeriveParameters?
Is there a non-static equivalent (I couldn't find one)? Or, is there a way
to do this using reflection?
An example would be great, and all help is appreciated.
Thanks!
My application *only* uses the base-classes (e.g. DbCommand, DbParameter)
for data access and uses DbProviderFactories/DbProviderFactory to create the
concrete classes.
That said, I need the functionality of the DeriveParameters static method
that is part of the various xxxCommandBuilder classes. So my question is: if
I don't know which client is being used, how can I call DeriveParameters?
Is there a non-static equivalent (I couldn't find one)? Or, is there a way
to do this using reflection?
An example would be great, and all help is appreciated.
Thanks!