- Main Features
- Column Options
- Bulk Options
- Batch Operations
- Utilities
- Articles
- LINQ Dynamic
- Troubleshooting
- Release Notes
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
.
Author: ZZZ Projects