Example #1
0
 public int GetTotalRowCount(HealthLoanDecisionFirstPaymentVwFilter filter)
 {
     return(ExecuteQuery <Scalar <int> >(filter.GetTotalRowCountStatement(ParameterReplacementOption.BracketEnclosedNumber), filter.ExtractValues().ToArray()).First <Scalar <int> >().Value);
 }
Example #2
0
 public List <HealthLoanDecisionFirstPaymentVw> GetPage(HealthLoanDecisionFirstPaymentVwFilter filter, int pageIndex, int pageSize)
 {
     return(ExecuteQuery <HealthLoanDecisionFirstPaymentVw>(filter.ToString(pageIndex, pageSize, ParameterReplacementOption.BracketEnclosedNumber), filter.ExtractValues().ToArray()).ToList <HealthLoanDecisionFirstPaymentVw>());
 }