SqlServerIndexExtensions 類別

定義

SQL Server特定中繼資料的索引擴充方法。

public static class SqlServerIndexExtensions
type SqlServerIndexExtensions = class
Public Module SqlServerIndexExtensions
繼承
SqlServerIndexExtensions

備註

如需詳細資訊和範例,請參閱使用 EF Core建立實體類型和關聯性的模型化,以及存取SQL Server和Azure SQL資料庫

方法

GetDataCompression(IReadOnlyIndex)

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

GetDataCompression(IReadOnlyIndex, StoreObjectIdentifier)

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

GetDataCompressionConfigurationSource(IConventionIndex)

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

GetFillFactor(IIndex)

傳回值,指出索引是否使用填滿因數。

GetFillFactor(IReadOnlyIndex)

傳回索引使用的填滿因數。

GetFillFactor(IReadOnlyIndex, StoreObjectIdentifier)

傳回索引使用的填滿因數。

GetFillFactorConfigurationSource(IConventionIndex)

ConfigurationSource 回索引是否使用填滿因數的 。

GetIncludeProperties(IIndex)

傳回包含的屬性名稱,如果尚未指定,則 null 傳回 。

GetIncludeProperties(IReadOnlyIndex)

傳回包含的屬性名稱,如果尚未指定,則 null 傳回 。

GetIncludeProperties(IReadOnlyIndex, StoreObjectIdentifier)

傳回包含的屬性名稱,如果尚未指定,則 null 傳回 。

GetIncludePropertiesConfigurationSource(IConventionIndex)

ConfigurationSource 回包含之屬性名稱的 。

GetIsClusteredConfigurationSource(IConventionIndex)

ConfigurationSource 回索引是否為叢集的 。

GetIsCreatedOnlineConfigurationSource(IConventionIndex)

ConfigurationSource 回索引是否在線上的 。

GetSortInTempDb(IReadOnlyIndex)

傳回值,指出索引是否在 tempdb 中排序。

GetSortInTempDb(IReadOnlyIndex, StoreObjectIdentifier)

傳回值,指出索引是否在 tempdb 中排序。

GetSortInTempDbConfigurationSource(IConventionIndex)

ConfigurationSource 回是否在 tempdb 中排序索引的 。

IsClustered(IIndex)

傳回值,指出索引是否已叢集化。

IsClustered(IIndex, StoreObjectIdentifier)

傳回值,指出索引是否已叢集化。

IsClustered(IReadOnlyIndex)

傳回值,指出索引是否已叢集化。

IsClustered(IReadOnlyIndex, StoreObjectIdentifier)

傳回值,指出索引是否已叢集化。

IsCreatedOnline(IIndex)

傳回值,指出索引是否在線上。

IsCreatedOnline(IReadOnlyIndex)

傳回值,指出索引是否在線上。

IsCreatedOnline(IReadOnlyIndex, StoreObjectIdentifier)

傳回值,指出索引是否在線上。

SetDataCompression(IConventionIndex, Nullable<DataCompressionType>, Boolean)

設定值,指出索引所使用的資料壓縮。

SetDataCompression(IMutableIndex, Nullable<DataCompressionType>)

設定值,指出索引所使用的資料壓縮。

SetFillFactor(IConventionIndex, Nullable<Int32>, Boolean)

定義值,指出索引是否使用填滿因數。

SetFillFactor(IMutableIndex, Nullable<Int32>)

設定值,指出索引是否使用填滿因數。

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 中排序。

適用於