IDBContextExecuteBulkCopyAsync 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: 17.0.1.1 588f15fd7550dbf54835f3417a0142d4ea37dbb5
Syntax

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

Parameters

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

Return Value

Type: Task
See Also

Reference