Class PostLoadActionParameters

Namespace
Wolfgang.Etl.SqlBulkCopy
Assembly
Wolfgang.Etl.SqlBulkCopy.dll

Parameters passed to the PostLoadCustomAction delegate.

public record PostLoadActionParameters : IEquatable<PostLoadActionParameters>
Inheritance
PostLoadActionParameters
Implements
Inherited Members

Constructors

PostLoadActionParameters(SqlConnection, SqlTransaction?, string?, string, int, IReadOnlyList<ColumnMap>, ILogger, CancellationToken)

Parameters passed to the PostLoadCustomAction delegate.

public PostLoadActionParameters(SqlConnection Connection, SqlTransaction? Transaction, string? SchemaName, string TableName, int CommandTimeout, IReadOnlyList<ColumnMap> ColumnMappings, ILogger Logger, CancellationToken CancellationToken)

Parameters

Connection SqlConnection

The active SQL Server connection.

Transaction SqlTransaction

The active transaction, if any.

SchemaName string

The destination schema name, if any.

TableName string

The destination table name.

CommandTimeout int

The command timeout in seconds.

ColumnMappings IReadOnlyList<ColumnMap>

The column mappings used for bulk copy.

Logger ILogger

The logger instance.

CancellationToken CancellationToken

A token to cancel the operation.

Properties

CancellationToken

A token to cancel the operation.

public CancellationToken CancellationToken { get; init; }

Property Value

CancellationToken

ColumnMappings

The column mappings used for bulk copy.

public IReadOnlyList<ColumnMap> ColumnMappings { get; init; }

Property Value

IReadOnlyList<ColumnMap>

CommandTimeout

The command timeout in seconds.

public int CommandTimeout { get; init; }

Property Value

int

Connection

The active SQL Server connection.

public SqlConnection Connection { get; init; }

Property Value

SqlConnection

Logger

The logger instance.

public ILogger Logger { get; init; }

Property Value

ILogger

SchemaName

The destination schema name, if any.

public string? SchemaName { get; init; }

Property Value

string

TableName

The destination table name.

public string TableName { get; init; }

Property Value

string

Transaction

The active transaction, if any.

public SqlTransaction? Transaction { get; init; }

Property Value

SqlTransaction