public HoadonLogCollection FetchAll() { HoadonLogCollection coll = new HoadonLogCollection(); Query qry = new Query(HoadonLog.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public HoadonLogCollection FetchByQuery(Query qry) { HoadonLogCollection coll = new HoadonLogCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public HoadonLogCollection FetchByID(object IdHdonLog) { HoadonLogCollection coll = new HoadonLogCollection().Where("id_hdon_log", IdHdonLog).Load(); return coll; }