Back to Tour LibraryCore Concepts

Connecting Objects: Linking to Another Object

The other way to connect objects is with a Link. A Link references another object without placing it inside the current object.

Examples include:

  • an order linked to its customer
  • a project linked to a vendor
  • an order line linked to a product
  • a service request linked to an asset

Connect without ownership

Linked objects remain independent. They can be reused in many relationships, and removing one object does not imply that the other should also be removed.

Use the same guiding question: Could the related object exist on its own? If the answer is yes, connect it with a Link. If it belongs entirely to one parent, use a Child Object instead.

That distinction—inside for ownership, linked for reference—is the core of connecting objects in AnyDB.

Two independent AnyDB objects connected by a Link

A Link connects objects while allowing each one to exist independently.