SqlServerKeyExtensions.SetFillFactor Method

Definition

Overloads

SetFillFactor(IMutableKey, Nullable<Int32>)

Sets a value for fill factor the key uses.

SetFillFactor(IConventionKey, Nullable<Int32>, Boolean)

Sets a value for fill factor the key uses.

SetFillFactor(IMutableKey, Nullable<Int32>)

Source:
SqlServerKeyExtensions.cs

Sets a value for fill factor the key uses.

C#
public static void SetFillFactor (this Microsoft.EntityFrameworkCore.Metadata.IMutableKey key, int? fillFactor);

Parameters

key
IMutableKey

The key.

fillFactor
Nullable<Int32>

The value to set.

Applies to

Entity Framework Core 9.0
Product Versions
Entity Framework Core 9.0

SetFillFactor(IConventionKey, Nullable<Int32>, Boolean)

Source:
SqlServerKeyExtensions.cs

Sets a value for fill factor the key uses.

C#
public static int? SetFillFactor (this Microsoft.EntityFrameworkCore.Metadata.IConventionKey key, int? fillFactor, bool fromDataAnnotation = false);

Parameters

key
IConventionKey

The key.

fillFactor
Nullable<Int32>

The value to set.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

The configured value.

Applies to

Entity Framework Core 9.0
Product Versions
Entity Framework Core 9.0