Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

QueryableExtensions::AsStreaming Method

Entity Framework 6.0
 

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.

Return to top

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.

public:
[ExtensionAttribute]
[ObsoleteAttribute("LINQ queries are now streaming by default unless a retrying ExecutionStrategy is used. Calling this method will have no effect.")]
static IQueryable^ AsStreaming(
	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.

Return to top

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.

public:
generic<typename T>
[ObsoleteAttribute("LINQ queries are now streaming by default unless a retrying ExecutionStrategy is used. Calling this method will have no effect.")]
[ExtensionAttribute]
static IQueryable<T>^ AsStreaming(
	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.

Return to top
Show: