public ComponentesTO(bool conbd)
        {
            try
            {
                if (conbd)
                {
                    this._dao = new ComponentesDAO();
                }
            }
            catch (Exception ex)
            {

                throw ex;
            }
        }
Exemple #2
0
        public ComponentesTO(bool conbd, bool instanciadependente)
        {
            try
            {
                if (conbd)
                {
                    this._dao = new ComponentesDAO();
                }

                if (instanciadependente)
                {
                    _modelo = new ModelosTO(true, false);
                    _tipocomp = new TipoComponentesTO(false);
                }
            }
            catch (Exception ex)
            {

                throw ex;
            }
        }