UpdateOptions Enumeration
Controls what happens when performing a model-based 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. | |
UseKeyAttribute | Ignore the primary keys on the table and perform the update using the Key attribute on properties to construct the where clause. | |
ReturnOldValues | The return original values instead of the updated values. | |
SoftDelete | Perform a soft delete as part of this update operation. | |
IgnoreRowsAffected | The ignore rows affected count. Without this flag, an error will be thrown if the rows affected by the update operation is not one. |