语言

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数据库。

方法

名称 说明
GetDataCompression(IReadOnlyIndex, StoreObjectIdentifier)

返回索引使用的数据压缩。

GetDataCompression(IReadOnlyIndex)

返回索引使用的数据压缩。

GetDataCompressionConfigurationSource(IConventionIndex)

返回 ConfigurationSource 索引使用的数据压缩。

GetFillFactor(IIndex)

返回一个值,该值指示索引是否使用填充因子。

GetFillFactor(IReadOnlyIndex, StoreObjectIdentifier)

返回索引使用的填充因子。

GetFillFactor(IReadOnlyIndex)

返回索引使用的填充因子。

GetFillFactorConfigurationSource(IConventionIndex)

返回 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)

返回 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 名称。 设置非 null 值会将此索引标记为全文索引。

SetFullTextKeyIndex(IMutableIndex, String)

设置全文索引的 KEY INDEX 名称。 设置非 null 值会将此索引标记为全文索引。

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)

设置矢量索引的相似性指标。

适用于