src/Simple.OData.Client.Core/Fluent/FluentClientBase.cs
/// <summary>
/// Gets the OData command text.
/// </summary>
/// <param name="cancellationToken">The cancellation token.</param>
/// <returns>The command text.</returns>
Gets the OData command text.
Gets the OData command text .
public async Task<string> GetCommandTextAsync(CancellationToken cancellationToken)
	{
		await _session
			.ResolveAdapterAsync(cancellationToken)
			.ConfigureAwait(false);
		if (cancellationToken.IsCancellationRequested)
		{
			cancellationToken.ThrowIfCancellationRequested();
		}
		return Command.Resolve(_session).Format();
	}
public async Task < string > GetCommandTextAsync ( CancellationToken cancellationToken ) { await _session . ResolveAdapterAsync ( cancellationToken ) . ConfigureAwait ( false ) ; if ( cancellationToken . IsCancellationRequested ) { cancellationToken . ThrowIfCancellationRequested ( ) ; } return Command . Resolve ( _session ) . Format ( ) ; }
Gets the OData command text.
Gets the OData command text .
The command text.
The command text .
cancellationToken
CancellationToken
The cancellation token.
The cancellation token .