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