Joshua Helm
Joshua Helm
Hi @StefH Apologies for the delay. I did try it and can confirm it does work for LinqToObjects. I will say that for us, this is no longer necessary. Since...
Hi @StefH I didn't try it with any earlier versions of EF Core. However, I can say it _**does**_ work with "classic" EntityFramework 6.4.4 on .NET 7.
Just want to add to this that I've found, as a work around, that adding Select(it) to the SelectMany() expression works. For example change: ```c# context.Roots.Select("Children.SelectMany(Grandchildren)").ToDynamicArray() //
...or even better, use `AsEnumerable()`: ```c# context.Roots.Select("Children.SelectMany(Grandchildren.AsEnumerable())").ToDynamicArray(); //
I am having the same issue with EF Core 7 with both TPC and TPT mapping scenarios. Just as in the example presented above, the PrimaryKey attribute appears on the...