共用方式為


RelationalConnectionDependencies.ContextOptions 屬性

定義

目前內容實例的選項。

public Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions ContextOptions { get; }
public Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions ContextOptions { get; init; }
member this.ContextOptions : Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions
member this.ContextOptions : Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions with get, set
Public ReadOnly Property ContextOptions As IDbContextOptions
Public Property ContextOptions As IDbContextOptions

屬性值

適用於