Пример #1
0
        public TblKedonthuocTemptCollection FetchByQuery(Query qry)
        {
            TblKedonthuocTemptCollection coll = new TblKedonthuocTemptCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public TblKedonthuocTemptCollection FetchAll()
        {
            TblKedonthuocTemptCollection coll = new TblKedonthuocTemptCollection();
            Query qry = new Query(TblKedonthuocTempt.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #3
0
        public TblKedonthuocTemptCollection FetchByID(object IdChitietdonthuoc)
        {
            TblKedonthuocTemptCollection coll = new TblKedonthuocTemptCollection().Where("id_chitietdonthuoc", IdChitietdonthuoc).Load();

            return(coll);
        }