src/Shared/EntityFramework/Infrastructure/Interception/DbTransactionInterceptionContext.cs
/// <summary>
/// Creates a new <see cref="DbTransactionInterceptionContext" /> that contains all the contextual information in this
/// interception context with the addition of the given <see cref="ObjectContext" />.
/// </summary>
/// <param name="context">The context to associate.</param>
/// <returns>A new interception context associated with the given context.</returns>
Creates a new  that contains all the contextual information in this
interception context with the addition of the given .
Creates a new that contains all the contextual information in this interception context with the addition of the given .
public new DbTransactionInterceptionContext WithObjectContext(ObjectContext context)
        {
            Check.NotNull(context, "context");
            return (DbTransactionInterceptionContext)base.WithObjectContext(context);
        }
public new DbTransactionInterceptionContext WithObjectContext ( ObjectContext context ) { Check . NotNull ( context , " " ) ; return ( DbTransactionInterceptionContext ) base . WithObjectContext ( context ) ; }
Creates a new  that contains all the contextual information in this
interception context with the addition of the given .
Creates a new that contains all the contextual information in this interception context with the addition of the given .
A new interception context associated with the given context.
A new interception context associated with the given context .
context
ObjectContext
The context to associate.
The context to associate .