StoredProcedureCall.AddParameter Method |
Adds a new parameter to the call
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax public StoredProcedureCall AddParameter(
string parameterName,
string typeName,
int size,
ParameterDirection direction,
bool isNullable,
byte precision,
byte scale,
Object value
)
Public Function AddParameter (
parameterName As String,
typeName As String,
size As Integer,
direction As ParameterDirection,
isNullable As Boolean,
precision As Byte,
scale As Byte,
value As Object
) As StoredProcedureCall
Parameters
- parameterName
- Type: System.String
Name of the parameter. - typeName
- Type: System.String
Name of the type, which is the ADO.NET type enum value string representation, e.g. "VarChar" - size
- Type: System.Int32
The size. - direction
- Type: System.Data.ParameterDirection
The direction. - isNullable
- Type: System.Boolean
value for the IsNullable flag of the parameter - precision
- Type: System.Byte
The precision. - scale
- Type: System.Byte
The scale. - value
- Type: System.Object
The value.
Return Value
Type:
StoredProcedureCallthis instance to create a fluent interface
See Also