title: Code First code generation trying to create the model?
body: <p>Moving to Entity Framework 5, model first (due to the database being complex and being maintained separately). Importing the database, using the new DbContext code generator.</p>
  
  <pre><code>    protected override void OnModelCreating(DbModelBuilder modelBuilder)
      {
          throw new UnintentionalCodeFirstException();
      }
  </code></pre>
  
  <p>is generated and triggered when I manually generate the connection - which I have to (our connection setups are in a separate config file).</p>
  
  <p>The message reads:</p>
  
  <p>Code generated using the T4 templates for Database First and Model First development may not work correctly if used in Code First mode. To continue using Database First or Model First ensure that the Entity Framework connection string is specified in the config file of executing application. To use these classes, that were generated from Database First or Model First, with Code First add any additional configuration using attributes or the DbModelBuilder API and then remove the code that throws this exception.</p>
  
  <p>What the?</p>
  
  <p>How can I suppress this? I do not want entity framework to do ANYTHING with the database schema, but I want to be able to USE the database, obviously.</p>