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

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

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