public PriceOrderLogCollection FetchAll() { PriceOrderLogCollection coll = new PriceOrderLogCollection(); Query qry = new Query(PriceOrderLog.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public PriceOrderLogCollection FetchByQuery(Query qry) { PriceOrderLogCollection coll = new PriceOrderLogCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public PriceOrderLogCollection FetchByID(object PoLogId) { PriceOrderLogCollection coll = new PriceOrderLogCollection().Where("po_log_id", PoLogId).Load(); return coll; }