QueryableExtensions.AsStreaming Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AsStreaming(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. |
AsStreaming<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. |
AsStreaming(IQueryable)
Caution
LINQ 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. 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.Obsolete("LINQ queries are now streaming by default unless a retrying ExecutionStrategy is used. Calling this method will have no effect.")]
public static System.Linq.IQueryable AsStreaming (this System.Linq.IQueryable source);
static member AsStreaming : System.Linq.IQueryable -> System.Linq.IQueryable
<Extension()>
Public Function AsStreaming (source As IQueryable) As IQueryable
Parameters
- source
- IQueryable
An IQueryable to apply AsStreaming to.
Returns
A new query with AsStreaming applied, or the source query if AsStreaming is not supported.
- Attributes
Applies to
AsStreaming<T>(IQueryable<T>)
Caution
LINQ 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. 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.Obsolete("LINQ queries are now streaming by default unless a retrying ExecutionStrategy is used. Calling this method will have no effect.")]
public static System.Linq.IQueryable<T> AsStreaming<T> (this System.Linq.IQueryable<T> source);
static member AsStreaming : System.Linq.IQueryable<'T> -> System.Linq.IQueryable<'T>
<Extension()>
Public Function AsStreaming(Of T) (source As IQueryable(Of T)) As IQueryable(Of T)
Type Parameters
- T
The type of the elements of source
.
Parameters
- source
- IQueryable<T>
An IQueryable<T> to apply AsStreaming to.
Returns
A new query with AsStreaming applied, or the source query if AsStreaming is not supported.
- Attributes
Applies to
Entity Framework