Exemplo n.º 1
0
 private void rewriteRowCount(PaginationContext pagination, int rowCountParameterIndex, StandardParameterBuilder parameterBuilder, SelectCommandContext selectCommandContext)
 {
     parameterBuilder.AddReplacedParameters(rowCountParameterIndex, pagination.GetRevisedRowCount(selectCommandContext));
 }
Exemplo n.º 2
0
 private void RewriteOffset(PaginationContext pagination, int offsetParameterIndex, StandardParameterBuilder parameterBuilder)
 {
     parameterBuilder.AddReplacedParameters(offsetParameterIndex, pagination.GetRevisedOffset());
 }