Metodo DbQuery<TResult>.IEnumerable<TResult>.GetEnumerator
[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.]
Ottiene l'enumerazione di questa query facendo in modo che venga eseguita sull'archivio.
Spazio dei nomi: System.Data.Entity.Infrastructure
Assembly: EntityFramework (in EntityFramework.dll)
Sintassi
'Dichiarazione
<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")> _
Private Function GetEnumerator As IEnumerator(Of TResult)
Implements IEnumerable(Of TResult).GetEnumerator
'Utilizzo
Dim instance As DbQuery
Dim returnValue As IEnumerator(Of TResult)
returnValue = CType(instance, IEnumerable(Of TResult)).GetEnumerator()
[SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
IEnumerator<TResult> IEnumerable<TResult>.GetEnumerator()
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
private:
virtual IEnumerator<TResult>^ GetEnumerator() sealed = IEnumerable<TResult>::GetEnumerator
[<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")>]
private abstract GetEnumerator : unit -> IEnumerator<'TResult>
[<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")>]
private override GetEnumerator : unit -> IEnumerator<'TResult>
JScript supports the use of explicit interface implementations, but not the declarations of new ones.
Valore restituito
Tipo: System.Collections.Generic.IEnumerator<TResult>
IEnumerator<T> per la query.
Implements
IEnumerable<T>.GetEnumerator()