IDBContext.ExecuteBulkCopyAsync Method

Relativity API
Copies data from the provided IDataReader using the provided ISqlBulkCopyParameters bulk copy parameters.

Namespace:  Relativity.API
Assembly:  Relativity.API (in Relativity.API.dll) Version: 640db774aa42dfbe1785add27fbb41844ec5c7d4
Syntax

Task ExecuteBulkCopyAsync(
	IDataReader source,
	ISqlBulkCopyParameters parameters,
	CancellationToken cancelToken
)

Parameters

source
Type: System.Data.IDataReader
An IDataReader from which data is bulk-copied to the destination table in SQL.
parameters
Type: Relativity.API.Context.ISqlBulkCopyParameters
The ISqlBulkCopyParameters used to determine the ultimate destination in the database and copying options.
cancelToken
Type: System.Threading.CancellationToken
The CancellationToken used to cancel an ongoing copy.

Return Value

Type: Task
See Also

Reference