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