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