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()