Share via


ModelRelationshipClass Class

Represents the metadata class for relationships. This class cannot be inherited.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Schema.SchemaModel.ModelRelationshipClass

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

Syntax

'Declaration
Public NotInheritable Class ModelRelationshipClass
public sealed class ModelRelationshipClass
public ref class ModelRelationshipClass sealed
[<Sealed>]
type ModelRelationshipClass =  class end
public final class ModelRelationshipClass

The ModelRelationshipClass type exposes the following members.

Properties

  Name Description
Public property ForwardRelationshipClasses Gets a list of relationship metadata objects that are forward relationships, if this represents a reverse relationship.
Public property FromElementClass Gets the element metadata that represents the "from" element, or the element on the left-hand side of the relationship.
Public property IsOrderedComparison Gets a value that indicates whether the order is significant when related elements are compared.
Public property IsParentDecorator Gets a value that indicates whether this relationship is a parent decorator.
Public property ModelRelationshipCardinalityStyle Gets the cardinality style for this relationship.
Public property ModelRelationshipType Gets the relationship type for this relationship.
Public property Name Gets the name of the relationship.
Public property RelatedElement Gets the "related" element, or the element on the right-hand side of the relationship.

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Data.Schema.SchemaModel Namespace