DbInterceptionContext.WithObjectContext-Methode
[This page is specific to the Entity Framework version 6.0 Beta. The latest version is available as the 'Entity Framework' NuGet package. For more information, see Entity Framework Releases and Versioning.]
Namespace: System.Data.Entity.Infrastructure.Interception
Assembly: EntityFramework (in EntityFramework.dll)
Syntax
'Declaration
Public Function WithObjectContext ( _
context As ObjectContext _
) As DbInterceptionContext
'Usage
Dim instance As DbInterceptionContext
Dim context As ObjectContext
Dim returnValue As DbInterceptionContext
returnValue = instance.WithObjectContext(context)
public DbInterceptionContext WithObjectContext(
ObjectContext context
)
public:
DbInterceptionContext^ WithObjectContext(
ObjectContext^ context
)
member WithObjectContext :
context:ObjectContext -> DbInterceptionContext
public function WithObjectContext(
context : ObjectContext
) : DbInterceptionContext
Parameter
- context
Typ: System.Data.Entity.Core.Objects.ObjectContext
Rückgabewert
Typ: System.Data.Entity.Infrastructure.Interception.DbInterceptionContext