IModelRelationship<TFrom, TTo> 인터페이스

관계의 양쪽을 가져오는 데 사용됩니다.

네임스페이스:  Microsoft.Data.Schema.SchemaModel
어셈블리:  Microsoft.Data.Schema(Microsoft.Data.Schema.dll)

구문

‘선언
Public Interface IModelRelationship(Of TFrom As {Class, IModelElement}, TTo As {Class, IModelElement}) _
    Inherits IModelRelationship, IModelEntity
public interface IModelRelationship<TFrom, TTo> : IModelRelationship, 
    IModelEntity
where TFrom : class, IModelElement
where TTo : class, IModelElement
generic<typename TFrom, typename TTo>
where TFrom : ref class, IModelElement
where TTo : ref class, IModelElement
public interface class IModelRelationship : IModelRelationship, 
    IModelEntity
type IModelRelationship<'TFrom, 'TTo when 'TFrom : not struct and IModelElement when 'TTo : not struct and IModelElement> =  
    interface
        interface IModelRelationship
        interface IModelEntity
    end
JScript에서는 제네릭 형식이나 메서드를 지원하지 않습니다.

Type 매개 변수

  • TFrom
  • TTo

IModelRelationship<TFrom, TTo> 형식에서는 다음과 같은 멤버를 노출합니다.

속성

  이름 설명
Public 속성 FromElement 관련 요소를 가져옵니다. (IModelRelationship에서 상속됨)
Public 속성 FromElement 관련 요소를 가져옵니다.
Public 속성 Model 모델 참조를 가져옵니다. (IModelEntity에서 상속됨)
Public 속성 RelationshipClass 메타데이터 클래스를 가져옵니다. (IModelRelationship에서 상속됨)

위쪽

메서드

  이름 설명
Public 메서드 GetReferencedElements() 관련된 요소를 반환합니다. (IModelRelationship에서 상속됨)
Public 메서드 GetReferencedElements() 관련 요소의 목록을 가져옵니다.
Public 메서드 GetReferencedRelationshipEntries 관련된 관계 항목을 반환합니다. (IModelRelationship에서 상속됨)

위쪽

참고 항목

참조

Microsoft.Data.Schema.SchemaModel 네임스페이스