DbSet<TEntity>.AsAsyncEnumerable Method

Definition

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.

Applies to