title: can't make it work entity framework migrations
body: <p>When I executed the command update-database an getting the following error:</p>
  
  <blockquote>
    <p>Update-Database : 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.</p>
    
    <p>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.
        At line:1 char:16
        + Update-Database &lt;&lt;&lt;&lt;  -verbose
        + CategoryInfo          : NotSpecified: (:) [Update-Database], UnintentionalCodeFirstException
        + FullyQualifiedErrorId : 
    System.Data.Entity.Infrastructure.UnintentionalCodeFirstException,System.Data.Entity.Migrations.UpdateDatabaseCommand</p>
  </blockquote>
  
  <p>What I'm doing wrong??</p>