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

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

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