예제 #1
0
        public DmucDichvuclCollection FetchByQuery(Query qry)
        {
            DmucDichvuclCollection coll = new DmucDichvuclCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #2
0
        public DmucDichvuclCollection FetchAll()
        {
            DmucDichvuclCollection coll = new DmucDichvuclCollection();
            Query qry = new Query(DmucDichvucl.Schema);

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