title: Query not reconizing custom properties
body: <p>I Have the following query but its not allowing me to select the properties of my custom class for some reason.</p>
  
  <p>This is my class here:</p>
  
  <pre><code>public class PersonalDetails
  {
      public string LineType { get; set; }
      public string EnquirerTitle { get; set; }
      public string ForeName { get; set; }
      public string Surname { get; set; }
      public int Age { get; set; }
      public DateTime Dob { get; set; }
      public string MaritalStatus { get; set; }
      public string HomePhone { get; set; }
      public string MobilePhone { get; set; }
      public string Email { get; set; }
      public string Address { get; set; }
      public string Employment { get; set; }
      public string Occupation { get; set; }
  
  
  }
  </code></pre>
  
  <p>And here I want to use a query to access the data my end goal is to pass this object to a csv selrilizer which I have created to produce a csv file in a custom format.</p>
  
  <pre><code>IQueryable&lt;tblapertureNetAppointment&gt; _personadetails;
  var personalDetails = from _appointments in  _dal.apertureNetEntities.tblapertureNetAppointments
  .AsEnumerable()
  .Select(x =&gt; new PersonalDetails { x.LineType its not allowing me to find line type})
  .ToList();
  </code></pre>