IObjectContextAdapter.ObjectContext プロパティ
[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]
オブジェクトのコンテキストを取得します。
名前空間: System.Data.Entity.Infrastructure
アセンブリ: EntityFramework (EntityFramework.dll 内)
構文
'宣言
ReadOnly Property ObjectContext As ObjectContext
Get
'使用
Dim instance As IObjectContextAdapter
Dim value As ObjectContext
value = instance.ObjectContext
ObjectContext ObjectContext { get; }
property ObjectContext^ ObjectContext {
ObjectContext^ get ();
}
abstract ObjectContext : ObjectContext
function get ObjectContext () : ObjectContext
プロパティ値
型 : System.Data.Entity.Core.Objects.ObjectContext
オブジェクト コンテキスト。