Condividi tramite


Metodo DbCommandTreeInterceptionContext.WithDbContext

[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.]

Spazio dei nomi  System.Data.Entity.Infrastructure.Interception
Assembly:  EntityFramework (in EntityFramework.dll)

Sintassi

'Dichiarazione
Public Function WithDbContext ( _
    context As DbContext _
) As DbCommandTreeInterceptionContext
'Utilizzo
Dim instance As DbCommandTreeInterceptionContext 
Dim context As DbContext 
Dim returnValue As DbCommandTreeInterceptionContext 

returnValue = instance.WithDbContext(context)
public DbCommandTreeInterceptionContext WithDbContext(
    DbContext context
)
public:
DbCommandTreeInterceptionContext^ WithDbContext(
    DbContext^ context
)
member WithDbContext : 
        context:DbContext -> DbCommandTreeInterceptionContext
public function WithDbContext(
    context : DbContext
) : DbCommandTreeInterceptionContext

Parametri

Valore restituito

Tipo: System.Data.Entity.Infrastructure.Interception.DbCommandTreeInterceptionContext

Vedere anche

Riferimento

DbCommandTreeInterceptionContext Classe

Spazio dei nomi System.Data.Entity.Infrastructure.Interception