QueryableExtensions.AsStreaming 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| AsStreaming(IQueryable) |
已过时.
返回一个新查询,该查询将流式传输结果,而不是缓冲。 此方法的工作原理是调用基础查询对象的 AsStreaming 方法。 如果基础查询对象没有 AsStreaming 方法,则调用此方法不会影响。 |
| AsStreaming<T>(IQueryable<T>) |
已过时.
返回一个新查询,该查询将流式传输结果,而不是缓冲。 此方法的工作原理是调用基础查询对象的 AsStreaming 方法。 如果基础查询对象没有 AsStreaming 方法,则调用此方法不会影响。 |
AsStreaming(IQueryable)
注意
LINQ queries are now streaming by default unless a retrying ExecutionStrategy is used. Calling this method will have no effect.
返回一个新查询,该查询将流式传输结果,而不是缓冲。 此方法的工作原理是调用基础查询对象的 AsStreaming 方法。 如果基础查询对象没有 AsStreaming 方法,则调用此方法不会影响。
[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
参数
- source
- IQueryable
要向其应用 AsStreaming 的一个 IQueryable 。
返回
应用了 AsStreaming 的新查询,或者不支持 AsStreaming 的源查询。
- 特性
适用于
AsStreaming<T>(IQueryable<T>)
注意
LINQ queries are now streaming by default unless a retrying ExecutionStrategy is used. Calling this method will have no effect.
返回一个新查询,该查询将流式传输结果,而不是缓冲。 此方法的工作原理是调用基础查询对象的 AsStreaming 方法。 如果基础查询对象没有 AsStreaming 方法,则调用此方法不会影响。
[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)
类型参数
- T
的元素 source的类型。
参数
- source
- IQueryable<T>
要向其应用 AsStreaming 的一个 IQueryable<T> 。
返回
应用了 AsStreaming 的新查询,或者不支持 AsStreaming 的源查询。
- 特性