Udostępnij za pośrednictwem


SqlServerKeyExtensions Class

Definition

Key extension methods for SQL Server-specific metadata.

public static class SqlServerKeyExtensions
type SqlServerKeyExtensions = class
Public Module SqlServerKeyExtensions
Inheritance
SqlServerKeyExtensions

Remarks

See Modeling entity types and relationships, and Accessing SQL Server and Azure SQL databases with EF Core for more information and examples.

Methods

GetFillFactor(IReadOnlyKey, StoreObjectIdentifier)

Returns the fill factor that the key uses.

GetFillFactor(IReadOnlyKey)

Returns the fill factor that the key uses.

GetFillFactorConfigurationSource(IConventionKey)

Returns the ConfigurationSource for whether the key uses the fill factor.

GetIsClusteredConfigurationSource(IConventionKey)

Gets the ConfigurationSource for whether the key is clustered.

IsClustered(IKey, StoreObjectIdentifier)

Returns a value indicating whether the key is clustered.

IsClustered(IKey)

Returns a value indicating whether the key is clustered.

IsClustered(IReadOnlyKey, StoreObjectIdentifier)

Returns a value indicating whether the key is clustered.

IsClustered(IReadOnlyKey)

Returns a value indicating whether the key is clustered.

SetFillFactor(IConventionKey, Nullable<Int32>, Boolean)

Sets a value for fill factor the key uses.

SetFillFactor(IMutableKey, Nullable<Int32>)

Sets a value for fill factor the key uses.

SetIsClustered(IConventionKey, Nullable<Boolean>, Boolean)

Sets a value indicating whether the key is clustered.

SetIsClustered(IMutableKey, Nullable<Boolean>)

Sets a value indicating whether the key is clustered.

Applies to