![]() |
VOOZH | about |
dotnet add package EfCore.SoftDeleteServices --version 10.1.0
NuGet\Install-Package EfCore.SoftDeleteServices -Version 10.1.0
<PackageReference Include="EfCore.SoftDeleteServices" Version="10.1.0" />
<PackageVersion Include="EfCore.SoftDeleteServices" Version="10.1.0" />Directory.Packages.props
<PackageReference Include="EfCore.SoftDeleteServices" />Project file
paket add EfCore.SoftDeleteServices --version 10.1.0
#r "nuget: EfCore.SoftDeleteServices, 10.1.0"
#:package EfCore.SoftDeleteServices@10.1.0
#addin nuget:?package=EfCore.SoftDeleteServices&version=10.1.0Install as a Cake Addin
#tool nuget:?package=EfCore.SoftDeleteServices&version=10.1.0Install as a Cake Tool
This library to provide simple soft delete and cascade soft delete in EF Core. It provides:
Remove method) a entity class, but only if it is already Soft Deleted.byte value.MIT License. Documentation can be found in the Repo's Wiki. NuGet available at EfCore.SoftDeleteServices.
There are older versions of the EfCore.TestSupport library, but .NET lower than .NET 5 are not supported by Microsoft.
Here is an image to show the difference between normal (single) soft delete and cascade soft delete.
The cascade soft delete is pretty clever, and can handle multi-level soft deletes - see this section from my article EF Core In depth - Soft deleting data with Global Query Filters.
All of these limitations could be removed, but it takes time to implement and check.
Remove method. A hard delete removes the row from the database and may effect other entities/rows.DeleteBehavior has an effect on what happens).| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 2 NuGet packages that depend on EfCore.SoftDeleteServices:
| Package | Downloads |
|---|---|
|
Xswift.EntityFrameworkCore
Provides Implementations of the datasource abstraction that belongs to the XSwift frameworks. the implementations are based on the Entity framework core. |
|
|
Homox
Package Description |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.1.0 | 405 | 2/4/2026 |
| 10.0.0 | 265 | 11/25/2025 |
| 9.0.0 | 8,855 | 11/21/2024 |
| 8.0.0 | 15,339 | 4/10/2024 |
| 4.0.0 | 2,452 | 11/22/2023 |
| 3.1.0 | 17,272 | 12/7/2022 |
| 2.0.2 | 10,269 | 6/18/2022 |
| 2.0.1 | 19,154 | 3/4/2022 |
| 2.0.0 | 3,690 | 11/10/2021 |
| 2.0.0-preview001 | 333 | 11/2/2021 |
| 1.1.3 | 2,245 | 3/13/2021 |
| 1.1.2 | 1,268 | 1/25/2021 |
| 1.1.1 | 1,048 | 1/22/2021 |
| 1.1.0 | 1,059 | 1/12/2021 |
| 1.0.0 | 2,321 | 1/9/2021 |
| 1.0.0-preview004 | 883 | 1/8/2021 |
| 1.0.0-preview003 | 901 | 1/8/2021 |
| 1.0.0-preview002 | 892 | 1/8/2021 |
| 1.0.0-preview001 | 912 | 1/8/2021 |
Removed Microsoft.EntityFrameworkCore.Sqlite as its not needed