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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Beispiel #3
0
        public KhachHangCollection FetchByID(object MaKh)
        {
            KhachHangCollection coll = new KhachHangCollection().Where("MaKh", MaKh).Load();

            return(coll);
        }