Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
[![Build](https://img.shields.io/github/actions/workflow/status/Clifftech123/EfCoreKit/ci.yml?branch=develop&logo=github&label=Build)](https://github.com/Clifftech123/EfCoreKit/actions)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)

**.NET 8 / 9 / 10** · **EF Core 8.x / 9.x / 10.x** · **Works with any EF Core-supported database**
**Works with any EF Core-supported database**

</div>

Expand Down Expand Up @@ -52,7 +52,7 @@ Every .NET project with EF Core ends up writing the same plumbing: soft delete f
dotnet add package EfCoreKit
```

One package everything is included. No separate installs needed.
One package everything is included. No separate installs needed.

---

Expand Down
4 changes: 2 additions & 2 deletions src/EfCoreKit/Entities/FullEntity.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using EfCoreKit.Interfaces;


namespace EfCoreKit.Entities;

Expand All @@ -11,7 +11,7 @@ public abstract class FullEntity<TKey> : SoftDeletableEntity<TKey>, IConcurrency
{
/// <summary>
/// Optimistic concurrency token automatically managed by the database.
/// EF Core raises <see cref="EfCoreKit.Exceptions.ConcurrencyConflictException"/> when
/// EF Core raises <see cref="ConcurrencyConflictException"/> when
/// a stale version is detected during update.
/// </summary>
public byte[] RowVersion { get; set; } = [];
Expand Down
2 changes: 2 additions & 0 deletions src/EfCoreKit/Interceptors/SoftDeleteInterceptor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ private void InterceptDeletes(DbContext? context)
}
}



private static void CascadeSoftDelete(DbContext context, ISoftDeletable parent, DateTime now, string? userId)
{
var parentEntry = context.Entry(parent);
Expand Down
Loading