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,
Object fieldValue
)
where TDbParameter : new(), DbParameter
|
| Visual Basic |
|---|
Sub AddParameter(Of TDbParameter As {New, DbParameter}, TValue) ( _
parameterName As String, _
fieldValue As Object _
) |
| Visual C++ |
|---|
generic<typename TDbParameter, typename TValue>
where TDbParameter : gcnew(), DbParameter
void AddParameter(
String^ parameterName,
Object^ fieldValue
) |
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
- The desired Value type
Field Value
Void
See Also