Share via


ConfigurationSourceExtensions.Overrides Method

Definition

Overloads

Overrides(ConfigurationSource, Nullable<ConfigurationSource>)

Returns a value indicating whether the new configuration source can override configuration set with the old configuration source.

Overrides(Nullable<ConfigurationSource>, Nullable<ConfigurationSource>)

Returns a value indicating whether the new configuration source can override configuration set with the old configuration source.

Overrides(ConfigurationSource, Nullable<ConfigurationSource>)

Returns a value indicating whether the new configuration source can override configuration set with the old configuration source.

public static bool Overrides (this Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource newConfigurationSource, Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? oldConfigurationSource);
static member Overrides : Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource * Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource> -> bool
<Extension()>
Public Function Overrides (newConfigurationSource As ConfigurationSource, oldConfigurationSource As Nullable(Of ConfigurationSource)) As Boolean

Parameters

newConfigurationSource
ConfigurationSource

The new configuration source.

oldConfigurationSource
Nullable<ConfigurationSource>

The old configuration source.

Returns

true if the new configuration source can override configuration set with the old configuration source.

Remarks

See Model building conventions for more information and examples.

Applies to

Overrides(Nullable<ConfigurationSource>, Nullable<ConfigurationSource>)

Returns a value indicating whether the new configuration source can override configuration set with the old configuration source.

public static bool Overrides (this Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? newConfigurationSource, Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? oldConfigurationSource);
static member Overrides : Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource> * Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource> -> bool
<Extension()>
Public Function Overrides (newConfigurationSource As Nullable(Of ConfigurationSource), oldConfigurationSource As Nullable(Of ConfigurationSource)) As Boolean

Parameters

newConfigurationSource
Nullable<ConfigurationSource>

The new configuration source.

oldConfigurationSource
Nullable<ConfigurationSource>

The old configuration source.

Returns

true if the new configuration source can override configuration set with the old configuration source.

Remarks

See Model building conventions for more information and examples.

Applies to