title: Entity Framework - Searching by ID
body: <p>I have a table called Products and a table called ProductDescription. The ProductDescription has a primary key called ProductDescriptionID. So, to get the description of a product I need to access both tables.</p>
  
  <p>Here is my code to access the description of a product but I don't know how to fix it, as I'm getting: "Cannot convert lambda expression to string because it is not a delegate type".</p>
  
  <pre><code>        productDetailsVM.ProductDescription = db.ProductDescriptions
              .Where(c =&gt; c.ProductDescriptionID.Any(p =&gt; p.ProductID == id))
              .FirstOrDefault();
  </code></pre>
  
  <p>Edit:</p>
  
  <pre><code>    public partial class Product
      {    
          public int ProductID { get; set; }
          etc
      }
  
      public partial class ProductDescription
      {
          public int ProductDescriptionID { get; set; }
  
          public string Description { get; set; }
      }
  </code></pre>
  
  <p>How do I actually write this query?</p>
  
  <p><img src="https://i.stack.imgur.com/gYGa1.png" alt="enter image description here"><img src="https://i.stack.imgur.com/F9HwC.png" alt="enter image description here"></p>