Condividi tramite


Metodo DbRawSqlQuery.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 DbRawSqlQuery
'Utilizzo
Dim instance As DbRawSqlQuery 
Dim returnValue As DbRawSqlQuery 

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 DbRawSqlQuery AsStreaming()
[ObsoleteAttribute(L"Queries are now streaming by default unless a retrying ExecutionStrategy is used. Calling this method will have no effect.")]
public:
virtual DbRawSqlQuery^ AsStreaming()
[<ObsoleteAttribute("Queries are now streaming by default unless a retrying ExecutionStrategy is used. Calling this method will have no effect.")>]
abstract AsStreaming : unit -> DbRawSqlQuery 
[<ObsoleteAttribute("Queries are now streaming by default unless a retrying ExecutionStrategy is used. Calling this method will have no effect.")>]
override AsStreaming : unit -> DbRawSqlQuery
public function AsStreaming() : DbRawSqlQuery

Valore restituito

Tipo: System.Data.Entity.Infrastructure.DbRawSqlQuery
Nuova query a cui è stato applicato il valore AsStreaming.

Vedere anche

Riferimento

DbRawSqlQuery Classe

Spazio dei nomi System.Data.Entity.Infrastructure