ForeignKeyAttribute 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
관계의 외래 키로 사용되는 속성을 나타냅니다. 주석은 외래 키 속성에 배치되어 연결된 탐색 속성 이름을 지정하거나, 탐색 속성에 배치되어 연결된 외래 키 이름을 지정할 수 있습니다.
[System.AttributeUsage(System.AttributeTargets.Property | System.AttributeTargets.Field, AllowMultiple=false)]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1813:AvoidUnsealedAttributes", Justification="We want users to be able to extend this class")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1019:DefineAccessorsForAttributeArguments")]
public class ForeignKeyAttribute : Attribute
type ForeignKeyAttribute = class
inherit Attribute
Public Class ForeignKeyAttribute
Inherits Attribute
- 상속
-
ForeignKeyAttribute
- 특성
생성자
| ForeignKeyAttribute(String) |
ForeignKeyAttribute 클래스의 새 인스턴스를 초기화합니다. |
속성
| Name |
외래 키 속성에 배치되는 경우 연결된 탐색 속성의 이름이고, 탐색 속성에 배치되는 경우 연결된 외래 키의 이름입니다. |