Entity Framework Extensions - SQL Server

SQL Server Options

SqlBulkCopyOptions

Allow you to set the SqlBulkCopyOptions to use when a strategy with the SqlBulkCopy is selected.

Example

Example

context.BulkSaveChanges(operation =>
{
   bulk.SqlBulkCopyOptions = SqlBulkCopyOptions.Default | SqlBulkCopyOptions.TableLock;
});