LINQ to entities - Building where clauses to test collections within a many to many relationship
问题 So, I am using the Linq entity framework. I have 2 entities: Content and Tag . They are in a many-to-many relationship with one another. Content can have many Tags and Tag can have many Contents . So I am trying to write a query to select all contents where any tags names are equal to blah The entities both have a collection of the other entity as a property(but no IDs). This is where I am struggling. I do have a custom expression for Contains (so, whoever may help me, you can assume that I