다음을 통해 공유


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[]

인덱스 순서대로 구성하는 속성입니다(하나 이상 있어야 합니다).

특성

적용 대상

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[]

인덱스(있는 경우)를 순서대로 구성하는 추가 속성입니다.

적용 대상