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