Description
Represents a binding between a dictionary object and a using object, such as a diagram object and contains the IDs of the using object. For example for a domain bound to an attribute, it has the attribute's IDs.
Remarks
This Object represents a binding between a dictionary object (Owner of the parent collection) and a using object (which can be a diagram object or a dictionary object).
Objects of this type have four read-only properties:
- Object type (the type of the using object)
- Using Objects ID
- Using Objects ParentID
- Using Objects ModelID
For Using Objects that are dictionary objects, the ModelID is zero.
For example, for a domain bound to an attribute:
- the BoundObject has an ObjectType of 3,
- the attributes ID for an ID,
- the parent entity ID for a ParentID, and
- the parent Models ID for a ModelID.
However, if the dictionary object is an attachment and the using object is a domain, then:
- the ObjectType is 19 (for Domain),
- the ID is the domain's ID,
- the ParentID is the DataDictionary's ID, and
- the ModelID is zero.
If the using object is or was an Entity, then:
- the ID is the entity ID, and
- both the parent ID and the ModelID are the parent model's ID.