Previous Topic: Aggregate ObjectsNext Topic: Companion Objects


Component Objects

Component objects are part of the basic definition of the aggregate object. For example, attributes are component objects of an entity type. Component objects are always migrated with an aggregate object. If an aggregate object is used for migration, its component objects must be migrated so that the aggregate object will have the same definition and context in the destination model as in the source model.

Component objects are similar to directly related objects in subsetting. In some instances, a component object of an aggregate object is also an aggregate object in its own right. For example, an attribute is a component of an entity type and also an aggregate object itself.

If the aggregate object in the source model has fewer component objects than in the destination model, migration deletes component objects from the destination model that do not exist in the source model.