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