S
SimonH
Hi all,
I would like to make a generic set of methods that could be called regardless
of the database behind the scenes.
One of the methods I would like would take a string sql statement and an
array of DataParameter objects.
The problem i have is there doesnt seem to be a generic DataParameter class
that I can instantiate. There only seems to be specific implementations like
SQLParamater and so on.
The is an interface called IDataParameter or something to that effect, but
of course I can't instantiate an interface.
I need to be able to work with a non-specific parameter object.
Does anyone know what I could do?
Many thanks all
Kindest Regards
I would like to make a generic set of methods that could be called regardless
of the database behind the scenes.
One of the methods I would like would take a string sql statement and an
array of DataParameter objects.
The problem i have is there doesnt seem to be a generic DataParameter class
that I can instantiate. There only seems to be specific implementations like
SQLParamater and so on.
The is an interface called IDataParameter or something to that effect, but
of course I can't instantiate an interface.
I need to be able to work with a non-specific parameter object.
Does anyone know what I could do?
Many thanks all
Kindest Regards