DbSet<TEntity>.AsAsyncEnumerable Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns this object typed as IAsyncEnumerable<T>.
public virtual System.Collections.Generic.IAsyncEnumerable<TEntity> AsAsyncEnumerable ();
abstract member AsAsyncEnumerable : unit -> System.Collections.Generic.IAsyncEnumerable<'Entity (requires 'Entity : null)>
override this.AsAsyncEnumerable : unit -> System.Collections.Generic.IAsyncEnumerable<'Entity (requires 'Entity : null)>
Public Overridable Function AsAsyncEnumerable () As IAsyncEnumerable(Of TEntity)
Returns
IAsyncEnumerable<TEntity>
This object.
Remarks
See Querying data with EF Core for more information and examples.