WriteToServerAsync method

Copies all rows from the supplied System.Data.DataRow array to a destination table specified by the HanaBulkCopy.DestinationTableName property of the HanaBulkCopy object.

Overload list

Modifier and Type Overload name Description
public Task WriteToServerAsync(DataRow[]) Copies all rows from the supplied System.Data.DataRow array to a destination table specified by the HanaBulkCopy.DestinationTableName property of the HanaBulkCopy object.
public Task WriteToServerAsync(DataRow[], CancellationToken) Copies all rows from the supplied System.Data.DataRow array to a destination table specified by the HanaBulkCopy.DestinationTableName property of the HanaBulkCopy object.
public Task WriteToServerAsync(DataTable) Copies all rows in the supplied System.Data.DataTable to a destination table specified by the HanaBulkCopy.DestinationTableName property of the HanaBulkCopy object.
public Task WriteToServerAsync(DataTable, CancellationToken) Copies all rows in the supplied System.Data.DataTable to a destination table specified by the HanaBulkCopy.DestinationTableName property of the HanaBulkCopy object. The cancellation token can be used to request that the operation be abandoned before the command timeout elapses.
public Task WriteToServerAsync(DataTable, DataRowState) Copies only rows that match the supplied row state in the supplied System.Data.DataTable to a destination table specified by the HanaBulkCopy.DestinationTableName property of the HanaBulkCopy object.
public Task WriteToServerAsync(DataTable, DataRowState, CancellationToken) Copies only rows that match the supplied row state in the supplied System.Data.DataTable to a destination table specified by the HanaBulkCopy.DestinationTableName property of the HanaBulkCopy object. The cancellation token can be used to request that the operation be abandoned before the command timeout elapses.
public Task WriteToServerAsync(IDataReader) Copies all rows in the supplied System.Data.IDataReader to a destination table specified by the HanaBulkCopy.DestinationTableName property of the HanaBulkCopy object.
public Task WriteToServerAsync(IDataReader, CancellationToken) Copies all rows in the supplied System.Data.IDataReader to a destination table specified by the HanaClient.SqlBulkCopy.DestinationTableName property of the HanaClient.SqlBulkCopy object. The cancellation token can be used to request that the operation be abandoned before the command timeout elapses.