共用方式為


IRelationalConnection.Context Property

Definition

The DbContext currently in use, or null if not known.

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

Property Value

Applies to