共用方式為


ISingletonOptions.Initialize(IDbContextOptions) 方法

定義

從指定的 IDbContextOptions 初始化單一選項。

public void Initialize (Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions options);
abstract member Initialize : Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions -> unit
Public Sub Initialize (options As IDbContextOptions)

參數

適用於