Linq2DbRepo (0.1.1)

Published 2025-12-09 21:26:32 +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.1.1 Linq2DbRepo

About this package

Repository implementation for Linq to DB incl. recursive CRUD operations

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

Dependencies

ID Version Target Framework
AsyncAwaitBestPractices 10.0.0 net10.0
Linq2DbRepo.Generators 0.1.0 net10.0
Microsoft.Data.Sqlite 10.0.0 net10.0
SimpleCache 0.1.0 net10.0
linq2db 6.0.0 net10.0
AsyncAwaitBestPractices 10.0.0 net9.0
Linq2DbRepo.Generators 0.1.0 net9.0
Microsoft.Data.Sqlite 10.0.0 net9.0
SimpleCache 0.1.0 net9.0
linq2db 6.0.0 net9.0
Details
NuGet
2025-12-09 21:26:32 +01:00
1
Marcel van der Heide
153 KiB
Assets (2)
Versions (2) View all
0.1.1 2025-12-09
0.1.0 2025-07-29