DbQuery.IDbAsyncEnumerable.GetAsyncEnumerator (Método)

[Esta página es específica de la versión 6 de Entity Framework. La versión más reciente está disponible como el paquete NuGet de Entity Framework. Para más información sobre Entity Framework, consulte msdn.com/es-ES/data/ef].

Devuelve una IDbAsyncEnumerator que, cuando se enumera, ejecutará la consulta en la base de datos.

Espacio de nombres:  System.Data.Entity.Infrastructure
Ensamblado:  EntityFramework (en EntityFramework.dll)

Sintaxis

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

Valor devuelto

Tipo: System.Data.Entity.Infrastructure.IDbAsyncEnumerator
Resultados de la consulta.

Implementaciones

IDbAsyncEnumerable.GetAsyncEnumerator()

Vea también

Referencia

DbQuery Clase

System.Data.Entity.Infrastructure (Espacio de nombres)