共用方式為


DbContextOptionsBuilder<TContext>.Options 屬性

定義

取得正在設定的選項。

public virtual Microsoft.EntityFrameworkCore.DbContextOptions<TContext> Options { get; }
member this.Options : Microsoft.EntityFrameworkCore.DbContextOptions<'Context (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext)>
Public Overridable ReadOnly Property Options As DbContextOptions(Of TContext)

屬性值

適用於