Exemple #1
0
        protected override void AddBusinessRules()
        {
            //if overridden, this method must be called to included data annotations
            BusinessRules.AddDataAnnotations();

            //TODO: add othe rules
            //ValidationRules.AddRule(RuleMethod, "");
        }