EntityDataReader.ReadAsync Method
Namespace:
System.Data.Entity.Core.EntityClient
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | ReadAsync() | (Inherited from DbDataReader.) |
![]() | ReadAsync(CancellationToken) | Asynchronously moves the reader to the next row of the current result set(Overrides DbDataReader.ReadAsync(CancellationToken).) |
EntityDataReader.ReadAsync Method (CancellationToken)
Asynchronously moves the reader to the next row of the current result set
Parameters
- cancellationToken
-
Type:
System.Threading.CancellationToken
A CancellationToken to observe while waiting for the task to complete.
Return Value
Type: System.Threading.Tasks.Task<Boolean>A task that represents the asynchronous operation. The task result contains true if there are more rows; false otherwise.