다음을 통해 공유


KeyAttribute 클래스

정의

키 속성이나 엔터티의 속성을 나타냅니다.

[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)]
public sealed class KeyAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)>]
type KeyAttribute = class
    inherit Attribute
Public NotInheritable Class KeyAttribute
Inherits Attribute
상속
KeyAttribute
특성

생성자

KeyAttribute(String)

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

KeyAttribute(String[])

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

속성

KeyNames

키 특성의 이름을 가져옵니다.

적용 대상