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

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

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