Entity Framework Extensions Batch


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

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

Try it online


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

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

Try it online


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

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

Try it online

In this Page