title: LinqPad Error: Lambda expression cannot be converted to 'String' because 'String' is not a delegate type
body: <p>When using linqPad I get the following error:</p>
  
  <blockquote>
    <p>Lambda expression cannot be converted to 'String' because 'String' is not a delegate type.</p>
  </blockquote>
  
  <p>When copying in the following code. </p>
  
  <p>Any idea what could be wrong. I am using the Entity Framework and have linqPad configured to read off an Entity Framework object. </p>
  
  <p>Can I use linqPad to create EF queries or is it strictly linq?</p>
  
  <pre><code>dim db As  PlanITEntities = New PlanITEntities
  
  Dim projects = From p In db.Projects.Include(Function(p) p.AvailableSpaceTypes) _
                                      .Include(Function(p) p.DisadvantageDegree) _
                                      .Include(Function(p) p.FundingSources) _
                                      .Include(Function(p) p.PartnerApprovalStatusCode) _
                                      .Include(Function(p) p.PhysicalConstraintTypes) _
                                      .Include(Function(p) p.PolicyConstraintTypes) _
                                      .Include(Function(p) p.Profile) _
                                      .Include(Function(p) p.Program) _
                                      .Include(Function(p) p.Program1) _
                                      .Include(Function(p) p.Recommendation) _
                                      .Include(Function(p) p.RequestType) _
                                      .Include(Function(p) p.SchematicDesignSource) _
                                      .Include(Function(p) p.Recommendation1) _
                                      .Include(Function(p) p.StatusCode) _
                Where (p.DeleteFlag &lt;&gt; True) _
                Select p
  </code></pre>