解决方案 »

  1.   

    Stores 是子表,可以使用join。
    http://msdn.microsoft.com/zh-cn/library/bb311040.aspx
      

  2.   

    var result = dbContext.Clients.Select(c => c).ToList();
      

  3.   

    var result = from c in dbContext.Clients join s in db.Stores on c.StoreId equals s.Id into storeGroup select new Client{ Id = c.Id, Name = c.Name, Stores = storeGroup }; 这样写对吗?
      

  4.   

    LINQ TO SQL,容我来喷下,趁早弃坑,钻进这个里面将一发不可收拾,不但写不好程序,发展前途。
      

  5.   

    完全不明白楼主想要干什么,Client和Store之间到底是什么什么关系,你想要达到的最终目的又是什么。