{"repo":"JonPSmith/EfCore.SoftDeleteServices","free":true,"listed":false,"github":"https://github.com/JonPSmith/EfCore.SoftDeleteServices","clone":"git clone https://github.com/JonPSmith/EfCore.SoftDeleteServices.git","description":"Services to provide simple soft delete and cascade soft delete in EF Core","language":"C#","stars":128,"topics":["efcore","softdelete","database"],"license":"MIT","category":"databases-storage","readme_excerpt":"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, with checks. - Provides a secure query to find all the Soft Deleted entities for a specific entity class. - Reset the SoftDeleted flag on an entity class, which checks. - 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 (see image below). - 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 provide true/false value (normally a 'bool', but could be part of enum status, etc.), or for the cascade delete it must provide a byte value. - DI-friendly: This library is designed to work with dependency injection (DI) and contains a method which will scan for your Soft Delete configurat","default_branch":null,"files":null,"tree":[],"storefront":"/r/JonPSmith","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/JonPSmith/EfCore.SoftDeleteServices/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}