public TblKedonthuocTemptCollection FetchByQuery(Query qry) { TblKedonthuocTemptCollection coll = new TblKedonthuocTemptCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public TblKedonthuocTemptCollection FetchAll() { TblKedonthuocTemptCollection coll = new TblKedonthuocTemptCollection(); Query qry = new Query(TblKedonthuocTempt.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public TblKedonthuocTemptCollection FetchByID(object IdChitietdonthuoc) { TblKedonthuocTemptCollection coll = new TblKedonthuocTemptCollection().Where("id_chitietdonthuoc", IdChitietdonthuoc).Load(); return(coll); }