Ends in:
7 DAYS
21 HRS
4 MIN
48 SEC
Ends in:
7 D
21 H
4 M
48 S
Open Closed

Regarding Hard Delete from AbpUsers Table #1314


User avatar
0
ChetanKumbhar created

Hi,

I want to hard delete record from AbpUsersTable, Currently we are doing soft delete from AbpUsers Table. I went through some documents for hard delete, i found HardDeleteAsync method for hard delete. i found this method for my other DB repository, but not for Identity Module repository. I want hard delete user from AbpUsers Table. i could not found HardDeleteAsync this method for IdentityUserManager or any repository of identity model.

So how should i hard delete records from AbpUsers Table?

ABP Framework version: v3.0.4 UI type: Angular DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): yes / no Exception message and stack trace: Steps to reproduce the issue:


2 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    using Volo.Abp.Domain.Repositories;
    
    private readonly IIdentityUserRepository _identityUserRepository;
    await _identityUserRepository.HardDeleteAsync(IdentityUserEntity);
    
  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06