9using System.Collections.Generic;
35 get {
return BusinessRules.ProcessThroughPriority; }
36 set { BusinessRules.ProcessThroughPriority = value; }
41 BusinessRules.CheckRules();
46 protected override void Execute(Rules.IRuleContext context)
48 context.AddWarningResult(
"Always warns");
54 protected override void Execute(Rules.IRuleContext context)
56 context.AddErrorResult(
"Always error");
This is the base class from which most business objects will be derived.
Maintains metadata about a property.
Business rule for a required string.
override void Execute(Rules.IRuleContext context)
override void Execute(Rules.IRuleContext context)
static PropertyInfo< string > TestProperty
override void AddBusinessRules()
@ Serializable
Prevents updating or inserting until the transaction is complete.