public TblPaymentCollection FetchByQuery(Query qry) { var coll = new TblPaymentCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public TblPaymentCollection FetchAll() { var coll = new TblPaymentCollection(); var 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); }