Linq2DbRepo.Generators (0.2.0)

Published 2026-02-24 19:19:19 +01:00 by Dutch in Dutch/Linq2DbRepo

Installation

dotnet nuget add source --name Dutch --username your_username --password your_token 
dotnet add package --source Dutch --version 0.2.0 Linq2DbRepo.Generators

About this package

Source generators for Linq2DbRepo

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
Details
NuGet
2026-02-24 19:19:19 +01:00
0
Marcel van der Heide
58 KiB
Assets (2)
Versions (2) View all
0.2.0 2026-02-24
0.1.0 2025-07-29