共用方式為


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>

正確的組態來源。

傳回

優先順序較高的組態來源。

備註

如需詳細資訊和範例,請參閱 模型建置慣例

適用於