RunModes RunMode
Gets or sets the run in context.
Base class used to create business and validation rules.
Base class for a property rule
bool CanRunAsAffectedProperty
Gets or sets a value indicating whether this instance can run as affected property.
PropertyRule()
Initializes a new instance of the PropertyRule class.
Func< string > MessageDelegate
Gets or sets the error message function for this rule.
bool CanRunInCheckRules
Gets or sets a value indicating whether this instance can run when CheckRules is called on BO.
PropertyRule(IPropertyInfo propertyInfo)
Initializes a new instance of the PropertyRule class.
bool CanRunOnServer
Gets or sets a value indicating whether this instance can run in logical serverside data portal.
bool HasMessageDelegate
Gets a value indicating whether this instance has message delegate.
string MessageText
Gets or sets the error message (constant).
virtual string GetMessage()
Gets the error message text.
Maintains metadata about a property.
RunModes
Flags enum to define when rule is allowed or denied to run