IndexAttribute Konstruktoren

Definition

Überlädt

IndexAttribute(String[])
Veraltet.

Initialisiert eine neue Instanz der IndexAttribute-Klasse.

IndexAttribute(String, String[])

Initialisiert eine neue Instanz der IndexAttribute-Klasse.

IndexAttribute(String[])

Achtung

Use the other constructor

Initialisiert eine neue Instanz der IndexAttribute-Klasse.

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())

Parameter

propertyNames
String[]

Die Eigenschaften, die den Index in der Reihenfolge darstellen (es muss mindestens eine vorhanden sein).

Attribute

Gilt für:

IndexAttribute(String, String[])

Initialisiert eine neue Instanz der IndexAttribute-Klasse.

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())

Parameter

propertyName
String

Die erste (oder einzige) Eigenschaft im Index.

additionalPropertyNames
String[]

Die zusätzlichen Eigenschaften, die den Index bilden, sofern vorhanden, in der Reihenfolge.

Gilt für: