Jazyk

IndexAttribute Konstruktory

Definice

Přetížení

Název Description
IndexAttribute(String[])
Zastaralé.

Inicializuje novou instanci IndexAttribute třídy.

IndexAttribute(String, String[])

Inicializuje novou instanci IndexAttribute třídy.

IndexAttribute(String[])

Zdroj:
IndexAttribute.cs
Zdroj:
IndexAttribute.cs
Zdroj:
IndexAttribute.cs
Zdroj:
IndexAttribute.cs
Zdroj:
IndexAttribute.cs
Zdroj:
IndexAttribute.cs

Upozornění

Use the other constructor

Inicializuje novou instanci IndexAttribute třídy.

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

Parametry

propertyNames
String[]

Vlastnosti, které tvoří index v pořadí (musí existovat alespoň jedna).

Atributy

Platí pro

IndexAttribute(String, String[])

Zdroj:
IndexAttribute.cs
Zdroj:
IndexAttribute.cs
Zdroj:
IndexAttribute.cs
Zdroj:
IndexAttribute.cs
Zdroj:
IndexAttribute.cs

Inicializuje novou instanci IndexAttribute třídy.

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

Parametry

propertyName
String

První (nebo pouze) vlastnost indexu.

additionalPropertyNames
String[]

Další vlastnosti, které představují index, jsou-li některé, v pořadí.

Platí pro