Metodo DbQuery<TResult>.IDbAsyncEnumerable<TResult>.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 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 TResult)
Implements IDbAsyncEnumerable(Of TResult).GetAsyncEnumerator
'Utilizzo
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.
Valore restituito
Tipo: System.Data.Entity.Infrastructure.IDbAsyncEnumerator<TResult>
Risultati di query.
Implements
IDbAsyncEnumerable<T>.GetAsyncEnumerator()