Batch


BatchSize

Gets or sets the number of records to use in a batch.

Read more: BatchSize

Example

context.BulkSaveChanges(options => options.BatchSize = 1000);

BatchTimeout

Gets or sets the maximum of time in seconds to wait for a batch before the command throws a timeout exception.

Read more: BatchTimeout

Example

context.BulkSaveChanges(options => options.BatchTimeout = 180);

BatchDelayInterval

Gets or sets a delay in milliseconds to wait between batch.

Read more: BatchDelayInterval

Example

context.BulkInsert(list, options => options.BatchDelayInterval = 100);