DbQuery<TResult>.AsStreaming, méthode
[Cette page concerne Entity Framework version 6. La dernière version est disponible sous le nom de package 'Entity Framework' NuGet. Pour plus d'informations sur Entity Framework, consultez msdn.com/data/ef.]
Remarque : cette API est maintenant obsolète.
Retourne une nouvelle requête qui transmettra en continu les résultats au lieu de les mettre en mémoire tampon.
Espace de noms : System.Data.Entity.Infrastructure
Assembly : EntityFramework (dans EntityFramework.dll)
Syntaxe
'Déclaration
<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)
'Utilisation
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>
Valeur de retour
Type : System.Data.Entity.Infrastructure.DbQuery<TResult>
Nouvelle requête avec AsStreaming appliqué.