Exemple #1
0
 protected override void AddBusinessRules()
 {
     BusinessRules.AddRule(new Rule1(NameProperty));
     BusinessRules.AddRule(new Rule2(NameProperty));
     BusinessRules.AddRule(new Rule3(NameProperty));
 }
Exemple #2
0
 protected override void AddBusinessRules()
 {
     BusinessRules.AddRule(new MyRule {
         PrimaryProperty = NameProperty
     });
 }
Exemple #3
0
 protected override void AddBusinessRules()
 {
     BusinessRules.AddRule(new CheckRule {
         PrimaryProperty = DataProperty
     });
 }
Exemple #4
0
 protected override void AddBusinessRules()
 {
     BusinessRules.AddRule(new InvalidAsyncValidationRule(NameProperty));
     base.AddBusinessRules();
 }
Exemple #5
0
 protected override void AddBusinessRules()
 {
     base.AddBusinessRules();
     BusinessRules.AddRule(new Csla.Rules.CommonRules.Required(_Rate));
     BusinessRules.AddRule(new Csla.Rules.CommonRules.Required(_Uom));
 }
Exemple #6
0
 protected override void AddBusinessRules()
 {
     BusinessRules.AddRule(new DoAsyncRule(DataProperty));
 }
Exemple #7
0
 protected override void AddBusinessRules()
 {
     base.AddBusinessRules();
     BusinessRules.AddRule(new NoAuth(AuthorizationActions.DeleteObject));
 }
Exemple #8
0
 protected override void AddBusinessRules()
 {
     BusinessRules.AddRule(new Csla.Rules.CommonRules.Required(CustomerNameProperty));
 }