public List <LoanDecisionVw> GetPage(LoanDecisionVwFilter filter, int pageIndex, int pageSize) { return(ExecuteQuery <LoanDecisionVw>(filter.ToString(pageIndex, pageSize, ParameterReplacementOption.BracketEnclosedNumber), filter.ExtractValues().ToArray()).ToList <LoanDecisionVw>()); }
public int GetTotalRowCount(LoanDecisionVwFilter filter) { return(ExecuteQuery <Scalar <int> >(filter.GetTotalRowCountStatement(ParameterReplacementOption.BracketEnclosedNumber), filter.ExtractValues().ToArray()).First <Scalar <int> >().Value); }
public List <LoanDecisionVw> Get(LoanDecisionVwFilter filter) { return(ExecuteQuery <LoanDecisionVw>(filter.ToString(ParameterReplacementOption.BracketEnclosedNumber), filter.ExtractValues().ToArray()).ToList <LoanDecisionVw>()); }