No description
| .forgejo/workflows | ||
| Linq2DbRepo | ||
| Linq2DbRepo.Generators | ||
| Linq2DbRepoTest | ||
| .gitignore | ||
| global.json | ||
| LICENSE | ||
| Linq2DbRepo.sln | ||
| Linq2DbRepo.sln.DotSettings | ||
| nuget.config | ||
| README.md | ||
| renovate.json | ||
Linq2DbRepo
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