Exemplo n.º 1
0
        public TblMauThongBaoCollection FetchByQuery(Query qry)
        {
            TblMauThongBaoCollection coll = new TblMauThongBaoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 2
0
        public TblMauThongBaoCollection FetchAll()
        {
            TblMauThongBaoCollection coll = new TblMauThongBaoCollection();
            Query qry = new Query(TblMauThongBao.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }