Entity Framework Extensions AllowUpdatePrimaryKeys

Description

Gets or sets if the key must also be included in columns to UPDATE.

context.BulkMerge(list, options => options.AllowUpdatePrimaryKeys = true);

Purpose

This option is rarely used. One scenario example is a custom key with a trigger that requires columns part of the key to also be UPDATED.


Last updated: 2023-03-01
Author:


Contents