ConfigurationSourceExtensions.Overrides 方法

定义

重载

Overrides(ConfigurationSource, Nullable<ConfigurationSource>)

返回一个值,该值指示新配置源是否可以替代使用旧配置源的配置集。

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

返回一个值,该值指示新配置源是否可以替代使用旧配置源的配置集。

Overrides(ConfigurationSource, Nullable<ConfigurationSource>)

Source:
ConfigurationSourceExtensions.cs
Source:
ConfigurationSourceExtensions.cs
Source:
ConfigurationSourceExtensions.cs
Source:
ConfigurationSourceExtensions.cs
Source:
ConfigurationSourceExtensions.cs
Source:
ConfigurationSourceExtensions.cs
Source:
ConfigurationSourceExtensions.cs

返回一个值,该值指示新配置源是否可以替代使用旧配置源的配置集。

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

参数

newConfigurationSource
ConfigurationSource

新的配置源。

oldConfigurationSource
Nullable<ConfigurationSource>

旧的配置源。

返回

true 如果新的配置源可以替代旧配置源的配置集,则为 。

注解

有关详细信息和示例,请参阅 模型生成约定

适用于

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

Source:
ConfigurationSourceExtensions.cs
Source:
ConfigurationSourceExtensions.cs
Source:
ConfigurationSourceExtensions.cs
Source:
ConfigurationSourceExtensions.cs
Source:
ConfigurationSourceExtensions.cs
Source:
ConfigurationSourceExtensions.cs
Source:
ConfigurationSourceExtensions.cs

返回一个值,该值指示新配置源是否可以替代使用旧配置源的配置集。

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

参数

newConfigurationSource
Nullable<ConfigurationSource>

新的配置源。

oldConfigurationSource
Nullable<ConfigurationSource>

旧的配置源。

返回

true 如果新的配置源可以替代旧配置源的配置集,则为 。

注解

有关详细信息和示例,请参阅 模型生成约定

适用于