閱讀英文

共用方式為


WarningsConfigurationBuilder(DbContextOptionsBuilder) 建構函式

定義

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

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

參數

optionsBuilder
DbContextOptionsBuilder

將套用警告組態的選項產生器。

適用於