Share via


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.

public static void SetFillFactor (this Microsoft.EntityFrameworkCore.Metadata.IMutableKey key, int? fillFactor);
static member SetFillFactor : Microsoft.EntityFrameworkCore.Metadata.IMutableKey * Nullable<int> -> unit
<Extension()>
Public Sub SetFillFactor (key As IMutableKey, fillFactor As Nullable(Of Integer))

Parameters

key
IMutableKey

The key.

fillFactor
Nullable<Int32>

The value to set.

Applies to

SetFillFactor(IConventionKey, Nullable<Int32>, Boolean)

Source:
SqlServerKeyExtensions.cs

Sets a value for fill factor the key uses.

public static int? SetFillFactor (this Microsoft.EntityFrameworkCore.Metadata.IConventionKey key, int? fillFactor, bool fromDataAnnotation = false);
static member SetFillFactor : Microsoft.EntityFrameworkCore.Metadata.IConventionKey * Nullable<int> * bool -> Nullable<int>
<Extension()>
Public Function SetFillFactor (key As IConventionKey, fillFactor As Nullable(Of Integer), Optional fromDataAnnotation As Boolean = false) As Nullable(Of Integer)

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