示例#1
0
        public ContaDAL(SqlConnection conn)
        {
            this.conn = conn;
            string strConn = Db.Conexao.GetStringConnection();

            this.categoria = new CategoriaDAL(new SqlConnection(strConn));
        }
        public ContaDAL(SqlConnection conn)
        {
            var strConn = DB.Conexao.getStringConnection();

            this._conn = conn;
            _categoria = new CategoriaDAL(new SqlConnection(strConn));
        }