RelationalForeignKeyExtensions.GetConstraintNameConfigurationSource Methode

Definition

Ruft den ConfigurationSource für den Einschränkungsnamen ab.

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)

Parameter

foreignKey
IConventionForeignKey

Der Fremdschlüssel.

Gibt zurück

Der ConfigurationSource für den Einschränkungsnamen.

Gilt für: