RelationalForeignKeyExtensions.GetConstraintNameConfigurationSource Method

Definition

Gets the ConfigurationSource for the constraint name.

public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? GetConstraintNameConfigurationSource (this Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey foreignKey);
static member GetConstraintNameConfigurationSource : Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource>
<Extension()>
Public Function GetConstraintNameConfigurationSource (foreignKey As IConventionForeignKey) As Nullable(Of ConfigurationSource)

Parameters

foreignKey
IConventionForeignKey

The foreign key.

Returns

The ConfigurationSource for the constraint name.

Applies to