src/Simple.OData.Client.Core/Fluent/FluentClientBase.cs
/// <summary>
/// Executes the OData function or action and returns a single item.
/// </summary>
/// <param name="cancellationToken">The cancellation token.</param>
/// <returns>Execution result.</returns>
Executes the OData function or action and returns a single item.
Executes the OData function or action and returns a single item .
public async Task<U> ExecuteAsSingleAsync<U>(CancellationToken cancellationToken)
	{
		return (await ExecuteAsArrayAsync<U>(cancellationToken)
			.ConfigureAwait(false)).Single();
	}
public async Task < U > ExecuteAsSingleAsync < U > ( CancellationToken cancellationToken ) { return ( await ExecuteAsArrayAsync < U > ( cancellationToken ) . ConfigureAwait ( false ) ) . Single ( ) ; }
Executes the OData function or action and returns a single item.
Executes the OData function or action and returns a single item .
None
cancellationToken
CancellationToken
The cancellation token.
The cancellation token .