WarningConfigurationBuilderExtensions WarningConfigurationBuilderExtensions Class

Relational database specific extension methods for WarningsConfigurationBuilder.

Syntax

Declaration

public static class WarningConfigurationBuilderExtensionsPublic Module WarningConfigurationBuilderExtensions

Inheritance Hierarchy

  • System.Object
    System.Object
  • WarningConfigurationBuilderExtensions
    WarningConfigurationBuilderExtensions

Inherited Members

ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Methods summary

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

Causes a warning to be logged when the specified relational database warnings are generated.

Causes an exception to be thrown when the specified relational database warnings are generated.

Methods

  • Ignore(WarningsConfigurationBuilder, RelationalEventId[])
    Ignore(WarningsConfigurationBuilder, RelationalEventId())

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

    public static WarningsConfigurationBuilder Ignore(this WarningsConfigurationBuilder warningsConfigurationBuilder, params RelationalEventId[] relationalEventIds)<ExtensionAttribute>
    Public Shared Function Ignore(warningsConfigurationBuilder As WarningsConfigurationBuilder, ParamArray relationalEventIds As RelationalEventId()) As WarningsConfigurationBuilder

    Parameters

    Returns

  • Log(WarningsConfigurationBuilder, RelationalEventId[])
    Log(WarningsConfigurationBuilder, RelationalEventId())

    Causes a warning to be logged when the specified relational database warnings are generated.

    public static WarningsConfigurationBuilder Log(this WarningsConfigurationBuilder warningsConfigurationBuilder, params RelationalEventId[] relationalEventIds)<ExtensionAttribute>
    Public Shared Function Log(warningsConfigurationBuilder As WarningsConfigurationBuilder, ParamArray relationalEventIds As RelationalEventId()) As WarningsConfigurationBuilder

    Parameters

    Returns

  • Throw(WarningsConfigurationBuilder, RelationalEventId[])
    Throw(WarningsConfigurationBuilder, RelationalEventId())

    Causes an exception to be thrown when the specified relational database warnings are generated.

    public static WarningsConfigurationBuilder Throw(this WarningsConfigurationBuilder warningsConfigurationBuilder, params RelationalEventId[] relationalEventIds)<ExtensionAttribute>
    Public Shared Function Throw(warningsConfigurationBuilder As WarningsConfigurationBuilder, ParamArray relationalEventIds As RelationalEventId()) As WarningsConfigurationBuilder

    Parameters

    Returns

Details

Assembly

Microsoft.EntityFrameworkCore.Relational.dll