In ASP.NET boilerplate project.
I have a database with users. I am using standard methods for retrieving them _userRepository.GetAll()
and deleting _userRepository.Delete(id)
.
By default when user id deleted it is still kept in database with isDeleted
field marked as true.
My question is: is there in ABP
any default method that retrieves exactly all users from database, and what follows:
is there any other possibility to do this than writing stored procedure like
SELECT * FROM dbo.AbpUsers
and using it in repository (and then in service)?
You should disable filter(
SoftDelete
):