Compartir a través de


SqlServerIndexExtensions.SetDataCompression Método

Definición

Sobrecargas

SetDataCompression(IMutableIndex, Nullable<DataCompressionType>)

Establece un valor que indica la compresión de datos que usa el índice.

SetDataCompression(IConventionIndex, Nullable<DataCompressionType>, Boolean)

Establece un valor que indica la compresión de datos que usa el índice.

SetDataCompression(IMutableIndex, Nullable<DataCompressionType>)

Source:
SqlServerIndexExtensions.cs
Source:
SqlServerIndexExtensions.cs

Establece un valor que indica la compresión de datos que usa el índice.

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

Parámetros

index
IMutableIndex

Índice.

dataCompression
Nullable<DataCompressionType>

Valor que se va a establecer.

Se aplica a

SetDataCompression(IConventionIndex, Nullable<DataCompressionType>, Boolean)

Source:
SqlServerIndexExtensions.cs
Source:
SqlServerIndexExtensions.cs

Establece un valor que indica la compresión de datos que usa el índice.

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)

Parámetros

index
IConventionIndex

Índice.

dataCompression
Nullable<DataCompressionType>

Valor que se va a establecer.

fromDataAnnotation
Boolean

Indica si la configuración se especificó mediante una anotación de datos.

Devoluciones

El valor configurado.

Se aplica a