IndexAttribute 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
데이터베이스에서 생성할 인덱스를 지정합니다.
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)]
public sealed class IndexAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)>]
type IndexAttribute = class
inherit Attribute
Public NotInheritable Class IndexAttribute
Inherits Attribute
- 상속
-
IndexAttribute
- 특성
설명
자세한 내용 과 예제는 엔터티 형식 및 관계 모델링 을 참조하세요.
생성자
| IndexAttribute(String, String[]) |
IndexAttribute 클래스의 새 인스턴스를 초기화합니다. |
| IndexAttribute(String[]) |
사용되지 않음.
IndexAttribute 클래스의 새 인스턴스를 초기화합니다. |
속성
| AllDescending |
모든 인덱스 열에 내림차순 정렬 순서가 있는지 여부입니다. |
| IsDescending |
각 해당 인덱스 열에 내림차순 정렬 순서가 있는지 여부를 나타내는 값 집합입니다. |
| IsUnique |
인덱스가 고유한지 여부입니다. |
| IsUniqueHasValue |
값으로 명시적으로 설정되었는지 여부를 IsUnique 확인합니다. |
| Name |
인덱스의 이름입니다. |
| PropertyNames |
인덱스(순서대로)를 구성하는 속성입니다. |