Share via


DbQuery<TResult>.AsStreaming Method

Definition

Caution

Queries are now streaming by default unless a retrying ExecutionStrategy is used. Calling this method will have no effect.

Returns a new query that will stream the results instead of buffering.

[System.Obsolete("Queries are now streaming by default unless a retrying ExecutionStrategy is used. Calling this method will have no effect.")]
public virtual System.Data.Entity.Infrastructure.DbQuery<TResult> AsStreaming ();
abstract member AsStreaming : unit -> System.Data.Entity.Infrastructure.DbQuery<'Result>
override this.AsStreaming : unit -> System.Data.Entity.Infrastructure.DbQuery<'Result>
Public Overridable Function AsStreaming () As DbQuery(Of TResult)

Returns

A new query with AsStreaming applied.

Attributes

Applies to