OrmLiteExecFilter
Assembly: ServiceStack.OrmLite.dll
View Source
Declaration
public class OrmLiteExecFilter : object, IOrmLiteExecFilter
Methods
SqlExpression<T>(IDbConnection)
View Source
Declaration
public virtual SqlExpression<T> SqlExpression<T>(IDbConnection dbConn)
Returns
ServiceStack.OrmLite.SqlExpression<T>
Parameters
Type | Name |
---|---|
IDbConnection | dbConn |
Type Parameters
T
CreateCommand(IDbConnection)
View Source
Declaration
public virtual IDbCommand CreateCommand(IDbConnection dbConn)
Returns
IDbCommand
Parameters
Type | Name |
---|---|
IDbConnection | dbConn |
DisposeCommand(IDbCommand, IDbConnection)
View Source
Declaration
public virtual void DisposeCommand(IDbCommand dbCmd, IDbConnection dbConn)
Parameters
Type | Name |
---|---|
IDbCommand | dbCmd |
IDbConnection | dbConn |
Exec<T>(IDbConnection, Func<IDbCommand, T>)
View Source
Declaration
public virtual T Exec<T>(IDbConnection dbConn, Func<IDbCommand, T> filter)
Returns
<T>
Parameters
Type | Name |
---|---|
IDbConnection | dbConn |
Func<IDbCommand,<T>> | filter |
Type Parameters
T
Exec(IDbConnection, Func<IDbCommand, IDbCommand>)
View Source
Declaration
public virtual IDbCommand Exec(IDbConnection dbConn, Func<IDbCommand, IDbCommand> filter)
Returns
IDbCommand
Parameters
Type | Name |
---|---|
IDbConnection | dbConn |
Func<IDbCommand,IDbCommand> | filter |
Exec(IDbConnection, Action<IDbCommand>)
View Source
Declaration
public virtual void Exec(IDbConnection dbConn, Action<IDbCommand> filter)
Parameters
Type | Name |
---|---|
IDbConnection | dbConn |
Action<IDbCommand> | filter |
Exec<T>(IDbConnection, Func<IDbCommand, Task<T>>)
View Source
Declaration
public virtual async Task<T> Exec<T>(IDbConnection dbConn, Func<IDbCommand, Task<T>> filter)
Returns
Task<<T>>
Parameters
Type | Name |
---|---|
IDbConnection | dbConn |
Func<IDbCommand,Task<<T>>> | filter |
Type Parameters
T
Exec(IDbConnection, Func<IDbCommand, Task<IDbCommand>>)
View Source
Declaration
public virtual async Task<IDbCommand> Exec(IDbConnection dbConn, Func<IDbCommand, Task<IDbCommand>> filter)
Returns
Task<IDbCommand>
Parameters
Type | Name |
---|---|
IDbConnection | dbConn |
Func<IDbCommand,Task<IDbCommand>> | filter |
Exec(IDbConnection, Func<IDbCommand, Task>)
View Source
Declaration
public virtual async Task Exec(IDbConnection dbConn, Func<IDbCommand, Task> filter)
Returns
Task
Parameters
Type | Name |
---|---|
IDbConnection | dbConn |
Func<IDbCommand,Task> | filter |
ExecLazy<T>(IDbConnection, Func<IDbCommand, IEnumerable<T>>)
View Source
Declaration
public virtual IEnumerable<T> ExecLazy<T>(IDbConnection dbConn, Func<IDbCommand, IEnumerable<T>> filter)
Returns
IEnumerable<<T>>
Parameters
Type | Name |
---|---|
IDbConnection | dbConn |
Func<IDbCommand,IEnumerable<<T>>> | filter |
Type Parameters
T