Esempio n. 1
0
        public TLichsuChotthuocCollection FetchByQuery(Query qry)
        {
            TLichsuChotthuocCollection coll = new TLichsuChotthuocCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 2
0
        public TLichsuChotthuocCollection FetchAll()
        {
            TLichsuChotthuocCollection coll = new TLichsuChotthuocCollection();
            Query qry = new Query(TLichsuChotthuoc.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 3
0
        public TLichsuChotthuocCollection FetchByID(object IdChot)
        {
            TLichsuChotthuocCollection coll = new TLichsuChotthuocCollection().Where("id_chot", IdChot).Load();

            return(coll);
        }