DbSpecificCreatorBaseSetParameterSize Method |
Sets the size property in the parameter. This is done in this method as some ADO.NET providers have restrictions on which parameters should have the size property set.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.7.0.0 (5.7.0)
Syntax protected virtual void SetParameterSize(
DbParameter parameter,
string parameterType,
int sizeToSet
)
Protected Overridable Sub SetParameterSize (
parameter As DbParameter,
parameterType As String,
sizeToSet As Integer
)
Parameters
- parameter
- Type: System.Data.CommonDbParameter
- parameterType
- Type: SystemString
- sizeToSet
- Type: SystemInt32
See Also