語言

SqlServerIndexExtensions 類別

定義

針對 SQL Server 特定元資料的索引擴充方法。

[System.Runtime.CompilerServices.Nullable(0)]
public static class SqlServerIndexExtensions
public static class SqlServerIndexExtensions
[<System.Runtime.CompilerServices.Nullable(0)>]
type SqlServerIndexExtensions = class
type SqlServerIndexExtensions = class
Public Module SqlServerIndexExtensions
繼承
SqlServerIndexExtensions
屬性

備註

更多資訊與範例請參閱「建模實體類型與關係」,以及「使用 EF Core 存取 SQL Server 與 Azure SQL 資料庫」。

方法

名稱 Description
GetDataCompression(IReadOnlyIndex, StoreObjectIdentifier)

回傳索引所使用的資料壓縮。

GetDataCompression(IReadOnlyIndex)

回傳索引所使用的資料壓縮。

GetDataCompressionConfigurationSource(IConventionIndex)

回傳索引 ConfigurationSource 所用的資料壓縮。

GetFillFactor(IIndex)

回傳一個值,表示索引是否使用填充因子。

GetFillFactor(IReadOnlyIndex, StoreObjectIdentifier)

回傳索引所使用的填充因子。

GetFillFactor(IReadOnlyIndex)

回傳索引所使用的填充因子。

GetFillFactorConfigurationSource(IConventionIndex)

回傳 for ConfigurationSource 索引是否使用填充因子。

GetFullTextCatalog(IReadOnlyIndex, StoreObjectIdentifier)

回傳全文索引的全文目錄名稱。

GetFullTextCatalog(IReadOnlyIndex)

回傳全文索引的全文目錄名稱。

GetFullTextCatalogConfigurationSource(IConventionIndex)

返回全 ConfigurationSource 文索引的全文目錄。

GetFullTextChangeTracking(IReadOnlyIndex, StoreObjectIdentifier)

回傳全文索引的變更追蹤模式。

GetFullTextChangeTracking(IReadOnlyIndex)

回傳全文索引的變更追蹤模式。

GetFullTextChangeTrackingConfigurationSource(IConventionIndex)

回傳 ConfigurationSource 全文索引的變更追蹤模式。

GetFullTextKeyIndex(IReadOnlyIndex, StoreObjectIdentifier)

回傳全文索引的 KEY INDEX 名稱。

GetFullTextKeyIndex(IReadOnlyIndex)

回傳全文索引的 KEY INDEX 名稱。

GetFullTextKeyIndexConfigurationSource(IConventionIndex)

回傳 ConfigurationSource 全文索引的 KEY INDEX。

GetFullTextLanguage(IReadOnlyIndex, String)

回傳全文索引中特定屬性的全文語言。

GetFullTextLanguages(IReadOnlyIndex)

回傳所有已設定為全文索引的全文語言。

GetFullTextLanguagesConfigurationSource(IConventionIndex)

回傳全 ConfigurationSource 文索引的全文語言。

GetIncludeProperties(IIndex)

報稅表中包含物業名稱,或 null 未指定者。

GetIncludeProperties(IReadOnlyIndex, StoreObjectIdentifier)

報稅表中包含物業名稱,或 null 未指定者。

GetIncludeProperties(IReadOnlyIndex)

報稅表中包含物業名稱,或 null 未指定者。

GetIncludePropertiesConfigurationSource(IConventionIndex)

回傳 ConfigurationSource 包含的物業名稱。

GetIsClusteredConfigurationSource(IConventionIndex)

回傳 對於 ConfigurationSource 索引是否為叢集。

GetIsCreatedOnlineConfigurationSource(IConventionIndex)

回傳 ConfigurationSource 索引是否在線。

GetSortInTempDb(IReadOnlyIndex, StoreObjectIdentifier)

回傳一個值,表示該索引是否在 tempdb 中被排序。

GetSortInTempDb(IReadOnlyIndex)

回傳一個值,表示該索引是否在 tempdb 中被排序。

GetSortInTempDbConfigurationSource(IConventionIndex)

回傳 for ConfigurationSource 索引是否在 tempdb 中被排序。

GetVectorIndexType(IReadOnlyIndex, StoreObjectIdentifier)

回傳向量索引的類型。

GetVectorIndexType(IReadOnlyIndex)

回傳向量索引的類型。

GetVectorIndexTypeConfigurationSource(IConventionIndex)

回傳 ConfigurationSource 向量索引的類型。

