IModelReverseSingleRelationship<TFrom, TTo> Interface

Represents the reverse single relationship.

Namespace:  Microsoft.Data.Schema.SchemaModel
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Public Interface IModelReverseSingleRelationship(Of TFrom As {Class, IModelElement}, TTo As {Class, IModelElement}) _
    Inherits IModelRelationship(Of TFrom, TTo), IModelReverseSingleRelationship, IModelRelationship,  _
    IModelEntity
public interface IModelReverseSingleRelationship<TFrom, TTo> : IModelRelationship<TFrom, TTo>, 
    IModelReverseSingleRelationship, 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 IModelReverseSingleRelationship : IModelRelationship<TFrom, TTo>, 
    IModelReverseSingleRelationship, IModelRelationship, IModelEntity
type IModelReverseSingleRelationship<'TFrom, 'TTo when 'TFrom : not struct and IModelElement when 'TTo : not struct and IModelElement> =  
    interface
        interface IModelRelationship<'TFrom, 'TTo>
        interface IModelReverseSingleRelationship
        interface IModelRelationship
        interface IModelEntity
    end
JScript does not support generic types or methods.

Type Parameters

  • TFrom
  • TTo

The IModelReverseSingleRelationship<TFrom, TTo> type exposes the following members.

Properties

  Name Description
Public property Element Gets the element. (Inherited from IModelReverseSingleRelationship.)
Public property Element Gets the related element type.
Public property FromElement Gets the relating element. (Inherited from IModelRelationship.)
Public property FromElement Gets the relating element. (Inherited from IModelRelationship<TFrom, TTo>.)
Public property Model Gets the model reference. (Inherited from IModelEntity.)
Public property RelationshipClass Gets the metadata class. (Inherited from IModelRelationship.)

Top

Methods

  Name Description
Public method GetReferencedElements() Returns the related elements. (Inherited from IModelRelationship.)
Public method GetReferencedElements() Gets a list of the related elements. (Inherited from IModelRelationship<TFrom, TTo>.)
Public method GetReferencedRelationshipEntries Returns the related relationship entries. (Inherited from IModelRelationship.)

Top

See Also

Reference

Microsoft.Data.Schema.SchemaModel Namespace