none
how to select all row with parent id from child table ? RRS feed

  • General discussion

  • hello,

    I want to select row based on id from parent table and also want retrive all related row from child table 

    using single query using linq .

    Sunday, February 9, 2014 6:15 AM

All replies

  • Hi helloWorld944;

    In order to give a solution to your question we will need more information then what was provided. For example the table schema for the two tables any relationships defined between the two tables and which Linq provider are you using, Linq to SQL or Linq to EF?


    Fernando (MCSD)

    If a post answers your question, please click "Mark As Answer" on that post and "Mark as Helpful".

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Sunday, February 9, 2014 2:44 PM