public PaymentCashCollection FetchAll() { PaymentCashCollection coll = new PaymentCashCollection(); Query qry = new Query(PaymentCash.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public PaymentCashCollection FetchByQuery(Query qry) { PaymentCashCollection coll = new PaymentCashCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }