IDbSpecificCreatorCreateParameter Method (ParameterDirection, Object, String) |
Creates a parameter based on the direction passed in and the value passed in.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax DbParameter CreateParameter(
ParameterDirection direction,
Object valueToSet,
string parameterName
)
Function CreateParameter (
direction As ParameterDirection,
valueToSet As Object,
parameterName As String
) As DbParameter
Parameters
- direction
- Type: System.DataParameterDirection
Direction for the parameter - valueToSet
- Type: SystemObject
The value to set. - parameterName
- Type: SystemString
Name of the parameter. Can be empty, in which case a new name is autogenerated
Return Value
Type:
DbParameter
Valid parameter for usage with the target database.
See Also