DataSource for Entity Framework for WinForms
ExecuteIn<T> メソッド

C1.Data.Entity.4.5.2 アセンブリ > C1.Data 名前空間 > DataExtensions クラス : ExecuteIn<T> メソッド
クエリーから返される項目の型。
クライアントスコープ内で実行するクエリー。
クエリーが実行される クライアントスコープ
scope内で queryを実行し、ロードされたエンティティごとに AddRef(Object)を呼び出すことで、 エンティティが scopeにピン留めされる(「必要」のマークが付けられる)ようにします。
シンタックス
'宣言
 
Public Shared Function ExecuteIn(Of T)( _
   ByVal query As System.Collections.Generic.IEnumerable(Of T), _
   ByVal scope As ClientScope _
) As System.Collections.Generic.IEnumerable(Of T)
public static System.Collections.Generic.IEnumerable<T> ExecuteIn<T>( 
   System.Collections.Generic.IEnumerable<T> query,
   ClientScope scope
)

パラメータ

query
クライアントスコープ内で実行するクエリー。
scope
クエリーが実行される クライアントスコープ

型パラメータ

T
クエリーから返される項目の型。

戻り値の型

指定された scope内で実行されるクエリー。
参照

DataExtensions クラス
DataExtensions メンバ