Open Closed

Permanent delete an entity inheriting ISoftDelete #5139

ajayak created


I have a special case in which I want to completely delete an entity that is marked as ISoftDelete.

I tried this but it does not work:

using (CurrentUnitOfWork.DisableFilter(AbpDataFilters.SoftDelete))
                var tenant = await TenantManager.GetByIdAsync(input.Id);
                await TenantManager.DeleteAsync(tenant);

1 Answer(s)
  • 0
    yekalkan created

    see <a class="postlink" href=""> ... issues/550</a>