RelationalKeyExtensions.GetNameConfigurationSource(IConventionKey) 方法

定义

ConfigurationSource获取约束名称的 。

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)

参数

key
IConventionKey

键。

返回

ConfigurationSource约束名称的 。

适用于