Udostępnij za pośrednictwem


RelationalIndexExtensions.GetNameConfigurationSource(IConventionIndex) Metoda

Definicja

Przestroga

Use GetDatabaseNameConfigurationSource() instead.

Pobiera nazwę ConfigurationSource indeksu w bazie danych.

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)

Parametry

index
IConventionIndex

Indeks.

Zwraca

Jako ConfigurationSource nazwę indeksu w bazie danych.

Atrybuty

Dotyczy