Tortuga.Chain Namespace
Tortuga.Chain.CommandBuilders Namespace
Tortuga.Chain.Metadata Namespace

DeleteOptions Enumeration

Controls what happens when performing a model-based delete

Namespace:  Tortuga.Chain
Assembly:  Tortuga.Chain.Core (in Tortuga.Chain.Core.dll)

Syntax


public enum DeleteOptions
Public Enumeration DeleteOptions
public enum class DeleteOptions

Members


Member nameDescription
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.