示例#1
0
        public TblMauThongBaoCollection FetchByQuery(Query qry)
        {
            TblMauThongBaoCollection coll = new TblMauThongBaoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
示例#2
0
        public TblMauThongBaoCollection FetchAll()
        {
            TblMauThongBaoCollection coll = new TblMauThongBaoCollection();
            Query qry = new Query(TblMauThongBao.Schema);

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