Method ThenBy
ThenBy<TResult>(IOrderedAggregateFluent<TResult>, Expression<Func<TResult, object>>)
Modifies the current sort stage by appending an ascending field specification to it.
public static IOrderedAggregateFluent<TResult> ThenBy<TResult>(this IOrderedAggregateFluent<TResult> aggregate, Expression<Func<TResult, object>> field)
Parameters
aggregateIOrderedAggregateFluent<TResult>The aggregate.
fieldExpression<Func<TResult, object>>The field to sort by.
Returns
- IOrderedAggregateFluent<TResult>
The fluent aggregate interface.
Type Parameters
TResultThe type of the result.