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

DateTimeOffsetRule Constructor

Initializes a new instance of the UserDataRule class.

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

Syntax


public DateTimeOffsetRule(
	string columnName,
	OperationTypes appliesWhen
)
Public Sub New ( _
	columnName As String, _
	appliesWhen As OperationTypes _
)
public:
DateTimeOffsetRule(
	String^ columnName, 
	OperationTypes^ appliesWhen
)

Parameters

columnName
Type: String
Name of the column.
appliesWhen
Type: Tortuga.Chain.AuditRules..::..OperationTypes
The rule can be applied to insert, update, and/or soft delete operations.

Exceptions


ExceptionCondition
[ArgumentOutOfRangeException]appliesWhen;appliesWhen may only be a combination of Insert, Update, or Delete

Remarks


This will have no effect on hard deletes.