GetVectorMetric(IReadOnlyIndex, StoreObjectIdentifier)

回傳向量指數的相似度指標。

GetVectorMetric(IReadOnlyIndex)

回傳向量指數的相似度指標。

GetVectorMetricConfigurationSource(IConventionIndex)

回傳向 ConfigurationSource 量指數的相似度度量。

IsClustered(IIndex, StoreObjectIdentifier)

回傳一個值,表示索引是否為叢集。

IsClustered(IIndex)

回傳一個值,表示索引是否為叢集。

IsClustered(IReadOnlyIndex, StoreObjectIdentifier)

回傳一個值,表示索引是否為叢集。

IsClustered(IReadOnlyIndex)

回傳一個值,表示索引是否為叢集。

IsCreatedOnline(IIndex)

回傳一個值,表示該索引是否在線。

IsCreatedOnline(IReadOnlyIndex, StoreObjectIdentifier)

回傳一個值,表示該索引是否在線。

IsCreatedOnline(IReadOnlyIndex)

回傳一個值,表示該索引是否在線。

IsFullTextIndex(IReadOnlyIndex)

回傳索引是否為全文索引。

IsVectorIndex(IReadOnlyIndex)

回傳索引是否為向量索引。

SetDataCompression(IConventionIndex, Nullable<DataCompressionType>, Boolean)

設定一個值,表示索引所使用的資料壓縮。

SetDataCompression(IMutableIndex, Nullable<DataCompressionType>)

設定一個值,表示索引所使用的資料壓縮。

SetFillFactor(IConventionIndex, Nullable<Int32>, Boolean)

定義一個值,表示索引是否使用填充因子。

SetFillFactor(IMutableIndex, Nullable<Int32>)

設定一個值,表示索引是否使用填充因子。

SetFullTextCatalog(IConventionIndex, String, Boolean)

設定全文目錄名稱為全文索引。

SetFullTextCatalog(IMutableIndex, String)

設定全文目錄名稱為全文索引。

SetFullTextChangeTracking(IConventionIndex, Nullable<FullTextChangeTracking>, Boolean)

設定全文索引的變更追蹤模式。

SetFullTextChangeTracking(IMutableIndex, Nullable<FullTextChangeTracking>)

設定全文索引的變更追蹤模式。

SetFullTextKeyIndex(IConventionIndex, String, Boolean)

設定全文索引的 KEY INDEX 名稱。 設定非空值會將此索引標記為全文索引。

SetFullTextKeyIndex(IMutableIndex, String)

設定全文索引的 KEY INDEX 名稱。 設定非空值會將此索引標記為全文索引。

SetFullTextLanguage(IConventionIndex, String, String, Boolean)

為全文索引中特定屬性設定全文語言。

SetFullTextLanguage(IMutableIndex, String, String)

為全文索引中特定屬性設定全文語言。

SetFullTextLanguages(IConventionIndex, IReadOnlyDictionary<String,String>, Boolean)

設定全文索引中所有屬性的全文語言。

SetFullTextLanguages(IMutableIndex, IReadOnlyDictionary<String,String>)

設定全文索引中所有屬性的全文語言。

SetIncludeProperties(IConventionIndex, IReadOnlyList<String>, Boolean)

套裝包含物業名稱。

SetIncludeProperties(IMutableIndex, IReadOnlyList<String>)

套裝包含物業名稱。

SetIsClustered(IConventionIndex, Nullable<Boolean>, Boolean)

設定一個值,表示索引是否為叢集。

SetIsClustered(IMutableIndex, Nullable<Boolean>)

設定一個值,表示索引是否為叢集。

SetIsCreatedOnline(IConventionIndex, Nullable<Boolean>, Boolean)

設定一個值,表示索引是否在線。

SetIsCreatedOnline(IMutableIndex, Nullable<Boolean>)

設定一個值,表示索引是否在線。

SetSortInTempDb(IConventionIndex, Nullable<Boolean>, Boolean)

設定一個值,表示索引是否在 tempdb 中被排序。

SetSortInTempDb(IMutableIndex, Nullable<Boolean>)

設定一個值,表示索引是否在 tempdb 中被排序。

SetVectorIndexType(IConventionIndex, String, Boolean)

設定向量索引的類型。

SetVectorIndexType(IMutableIndex, String)

設定向量索引的類型。

SetVectorMetric(IConventionIndex, String, Boolean)

設定向量指數的相似度度量。

SetVectorMetric(IMutableIndex, String)

設定向量指數的相似度度量。

適用於