DbQuery<TResult>.IEnumerable<TResult>.GetEnumerator - метод
[Эта страница относится к документации к Entity Framework 6. Последняя версия доступна в составе пакета Entity Framework NuGet. Дополнительные сведения об Entity Framework см. в разделе msdn.com/data/ef.]
Возвращает перечисление для данного запроса, вызывая выполнение этого запроса к хранилищу.
Пространство имен: System.Data.Entity.Infrastructure
Сборка: EntityFramework (в EntityFramework.dll)
Синтаксис
'Декларация
<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")> _
Private Function GetEnumerator As IEnumerator(Of TResult)
Implements IEnumerable(Of TResult).GetEnumerator
'Применение
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.
Возвращаемое значение
Тип: System.Collections.Generic.IEnumerator<TResult>
Объект IEnumerator<T> для данного запроса.
Implements
IEnumerable<T>.GetEnumerator()