RelationalIndexExtensions.GetNameConfigurationSource(IConventionIndex) 方法

定义

注意

Use GetDatabaseNameConfigurationSource() instead.

获取 ConfigurationSource 数据库中索引名称的 。

public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? GetNameConfigurationSource (this Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index);
[System.Obsolete("Use GetDatabaseNameConfigurationSource() instead.")]
public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? GetNameConfigurationSource (this Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index);
static member GetNameConfigurationSource : Microsoft.EntityFrameworkCore.Metadata.IConventionIndex -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource>
[<System.Obsolete("Use GetDatabaseNameConfigurationSource() instead.")>]
static member GetNameConfigurationSource : Microsoft.EntityFrameworkCore.Metadata.IConventionIndex -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource>
<Extension()>
Public Function GetNameConfigurationSource (index As IConventionIndex) As Nullable(Of ConfigurationSource)

参数

index
IConventionIndex

索引。

返回

数据库中 ConfigurationSource 索引名称的 。

属性

适用于