Repository implementation for Linq to DB incl. recursive CRUD operations and ManyToMany associations.
Find a file
Marcel van der Heide 02d19172cd
All checks were successful
Build Linq2Db / build (pull_request) Successful in 4m2s
Build Linq2Db / build (push) Successful in 2m8s
release: v0.2.1 + v0.2.1
2026-04-03 20:48:03 +02:00
.forgejo/workflows chore(deps): update git.dutches.de/dutch/workflow-dotnet:9.0-10.0 docker digest to 3489039 2026-04-02 04:00:00 +00:00
Linq2DbRepo release: v0.2.1 + v0.2.1 2026-04-03 20:48:03 +02:00
Linq2DbRepo.Generators release: v0.2.1 + v0.2.1 2026-04-03 20:48:03 +02:00
Linq2DbRepoTest release: v0.2.1 + v0.2.1 2026-04-03 20:48:03 +02:00
.gitignore Initial commit 2025-07-29 19:05:34 +02:00
global.json chore(deps): update all non-major dependencies 2026-02-13 21:21:51 +01:00
LICENSE Initial commit 2025-07-29 19:05:34 +02:00
Linq2DbRepo.sln chore: cleanup 2025-10-30 17:17:17 +01:00
Linq2DbRepo.sln.DotSettings chore: cleanup 2025-10-30 17:17:17 +01:00
nuget.config chore: cleanup 2025-10-30 17:17:17 +01:00
README.md chore: add todos 2025-11-15 00:19:05 +01:00
renovate.json chore(config): migrate config renovate.json 2026-03-13 16:00:17 +00:00

Linq2DbRepo

MIT License Release

Repository implementation for Linq to DB incl. recursive CRUD operations and ManyToMany associations.

Generators

ManyToMany-Generator

Generates all the needed parts i.o. to create and resolve m:n associations using Linq2DbRepo. Join tables can be managed using the JoinTableHelper class.

NuGet

To download this package as a NuGet, a new NuGet source has to be added:

dotnet nuget add source https://git.dutches.de/api/packages/Dutch/nuget/index.json -n "Dutch@DutchGit"

Only Linq2DbRepo needs to be added to your project.

ToDo

  • Add more tests
  • Handle if parent was in max depth, but same reference exists in another branch, with less depth
    • Currently children would also not be loaded further in the other branch
  • Cleanup join tables if entities are deleted by non-extended repository