0
sferrari created
2 Answer(s)
-
0
Hi,
disabling softDelete filter only works for getting records. It does not delete record from database.
If you want to completly delete records from database, you have two options.
1 ) write a custom repository for role and execute regular sql query in it. 2) Override CancelDeletionForSoftDelete method of AbpDbContext and put your logic in it. For example you can check if softDelete filter is disabled and exit from method if it is. <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/blob/ab6697f5a047e3a0ea74c01b163a629953d0a389/src/Abp.EntityFramework/EntityFramework/AbpDbContext.cs#L396">https://github.com/aspnetboilerplate/as ... xt.cs#L396</a>
-
0
Thanks !!!!! :D :D :D :D