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 | |
---|---|---|
ForwardRelationshipClasses | Gets a list of relationship metadata objects that are forward relationships, if this represents a reverse relationship. | |
FromElementClass | Gets the element metadata that represents the "from" element, or the element on the left-hand side of the relationship. | |
IsOrderedComparison | Gets a value that indicates whether the order is significant when related elements are compared. | |
IsParentDecorator | Gets a value that indicates whether this relationship is a parent decorator. | |
ModelRelationshipCardinalityStyle | Gets the cardinality style for this relationship. | |
ModelRelationshipType | Gets the relationship type for this relationship. | |
Name | Gets the name of the relationship. | |
RelatedElement | Gets the "related" element, or the element on the right-hand side of the relationship. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
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.