Bagikan melalui


IndexAttribute Konstruktor

Definisi

Overload

IndexAttribute(String[])
Kedaluwarsa.

Menginisialisasi instans baru kelas IndexAttribute.

IndexAttribute(String, String[])

Menginisialisasi instans baru kelas IndexAttribute.

IndexAttribute(String[])

Sumber:
IndexAttribute.cs
Sumber:
IndexAttribute.cs
Sumber:
IndexAttribute.cs
Sumber:
IndexAttribute.cs
Sumber:
IndexAttribute.cs

Perhatian

Use the other constructor

Menginisialisasi instans baru kelas 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())

Parameter

propertyNames
String[]

Properti yang merupakan indeks, secara berurutan (harus ada setidaknya satu).

Atribut

Berlaku untuk

IndexAttribute(String, String[])

Sumber:
IndexAttribute.cs
Sumber:
IndexAttribute.cs
Sumber:
IndexAttribute.cs

Menginisialisasi instans baru kelas 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())

Parameter

propertyName
String

Properti pertama (atau hanya) dalam indeks.

additionalPropertyNames
String[]

Properti tambahan yang merupakan indeks, jika ada, secara berurutan.

Berlaku untuk