public PaymentCashCollection FetchAll() { PaymentCashCollection coll = new PaymentCashCollection(); Query qry = new Query(PaymentCash.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public PaymentCashCollection FetchByQuery(Query qry) { PaymentCashCollection coll = new PaymentCashCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public PaymentCashCollection FetchByID(object Id) { PaymentCashCollection coll = new PaymentCashCollection().Where("ID", Id).Load(); return coll; }