Condividi tramite


Metodo DbCommandTreeInterceptionContext.WithObjectContext

[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 WithObjectContext ( _
    context As ObjectContext _
) As DbCommandTreeInterceptionContext
'Utilizzo
Dim instance As DbCommandTreeInterceptionContext 
Dim context As ObjectContext 
Dim returnValue As DbCommandTreeInterceptionContext 

returnValue = instance.WithObjectContext(context)
public DbCommandTreeInterceptionContext WithObjectContext(
    ObjectContext context
)
public:
DbCommandTreeInterceptionContext^ WithObjectContext(
    ObjectContext^ context
)
member WithObjectContext : 
        context:ObjectContext -> DbCommandTreeInterceptionContext
public function WithObjectContext(
    context : ObjectContext
) : DbCommandTreeInterceptionContext

Parametri

Valore restituito

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

Vedere anche

Riferimento

DbCommandTreeInterceptionContext Classe

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