WarningConfigurationBuilderExtensions WarningConfigurationBuilderExtensions Class

Definition

Relational database specific extension methods for WarningsConfigurationBuilder.

public static class WarningConfigurationBuilderExtensions
Public Module WarningConfigurationBuilderExtensions
Inheritance
System.ObjectSystem.Object
WarningConfigurationBuilderExtensionsWarningConfigurationBuilderExtensions

Methods

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

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
warningsConfigurationBuilder
WarningsConfigurationBuilder WarningsConfigurationBuilder

The builder being used to configure warnings.

relationalEventIds
RelationalEventId[] RelationalEventId()

The RelationalEventId(s) for the warnings.

Returns

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

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
warningsConfigurationBuilder
WarningsConfigurationBuilder WarningsConfigurationBuilder

The builder being used to configure warnings.

relationalEventIds
RelationalEventId[] RelationalEventId()

The RelationalEventId(s) for the warnings.

Returns

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

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

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
warningsConfigurationBuilder
WarningsConfigurationBuilder WarningsConfigurationBuilder

The builder being used to configure warnings.

relationalEventIds
RelationalEventId[] RelationalEventId()

The RelationalEventId(s) for the warnings.

Returns

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

ToString() ToString()

Inherited from System.Object