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.

C#
public static Microsoft.EntityFrameworkCore.Infrastructure.WarningsConfigurationBuilder Ignore (this Microsoft.EntityFrameworkCore.Infrastructure.WarningsConfigurationBuilder warningsConfigurationBuilder, params Microsoft.EntityFrameworkCore.Infrastructure.InMemoryEventId[] inMemoryEventIds);

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

Entity Framework Core 1.1 and Entity Framework Core 1.0
Product Versions
Entity Framework Core 1.0, 1.1

Ignore(WarningsConfigurationBuilder, RelationalEventId[])

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

C#
public static Microsoft.EntityFrameworkCore.Infrastructure.WarningsConfigurationBuilder Ignore (this Microsoft.EntityFrameworkCore.Infrastructure.WarningsConfigurationBuilder warningsConfigurationBuilder, params Microsoft.EntityFrameworkCore.Infrastructure.RelationalEventId[] relationalEventIds);

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

Entity Framework Core 1.1 and Entity Framework Core 1.0
Product Versions
Entity Framework Core 1.0, 1.1