DbQuery.IDbAsyncEnumerable.GetAsyncEnumerator, 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.]

Retourne un IDbAsyncEnumerator qui lorsqu'il est énuméré exécute la requête sur la base de données.

Espace de noms :  System.Data.Entity.Infrastructure
Assembly :  EntityFramework (dans EntityFramework.dll)

Syntaxe

'Déclaration
<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")> _
Private Function GetAsyncEnumerator As IDbAsyncEnumerator 
    Implements IDbAsyncEnumerable.GetAsyncEnumerator
'Utilisation
Dim instance As DbQuery 
Dim returnValue As IDbAsyncEnumerator 

returnValue = CType(instance, IDbAsyncEnumerable).GetAsyncEnumerator()
[SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
IDbAsyncEnumerator IDbAsyncEnumerable.GetAsyncEnumerator()
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
private:
virtual IDbAsyncEnumerator^ GetAsyncEnumerator() sealed = IDbAsyncEnumerable::GetAsyncEnumerator
[<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")>]
private abstract GetAsyncEnumerator : unit -> IDbAsyncEnumerator 
[<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")>]
private override GetAsyncEnumerator : unit -> IDbAsyncEnumerator
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Valeur de retour

Type : System.Data.Entity.Infrastructure.IDbAsyncEnumerator
Résultats de requête.

Implémentations

IDbAsyncEnumerable.GetAsyncEnumerator()

Voir aussi

Référence

DbQuery Classe

Espace de noms System.Data.Entity.Infrastructure