We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I tried
using (_dataFilter.Disable<ISoftDelete>()) { await repository.DeleteAsync(entity); await CurrentUnitOfWork.SaveChangesAsync() }
It doesn't work.
Maybe because
//\abp\framework\src\Volo.Abp.EntityFrameworkCore\Volo\Abp\EntityFrameworkCore\AbpDbContext.cs protected virtual void CancelDeletionForSoftDelete(EntityEntry entry) { if (!(entry.Entity is ISoftDelete)) { return; } entry.Reload(); entry.State = EntityState.Modified; entry.Entity.As<ISoftDelete>().IsDeleted = true; }
The text was updated successfully, but these errors were encountered:
Data filter system is for filtering data on querying. It has no effect on changing the database.
We had implemented a similar feature for ASP.NET Boilerplate before and planned for this framework too. See #139
Until it's implemented, you can use SQL to delete it for example.
Sorry, something went wrong.
No branches or pull requests
I tried
It doesn't work.
Maybe because
The text was updated successfully, but these errors were encountered: