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