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.
If this interface is used, a single element can occur at the right side.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Interface IModelSingleRelationship _
Inherits IModelRelationship, IModelEntity
public interface IModelSingleRelationship : IModelRelationship,
IModelEntity
public interface class IModelSingleRelationship : IModelRelationship,
IModelEntity
type IModelSingleRelationship =
interface
interface IModelRelationship
interface IModelEntity
end
public interface IModelSingleRelationship extends IModelRelationship, IModelEntity
The IModelSingleRelationship type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() |
Element | Gets or sets the related element. |
![]() |
FromElement | Gets the relating element. (Inherited from IModelRelationship.) |
![]() |
Model | Gets the model reference. (Inherited from IModelEntity.) |
![]() |
RelationshipClass | Gets the metadata class. (Inherited from IModelRelationship.) |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Clear | Deletes the relationship entry, if it existed. |
![]() |
GetReferencedElements | Returns the related elements. (Inherited from IModelRelationship.) |
![]() |
GetReferencedRelationshipEntries | Returns the related relationship entries. (Inherited from IModelRelationship.) |
![]() |
GetRelationshipEntry | Returns the related relationship entry. |
![]() |
RecreateRelationshipEntry() | Returns a new empty relationship entry or replaces an existing one. |
![]() |
RecreateRelationshipEntry(IModelElement) | Returns a new relationship entry that points to a specified element or replaces an existing one. |
Top
Remarks
This interface is used by features that cannot use explicit model interfaces.