Aracılığıyla paylaş


SqlServerIndexExtensions.SetDataCompression Yöntem

Tanım

Aşırı Yüklemeler

SetDataCompression(IMutableIndex, Nullable<DataCompressionType>)

Dizinin kullandığı veri sıkıştırmasını gösteren bir değer ayarlar.

SetDataCompression(IConventionIndex, Nullable<DataCompressionType>, Boolean)

Dizinin kullandığı veri sıkıştırmasını gösteren bir değer ayarlar.

SetDataCompression(IMutableIndex, Nullable<DataCompressionType>)

Dizinin kullandığı veri sıkıştırmasını gösteren bir değer ayarlar.

public static void SetDataCompression (this Microsoft.EntityFrameworkCore.Metadata.IMutableIndex index, Microsoft.EntityFrameworkCore.DataCompressionType? dataCompression);
static member SetDataCompression : Microsoft.EntityFrameworkCore.Metadata.IMutableIndex * Nullable<Microsoft.EntityFrameworkCore.DataCompressionType> -> unit
<Extension()>
Public Sub SetDataCompression (index As IMutableIndex, dataCompression As Nullable(Of DataCompressionType))

Parametreler

index
IMutableIndex

Dizin.

dataCompression
Nullable<DataCompressionType>

Ayarlanacak değer.

Şunlara uygulanır

SetDataCompression(IConventionIndex, Nullable<DataCompressionType>, Boolean)

Dizinin kullandığı veri sıkıştırmasını gösteren bir değer ayarlar.

public static Microsoft.EntityFrameworkCore.DataCompressionType? SetDataCompression (this Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index, Microsoft.EntityFrameworkCore.DataCompressionType? dataCompression, bool fromDataAnnotation = false);
static member SetDataCompression : Microsoft.EntityFrameworkCore.Metadata.IConventionIndex * Nullable<Microsoft.EntityFrameworkCore.DataCompressionType> * bool -> Nullable<Microsoft.EntityFrameworkCore.DataCompressionType>
<Extension()>
Public Function SetDataCompression (index As IConventionIndex, dataCompression As Nullable(Of DataCompressionType), Optional fromDataAnnotation As Boolean = false) As Nullable(Of DataCompressionType)

Parametreler

index
IConventionIndex

Dizin.

dataCompression
Nullable<DataCompressionType>

Ayarlanacak değer.

fromDataAnnotation
Boolean

Yapılandırmanın bir veri ek açıklaması kullanılarak belirtilip belirtilmedidiğini gösterir.

Döndürülenler

Yapılandırılan değer.

Şunlara uygulanır