.NET Bulk Operations Execute Event

Excecute Event Options

BulkOperationExecuting

Allow you to change configuration before the bulk operation is executed.

Example

var bulk = new BulkOperation(connection);

bulk.BulkOperationExecuting = bulkOperation => { /* configuration */ };

bulk.BulkMerge(dt);

BulkOperationExecuted

Allow you to change configuration after the bulk operation is executed.

Example

var bulk = new BulkOperation(connection);

bulk.BulkOperationExecuted = bulkOperation => { /* configuration */ };

bulk.BulkMerge(dt);


Contents