共用方式為


DbContextEventData.Context 屬性

定義

目前的 DbContext

public virtual Microsoft.EntityFrameworkCore.DbContext Context { get; }
public virtual Microsoft.EntityFrameworkCore.DbContext? Context { get; }
member this.Context : Microsoft.EntityFrameworkCore.DbContext
Public Overridable ReadOnly Property Context As DbContext

屬性值

適用於