示例#1
0
        public KhachHangCollection FetchByQuery(Query qry)
        {
            KhachHangCollection coll = new KhachHangCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
示例#2
0
        public KhachHangCollection FetchAll()
        {
            KhachHangCollection coll = new KhachHangCollection();
            Query qry = new Query(KhachHang.Schema);

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