Freigeben über


DbRawSqlQuery<TElement>.IDbAsyncEnumerable.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 IDbAsyncEnumerable 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 
    Implements IDbAsyncEnumerable.GetAsyncEnumerator
'Usage
Dim instance As DbRawSqlQuery 
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.

Rückgabewert

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

Implements

IDbAsyncEnumerable.GetAsyncEnumerator()

Siehe auch

Verweis

DbRawSqlQuery<TElement> Klasse

System.Data.Entity.Infrastructure-Namespace