XPQueryExtensions.LastAsync Method
Name | Parameters | Description |
---|---|---|
LastAsync<T>(IQueryable<T>, Expression<Func<T, Boolean>>, CancellationToken) static | query, predicate, cancellationToken | Asynchronously gets the last object that meets specified requirements in a selection. Throws an exception for empty selections. |
LastAsync<T>(IQueryable<T>, CancellationToken) static | query, cancellationToken | Asynchronously gets the last object in a selection. Throws an exception for empty selections. |