SqlServerIndexExtensions.GetDataCompression Method

Definition

Overloads

GetDataCompression(IReadOnlyIndex)

Returns the data compression that the index uses.

GetDataCompression(IReadOnlyIndex, StoreObjectIdentifier)

Returns the data compression that the index uses.

GetDataCompression(IReadOnlyIndex)

Source:
SqlServerIndexExtensions.cs
Source:
SqlServerIndexExtensions.cs

Returns the data compression that the index uses.

C#
public static Microsoft.EntityFrameworkCore.DataCompressionType? GetDataCompression (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex index);

Parameters

index
IReadOnlyIndex

The index.

Returns

The data compression that the index uses

Applies to

Entity Framework Core 9.0 och Entity Framework Core 8.0
Produkt Versioner
Entity Framework Core 8.0, 9.0

GetDataCompression(IReadOnlyIndex, StoreObjectIdentifier)

Source:
SqlServerIndexExtensions.cs
Source:
SqlServerIndexExtensions.cs

Returns the data compression that the index uses.

C#
public static Microsoft.EntityFrameworkCore.DataCompressionType? GetDataCompression (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex index, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);

Parameters

index
IReadOnlyIndex

The index.

storeObject
StoreObjectIdentifier

The identifier of the store object.

Returns

The data compression that the index uses

Applies to

Entity Framework Core 9.0 och Entity Framework Core 8.0
Produkt Versioner
Entity Framework Core 8.0, 9.0