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