EfCore.SoftDeleteServices
1.0.0-preview003
This is a prerelease version of EfCore.SoftDeleteServices.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package EfCore.SoftDeleteServices --version 1.0.0-preview003
NuGet\Install-Package EfCore.SoftDeleteServices -Version 1.0.0-preview003
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="EfCore.SoftDeleteServices" Version="1.0.0-preview003" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EfCore.SoftDeleteServices --version 1.0.0-preview003
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: EfCore.SoftDeleteServices, 1.0.0-preview003"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install EfCore.SoftDeleteServices as a Cake Addin #addin nuget:?package=EfCore.SoftDeleteServices&version=1.0.0-preview003&prerelease // Install EfCore.SoftDeleteServices as a Cake Tool #tool nuget:?package=EfCore.SoftDeleteServices&version=1.0.0-preview003&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
EfCore.SoftDeleteServices
This library to provide simple soft delete and cascade soft delete in EF Core. It provides:
- Useful methods: The features in this library are:
- Set the SoftDeleted flag on an entity class
- Provides a query to find all the Soft Deleted entities in the database
- Reset the SoftDeleted flag on an entity class
- Hard delete (i.e. call EF Core
Remove
method) a entity class, but only if it is already Soft Deleted.
NOTE: Methods can work with entity instance, or found via primary keys. Also has sync and async versions of all methods.
- Cascade Soft Delete: This library has a service that can mimic the database cascade delete, but Soft Deleting the entities. For instance, Cascade Soft Deleting a Company could also soft delete dependent relationships.
- Keeps your data secure: This library can handle Query Filters that contain multiple parts to the filter, e.g. Soft Delete with a multi-tenant filter. It builds queries that will replace the other filters so that your data stays secure.
- Fully configurable: It works with your properties and interfaces. The only rule it has is your Soft Delete property must be of type
bool
, or for the cascade delete it must be of typebyte
. - DI-friendly: This library is designed to work with dependency injection (DI) and contains a method which will scan for your Soft Delete configuration files and set up all the services you need to use this library.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.1
- GenericServices.StatusGeneric (>= 1.1.0)
- Microsoft.CSharp (>= 4.7.0)
- Microsoft.EntityFrameworkCore (>= 5.0.1)
- Microsoft.EntityFrameworkCore.Relational (>= 5.0.1)
- Microsoft.Extensions.DependencyInjection (>= 5.0.1)
NuGet packages (2)
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 |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
9.0.0 | 146 | 11/21/2024 |
8.0.0 | 3,415 | 4/10/2024 |
4.0.0 | 2,082 | 11/22/2023 |
3.1.0 | 17,078 | 12/7/2022 |
2.0.2 | 9,462 | 6/18/2022 |
2.0.1 | 18,400 | 3/4/2022 |
2.0.0 | 3,414 | 11/10/2021 |
2.0.0-preview001 | 181 | 11/2/2021 |
1.1.3 | 2,021 | 3/13/2021 |
1.1.2 | 1,043 | 1/25/2021 |
1.1.1 | 838 | 1/22/2021 |
1.1.0 | 822 | 1/12/2021 |
1.0.0 | 1,998 | 1/9/2021 |
1.0.0-preview004 | 668 | 1/8/2021 |
1.0.0-preview003 | 665 | 1/8/2021 |
1.0.0-preview002 | 678 | 1/8/2021 |
1.0.0-preview001 | 691 | 1/8/2021 |
First release.