Поделиться через


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 имени индекса в базе данных.

Атрибуты

Применяется к