- Main Features
- Single Methods
- Column Options
- Bulk Options
- Batch Operations
-
Utilities
- Batch SaveChanges
- Delete ByKey
- Delete Range ByKey
- ToSelfHierarchyList
- BulkRead
- WhereBulkNotContains
- WhereBulkContainsFilterList
- WhereBulkNotContainsFilterList
- WhereExistsBulkInsert
- WhereNotExistsBulkInsert
- EF PostConfigurationCore - DbCommandInterceptor
- EF Core - DbConnectionInterceptor
- EF Core - DbTransactionInterceptor
- Articles
- Troubleshooting
- Release Notes
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