Share via


RelationalKeyExtensions.GetNameConfigurationSource(IConventionKey) Method

Definition

Gets the ConfigurationSource for the constraint name.

public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? GetNameConfigurationSource (this Microsoft.EntityFrameworkCore.Metadata.IConventionKey key);
static member GetNameConfigurationSource : Microsoft.EntityFrameworkCore.Metadata.IConventionKey -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource>
<Extension()>
Public Function GetNameConfigurationSource (key As IConventionKey) As Nullable(Of ConfigurationSource)

Parameters

key
IConventionKey

The key.

Returns

The ConfigurationSource for the constraint name.

Applies to