public PaymentScheduleCollection FetchAll() { PaymentScheduleCollection coll = new PaymentScheduleCollection(); Query qry = new Query(PaymentSchedule.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public PaymentScheduleCollection FetchByQuery(Query qry) { PaymentScheduleCollection coll = new PaymentScheduleCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public PaymentScheduleCollection FetchByID(object PaymentScheduleKey) { PaymentScheduleCollection coll = new PaymentScheduleCollection().Where("payment_schedule_key", PaymentScheduleKey).Load(); return coll; }