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
ConnectionSqlConnectionThe active SQL Server connection.
TransactionSqlTransactionThe active transaction, if any.
SchemaNamestringThe destination schema name, if any.
TableNamestringThe destination table name.
CommandTimeoutintThe command timeout in seconds.
ColumnMappingsIReadOnlyList<ColumnMap>The column mappings used for bulk copy.
LoggerILoggerThe logger instance.
CancellationTokenCancellationTokenA token to cancel the operation.
Properties
CancellationToken
A token to cancel the operation.
public CancellationToken CancellationToken { get; init; }
Property Value
ColumnMappings
The column mappings used for bulk copy.
public IReadOnlyList<ColumnMap> ColumnMappings { get; init; }
Property Value
CommandTimeout
The command timeout in seconds.
public int CommandTimeout { get; init; }
Property Value
Connection
The active SQL Server connection.
public SqlConnection Connection { get; init; }
Property Value
Logger
The logger instance.
public ILogger Logger { get; init; }
Property Value
SchemaName
The destination schema name, if any.
public string? SchemaName { get; init; }
Property Value
TableName
The destination table name.
public string TableName { get; init; }
Property Value
Transaction
The active transaction, if any.
public SqlTransaction? Transaction { get; init; }