- Main Features
- Column Options
- Bulk Options
- Batch Operations
- Utilities
- Articles
- LINQ Dynamic
- Troubleshooting
- Release Notes
Entity Framework Extensions SQL Server
SqlBulkCopyOptions
Gets or sets the SqlBulkCopyOptions to use when SqlBulkCopy is used to directly insert in the destination table.
context.BulkSaveChanges(options =>
{
options.SqlBulkCopyOptions = SqlBulkCopyOptions.Default | SqlBulkCopyOptions.TableLock;
});
Try it in EF Core | Try it in EF6
Author: ZZZ Projects