IModelRelationship Interface
Used to get both sides of a relationship.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Interface IModelRelationship _
Inherits IModelEntity
public interface IModelRelationship : IModelEntity
public interface class IModelRelationship : IModelEntity
type IModelRelationship =
interface
interface IModelEntity
end
public interface IModelRelationship extends IModelEntity
The IModelRelationship type exposes the following members.
Properties
Name | Description | |
---|---|---|
FromElement | Gets the relating element. | |
Model | Gets the model reference. (Inherited from IModelEntity.) | |
RelationshipClass | Gets the metadata class. |
Top
Methods
Name | Description | |
---|---|---|
GetReferencedElements | Returns the related elements. | |
GetReferencedRelationshipEntries | Returns the related relationship entries. |
Top
Remarks
This interface should be used by features that do not know about explicit model interfaces.