SqlServerIndexExtensions.GetDataCompression Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
GetDataCompression(IReadOnlyIndex) |
Returns the data compression that the index uses. |
GetDataCompression(IReadOnlyIndex, StoreObjectIdentifier) |
Returns the data compression that the index uses. |
- Source:
- SqlServerIndexExtensions.cs
- Source:
- SqlServerIndexExtensions.cs
Returns the data compression that the index uses.
public static Microsoft.EntityFrameworkCore.DataCompressionType? GetDataCompression (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex index);
static member GetDataCompression : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex -> Nullable<Microsoft.EntityFrameworkCore.DataCompressionType>
<Extension()>
Public Function GetDataCompression (index As IReadOnlyIndex) As Nullable(Of DataCompressionType)
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 |
- Source:
- SqlServerIndexExtensions.cs
- Source:
- SqlServerIndexExtensions.cs
Returns the data compression that the index uses.
public static Microsoft.EntityFrameworkCore.DataCompressionType? GetDataCompression (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex index, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetDataCompression : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex * StoreObjectIdentifier -> Nullable<Microsoft.EntityFrameworkCore.DataCompressionType>
<Extension()>
Public Function GetDataCompression (index As IReadOnlyIndex, ByRef storeObject As StoreObjectIdentifier) As Nullable(Of DataCompressionType)
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 |
Feedback om Entity Framework
Entity Framework är ett öppen källkod projekt. Välj en länk för att ge feedback: