deletes the entity
function EDelete input Integer entity "reference to the entity"; output Integer out; end EDelete;