Asserts a business rule - if condition is true it's added otherwise not.
public bool Assert(bool Condition, ValidationError Error)
Return Value
value of condition
Parameters
Condition
If this condition evaluates to true the Validation Error is added
Error
Validation Error Object
Overloads:
public bool Assert(bool Condition, string Message, string FieldName, string ID)
public bool Assert(bool Condition, string Message)
public bool Assert(bool Condition, string Message, string FieldName)
See also:
Class ValidationErrorCollection© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic