ObjectQuery<T>.IDbAsyncEnumerable<T>.GetAsyncEnumerator メソッド
[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]
列挙されたときにデータベースに対して指定された SQL クエリを実行する IDbAsyncEnumerator<T> を返します。
名前空間: System.Data.Entity.Core.Objects
アセンブリ: EntityFramework (EntityFramework.dll 内)
構文
'宣言
<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")> _
Private Function GetAsyncEnumerator As IDbAsyncEnumerator(Of T)
Implements IDbAsyncEnumerable(Of T).GetAsyncEnumerator
'使用
Dim instance As ObjectQuery
Dim returnValue As IDbAsyncEnumerator(Of T)
returnValue = CType(instance, IDbAsyncEnumerable(Of T)).GetAsyncEnumerator()
[SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
IDbAsyncEnumerator<T> IDbAsyncEnumerable<T>.GetAsyncEnumerator()
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
private:
virtual IDbAsyncEnumerator<T>^ GetAsyncEnumerator() sealed = IDbAsyncEnumerable<T>::GetAsyncEnumerator
[<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")>]
private abstract GetAsyncEnumerator : unit -> IDbAsyncEnumerator<'T>
[<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")>]
private override GetAsyncEnumerator : unit -> IDbAsyncEnumerator<'T>
JScript supports the use of explicit interface implementations, but not the declarations of new ones.
戻り値
型 : System.Data.Entity.Infrastructure.IDbAsyncEnumerator<T>
クエリ結果。
Implements
IDbAsyncEnumerable<T>.GetAsyncEnumerator()