Sdílet prostřednictvím


IConventionEntityTypeBuilder.HasNoIndex Metoda

Definice

Přetížení

HasNoIndex(IConventionIndex, Boolean)

Odebere index z tohoto typu entity.

HasNoIndex(IReadOnlyList<IConventionProperty>, Boolean)

Odebere index z tohoto typu entity.

HasNoIndex(IConventionIndex, Boolean)

Odebere index z tohoto typu entity.

public Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder HasNoIndex (Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index, bool fromDataAnnotation = false);
public Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder? HasNoIndex (Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index, bool fromDataAnnotation = false);
abstract member HasNoIndex : Microsoft.EntityFrameworkCore.Metadata.IConventionIndex * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder
Public Function HasNoIndex (index As IConventionIndex, Optional fromDataAnnotation As Boolean = false) As IConventionEntityTypeBuilder

Parametry

index
IConventionIndex

Index, který se má odebrat.

fromDataAnnotation
Boolean

Určuje, zda byla konfigurace zadána pomocí datové poznámky.

Návraty

Stejná instance tvůrce, pokud byl index odebrán, null jinak.

Platí pro

HasNoIndex(IReadOnlyList<IConventionProperty>, Boolean)

Odebere index z tohoto typu entity.

public Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder HasNoIndex (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty> properties, bool fromDataAnnotation = false);
public Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder? HasNoIndex (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty> properties, bool fromDataAnnotation = false);
abstract member HasNoIndex : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty> * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder
Public Function HasNoIndex (properties As IReadOnlyList(Of IConventionProperty), Optional fromDataAnnotation As Boolean = false) As IConventionEntityTypeBuilder

Parametry

properties
IReadOnlyList<IConventionProperty>

Vlastnosti, které tvoří index.

fromDataAnnotation
Boolean

Určuje, zda byla konfigurace zadána pomocí datové poznámky.

Návraty

Stejná instance tvůrce, pokud byl index odebrán nebo neexistoval, null jinak.

Platí pro