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); }
public TblPaymentCollection FetchByID(object PaymentID) { TblPaymentCollection coll = new TblPaymentCollection().Where("PaymentID", PaymentID).Load(); return(coll); }