title: Error: The object cannot be deleted because it was not found in the ObjectStateManager
body: <p>Trying to get a handle on Entity Framework here and I am hitting some speed bumps...
  I have a Get() method that works fine and has been tested, but my Delete method is not working:</p>
  
  <pre><code>   public static void Delete(string name)
      {
          J1Entities db = new J1Entities();
          db.DeleteObject(Get(name));
          db.SaveChanges();
      }
  </code></pre>
  
  <p>But I get the following error: 
  <strong>Error: The object cannot be deleted because it was not found in the ObjectStateManager.</strong></p>
  
  <p>I ran the debugger, and the object inside the DeleteObject is correct... what am I missing?  Thank you.</p>