ConfigurationSourceExtensions.Max Method

Definition

Overloads

Max(ConfigurationSource, Nullable<ConfigurationSource>)

Returns the configuration source which has higher priority.

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

Returns the configuration source which has higher priority.

Max(ConfigurationSource, Nullable<ConfigurationSource>)

Returns the configuration source which has higher priority.

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

Parameters

left
ConfigurationSource

The left configuration source.

right
Nullable<ConfigurationSource>

The right configuration source.

Returns

The configuration source with higher priority.

Remarks

See Model building conventions for more information and examples.

Applies to

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

Returns the configuration source which has higher priority.

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)

Parameters

left
Nullable<ConfigurationSource>

The left configuration source.

right
Nullable<ConfigurationSource>

The right configuration source.

Returns

The configuration source with higher priority.

Remarks

See Model building conventions for more information and examples.

Applies to