Had some problems with the EF6 – working with 2 tables in the UserManagement schema – created an automatic association table in the dbo schema. Look no further than here for an explanation and solution

#notetoself
Had some problems with the EF6 – working with 2 tables in the UserManagement schema – created an automatic association table in the dbo schema. Look no further than here for an explanation and solution
#notetoself
In development and while testing various things in EF6 core – I tend to end up with a lot of migration garbage which occasionally I have to take out. This is how it’s done #notetoself
#notetoself
Working with entity: Tournament
Which has children: TRound with Course as entity that needs to be loaded based on Id ( as each golf round is played on a Course 🙂 )
ctx.Tournaments.Include(c => c.Trounds).ThenInclude(c => c.Course)
Took me a while to figure out why ctx.Tournaments.Include(c => c.Trounds.Select(c => c.Course)) stopped working, but it is a (good) core thingy.