Share via


SqlServerIndexBuilderExtensions.SortInTempDb Metodo

Definizione

Overload

SortInTempDb(IndexBuilder, Boolean)

Configura se l'indice viene creato con l'opzione sort in tempdb quando la destinazione è SQL Server.

SortInTempDb(IConventionIndexBuilder, Nullable<Boolean>, Boolean)

Configura se l'indice viene creato con l'opzione sort in tempdb quando la destinazione è SQL Server.

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

Configura se l'indice viene creato con l'opzione sort in tempdb quando la destinazione è SQL Server.

SortInTempDb(IndexBuilder, Boolean)

Configura se l'indice viene creato con l'opzione sort in tempdb quando la destinazione è SQL Server.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder SortInTempDb (this Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder indexBuilder, bool sortInTempDb = true);
static member SortInTempDb : Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder
<Extension()>
Public Function SortInTempDb (indexBuilder As IndexBuilder, Optional sortInTempDb As Boolean = true) As IndexBuilder

Parametri

indexBuilder
IndexBuilder

Generatore per l'indice in fase di configurazione.

sortInTempDb
Boolean

Valore che indica se l'indice viene creato con l'opzione sort in tempdb.

Restituisce

Generatore per configurare ulteriormente l'indice.

Commenti

Per altre informazioni ed esempi, vedere Modellazione di tipi e relazioni di entitàe Accesso a SQL Server e Azure SQL database con EF Core.

Si applica a

SortInTempDb(IConventionIndexBuilder, Nullable<Boolean>, Boolean)

Configura se l'indice viene creato con l'opzione sort in tempdb quando la destinazione è SQL Server.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder? SortInTempDb (this Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder indexBuilder, bool? sortInTempDb, bool fromDataAnnotation = false);
static member SortInTempDb : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder * Nullable<bool> * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder
<Extension()>
Public Function SortInTempDb (indexBuilder As IConventionIndexBuilder, sortInTempDb As Nullable(Of Boolean), Optional fromDataAnnotation As Boolean = false) As IConventionIndexBuilder

Parametri

indexBuilder
IConventionIndexBuilder

Generatore per l'indice in fase di configurazione.

sortInTempDb
Nullable<Boolean>

Valore che indica se l'indice viene creato con l'opzione sort in tempdb.

fromDataAnnotation
Boolean

Indica se la configurazione è stata specificata utilizzando un'annotazione dati.

Restituisce

Stessa istanza del generatore se la configurazione è stata applicata; in caso contrario, null .

Commenti

Per altre informazioni ed esempi, vedere Modellazione di tipi e relazioni di entitàe Accesso a SQL Server e Azure SQL database con EF Core.

Si applica a

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

Configura se l'indice viene creato con l'opzione sort in tempdb quando la destinazione è SQL Server.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder<TEntity> SortInTempDb<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder<TEntity> indexBuilder, bool sortInTempDb = true);
static member SortInTempDb : Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder<'Entity> * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder<'Entity>
<Extension()>
Public Function SortInTempDb(Of TEntity) (indexBuilder As IndexBuilder(Of TEntity), Optional sortInTempDb As Boolean = true) As IndexBuilder(Of TEntity)

Parametri di tipo

TEntity

Parametri

indexBuilder
IndexBuilder<TEntity>

Generatore per l'indice in fase di configurazione.

sortInTempDb
Boolean

Valore che indica se l'indice viene creato con l'opzione sort in tempdb.

Restituisce

IndexBuilder<TEntity>

Generatore per configurare ulteriormente l'indice.

Commenti

Per altre informazioni ed esempi, vedere Modellazione di tipi e relazioni di entitàe Accesso a SQL Server e Azure SQL database con EF Core.

Si applica a