Page History
...
Name | Direction | Description | Type | Occurence | Required |
---|---|---|---|---|---|
AggregateType | Input | Select the aggregate you want to delete. This is a list of the aggregates definitions. | Aggregate | Single valued | trueYes |
AggregateId | Input | The attribute that holds the Id of the aggregate you want to delete. | Expression resulting in an integer | Single valued | trueYes |
VersionIDInput | Input | The Id of the version of the aggregate that is to be deleted. | Expression resulting in an integer | Single valued | falseNo |
Deleting
Deleting an entry in the database physically deletes the record.
UI Text Box | type |
---|
Warning |
The AggregateId is leading. If the Id is found but does not match the AggregateType, then the instance corresponding the Id will be deleted! |
Events
This service uses default events for a commit and for an exception. The IDError
exit should be mapped to a custom event and will be triggered when the given AggregateId cannot be found.
...
Below an example is given for a delete service with versioning.
Service call definition | ||||
Aggregate definition | ER diagram | Service definition |
Visual overview of aggregate concepts
...
Overview
Content Tools