RISE to Bloome Software
Log In    
r2bsoftware.se r2bsoftware.se
Click to hide navigation tree
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 method returns nothing.
  • The method requires the ID of the instance to delete as argument
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.