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