コード例 #1
0
        public DmucBenhvienCollection FetchByQuery(Query qry)
        {
            DmucBenhvienCollection coll = new DmucBenhvienCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #2
0
        public DmucBenhvienCollection FetchAll()
        {
            DmucBenhvienCollection coll = new DmucBenhvienCollection();
            Query qry = new Query(DmucBenhvien.Schema);

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