ConfigurationSourceExtensions.OverridesStrictly Method

Definition

Overloads

OverridesStrictly(ConfigurationSource, Nullable<ConfigurationSource>)

Returns a value indicating whether the configuration source always takes precedence over the other configuration source.

OverridesStrictly(Nullable<ConfigurationSource>, Nullable<ConfigurationSource>)

Returns a value indicating whether the configuration source always takes precedence over the other configuration source.

OverridesStrictly(ConfigurationSource, Nullable<ConfigurationSource>)

Returns a value indicating whether the configuration source always takes precedence over the other configuration source.

public static bool OverridesStrictly (this Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource newConfigurationSource, Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? oldConfigurationSource);
static member OverridesStrictly : Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource * Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource> -> bool
<Extension()>
Public Function OverridesStrictly (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 configuration source always takes precedence over the other configuration source.

Remarks

See Model building conventions for more information and examples.

Applies to

OverridesStrictly(Nullable<ConfigurationSource>, Nullable<ConfigurationSource>)

Returns a value indicating whether the configuration source always takes precedence over the other configuration source.

public static bool OverridesStrictly (this Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? newConfigurationSource, Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? oldConfigurationSource);
static member OverridesStrictly : Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource> * Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource> -> bool
<Extension()>
Public Function OverridesStrictly (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 configuration source always takes precedence over the other configuration source.

Remarks

See Model building conventions for more information and examples.

Applies to