Export (0) Print
Expand All

DbContext.IObjectContextAdapter.ObjectContext Property

Entity Framework 5.0

Returns the Entity Framework ObjectContext that is underlying this context.

Namespace:  System.Data.Entity
Assembly:  EntityFramework (in EntityFramework.dll)

'Declaration
Private ReadOnly Property ObjectContext As ObjectContext 
	Implements IObjectContextAdapter.ObjectContext 
	Get
'Usage
Dim instance As DbContext 
Dim value As ObjectContext 

value = CType(instance, IObjectContextAdapter).ObjectContext

Implements

IObjectContextAdapter.ObjectContext
Show:
© 2014 Microsoft