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