title: Query child records using entity framework
body: <p>Here is my edmx diagram. 
  <img src="https://i.stack.imgur.com/tZt2t.jpg" alt="enter image description here"></p>
  
  <p>I am trying to get all the drives for a particular ProfileId</p>
  
  <p>Here is the query i have written</p>
  
  <pre><code>var prof = (from p in pe.UserDrives.Include("Drive")
                      where p.ProfileId == Cuser.ProfileId
                      select p).ToList();
  </code></pre>
  
  <p>Data:</p>
  
  <pre><code>Drive
  
  Id  googleAccount   RefreshToken    AccessToken
  1   Cloud            NULL            NULL
  2   Storage          NULL            NULL
  
  UserDrive
  DriveId Id  ProfileId
  1        1  1
  2        2  1
  </code></pre>
  
  <p>The result i would get is the drive info for profileId =1 would be 2 records from userdrive and its corresponding drive information</p>
  
  <p>Instead i would want to have For selected profile have a list of drive records</p>
  
  <p>Kindly bear the newbiesh question. I am just learning</p>