Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Public Methods

This object represents a collection of relationships. The owner of this collection is the model.

MethodDescription
AddCreates a relationship. Valid relationship types are: 0 = Identifying, 1 = NonIdentifying, 2 = NonSpecific, 3 = NonIdentifying Optional, 8 = Containment (MongoDB only). PARAMETERS: ParentEntity (String or Integer), ChildEntity (String or Integer), RelationshipType (Integer).
AddWithRoleNameCreates a relationship. Valid relationship types: 0 = Identifying, 1 = NonIdentifying, 2 = NonSpecific, 3 = NonIdentifying Optional, 8 = Containment (MongoDB only). PARAMETERS: ParentEntity (String or Integer), ChildEntity (String or Integer), RelationshipType (Integer), PKPairList (String).
AddWithUnificationCreates a relationship. Valid relationship types are: 0 = Identifying, 1 = NonIdentifying, 2 = NonSpecific, 3 = NonIdentifying Optional, 8 = Containment (MongoDB only). PARAMETERS: ParentEntity (String or Integer), ChildEntity (String or Integer), RelationshipType (Integer).
RemoveDeletes a Relationship object as specified by the given name or ID, from ER/Studio. PARAMETERS: Identifier (String or Integer).
RemoveWithMakeFKsNativeDeletes specified Relationship with Make FKs Native Option enabled. FK columns in Child Tables are not deleted, but do become native columns. PARAMETERS: Identifier (String or Integer).

Public Properties

PropertiesDescription
_ItemReturns a Relationship object as specified by the given name, GUID, or ID. PARAMETERS: Identifier (String or Integer).
_NewEnum
CountNumber of Relationship objects in the collection. DATATYPE: Integer.
ItemReturns a Relationship object as specified by the given name, GUID, or ID. PARAMETERS: Identifier (String or Integer).

...

Info
titleSee Also