title: DeleteObject method is missing in Entity Framework 4.1
body: <p>This is driving me crazy. I am getting error that </p>
  
  <blockquote>
    <p>object doesn't contain definition for DeleteObject.</p>
  </blockquote>
  
  <p>Here is my line of code that produces an error:</p>
  
  <pre><code>ctx.Tanks.DeleteObject(Tank);
  </code></pre>
  
  <p>I tried to reference another object from another <code>edmx</code> file that my friend has created and then everything is fine, <code>DeleteObject</code> exists. I don't think I miss any references in my project.</p>
  
  <p>And project itself contains edmx file and I used <code>DBContext</code> to create POCOs.</p>
  
  <p>Any ideas?</p>