.net - Finding parent records with children in LINQ -


I have several foreign key related tables from 1 and I'm wondering how to query a SQL Server in an entity framework What can be the only LINQ query to find the original archived archives?

  SELECT p.ParentId, p.ParentName FROM Parent p. JOIN Child C. p.ParentId = c.ParentId GROUP BY p.ParentId, P.ParentName Hosting COUNT (c.ParentId) & gt; Internal entries already limit their resultset to those lines where both parents and children are present, then do some work as follows: 
  Children with different parents = (parent- Parents should join the parents on the parents in the parents. Parents are equal to the child. Parents, new parents (parent) RentId, parent.ParentName}). Specific ();  


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -