Example #1
0
        public DmucBenhCollection FetchByQuery(Query qry)
        {
            DmucBenhCollection coll = new DmucBenhCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #2
0
        public DmucBenhCollection FetchAll()
        {
            DmucBenhCollection coll = new DmucBenhCollection();
            Query qry = new Query(DmucBenh.Schema);

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