UpsertOptions Enumeration
Controls what happens when performing a model-based insert or update
Namespace:
Tortuga.ChainAssembly: Tortuga.Chain.Core (in Tortuga.Chain.Core.dll)
Members
Member name | Description | |
---|---|---|
None | Update all non-primary key columns using the primary key columns for the where clause. | |
ChangedPropertiesOnly | Uses the IPropertyChangeTracking interface to only update changed properties. This flag has no effect when performing an insert. | |
UseKeyAttribute | Ignore the primary keys on the table and perform the update using the Key attribute on properties to construct the where clause. | |
IdentityInsert | Allows overriding identity/auto-number column |