Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Used to obtain both sides of a relationship.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
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 does not support generic types or methods.
Type Parameters
- TFrom
- TTo
The IModelRelationship<TFrom, TTo> type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() |
FromElement | Gets the relating element. (Inherited from IModelRelationship.) |
![]() |
FromElement | Gets the relating element. |
![]() |
Model | Gets the model reference. (Inherited from IModelEntity.) |
![]() |
RelationshipClass | Gets the metadata class. (Inherited from IModelRelationship.) |
Top
Methods
Name | Description | |
---|---|---|
![]() |
GetReferencedElements() | Returns the related elements. (Inherited from IModelRelationship.) |
![]() |
GetReferencedElements() | Gets a list of the related elements. |
![]() |
GetReferencedRelationshipEntries | Returns the related relationship entries. (Inherited from IModelRelationship.) |
Top