IObjectContextAdapter インターフェイス
[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]
ObjectContext のインスタンスを提供できるオブジェクトによって実装されるインターフェイス。 DbContext クラスはこのインターフェイスを実行して基になっている ObjectContext へのアクセスを提供します。
名前空間: System.Data.Entity.Infrastructure
アセンブリ: EntityFramework (EntityFramework.dll 内)
構文
'宣言
Public Interface IObjectContextAdapter
'使用
Dim instance As IObjectContextAdapter
public interface IObjectContextAdapter
public interface class IObjectContextAdapter
type IObjectContextAdapter = interface end
public interface IObjectContextAdapter
IObjectContextAdapter 型で公開されるメンバーは以下のとおりです。
プロパティ
名前 | 説明 | |
---|---|---|
ObjectContext | オブジェクトのコンテキストを取得します。 |
上揃え