src/Shared/EntityFramework/Core/Objects/ObjectQuery`.cs
/// <summary>
/// Asynchronously executes the object query with the specified merge option.
/// </summary>
/// <remarks>
/// Multiple active operations on the same context instance are not supported.  Use 'await' to ensure
/// that any asynchronous operations have completed before calling another method on this context.
/// </remarks>
/// <param name="mergeOption">
/// The <see cref="T:System.Data.Entity.Core.Objects.MergeOption" /> to use when executing the query. 
/// The default is <see cref="F:System.Data.Entity.Core.Objects.MergeOption.AppendOnly" />.
/// </param>
/// <param name="cancellationToken">
/// A <see cref="CancellationToken" /> to observe while waiting for the task to complete.
/// </param>
/// <returns>
/// A task that represents the asynchronous operation.
/// The task result contains an <see cref="T:System.Data.Entity.Core.Objects.ObjectResult`1" /> 
/// that contains a collection of entity objects returned by the query.
/// </returns>
Asynchronously executes the object query with the specified merge option.
Asynchronously executes the object query with the specified merge option .
[SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
        public new Task<ObjectResult<T>> ExecuteAsync(MergeOption mergeOption, CancellationToken cancellationToken)
        {
            EntityUtil.CheckArgumentMergeOption(mergeOption);
            return GetResultsAsync(mergeOption, cancellationToken);
        }
[ SuppressMessage ( " " , " " ) ] public new Task < ObjectResult < T > > ExecuteAsync ( MergeOption mergeOption , CancellationToken cancellationToken ) { EntityUtil . CheckArgumentMergeOption ( mergeOption ) ; return GetResultsAsync ( mergeOption , cancellationToken ) ; }
Asynchronously executes the object query with the specified merge option.
Asynchronously executes the object query with the specified merge option .
A task that represents the asynchronous operation.
The task result contains an
that contains a collection of entity objects returned by the query.
A task that represents the asynchronous operation . The task result contains an that contains a collection of entity objects returned by the query .
mergeOption
MergeOption
The  to use when executing the query.
The default is .
The to use when executing the query . The default is .
cancellationToken
CancellationToken
A  to observe while waiting for the task to complete.
A to observe while waiting for the task to complete .
remarks
Multiple active operations on the same context instance are not supported.  Use 'await' to ensure
that any asynchronous operations have completed before calling another method on this context.
Multiple active operations on the same context instance are not supported . Use ' await ' to ensure that any asynchronous operations have completed before calling another method on this context .