IModelSingleRelationship<TRelating, TRelated> Members

Include Protected Members
Include Inherited Members

If this interface is used, there can be a single element on the right side.

The IModelSingleRelationship<TRelating, TRelated> type exposes the following members.

Methods

 

Name

Description

Public method

Clear

Deletes the relationship entry if it existed.

Public method

GetRelatedElements

Gets a list of the related elements. (Inherited from IModelRelationship<TRelating, TRelated>.)

Public method

GetRelatedRelationshipEntries

Gets a list of the related relationship entries. (Inherited from IModelRelationship<TRelating, TRelated>.)

Public method

GetRelationshipEntry

Returns the related relationship entry.

Public method

RecreateRelationshipEntry

Overloaded. Returns a new, empty relationship entry, or replaces any existing one.

Top

Properties

 

Name

Description

Public property

Element

Gets or sets the related element.

Public property

Model

Gets the model reference. (Inherited from IModelEntity.)

Public property

RelatingElement

Gets the relating element. (Inherited from IModelRelationship<TRelating, TRelated>.)

Public property

RelationshipClass

Gets the metadata class. (Inherited from IModelRelationship<TRelating, TRelated>.)

Top

See Also

Reference

IModelSingleRelationship<TRelating, TRelated> Interface

Microsoft.Data.Schema.SchemaModel Namespace