Ejemplo n.º 1
0
        public Time(string currentLogin, string nome)
        {
            if (string.IsNullOrEmpty(nome))
            {
                throw new ArgumentNullException("nome");
            }

            _currentLogin = currentLogin;
            _daoBase      = new Dao.DadosBasicos.SQLSupport.Time();
        }
Ejemplo n.º 2
0
        public Time(string currentLogin, BolaoNet.Dao.IDaoBase daoBase, string nome)
        {
            if (string.IsNullOrEmpty(nome))
            {
                throw new ArgumentNullException("nome");
            }

            _currentLogin = currentLogin;
            _daoBase      = daoBase;
            base.Nome     = nome;
        }
Ejemplo n.º 3
0
        public DaoBase(string currentUser, BolaoNet.Dao.IDaoBase daoBase)
        {
            if (daoBase == null)
            {
                throw new ArgumentException("daoBase");
            }


            _daoBase     = daoBase;
            _currentUser = currentUser;


            _commonDatabase = new Framework.DataServices.CommonDatabase(
                daoBase.ConnectionStringSetting.Name,
                daoBase.ConnectionStringSetting.ConnectionString,
                daoBase.ConnectionStringSetting.ProviderName);
        }
Ejemplo n.º 4
0
        public Time()
            : base(
                BolaoNet.Tests.Constants.CurrentUser,
                new System.Configuration.ConnectionStringSettings
                (
                    BolaoNet.Tests.Constants.ConnectionName,
                    BolaoNet.Tests.Constants.ConnectionString,
                    BolaoNet.Tests.Constants.ProviderName
                )
                )

        {
            _daoBase = new BolaoNet.Dao.DadosBasicos.SQLSupport.Time
                       (
                BolaoNet.Tests.Constants.ConnectionName,
                BolaoNet.Tests.Constants.ConnectionString,
                BolaoNet.Tests.Constants.ProviderName
                       );
        }
Ejemplo n.º 5
0
 public Time(string currentLogin)
 {
     _currentLogin = currentLogin;
     _daoBase      = new Dao.DadosBasicos.SQLSupport.Time();
 }
Ejemplo n.º 6
0
 public Time(string currentLogin, BolaoNet.Dao.IDaoBase daoBase)
 {
     _currentLogin = currentLogin;
     _daoBase      = daoBase;
 }
Ejemplo n.º 7
0
 public Estadio(string currentLogin)
 {
     _currentLogin = currentLogin;
     _daoBase      = new Dao.DadosBasicos.SQLSupport.Estadio();
 }