DbCommandInterceptionContext.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.]
名前空間: System.Data.Entity.Infrastructure.Interception
アセンブリ: EntityFramework (EntityFramework.dll)
構文
'宣言
Public Function WithDbContext ( _
context As DbContext _
) As DbCommandInterceptionContext
'使用
Dim instance As DbCommandInterceptionContext
Dim context As DbContext
Dim returnValue As DbCommandInterceptionContext
returnValue = instance.WithDbContext(context)
public DbCommandInterceptionContext WithDbContext(
DbContext context
)
public:
DbCommandInterceptionContext^ WithDbContext(
DbContext^ context
)
member WithDbContext :
context:DbContext -> DbCommandInterceptionContext
public function WithDbContext(
context : DbContext
) : DbCommandInterceptionContext
パラメーター
- context
型: System.Data.Entity.DbContext
戻り値
型: System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext