Share via


IndexAttribute コンストラクター

定義

オーバーロード

IndexAttribute(String[])
古い.

IndexAttribute クラスの新しいインスタンスを初期化します。

IndexAttribute(String, String[])

IndexAttribute クラスの新しいインスタンスを初期化します。

IndexAttribute(String[])

注意事項

Use the other constructor

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

パラメーター

propertyNames
String[]

インデックスを構成するプロパティ (少なくとも 1 つ存在する必要があります)。

属性

適用対象

IndexAttribute(String, String[])

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

パラメーター

propertyName
String

インデックス内の最初の (または唯一の) プロパティ。

additionalPropertyNames
String[]

インデックスを構成する追加のプロパティ (存在する場合) を順番に指定します。

適用対象