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