Exemple #1
0
 public int GetTotalRowCount(RefundableProductVwFilter filter)
 {
     return(ExecuteQuery <Scalar <int> >(filter.GetTotalRowCountStatement(ParameterReplacementOption.BracketEnclosedNumber), filter.ExtractValues().ToArray()).First <Scalar <int> >().Value);
 }
Exemple #2
0
 public List <RefundableProductVw> GetPage(RefundableProductVwFilter filter, int pageIndex, int pageSize)
 {
     return(ExecuteQuery <RefundableProductVw>(filter.ToString(pageIndex, pageSize, ParameterReplacementOption.BracketEnclosedNumber), filter.ExtractValues().ToArray()).ToList <RefundableProductVw>());
 }