title: Entity Framework: 'x' does not contain a definition for 'y' and no extension method 'y' accepting a first argument of type 'x' could be found
body: <p>I read the other questions that had the same error, but they don't seem to deal with Entity Framework. Unfortunately I'm not experienced with EF, so I'm reaching out to the community for help. Can someone please give me an idea how to eliminate this error?</p>
  
  <p>Thanks. </p>
  
  <p>Sorry for not including the code. I'll post whatever is necessary to help me figure this out:</p>
  
  <pre><code>private int MarkPreviousCallsUncallable(DAL.Dialer.I3_IC_DIALEREntities context, 
      string lob, DataRowCollection i3Identities)
  {
      &lt;presumably unrelated stuff&gt;
  
      var existingDIYContact = context.DIYOUTBOUNDPREVIEW.Where
          (x =&gt; x.I3_IDENTITY == i3Identity).FirstOrDefault();
  
      &lt;presumably unrelated stuff&gt;
  }
  </code></pre>
  
  <p>It's on the <code>var existingDIYContact</code> line where I'm getting the error.</p>