IIsSoftDeletable Interface

To be applied on objects deriving from IIdLabel that can be soft-deleted, if necessary.

Definition

Namespace: MobileTrack.Common.Interfaces
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+ce90b2cf6b782b8d7b7fd47b3c546987c652c00f
public interface IIsSoftDeletable

Properties

DeletedByAccountDto user that deleted the item. User can only be a member of the CompanyDto or MobileTrack support. If the item isn't deleted, the value must be , not Empty!
DeletionDate Date when the item was deleted (if applicable)
IsDeleted If , the item has been soft deleted and only exists for logging purposes or to be reclaimed later. It also means DeletedBy must be set.

Extension Methods

IsSoftDeletePermanentExpired Gets the DateTime until a soft-deleted item is to be permanently deleted.
(Defined by ModelGenericExtensions)
RevertDeletion Reverts the soft deletion of an item.
(Defined by ModelGenericModifiers)
SetDeletedNow Set item as soft deleted.
(Defined by ModelGenericModifiers)
SetDeletedNow Set item as soft deleted.
(Defined by ModelGenericModifiers)

See Also