SqlServerIndexExtensions.SetIncludeProperties Méthode

Définition

Surcharges

SetIncludeProperties(IMutableIndex, IReadOnlyList<String>)

Définit les noms de propriétés incluses.

SetIncludeProperties(IConventionIndex, IReadOnlyList<String>, Boolean)

Définit les noms de propriétés incluses.

SetIncludeProperties(IMutableIndex, IReadOnlyList<String>)

Définit les noms de propriétés incluses.

public static void SetIncludeProperties (this Microsoft.EntityFrameworkCore.Metadata.IMutableIndex index, System.Collections.Generic.IReadOnlyList<string> properties);
static member SetIncludeProperties : Microsoft.EntityFrameworkCore.Metadata.IMutableIndex * System.Collections.Generic.IReadOnlyList<string> -> unit
<Extension()>
Public Sub SetIncludeProperties (index As IMutableIndex, properties As IReadOnlyList(Of String))

Paramètres

index
IMutableIndex

Index.

properties
IReadOnlyList<String>

Valeur à définir.

S’applique à

SetIncludeProperties(IConventionIndex, IReadOnlyList<String>, Boolean)

Définit les noms de propriétés incluses.

public static void SetIncludeProperties (this Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index, System.Collections.Generic.IReadOnlyList<string> properties, bool fromDataAnnotation = false);
public static System.Collections.Generic.IReadOnlyList<string> SetIncludeProperties (this Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index, System.Collections.Generic.IReadOnlyList<string> properties, bool fromDataAnnotation = false);
public static System.Collections.Generic.IReadOnlyList<string>? SetIncludeProperties (this Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index, System.Collections.Generic.IReadOnlyList<string>? properties, bool fromDataAnnotation = false);
static member SetIncludeProperties : Microsoft.EntityFrameworkCore.Metadata.IConventionIndex * System.Collections.Generic.IReadOnlyList<string> * bool -> unit
static member SetIncludeProperties : Microsoft.EntityFrameworkCore.Metadata.IConventionIndex * System.Collections.Generic.IReadOnlyList<string> * bool -> System.Collections.Generic.IReadOnlyList<string>
<Extension()>
Public Sub SetIncludeProperties (index As IConventionIndex, properties As IReadOnlyList(Of String), Optional fromDataAnnotation As Boolean = false)
<Extension()>
Public Function SetIncludeProperties (index As IConventionIndex, properties As IReadOnlyList(Of String), Optional fromDataAnnotation As Boolean = false) As IReadOnlyList(Of String)

Paramètres

index
IConventionIndex

Index.

properties
IReadOnlyList<String>

Valeur à définir.

fromDataAnnotation
Boolean

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

Retours

Noms des propriétés configurées.

S’applique à