title: CA1001 Visual Studio 2012 Code Analysis warning. What does it mean?
body: <p>It is not that important but I am trying to figure out what it is telling me and is it a legitimate warning ? Can someone explain this error in simple terms for me ? </p>
  
  <blockquote>
    <p><strong>CA1001</strong> Types that own disposable fields should be disposable</p>
    
    <p>Implement IDisposable on 'MemVoteManager' because it creates members of the
    following IDisposable types: 'CongressDBEntities'. If 'MemVoteManager'
    has previously shipped, adding new members that implement IDisposable
    to this type is considered a breaking change to existing
    consumers.    </p>
  </blockquote>
  
  <pre><code>    public class MemVoteManager : AbstractDataManager, IMemVoteManager
  {
      private CongressDBEntities context = new CongressDBEntities();
  
      public int AddMemVote(tMemVoteScore mvs)
      {
          //Insert Model
          context.tMemVoteScores.Add(mvs);
          context.SaveChanges();
  
          int newPK = mvs.MemVoteScoresID;
  
          //Update funky column ID with PK as well
          var memVoteItem = (from m in context.tMemVoteScores
                             where m.MemVoteScoresID == newPK
                             select m).SingleOrDefault();
  
          memVoteItem.ID = memVoteItem.MemVoteScoresID;
          context.SaveChanges();
          return newPK;
      }
  </code></pre>