that my issue has more to do with the Include and Where clause than Tracking vs. No Tracking and in addition even more to do with the performance comparison between EF Core vs. EF6 so the title should probably be changed to reflect this, if you agree that there is an issue with EF ...
That collection property does not have a property called Inventory. Further a .Where clause needs to return a Boolean value to determine which elements to filter.(By the way - nothing to do with the .Include clauses - you could delete them and still have the error)...
Using Include/ThenInclude does not change the scope of the Linq Expression. So if you are building a query from ProductType andIncludethe bridging table and then the Department table, the expression for theSelectremains ProductType, it doesn't move to Department. If you want to query Depa...
I think you have a design problem. More thinking + a familiarity with "the way things are done" is the solution not 'solving' this fiasco.Renee"MODERN PROGRAMMING is deficient in elementary ways BECAUSE of problems INTRODUCED by MODERN PROGRAMMING." Me...
include navigation with inherit class #6215 Closed HappyNomad commented Jan 10, 2017 The Include/ThenInclude overloads that accept LINQ Expression trees like those @divega describe would help in some scenarios. What I need is reflection-friendly overloads that I call like this: .Include( "...
Check if a table column value exists in another table column using linq Check to see if last record Checking Null in where condition using entity framework Code first approach with database table already exists. Code First Entity : The property is part of the object's key information and can...