Share via


Metodo DbRawSqlQuery<TElement>.IDbAsyncEnumerable<TElement>.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 nel database.

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

Sintassi

'Dichiarazione
<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")> _
Private Function GetAsyncEnumerator As IDbAsyncEnumerator(Of TElement)
    Implements IDbAsyncEnumerable(Of TElement).GetAsyncEnumerator
'Utilizzo
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.

Valore restituito

Tipo: System.Data.Entity.Infrastructure.IDbAsyncEnumerator<TElement>
Oggetto IDbAsyncEnumerator<T> che può essere utilizzato per scorrere gli elementi.

Implements

IDbAsyncEnumerable<T>.GetAsyncEnumerator()

Vedere anche

Riferimento

DbRawSqlQuery<TElement> Classe

Spazio dei nomi System.Data.Entity.Infrastructure