Freigeben über


DbQuery.AsStreaming-Methode

[Diese Seite bezieht sich auf Entity Framework Version 6. Die neueste Version ist als 'Entity Framework' NuGet-Paket verfügbar. Weitere Informationen zu Entity Framework finden Sie unter msdn.com/data/ef.]

Hinweis: Diese API ist mittlerweile veraltet.

Gibt eine neue Abfrage zurück, die die Ergebnisse streamt, anstatt sie zu puffern.

Namespace:  System.Data.Entity.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)

Syntax

'Declaration
<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
'Usage
Dim instance As DbQuery 
Dim returnValue As DbQuery 

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

Rückgabewert

Typ: System.Data.Entity.Infrastructure.DbQuery
Eine neue Abfrage mit angewendetem AsStreaming.

Siehe auch

Verweis

DbQuery Klasse

System.Data.Entity.Infrastructure-Namespace