Add a new parameter into the collection if it doesn't yet exist.
If it does, perform an update.
Namespace: Cartella.InterfacesAssembly: CartellaBase (in CartellaBase.dll) Version: 4.1.0.171 (4.1.0.171)
Syntax
C# |
---|
void AddParameter<TDbParameter, TValue>(
string parameterName,
IField field
)
where TDbParameter : new(), DbParameter
|
Visual Basic |
---|
Sub AddParameter(Of TDbParameter As {New, DbParameter}, TValue) ( _
parameterName As String, _
field As IField _
) |
Visual C++ |
---|
generic<typename TDbParameter, typename TValue>
where TDbParameter : gcnew(), DbParameter
void AddParameter(
String^ parameterName,
IField^ field
) |
Type Parameters
- TDbParameter
- Type of class based on DbParameter
e.g. SqlParameter. The Parameter type needs to match the operating database engine.
This type must be based on a creatable class.
- TValue
Field Value
Void
See Also