DbQuery<TResult>.IDbAsyncEnumerable<TResult>.GetAsyncEnumerator-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.]
Gibt einen IDbAsyncEnumerator<T> zurück, der bei der Aufzählung die Abfrage für die Datenbank ausführt.
Namespace: System.Data.Entity.Infrastructure
Assembly: EntityFramework (in EntityFramework.dll)
Syntax
'Declaration
<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")> _
Private Function GetAsyncEnumerator As IDbAsyncEnumerator(Of TResult)
Implements IDbAsyncEnumerable(Of TResult).GetAsyncEnumerator
'Usage
Dim instance As DbQuery
Dim returnValue As IDbAsyncEnumerator(Of TResult)
returnValue = CType(instance, IDbAsyncEnumerable(Of TResult)).GetAsyncEnumerator()
[SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
IDbAsyncEnumerator<TResult> IDbAsyncEnumerable<TResult>.GetAsyncEnumerator()
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
private:
virtual IDbAsyncEnumerator<TResult>^ GetAsyncEnumerator() sealed = IDbAsyncEnumerable<TResult>::GetAsyncEnumerator
[<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")>]
private abstract GetAsyncEnumerator : unit -> IDbAsyncEnumerator<'TResult>
[<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")>]
private override GetAsyncEnumerator : unit -> IDbAsyncEnumerator<'TResult>
JScript supports the use of explicit interface implementations, but not the declarations of new ones.
Rückgabewert
Typ: System.Data.Entity.Infrastructure.IDbAsyncEnumerator<TResult>
Die Abfrageergebnisse.
Implements
IDbAsyncEnumerable<T>.GetAsyncEnumerator()