コード例 #1
0
        public Regra(string currentLogin, Dao.Boloes.IDaoBolaoRegras daoBase)
        {
            if (daoBase == null)
            {
                throw new ArgumentNullException("daoBase");
            }

            _currentLogin = currentLogin;
            _daoBase      = daoBase;
        }
コード例 #2
0
 public Regra(string currentLogin)
 {
     _currentLogin = currentLogin;
     _daoBase      = new Dao.Boloes.SQLSupport.Regras();
 }