예제 #1
0
        public bool IsValid( )
        {
            if (!PersistenceRules.Passes(this))
            {
                return(false);
            }

            return(BusinessRules.Passes(this));
        }
예제 #2
0
 public bool IsPersistable( )
 {
     return(PersistenceRules.Passes(this));
 }