RelationshipDefinition Class

A simple implementation of a Relationship Definition used for defining a single relationship associated with an IObjectDefinition.

Inheritance Hierarchy

System Object

  Scribe.Core.ConnectorApi.Metadata RelationshipDefinition

Namespace:  Scribe.Core.ConnectorApi.Metadata

Assembly:  Scribe.Core.ConnectorApi (in Scribe.Core.ConnectorApi.dll)

Syntax

public   class   RelationshipDefinition : IRelationshipDefinition

The RelationshipDefinition type exposes the following members.

Constructors

 

Name

Description

Public method

RelationshipDefinition

Initializes a new instance of the RelationshipDefinition class

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.)

Properties

 

Name

Description

Public property

Description

Gets or sets Description.

Public property

FullName

Gets or sets FullName. This must be a unique value and will be used to reference this relationship. Must not contain any non-alphanumeric characters other than the underscore.

Public property

Name

Gets or sets Name.

Public property

RelatedObjectDefinitionFullName

Gets or sets RelatedObjectDefinitionFullName. This is the FullName of the IObjectDefinition that is related to the associated IObjectDefinition.

Public property

RelatedProperties

Gets or sets RelatedProperties. This is the reference properties of the related IObjectDefinition. If more than one property is required, each property must be comma delimited.

Public property

RelationshipType

Gets or sets RelationshipType. This defines the type of relationship to the RelatedObjectDefinitionFullName.

Public property

ThisObjectDefinitionFullName

Gets or sets ThisObjectDefinitionFullName. This is the FullName of the IObjectDefinition that this relationship is associated with.

Public property

ThisProperties

Gets or sets ThisProperties. This is the referenced properties of the associated IObjectDefinition. If more than one property is required, each property must be comma delimited.

See

Scribe.Core.ConnectorApi.Metadata Namespace