Adds a parameter to IDbCommand.
Namespace: Quartz.Impl.AdoJobStore
Assembly: Quartz (in Quartz.dll) Version: 3.0.0
Syntax
C#
void AddCommandParameter( DbCommand cmd, string paramName, Object paramValue, Enum dataType = null, Nullable<int> size = null )
Parameters
- cmd
- Type: System.Data.CommonDbCommand
Command to add parameter to - paramName
- Type: SystemString
Parameter's name - paramValue
- Type: SystemObject
Parameter's value - dataType (Optional)
- Type: SystemEnum
Parameter's data type - size (Optional)
- Type: SystemNullableInt32
Parameter's optional size
See Also