mantlefree
Rider Early Access Program is it safe to use?
Do you recommend using Rider EAP version?
https://www.jetbrains.com/rider/nextversion/
3 replies
❔ EF Core 7 - FromSql join with same column names
This code produces ArgumentException -> An item with the same key has already been added. Key: CustomerId.
Is there a way to fix this query? I know that I can remove the "i"."CustomerId" and it will work but imagine that Customer and Invoice entities have property with the same name this will cause the same error
Note: I am aware that I can just use LINQ. I want to know if there is a way to fix the FromSql approach.
6 replies