PostgreSqlExecFilter
Assembly: ServiceStack.OrmLite.PostgreSQL.dll
View Source
Declaration
public class PostgreSqlExecFilter : OrmLiteExecFilter, IOrmLiteExecFilter
Properties
OnCommand
View Source
Declaration
public Action<NpgsqlCommand> OnCommand { get; set; }
Methods
CreateCommand(IDbConnection)
View Source
Declaration
public override IDbCommand CreateCommand(IDbConnection dbConn)
Returns
System.Data.IDbCommand
Parameters
Type | Name |
---|---|
System.Data.IDbConnection | dbConn |
Inherited Methods
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(IDbConnection, Action<IDbCommand>)
View Source
Declaration
public virtual void Exec(IDbConnection dbConn, Action<IDbCommand> filter)
Parameters
Type | Name |
---|---|
IDbConnection | dbConn |
Action<IDbCommand> | filter |
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, 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 |
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<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
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
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