Table of Contents

Constructor ExpressiveCommandBase

Namespace
Open.Database.Extensions
Assembly
Open.Database.Extensions.Core.dll

ExpressiveCommandBase(IDbConnectionPool<TConnection>, CommandType, string, IEnumerable<Param>?)

protected ExpressiveCommandBase(IDbConnectionPool<TConnection> connectionPool, CommandType type, string command, IEnumerable<ExpressiveCommandBase<TConnection, TCommand, TReader, TDbType, TThis>.Param>? @params)

Parameters

connectionPool IDbConnectionPool<TConnection>

The pool to acquire connections from.

type CommandType

The command type.

command string

The SQL command.

params IEnumerable<ExpressiveCommandBase<TConnection, TCommand, TReader, TDbType, TThis>.Param>

The list of params

ExpressiveCommandBase(IDbConnectionFactory<TConnection>, CommandType, string, IEnumerable<Param>?)

protected ExpressiveCommandBase(IDbConnectionFactory<TConnection> connFactory, CommandType type, string command, IEnumerable<ExpressiveCommandBase<TConnection, TCommand, TReader, TDbType, TThis>.Param>? @params)

Parameters

connFactory IDbConnectionFactory<TConnection>

The factory to generate connections from.

type CommandType

The command type.

command string

The SQL command.

params IEnumerable<ExpressiveCommandBase<TConnection, TCommand, TReader, TDbType, TThis>.Param>

The list of params

ExpressiveCommandBase(Func<TConnection>, CommandType, string, IEnumerable<Param>?)

protected ExpressiveCommandBase(Func<TConnection> connFactory, CommandType type, string command, IEnumerable<ExpressiveCommandBase<TConnection, TCommand, TReader, TDbType, TThis>.Param>? @params)

Parameters

connFactory Func<TConnection>

The factory to generate connections from.

type CommandType

The command type.

command string

The SQL command.

params IEnumerable<ExpressiveCommandBase<TConnection, TCommand, TReader, TDbType, TThis>.Param>

The list of params

ExpressiveCommandBase(TConnection, IDbTransaction?, CommandType, string, IEnumerable<Param>?)

protected ExpressiveCommandBase(TConnection connection, IDbTransaction? transaction, CommandType type, string command, IEnumerable<ExpressiveCommandBase<TConnection, TCommand, TReader, TDbType, TThis>.Param>? @params)

Parameters

connection TConnection

The connection to execute the command on.

transaction IDbTransaction

The optional transaction to execute the command on.

type CommandType

The command type.

command string

The SQL command.

params IEnumerable<ExpressiveCommandBase<TConnection, TCommand, TReader, TDbType, TThis>.Param>

The list of params

ExpressiveCommandBase(TConnection, CommandType, string, IEnumerable<Param>?)

protected ExpressiveCommandBase(TConnection connection, CommandType type, string command, IEnumerable<ExpressiveCommandBase<TConnection, TCommand, TReader, TDbType, TThis>.Param>? @params)

Parameters

connection TConnection

The connection to execute the command on.

type CommandType

The command type.

command string

The SQL command.

params IEnumerable<ExpressiveCommandBase<TConnection, TCommand, TReader, TDbType, TThis>.Param>

The list of params

ExpressiveCommandBase(IDbTransaction, CommandType, string, IEnumerable<Param>?)

protected ExpressiveCommandBase(IDbTransaction transaction, CommandType type, string command, IEnumerable<ExpressiveCommandBase<TConnection, TCommand, TReader, TDbType, TThis>.Param>? @params)

Parameters

transaction IDbTransaction

The optional transaction to execute the command on.

type CommandType

The command type.

command string

The SQL command.

params IEnumerable<ExpressiveCommandBase<TConnection, TCommand, TReader, TDbType, TThis>.Param>

The list of params