Entity Framework Extensions TemporaryTableUseTableLock

Description

Gets or sets if the temporary table must be locked when inserting records into it.

context.BulkSaveChanges(options =>
{
   options.TemporaryTableUseTableLock = true;
});

Purpose

Using table lock increases the overall performance when inserting into a temporary table. This option should not be disabled.


Last updated: 2023-03-01
Author:


Contents