Raso
How do I do an inner GroupJoin on dotnet?
I'm using .NET 6 with Entity Framework. This is my situation: I have a BenefitEntity (with Name and Description properties and a relationship with BenefitCategory) and this BenefitCategory which has Name and Description as well.
In the application, all the Names and Descriptions are translated, we have a TranslationEntities table that contains all the translations.
Here are the three classes (I'll keep it simple and put just the properties we need):
The TranslationEntities table contains all the translations, for all the entities type. I want to get all the BenefitEntity, using the GroupJoin for their Name/Description and do another inner join for its BenefitCategory name and description. I'm able to do the first one, but not able to do the second one.
2 replies
❔ Add extension on controller
Hello! I have backend in dotnet, frontend with Angular. before FE can call my BE, there's a gateway which redirect. I got told that on the endpoints that need a certain path (dotnet backend side) I need to add the openapi extension x-dynamic-param: true.. How do I do that? How do I add that extension on my controller's method?
2 replies