ISoftDelete.cs 463 B

12345678910111213141516
  1. namespace Abp.Domain.Entities
  2. {
  3. /// <summary>
  4. /// Used to standardize soft deleting entities.
  5. /// Soft-delete entities are not actually deleted,
  6. /// marked as IsDeleted = true in the database,
  7. /// but can not be retrieved to the application.
  8. /// </summary>
  9. public interface ISoftDelete
  10. {
  11. /// <summary>
  12. /// Used to mark an Entity as 'Deleted'.
  13. /// </summary>
  14. bool IsDeleted { get; set; }
  15. }
  16. }