LinqToSql Plus Batch

BatchSize

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

context.BulkMerge(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.

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

BatchDelayInterval

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

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



Prime Library