SqlMapperICustomQueryParameterAddParameter Method |
Add the parameter needed to the command before it executes
Namespace: DapperAssembly: VirtualRadar.Database (in VirtualRadar.Database.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax void AddParameter(
IDbCommand command,
string name
)
Sub AddParameter (
command As IDbCommand,
name As String
)
void AddParameter(
IDbCommand^ command,
String^ name
)
abstract AddParameter :
command : IDbCommand *
name : string -> unit
Parameters
- command
- Type: System.DataIDbCommand
The raw command prior to execution - name
- Type: SystemString
Parameter name
See Also