public TblPaymentDetailCollection FetchByQuery(Query qry) { var coll = new TblPaymentDetailCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public TblPaymentDetailCollection FetchAll() { var coll = new TblPaymentDetailCollection(); var qry = new Query(TblPaymentDetail.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }