Freigeben über


MutableInterceptionContext.WithObjectContext(ObjectContext) Methode

Definition

Erstellt eine neue MutableInterceptionContext , die alle Kontextinformationen in diesem Abhörkontext enthält, wobei der angegebene hinzugefügt wird ObjectContext.

public System.Data.Entity.Infrastructure.Interception.MutableInterceptionContext WithObjectContext (System.Data.Entity.Core.Objects.ObjectContext context);
override this.WithObjectContext : System.Data.Entity.Core.Objects.ObjectContext -> System.Data.Entity.Infrastructure.Interception.MutableInterceptionContext
Public Function WithObjectContext (context As ObjectContext) As MutableInterceptionContext

Parameter

context
ObjectContext

Der zuzuordnende Kontext.

Gibt zurück

Ein neuer Abhörkontext, der dem angegebenen Kontext zugeordnet ist.

Gilt für: