score:3
Accepted answer
Not sure if i understood you correctly but this might be what you need:
dbContext.CmsContent.Where(r => r.CmsContents.Any(t => t.Id = someId))
Source: stackoverflow.com
Related Articles
- LINQ Query in Junction Table
- LINQ Query that is able to identity a Row in a Junction Table with two variables - How to do it?
- Casting to a derived type in a LINQ to Entities query with Table Per Hierarchy inheritance
- LINQ query to perform a projection, skipping or wrapping exceptions where source throws on IEnumerable.GetNext()
- Linq query join one table row to another table multiple row
- Is there any way to create a LINQ query as a variable without having the data source (yet)?
- linq query to join two tables and get the count from one table values from the other
- How do I query a junction table
- linq join query get single record from second table
- LINQ Query to check for a predicate in all columns in a table
- LINQ Source Code Available
- Which LINQ query to select rows from 1 table that are not in another table
- LINQ to Entities three table join query
- linq - how do you do a query for items in one query source that are not in another one?
- How can I write the following code more elegantly using LINQ query syntax?
- How to dynamic add filters to a LINQ query against an Odata Source in C#
- Joining tables together via junction table in LINQ
- Exception in a CRM LINQ query with joins. Attribute in second table doesn't exist
- C# Linq query help removing foreach loops creating cleaner code
- Query Table using Table Names or MetaTables - LINQ
- LINQ query to include fields from one row of a child table
- Use a linq query as microsoft local report Data Source (WinForms)
- Determine the source DataContext for a Linq to Sql query
- EF6 Linq Query .Include only returning first entry of child table
- LINQ query returns old results when source list is re-initialized
- How to get SQL query into LINQ form in C# code
- How can I code a Linq query to do an upward Include?
- How to join two table from two different edmx using linq query
- Linq query makes all calls to bring foreign key's table data
- creating Linq to sqlite dbml from DbLinq source code
- Getting list of cities and countries from a SQL Table
- Linq2XML missing element
- Reference ENUM description when building selectList for dropdown list control
- How do I group by List<int> in a Dictionary<string, List<int>> where the lists are identical?
- ASP.NET LINQ Error Cannot create a query result of type 'System.Collections.Generic.List`1[System.Int32]'
- Data Binding DataGridView to ComboBox Throwing Null Value Exception
- using LINQ query to get max of a varchar column
- How to extract month from date time feild?
- How to write LINQ Concat query properly
- Issue with LINQ IN clause when filter value is empty but works with filter values
- Using linq to pass through every row of a table and change data?
- How to filter LINQ to SQL result by xref table property
- Dynamic.Linq Building generic Where Condition
- Compare two Linq objects
- Controls null in Page_Load and Page_PreRenderComplete
- List<int> to a sql "in" query
- LINQ get the data from the datatable group by hours
- upload multiple images and display them
- return a single list property List in Linq
- Can't convert string to number type in xml query