共用方式為


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 索引名稱的 。

屬性

適用於