언어

IndexAttribute 클래스

정의

데이터베이스에서 생성할 인덱스를 지정합니다.

[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)]
[System.Runtime.CompilerServices.Nullable(0)]
public sealed class IndexAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)]
public sealed class IndexAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)>]
[<System.Runtime.CompilerServices.Nullable(0)>]
type IndexAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)>]
type IndexAttribute = class
    inherit Attribute
Public NotInheritable Class IndexAttribute
Inherits Attribute
상속
IndexAttribute
특성

설명

자세한 내용 및 예제는 모델링 엔터티 형식 및 관계를 참조하세요.

생성자

속성 Description
IndexAttribute(String, String[])

IndexAttribute 클래스의 새 인스턴스를 초기화합니다.

IndexAttribute(String[])
사용되지 않음.

IndexAttribute 클래스의 새 인스턴스를 초기화합니다.

속성

속성 Description
AllDescending

모든 인덱스 열에 내림차순 정렬 순서가 있는지 여부입니다.

IsDescending

각 해당 인덱스 열에 내림차순 정렬 순서가 있는지 여부를 나타내는 값 집합입니다.

IsUnique

인덱스가 고유한지 여부입니다.

IsUniqueHasValue

명시적으로 값으로 설정되었는지 여부를 IsUnique 확인합니다.

Name

인덱스의 이름입니다.

PropertyNames

인덱스 순서대로 구성하는 속성입니다.

적용 대상