TdsBulkLoadHandler Class

Handles the bulk loads sent by SqlBulkCopy.

public sealed class TdsBulkLoadHandler

Remarks

A bulk load takes three requests: SqlBulkCopy first asks for the columns of the destination table, which the server answers with TdsBulkLoadHandler.GetTableColumns, then sends an insert bulk statement, and then the rows, which the server passes to TdsBulkLoadHandler.LoadRows. None of these requests reach the query handler.

Constructors

NameDescription
TdsBulkLoadHandler()

TdsBulkLoadHandler()

  • Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public TdsBulkLoadHandler()

No documentation is available.

Properties

NameDescription
GetTableColumnsGets the callback that returns the columns of a destination table.
LoadRowsGets the callback that receives the rows of a bulk load.

GetTableColumns

TdsBulkLoadHandler.cs

Gets the callback that returns the columns of a destination table.

public required TdsBulkLoadTableDelegate GetTableColumns { get; init; }

Gets the callback that receives the rows of a bulk load.

public required TdsBulkLoadDelegate LoadRows { get; init; }

Property value

TdsBulkLoadDelegate