public PaymentRateCollection FetchAll() { PaymentRateCollection coll = new PaymentRateCollection(); Query qry = new Query(PaymentRate.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public PaymentRateCollection FetchByQuery(Query qry) { PaymentRateCollection coll = new PaymentRateCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public PaymentRateCollection FetchByID(object PaymentRateID) { PaymentRateCollection coll = new PaymentRateCollection().Where("PaymentRateID", PaymentRateID).Load(); return coll; }