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