다음을 통해 공유


EdmRelationshipAttribute 클래스

정의

개념적 모델의 연결을 기반으로 두 엔터티 형식 간의 관계를 정의합니다.

[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)]
public sealed class EdmRelationshipAttribute : Attribute
type EdmRelationshipAttribute = class
    inherit Attribute
Public NotInheritable Class EdmRelationshipAttribute
Inherits Attribute
상속
EdmRelationshipAttribute
특성

생성자

EdmRelationshipAttribute(String, String, String, RelationshipMultiplicity, Type, String, RelationshipMultiplicity, Type)

EdmRelationshipAttribute 클래스의 인스턴스를 만듭니다.

EdmRelationshipAttribute(String, String, String, RelationshipMultiplicity, Type, String, RelationshipMultiplicity, Type, Boolean)

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

속성

IsForeignKey

관계가 외래 키 값에 기반하는지 여부를 나타내는 부울 값을 가져옵니다.

RelationshipName

관계의 이름입니다.

RelationshipNamespaceName

관계의 네임스페이스입니다.

Role1Multiplicity

관계의 한쪽 End에 있는 다중성입니다.

Role1Name

관계의 한쪽 End에 있는 역할의 이름입니다.

Role1Type

관계의 한쪽 End에 있는 엔터티의 형식입니다.

Role2Multiplicity

관계의 다른 쪽 End에 있는 다중성입니다.

Role2Name

관계의 다른 쪽 End에 있는 역할의 이름입니다.

Role2Type

관계의 다른 쪽 End에 있는 엔터티의 형식입니다.

적용 대상