PropertyInterceptionContext<TValue>.WithObjectContext Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new PropertyInterceptionContext<TValue> that contains all the contextual information in this interception context with the addition of the given ObjectContext.
public System.Data.Entity.Infrastructure.Interception.PropertyInterceptionContext<TValue> WithObjectContext (System.Data.Entity.Core.Objects.ObjectContext context);
override this.WithObjectContext : System.Data.Entity.Core.Objects.ObjectContext -> System.Data.Entity.Infrastructure.Interception.PropertyInterceptionContext<'Value>
Public Function WithObjectContext (context As ObjectContext) As PropertyInterceptionContext(Of TValue)
Parameters
- context
- ObjectContext
The context to associate.
Returns
A new interception context associated with the given context.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework