Base solution for your next web application
Open Closed

How to load all records(with soft deleted rows) #4498


User avatar
0
ramezani583 created

Hi, How to load all records(with soft deleted rows)?


1 Answer(s)
  • User Avatar
    0
    aaron created
    Support Team

    From the documentation on Data Filters:

    You can disable a filter per unit of work by calling DisableFilter method as shown below:

    using (_unitOfWorkManager.Current.DisableFilter(AbpDataFilters.SoftDelete))
    {
       var people2 = _personRepository.GetAllList();                
    }
    

    people2 will also include deleted people.