.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

XPQueryExtensions.MaxAsync Method

Name Parameters Description
MaxAsync<T, TResult>(IQueryable<T>, Expression<Func<T, TResult>>, CancellationToken) static query, selector, cancellationToken

Asynchronously gets the maximum value from a specified query. Uses a lambda expression to obtain values.

MaxAsync<T>(IQueryable<T>, CancellationToken) static query, cancellationToken

Asynchronously gets the maximum value from a specified query.