Entity Framework Extensions TemporaryTableUseTableLock

Description

Gets or sets whether 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: 2025-06-24
Author:


Contents