SqlServerIndexBuilderExtensions.HasFillFactor Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
| Název | Description |
|---|---|
| HasFillFactor(IConventionIndexBuilder, Nullable<Int32>, Boolean) |
Konfiguruje, jestli se index vytvoří s možností vyplnit při cílení na SQL Server. |
| HasFillFactor(IndexBuilder, Int32) |
Konfiguruje, jestli se index vytvoří s možností vyplnit při cílení na SQL Server. |
| HasFillFactor<TEntity>(IndexBuilder<TEntity>, Int32) |
Konfiguruje, jestli se index vytvoří s možností vyplnit při cílení na SQL Server. |
HasFillFactor(IConventionIndexBuilder, Nullable<Int32>, Boolean)
Konfiguruje, jestli se index vytvoří s možností vyplnit při cílení na SQL Server.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder? HasFillFactor(this Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder indexBuilder, int? fillFactor, bool fromDataAnnotation = false);
public static Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder HasFillFactor(this Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder indexBuilder, int? fillFactor, bool fromDataAnnotation = false);
static member HasFillFactor : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder * Nullable<int> * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder
<Extension()>
Public Function HasFillFactor (indexBuilder As IConventionIndexBuilder, fillFactor As Nullable(Of Integer), Optional fromDataAnnotation As Boolean = false) As IConventionIndexBuilder
Parametry
- indexBuilder
- IConventionIndexBuilder
Tvůrce nakonfigurovaného indexu.
- fromDataAnnotation
- Boolean
Určuje, jestli byla konfigurace zadána pomocí datové poznámky.
Návraty
Stejná instance tvůrce, pokud byla použita konfigurace, null jinak.
Poznámky
Další informace a příklady najdete v tématu Modelování typů entit a relacía přístup k databázím SQL Server a Azure SQL pomocí EF Core.
Platí pro
HasFillFactor(IndexBuilder, Int32)
Konfiguruje, jestli se index vytvoří s možností vyplnit při cílení na SQL Server.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder HasFillFactor(this Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder indexBuilder, int fillFactor);
static member HasFillFactor : Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder * int -> Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder
<Extension()>
Public Function HasFillFactor (indexBuilder As IndexBuilder, fillFactor As Integer) As IndexBuilder
Parametry
- indexBuilder
- IndexBuilder
Tvůrce nakonfigurovaného indexu.
- fillFactor
- Int32
Hodnota označující, zda je index vytvořen s možností vyplnit faktor.
Návraty
Tvůrce pro další konfiguraci indexu.
Poznámky
Další informace a příklady najdete v tématu Modelování typů entit a relacía přístup k databázím SQL Server a Azure SQL pomocí EF Core.
Platí pro
HasFillFactor<TEntity>(IndexBuilder<TEntity>, Int32)
Konfiguruje, jestli se index vytvoří s možností vyplnit při cílení na SQL Server.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder<TEntity> HasFillFactor<TEntity>(this Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder<TEntity> indexBuilder, int fillFactor);
static member HasFillFactor : Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder<'Entity> * int -> Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder<'Entity>
<Extension()>
Public Function HasFillFactor(Of TEntity) (indexBuilder As IndexBuilder(Of TEntity), fillFactor As Integer) As IndexBuilder(Of TEntity)
Parametry typu
- TEntity
Parametry
- indexBuilder
- IndexBuilder<TEntity>
Tvůrce nakonfigurovaného indexu.
- fillFactor
- Int32
Hodnota označující, zda je index vytvořen s možností vyplnit faktor.
Návraty
Tvůrce pro další konfiguraci indexu.
Poznámky
Další informace a příklady najdete v tématu Modelování typů entit a relacía přístup k databázím SQL Server a Azure SQL pomocí EF Core.