TMasterObjectValue Record
Carries master-detail relationship context during ORM insert, update, and merge operations.
Remarks
When the object manager saves a child entity that belongs to a master entity's association collection, it passes a TMasterObjectValue to the underlying commands so they can set foreign-key values, update join tables, and fire collection notifications correctly.
Use DummyMasterObject to obtain a zeroed instance when no master context applies.
Syntax
Unit: Aurelius.Types.MasterObjectValue
TMasterObjectValue = record;
Properties
| Name | Description |
|---|---|
| Action | Gets or sets whether the child entity is being added to or removed from the master's collection. |
| MasterAssociation | Gets or sets the association metadata object describing the relationship between master and child. |
| MasterAssocMember | Gets or sets the name of the association member on the master entity that owns this child. |
| MasterObject | Gets or sets the master entity instance in the master-detail relationship. |
| Notifier | Gets or sets the notifier that receives callbacks when the child is added to or removed from the master's collection. |