title: How do I stop Entity Framework from generating BOTH ObjectContext and dbContext
body: <h2>Background</h2>
  <ul>
  <li>Visual Studio 2012</li>
  <li>NEW Model.EDMX file created in VS2012</li>
  <li>Copied some of the EDMX xml from a previously created EDMX into the new one</li>
  </ul>
  <h2>Problem / Question</h2>
  <p>Now.  The EDMX (TT transform, custom tool, whatever, etc.) is generating BOTH DbContext classes (under the Model.tt/Model.Context.tt files) <em>and</em> ObjectContext classes (via the Model.designer.cs file).  See image below:</p>
  <p><img src="https://i.stack.imgur.com/lr7gH.png" alt="Both the Model.tt AND the Designer.cs files are defining my entities" /></p>
  <p>Everything builds fine and works with the DbContext (but obviously only if I delete the Designer.cs file just before building) but the Designer.cs - and its ObjectContext-based code - keeps reappearing.  How do I stop this behavior?!</p>