protected override void AddBusinessRules() { BusinessRules.AddRule(new Rule1(NameProperty)); BusinessRules.AddRule(new Rule2(NameProperty)); BusinessRules.AddRule(new Rule3(NameProperty)); }
protected override void AddBusinessRules() { BusinessRules.AddRule(new MyRule { PrimaryProperty = NameProperty }); }
protected override void AddBusinessRules() { BusinessRules.AddRule(new CheckRule { PrimaryProperty = DataProperty }); }
protected override void AddBusinessRules() { BusinessRules.AddRule(new InvalidAsyncValidationRule(NameProperty)); base.AddBusinessRules(); }
protected override void AddBusinessRules() { base.AddBusinessRules(); BusinessRules.AddRule(new Csla.Rules.CommonRules.Required(_Rate)); BusinessRules.AddRule(new Csla.Rules.CommonRules.Required(_Uom)); }
protected override void AddBusinessRules() { BusinessRules.AddRule(new DoAsyncRule(DataProperty)); }
protected override void AddBusinessRules() { base.AddBusinessRules(); BusinessRules.AddRule(new NoAuth(AuthorizationActions.DeleteObject)); }
protected override void AddBusinessRules() { BusinessRules.AddRule(new Csla.Rules.CommonRules.Required(CustomerNameProperty)); }