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