IIsActiveDeletedRow interface
namespace: Serenity.Data assembly: Serenity.Net.Services
Marks an IIsActiveRow where -1 is used as the deleted value.
public interface IIsActiveDeletedRow : IIsActiveRow
Remarks
Because the deleted value (-1) is stored in the same column as the active (1) and inactive (0) values, the state a row had before deletion is lost. Undelete always restores 1, so a row that was inactive before being deleted becomes active afterwards. Preserving it would require storing the prior state separately at delete time.
See Also
- interface IIsActiveRow
- Source: IIsActiveDeletedRow.cs