Entity Framework Extensions Execute Event

BulkOperationExecuting

Gets or sets an action to execute before the bulk operation is executed.

context.BulkSaveChanges(options => {
	options.BulkOperationExecuting = bulkOperation => { /* configuration */ };
});

Try it in EF6 | Try it in EF Core

BulkOperationExecuted

Gets or sets an action to execute after the bulk operation is executed.

context.BulkSaveChanges(options => {
	options.BulkOperationExecuted = bulkOperation => { /* configuration */ };
});

Try it in EF6 | Try it in EF Core


Last updated: 2023-03-01
Author:

Contents

Related