語言

QueryableExtensions.AsStreaming 方法

定義

多載

名稱 Description
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

還有 IQueryable 一個要應用 AsStreaming 的。

傳回

新增一個帶有 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>

還有 IQueryable<T> 一個要應用 AsStreaming 的。

傳回

新增一個帶有 AsStreaming 的查詢,或如果不支援 AsStreaming,則是原始查詢。

屬性

適用於