Partager via


IndexAttribute Constructeurs

Définition

Surcharges

IndexAttribute(String[])
Obsolète.

Initialise une nouvelle instance de la classe IndexAttribute.

IndexAttribute(String, String[])

Initialise une nouvelle instance de la classe IndexAttribute.

IndexAttribute(String[])

Attention

Use the other constructor

Initialise une nouvelle instance de la classe IndexAttribute.

public IndexAttribute (params string[] propertyNames);
[System.Obsolete("Use the other constructor")]
public IndexAttribute (params string[] propertyNames);
new Microsoft.EntityFrameworkCore.IndexAttribute : string[] -> Microsoft.EntityFrameworkCore.IndexAttribute
[<System.Obsolete("Use the other constructor")>]
new Microsoft.EntityFrameworkCore.IndexAttribute : string[] -> Microsoft.EntityFrameworkCore.IndexAttribute
Public Sub New (ParamArray propertyNames As String())

Paramètres

propertyNames
String[]

Propriétés qui constituent l’index, dans l’ordre (il doit y en avoir au moins une).

Attributs

S’applique à

IndexAttribute(String, String[])

Initialise une nouvelle instance de la classe IndexAttribute.

public IndexAttribute (string propertyName, params string[] additionalPropertyNames);
new Microsoft.EntityFrameworkCore.IndexAttribute : string * string[] -> Microsoft.EntityFrameworkCore.IndexAttribute
Public Sub New (propertyName As String, ParamArray additionalPropertyNames As String())

Paramètres

propertyName
String

Première (ou seule) propriété de l’index.

additionalPropertyNames
String[]

Propriétés supplémentaires qui constituent l’index, le cas échéant, dans l’ordre.

S’applique à