Пример #1
0
        public NoitruDmucBuongCollection FetchByQuery(Query qry)
        {
            NoitruDmucBuongCollection coll = new NoitruDmucBuongCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public NoitruDmucBuongCollection FetchAll()
        {
            NoitruDmucBuongCollection coll = new NoitruDmucBuongCollection();
            Query qry = new Query(NoitruDmucBuong.Schema);

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