Open Closed

how to hard delete the record instead of soft delete more over how to delete record permenently by given range #2242


User avatar
0
Naren created

how to **hard delete ** the record instead of soft delete more over how to delete record permenently in db by given range

  • ABP Framework version: v4.4.4
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no

1 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    You can try use the HardDeleteAsync method. see: https://github.com/abpframework/abp/blob/e3e1779de6df5d26f01cdc8e99ac9cbcb3d24d3c/framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Repositories/RepositoryExtensions.cs#L50

Made with ❤️ on ABP v9.1.0-preview. Updated on December 10, 2024, 06:38