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

ValidateWithValidatable Constructor

Initializes a new instance of the ValidateWithValidatable class.

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

Syntax


public ValidateWithValidatable(
	OperationTypes appliesWhen
)
Public Sub New ( _
	appliesWhen As OperationTypes _
)
public:
ValidateWithValidatable(
	OperationTypes^ appliesWhen
)

Parameters

appliesWhen
Type: Tortuga.Chain.AuditRules..::..OperationTypes
The rule applies when.

Exceptions


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