RelationalForeignKeyExtensions.GetConstraintNameConfigurationSource 方法

定义

ConfigurationSource获取约束名称的 。

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)

参数

foreignKey
IConventionForeignKey

外键。

返回

ConfigurationSource约束名称的 。

适用于