BeginTransactionInterceptionContext.WithDbContext(DbContext) 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 BeginTransactionInterceptionContext that contains all the contextual information in this interception context with the addition of the given ObjectContext.
public System.Data.Entity.Infrastructure.Interception.BeginTransactionInterceptionContext WithDbContext(System.Data.Entity.DbContext context);
	override this.WithDbContext : System.Data.Entity.DbContext -> System.Data.Entity.Infrastructure.Interception.BeginTransactionInterceptionContext
	Public Function WithDbContext (context As DbContext) As BeginTransactionInterceptionContext
	Parameters
- context
 - DbContext
 
The context to associate.
Returns
A new interception context associated with the given context.