Skip to main content

SqlMapper.ICustomQueryParameter

Implement this interface to pass an arbitrary db specific parameter to Dapper

Assembly: ServiceStack.OrmLite.dll​
View Source​
Declaration
public interface ICustomQueryParameter

Methods​

AddParameter(IDbCommand, String)​

Add the parameter needed to the command before it executes

View Source​
Declaration
void AddParameter(IDbCommand command, string name)
Parameters​
TypeNameDescription
IDbCommandcommandThe raw command prior to execution

| | System.String | name | Parameter name

|