DeleteOptions Enumeration
Controls what happens when performing a model-based delete
Namespace:
Tortuga.ChainAssembly: Tortuga.Chain.Core (in Tortuga.Chain.Core.dll)
Members
Member name | Description | |
---|---|---|
None | Use the primary key columns for the where clause. | |
UseKeyAttribute | Ignore the primary keys on the table and perform the delete using the Key attribute on properties to construct the where clause. | |
CheckRowsAffected | Check the rows affected count. With this flag, an error will be thrown if the rows affected by the delete operation is zero. |