✅ EF Core include only one property of collection
The expression 'subProject.ProjectId' is invalid inside an 'Include' operation, since it does not represent a property access: 't => t.MyProperty'.How do I query a collection of projects, and only include the ID's of sub-projects instead of complete entities?
2 Replies