Share via


Metodo ObjectQuery<T>.IDbAsyncEnumerable<T>.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<T> che, se enumerato, eseguirà la query SQL specificata nel database.

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

Sintassi

'Dichiarazione
<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")> _
Private Function GetAsyncEnumerator As IDbAsyncEnumerator(Of T)
    Implements IDbAsyncEnumerable(Of T).GetAsyncEnumerator
'Utilizzo
Dim instance As ObjectQuery 
Dim returnValue As IDbAsyncEnumerator(Of T)

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

Valore restituito

Tipo: System.Data.Entity.Infrastructure.IDbAsyncEnumerator<T>
Risultati di query.

Implements

IDbAsyncEnumerable<T>.GetAsyncEnumerator()

Vedere anche

Riferimento

ObjectQuery<T> Classe

Spazio dei nomi System.Data.Entity.Core.Objects