Making a generic Parameter class
From: SimonH (none_at_hotmail.com)
Date: 01/11/05
- Next message: Greg Burns: "Re: Dot NET application not able to show message box on .NET framework"
- Previous message: galaxy_vincent: "sample test question for MCAD."
- Next in thread: Nick Malik [Microsoft]: "Re: Making a generic Parameter class"
- Reply: Nick Malik [Microsoft]: "Re: Making a generic Parameter class"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 11 Jan 2005 07:01:27 -0800
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
- Next message: Greg Burns: "Re: Dot NET application not able to show message box on .NET framework"
- Previous message: galaxy_vincent: "sample test question for MCAD."
- Next in thread: Nick Malik [Microsoft]: "Re: Making a generic Parameter class"
- Reply: Nick Malik [Microsoft]: "Re: Making a generic Parameter class"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|