Freigeben über


DbRawSqlQuery<TElement>.IDbAsyncEnumerable<TElement>.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 IDbAsyncEnumerator<T> zurück, der bei der Enumeration die SQL-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 TElement)
    Implements IDbAsyncEnumerable(Of TElement).GetAsyncEnumerator
'Usage
Dim instance As DbRawSqlQuery 
Dim returnValue As IDbAsyncEnumerator(Of TElement)

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

Rückgabewert

Typ: System.Data.Entity.Infrastructure.IDbAsyncEnumerator<TElement>
Ein IDbAsyncEnumerator<T>-Objekt, mit dem die Elemente durchlaufen werden können.

Implements

IDbAsyncEnumerable<T>.GetAsyncEnumerator()

Siehe auch

Verweis

DbRawSqlQuery<TElement> Klasse

System.Data.Entity.Infrastructure-Namespace