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

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

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