Share via


DbQuery.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 AsStreaming ();
abstract member AsStreaming : unit -> System.Data.Entity.Infrastructure.DbQuery
override this.AsStreaming : unit -> System.Data.Entity.Infrastructure.DbQuery
Public Overridable Function AsStreaming () As DbQuery

Returns

A new query with AsStreaming applied.

Attributes

Applies to