ConfigurationSourceExtensions.Max 方法

定义

重载

Max(ConfigurationSource, Nullable<ConfigurationSource>)

返回优先级较高的配置源。

Max(Nullable<ConfigurationSource>, Nullable<ConfigurationSource>)

返回优先级较高的配置源。

Max(ConfigurationSource, Nullable<ConfigurationSource>)

返回优先级较高的配置源。

public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource Max (this Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource left, Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? right);
static member Max : Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource * Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource> -> Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource
<Extension()>
Public Function Max (left As ConfigurationSource, right As Nullable(Of ConfigurationSource)) As ConfigurationSource

参数

left
ConfigurationSource

左侧配置源。

right
Nullable<ConfigurationSource>

正确的配置源。

返回

具有较高优先级的配置源。

注解

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

适用于

Max(Nullable<ConfigurationSource>, Nullable<ConfigurationSource>)

返回优先级较高的配置源。

public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? Max (this Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? left, Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? right);
static member Max : Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource> * Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource> -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource>
<Extension()>
Public Function Max (left As Nullable(Of ConfigurationSource), right As Nullable(Of ConfigurationSource)) As Nullable(Of ConfigurationSource)

参数

left
Nullable<ConfigurationSource>

左侧配置源。

right
Nullable<ConfigurationSource>

正确的配置源。

返回

具有较高优先级的配置源。

注解

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

适用于