WarningConfigurationBuilderExtensions.Ignore 方法

定义

重载

Ignore(WarningsConfigurationBuilder, InMemoryEventId[])

生成指定的内存中警告时不发生任何操作。

Ignore(WarningsConfigurationBuilder, RelationalEventId[])

生成指定的关系数据库警告时不发生任何操作。

Ignore(WarningsConfigurationBuilder, InMemoryEventId[])

生成指定的内存中警告时不发生任何操作。

public static Microsoft.EntityFrameworkCore.Infrastructure.WarningsConfigurationBuilder Ignore (this Microsoft.EntityFrameworkCore.Infrastructure.WarningsConfigurationBuilder warningsConfigurationBuilder, params Microsoft.EntityFrameworkCore.Infrastructure.InMemoryEventId[] inMemoryEventIds);
static member Ignore : Microsoft.EntityFrameworkCore.Infrastructure.WarningsConfigurationBuilder * Microsoft.EntityFrameworkCore.Infrastructure.InMemoryEventId[] -> Microsoft.EntityFrameworkCore.Infrastructure.WarningsConfigurationBuilder
<Extension()>
Public Function Ignore (warningsConfigurationBuilder As WarningsConfigurationBuilder, ParamArray inMemoryEventIds As InMemoryEventId()) As WarningsConfigurationBuilder

参数

warningsConfigurationBuilder
WarningsConfigurationBuilder

用于配置警告的生成器。

inMemoryEventIds
InMemoryEventId[]

InMemoryEventId 警告 () 。

返回

同一生成器实例,以便可以链接多个调用。

适用于

Ignore(WarningsConfigurationBuilder, RelationalEventId[])

生成指定的关系数据库警告时不发生任何操作。

public static Microsoft.EntityFrameworkCore.Infrastructure.WarningsConfigurationBuilder Ignore (this Microsoft.EntityFrameworkCore.Infrastructure.WarningsConfigurationBuilder warningsConfigurationBuilder, params Microsoft.EntityFrameworkCore.Infrastructure.RelationalEventId[] relationalEventIds);
static member Ignore : Microsoft.EntityFrameworkCore.Infrastructure.WarningsConfigurationBuilder * Microsoft.EntityFrameworkCore.Infrastructure.RelationalEventId[] -> Microsoft.EntityFrameworkCore.Infrastructure.WarningsConfigurationBuilder
<Extension()>
Public Function Ignore (warningsConfigurationBuilder As WarningsConfigurationBuilder, ParamArray relationalEventIds As RelationalEventId()) As WarningsConfigurationBuilder

参数

warningsConfigurationBuilder
WarningsConfigurationBuilder

用于配置警告的生成器。

relationalEventIds
RelationalEventId[]

RelationalEventId 警告 () 。

返回

同一生成器实例,以便可以链接多个调用。

适用于