The Delete method
RISE provides a method sterotype called Delete for deletion of an instance of an entity.
The method is named Delete<entity name> by default.
Rules for the Delete method sterotype:
The IDocument example
We examplify a Delete method with the method DeleteDocument in the interface IDocument in the model below.
This will result in the following DeleteDocument method viewed using the RISE method editor. The caller must supply the ID of the instance to delete.