Browse Source

Update AbpDbContext.cs

pull/10783/head
maliming 5 years ago
committed by GitHub
parent
commit
eb87cd3d28
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      framework/src/Volo.Abp.EntityFrameworkCore/Volo/Abp/EntityFrameworkCore/AbpDbContext.cs

1
framework/src/Volo.Abp.EntityFrameworkCore/Volo/Abp/EntityFrameworkCore/AbpDbContext.cs

@ -487,7 +487,6 @@ namespace Volo.Abp.EntityFrameworkCore
entry.Reload(); entry.Reload();
entry.Entity.As<ISoftDelete>().IsDeleted = true; entry.Entity.As<ISoftDelete>().IsDeleted = true;
SetDeletionAuditProperties(entry); SetDeletionAuditProperties(entry);
entry.State = EntityState.Modified;
} }
protected virtual bool IsHardDeleted(EntityEntry entry) protected virtual bool IsHardDeleted(EntityEntry entry)

Loading…
Cancel
Save