How to remove a Record using "is visible" attribute?

How to remove a Record using "is visible" attribute?

  
Someone can tell me how  can I delete a record without making a "delete" to the database, but using a "is Visible" attribute from an Entity. Thank you!
Solution
Vitor,

You can always create an 'IsActive' attribute on each of your entities, and perform a soft delete by updating the record's 'IsActive' to false by creating a delete action and updating, instead of directly calling the database delete function. Also making sure that all of your queries filter for 'IsActive' is true.

This way you will keep all of your data in the database but to the end user, it will appear that the record is deleted.
Solution
it worked!!! thank you so much!!!