Partager via


SqlServerIndexBuilderExtensions.ForSqlServerIsClustered Méthode

Définition

Surcharges

ForSqlServerIsClustered(IndexBuilder, Boolean)
Obsolète.

Configure si l’index est cluster lors du ciblage de SQL Server.

ForSqlServerIsClustered(IConventionIndexBuilder, Nullable<Boolean>, Boolean)
Obsolète.

Configure si l’index est cluster lors du ciblage de SQL Server.

ForSqlServerIsClustered<TEntity>(IndexBuilder<TEntity>, Boolean)
Obsolète.

Configure si l’index est cluster lors du ciblage de SQL Server.

ForSqlServerIsClustered(IndexBuilder, Boolean)

Attention

Use IsClustered

Configure si l’index est cluster lors du ciblage de SQL Server.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder ForSqlServerIsClustered (this Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder indexBuilder, bool clustered = true);
[System.Obsolete("Use IsClustered")]
public static Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder ForSqlServerIsClustered (this Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder indexBuilder, bool clustered = true);
static member ForSqlServerIsClustered : Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder
[<System.Obsolete("Use IsClustered")>]
static member ForSqlServerIsClustered : Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder
<Extension()>
Public Function ForSqlServerIsClustered (indexBuilder As IndexBuilder, Optional clustered As Boolean = true) As IndexBuilder

Paramètres

indexBuilder
IndexBuilder

Générateur de l’index en cours de configuration.

clustered
Boolean

Valeur indiquant si l’index est cluster.

Retours

Générateur pour configurer davantage l’index.

Attributs

S’applique à

ForSqlServerIsClustered(IConventionIndexBuilder, Nullable<Boolean>, Boolean)

Attention

Use IsClustered

Configure si l’index est cluster lors du ciblage de SQL Server.

[System.Obsolete("Use IsClustered")]
public static Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder ForSqlServerIsClustered (this Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder indexBuilder, bool? clustered, bool fromDataAnnotation = false);
[<System.Obsolete("Use IsClustered")>]
static member ForSqlServerIsClustered : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder * Nullable<bool> * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder
<Extension()>
Public Function ForSqlServerIsClustered (indexBuilder As IConventionIndexBuilder, clustered As Nullable(Of Boolean), Optional fromDataAnnotation As Boolean = false) As IConventionIndexBuilder

Paramètres

indexBuilder
IConventionIndexBuilder

Générateur de l’index en cours de configuration.

clustered
Nullable<Boolean>

Valeur indiquant si l’index est cluster.

fromDataAnnotation
Boolean

Indique si la configuration a été spécifiée à l’aide d’une annotation de données.

Retours

Le même générateur instance si la configuration a été appliquée, null sinon.

Attributs

S’applique à

ForSqlServerIsClustered<TEntity>(IndexBuilder<TEntity>, Boolean)

Attention

Use IsClustered

Configure si l’index est cluster lors du ciblage de SQL Server.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder<TEntity> ForSqlServerIsClustered<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder<TEntity> indexBuilder, bool clustered = true);
[System.Obsolete("Use IsClustered")]
public static Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder<TEntity> ForSqlServerIsClustered<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder<TEntity> indexBuilder, bool clustered = true);
static member ForSqlServerIsClustered : Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder<'Entity> * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder<'Entity>
[<System.Obsolete("Use IsClustered")>]
static member ForSqlServerIsClustered : Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder<'Entity> * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder<'Entity>
<Extension()>
Public Function ForSqlServerIsClustered(Of TEntity) (indexBuilder As IndexBuilder(Of TEntity), Optional clustered As Boolean = true) As IndexBuilder(Of TEntity)

Paramètres de type

TEntity

Paramètres

indexBuilder
IndexBuilder<TEntity>

Générateur de l’index en cours de configuration.

clustered
Boolean

Valeur indiquant si l’index est cluster.

Retours

IndexBuilder<TEntity>

Générateur pour configurer davantage l’index.

Attributs

S’applique à