Share via


IModelSingleRelationship<TRelating, TRelated> Interface

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

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

Syntax

'Declaration
Public Interface IModelSingleRelationship(Of TRelating As {Class, IModelElement}, TRelated As {Class, IModelElement}) _
    Inherits IModelRelationship(Of TRelating, TRelated), IModelEntity
'Usage
Dim instance As IModelSingleRelationship(Of TRelating, TRelated)
public interface IModelSingleRelationship<TRelating, TRelated> : IModelRelationship<TRelating, TRelated>, 
    IModelEntity 
where TRelating : class, IModelElement 
where TRelated : class, IModelElement
generic<typename TRelating, typename TRelated>
where TRelating : ref class, IModelElement 
where TRelated : ref class, IModelElement 
public interface class IModelSingleRelationship : IModelRelationship<TRelating, TRelated>, 
    IModelEntity
JScript does not support generic types or methods.

Type Parameters

  • TRelating
  • TRelated

See Also

Reference

IModelSingleRelationship<TRelating, TRelated> Members

Microsoft.Data.Schema.SchemaModel Namespace