共用方式為


SqlServerDbContextOptionsBuilder(DbContextOptionsBuilder) 建構函式

定義

初始化 SqlServerDbContextOptionsBuilder 類別的新執行個體。

public SqlServerDbContextOptionsBuilder (Microsoft.EntityFrameworkCore.DbContextOptionsBuilder optionsBuilder);
new Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder : Microsoft.EntityFrameworkCore.DbContextOptionsBuilder -> Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder
Public Sub New (optionsBuilder As DbContextOptionsBuilder)

參數

optionsBuilder
DbContextOptionsBuilder

選項產生器。

適用於