IndexAttribute Konstruktoren
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
| Name | Beschreibung |
|---|---|
| IndexAttribute(String[]) |
Veraltet.
Initialisiert eine neue Instanz der IndexAttribute-Klasse. |
| IndexAttribute(String, String[]) |
Initialisiert eine neue Instanz der IndexAttribute-Klasse. |
IndexAttribute(String[])
- Quelle:
- IndexAttribute.cs
- Quelle:
- IndexAttribute.cs
- Quelle:
- IndexAttribute.cs
- Quelle:
- IndexAttribute.cs
- Quelle:
- IndexAttribute.cs
- Quelle:
- IndexAttribute.cs
Achtung
Use the other constructor
Initialisiert eine neue Instanz der IndexAttribute-Klasse.
[System.Obsolete("Use the other constructor")]
public IndexAttribute(params string[] propertyNames);
public IndexAttribute(params string[] propertyNames);
[<System.Obsolete("Use the other constructor")>]
new Microsoft.EntityFrameworkCore.IndexAttribute : string[] -> Microsoft.EntityFrameworkCore.IndexAttribute
new Microsoft.EntityFrameworkCore.IndexAttribute : string[] -> Microsoft.EntityFrameworkCore.IndexAttribute
Public Sub New (ParamArray propertyNames As String())
Parameter
- propertyNames
- String[]
Die Eigenschaften, die den Index darstellen, in der Reihenfolge (es muss mindestens eine vorhanden sein).
- Attribute
Gilt für:
IndexAttribute(String, String[])
- Quelle:
- IndexAttribute.cs
- Quelle:
- IndexAttribute.cs
- Quelle:
- IndexAttribute.cs
- Quelle:
- IndexAttribute.cs
- Quelle:
- IndexAttribute.cs
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 nur) Eigenschaft im Index.
- additionalPropertyNames
- String[]
Die zusätzlichen Eigenschaften, die den Index darstellen, falls vorhanden, in der Reihenfolge.