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