RelationalCommandParameterObject.Context 属性

定义

当前 DbContext 实例;如果未知,则 null 为 。

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

属性值

适用于