Share via


WarningConfigurationBuilderExtensions.Ignore Method

Definition

Overloads

Ignore(WarningsConfigurationBuilder, InMemoryEventId[])

Causes nothing to happen when the specified in-memory warnings are generated.

Ignore(WarningsConfigurationBuilder, RelationalEventId[])

Causes nothing to happen when the specified relational database warnings are generated.

Ignore(WarningsConfigurationBuilder, InMemoryEventId[])

Causes nothing to happen when the specified in-memory warnings are generated.

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

Parameters

warningsConfigurationBuilder
WarningsConfigurationBuilder

The builder being used to configure warnings.

inMemoryEventIds
InMemoryEventId[]

The InMemoryEventId(s) for the warnings.

Returns

The same builder instance so that multiple calls can be chained.

Applies to

Ignore(WarningsConfigurationBuilder, RelationalEventId[])

Causes nothing to happen when the specified relational database warnings are generated.

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

Parameters

warningsConfigurationBuilder
WarningsConfigurationBuilder

The builder being used to configure warnings.

relationalEventIds
RelationalEventId[]

The RelationalEventId(s) for the warnings.

Returns

The same builder instance so that multiple calls can be chained.

Applies to