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

将对其应用警告配置的选项生成器。

适用于