Share via


Metodo DbQuery.IDbAsyncEnumerable.GetAsyncEnumerator

[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.]

Restituisce un oggetto IDbAsyncEnumerator che, se enumerato, eseguirà la query nel database.

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

Sintassi

'Dichiarazione
<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")> _
Private Function GetAsyncEnumerator As IDbAsyncEnumerator 
    Implements IDbAsyncEnumerable.GetAsyncEnumerator
'Utilizzo
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.

Valore restituito

Tipo: System.Data.Entity.Infrastructure.IDbAsyncEnumerator
Risultati di query.

Implements

IDbAsyncEnumerable.GetAsyncEnumerator()

Vedere anche

Riferimento

DbQuery Classe

Spazio dei nomi System.Data.Entity.Infrastructure