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