Method Ascending
Ascending(params Expression<Func<TDocument, object>>[])
Sets one or more key names to index in ascending order.
public static IndexKeysBuilder<TDocument> Ascending(params Expression<Func<TDocument, object>>[] memberExpressions)
Parameters
memberExpressions
Expression<Func<TDocument, object>>[]The member expressions.
Returns
- IndexKeysBuilder<TDocument>
The builder (so method calls can be chained).