次の方法で共有


DbRawSqlQuery<TElement>.IDbAsyncEnumerable<TElement>.GetAsyncEnumerator メソッド

[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]

列挙されたときにデータベースに対して SQL クエリを実行する IDbAsyncEnumerator<T> を返します。

名前空間:  System.Data.Entity.Infrastructure
アセンブリ:  EntityFramework (EntityFramework.dll 内)

構文

'宣言
<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")> _
Private Function GetAsyncEnumerator As IDbAsyncEnumerator(Of TElement)
    Implements IDbAsyncEnumerable(Of TElement).GetAsyncEnumerator
'使用
Dim instance As DbRawSqlQuery 
Dim returnValue As IDbAsyncEnumerator(Of TElement)

returnValue = CType(instance, IDbAsyncEnumerable(Of TElement)).GetAsyncEnumerator()
[SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
IDbAsyncEnumerator<TElement> IDbAsyncEnumerable<TElement>.GetAsyncEnumerator()
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
private:
virtual IDbAsyncEnumerator<TElement>^ GetAsyncEnumerator() sealed = IDbAsyncEnumerable<TElement>::GetAsyncEnumerator
[<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")>]
private abstract GetAsyncEnumerator : unit -> IDbAsyncEnumerator<'TElement> 
[<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")>]
private override GetAsyncEnumerator : unit -> IDbAsyncEnumerator<'TElement> 
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

戻り値

型 : System.Data.Entity.Infrastructure.IDbAsyncEnumerator<TElement>
要素の反復処理に使用できる IDbAsyncEnumerator<T> オブジェクト。

Implements

IDbAsyncEnumerable<T>.GetAsyncEnumerator()

参照

参照

DbRawSqlQuery<TElement> クラス

System.Data.Entity.Infrastructure 名前空間