Skip to main content

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
TypeName
System.Data.IDbConnectiondbConn

Inherited Methods

CreateCommand(IDbConnection)

View Source
Declaration
public virtual IDbCommand CreateCommand(IDbConnection dbConn)
Returns

IDbCommand

Parameters
TypeName
IDbConnectiondbConn

DisposeCommand(IDbCommand, IDbConnection)

View Source
Declaration
public virtual void DisposeCommand(IDbCommand dbCmd, IDbConnection dbConn)
Parameters
TypeName
IDbCommanddbCmd
IDbConnectiondbConn

Exec(IDbConnection, Action<IDbCommand>)

View Source
Declaration
public virtual void Exec(IDbConnection dbConn, Action<IDbCommand> filter)
Parameters
TypeName
IDbConnectiondbConn
Action<IDbCommand>filter

Exec(IDbConnection, Func<IDbCommand, IDbCommand>)

View Source
Declaration
public virtual IDbCommand Exec(IDbConnection dbConn, Func<IDbCommand, IDbCommand> filter)
Returns

IDbCommand

Parameters
TypeName
IDbConnectiondbConn
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
TypeName
IDbConnectiondbConn
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
TypeName
IDbConnectiondbConn
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
TypeName
IDbConnectiondbConn
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
TypeName
IDbConnectiondbConn
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
TypeName
IDbConnectiondbConn
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
TypeName
IDbConnectiondbConn
Type Parameters
  • T

Implements