Share via


EntityDataSource.ContextType プロパティ

定義

ObjectContext コントロールで使用される型指定された EntityDataSource を取得または設定します。

public:
 property Type ^ ContextType { Type ^ get(); void set(Type ^ value); };
public Type ContextType { get; set; }
member this.ContextType : Type with get, set
Public Property ContextType As Type

プロパティ値

ObjectContext から派生するオブジェクト。

実装

注釈

ObjectContextコントロールによってEntityDataSource使用される は、 プロパティからContextTypeアクセスできます。 詳細については、「 オブジェクト コンテキスト Life-Cycle管理 (EntityDataSource)」を参照してください。

適用対象