Share via


Metodo DbQuery<TResult>.AsStreaming

[Questa pagina è specifica della versione 6 di Entity Framework. La versione più recente è disponibile come pacchetto NuGet per "Entity Framework". Per ulteriori informazioni su Entity Framework, vedere la pagina msdn.com/data/ef.]

Nota: questa API è ora obsoleta.

Restituisce una nuova query che trasmetterà come flusso e non come buffer i risultati.

Spazio dei nomi:  System.Data.Entity.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)

Sintassi

'Dichiarazione
<ObsoleteAttribute("Queries are now streaming by default unless a retrying ExecutionStrategy is used. Calling this method will have no effect.")> _
Public Overridable Function AsStreaming As DbQuery(Of TResult)
'Utilizzo
Dim instance As DbQuery 
Dim returnValue As DbQuery(Of TResult)

returnValue = instance.AsStreaming()
[ObsoleteAttribute("Queries are now streaming by default unless a retrying ExecutionStrategy is used. Calling this method will have no effect.")]
public virtual DbQuery<TResult> AsStreaming()
[ObsoleteAttribute(L"Queries are now streaming by default unless a retrying ExecutionStrategy is used. Calling this method will have no effect.")]
public:
virtual DbQuery<TResult>^ AsStreaming()
[<ObsoleteAttribute("Queries are now streaming by default unless a retrying ExecutionStrategy is used. Calling this method will have no effect.")>]
abstract AsStreaming : unit -> DbQuery<'TResult> 
[<ObsoleteAttribute("Queries are now streaming by default unless a retrying ExecutionStrategy is used. Calling this method will have no effect.")>]
override AsStreaming : unit -> DbQuery<'TResult> 
public function AsStreaming() : DbQuery<TResult>

Valore restituito

Tipo: System.Data.Entity.Infrastructure.DbQuery<TResult>
Nuova query a cui è stato applicato il valore AsStreaming.

Vedere anche

Riferimento

DbQuery<TResult> Classe

Spazio dei nomi System.Data.Entity.Infrastructure