Beispiel #1
0
        public Jogo(string currentLogin, BolaoNet.Dao.Campeonatos.IDaoJogo daoBase)
        {
            if (daoBase == null)
            {
                throw new ArgumentNullException("daoBase");
            }

            _currentLogin = currentLogin;
            _daoBase      = daoBase;
        }
Beispiel #2
0
        public Jogo(string currentLogin, Model.Campeonatos.Jogo jogo)
        {
            if (jogo == null)
            {
                throw new ArgumentNullException("jogo");
            }

            _currentLogin = currentLogin;
            _daoBase      = new Dao.Campeonatos.SQLSupport.Jogo();

            this.Copy(jogo);
        }
Beispiel #3
0
        public Jogo(string currentLogin, BolaoNet.Dao.Campeonatos.IDaoJogo daoBase, Model.Campeonatos.Jogo jogo)
        {
            if (jogo == null)
            {
                throw new ArgumentNullException("jogo");
            }

            if (daoBase == null)
            {
                throw new ArgumentNullException("daoBase");
            }

            _currentLogin = currentLogin;
            _daoBase      = daoBase;

            this.Copy(jogo);
        }
Beispiel #4
0
 public Jogo(string currentLogin)
 {
     _currentLogin = currentLogin;
     _daoBase      = new Dao.Campeonatos.SQLSupport.Jogo();
 }