QueryableExtensions.AsStreaming Method

 

Namespace:   System.Data.Entity
Assembly:  EntityFramework (in EntityFramework.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticAsStreaming(IQueryable)

Obsolete.Returns a new query that will stream the results instead of buffering. This method works by calling the AsStreaming method of the underlying query object. If the underlying query object does not have an AsStreaming method, then calling this method will have no affect.

System_CAPS_pubmethodSystem_CAPS_staticAsStreaming<T>(IQueryable<T>)

Obsolete.Returns a new query that will stream the results instead of buffering. This method works by calling the AsStreaming method of the underlying query object. If the underlying query object does not have an AsStreaming method, then calling this method will have no affect.


QueryableExtensions.AsStreaming Method (IQueryable)

Note: This API is now obsolete.

Returns a new query that will stream the results instead of buffering. This method works by calling the AsStreaming method of the underlying query object. If the underlying query object does not have an AsStreaming method, then calling this method will have no affect.

[ObsoleteAttribute("LINQ queries are now streaming by default unless a retrying ExecutionStrategy is used. Calling this method will have no effect.")]
public static IQueryable AsStreaming(
	this IQueryable source
)

Parameters

source
Type: System.Linq.IQueryable

An IQueryable to apply AsStreaming to.

Return Value

Type: System.Linq.IQueryable

A new query with AsStreaming applied, or the source query if AsStreaming is not supported.


QueryableExtensions.AsStreaming<T> Method (IQueryable<T>)

Note: This API is now obsolete.

Returns a new query that will stream the results instead of buffering. This method works by calling the AsStreaming method of the underlying query object. If the underlying query object does not have an AsStreaming method, then calling this method will have no affect.

[ObsoleteAttribute("LINQ queries are now streaming by default unless a retrying ExecutionStrategy is used. Calling this method will have no effect.")]
public static IQueryable<T> AsStreaming<T>(
	this IQueryable<T> source
)

Parameters

source
Type: System.Linq.IQueryable<T>

An IQueryable<T> to apply AsStreaming to.

Return Value

Type: System.Linq.IQueryable<T>

A new query with AsStreaming applied, or the source query if AsStreaming is not supported.

Type Parameters

T

The type of the elements of source.