title: EF 4.1 Code First Issue After Upgrade
body: <p>Okay, so I just upgraded thru NuGet to EF Code First 4.1 and now I get the following build error within my JobSiteContext.cs class:</p>
  
  <p><em>"The name 'DbDatabase' does not exist in the current context"</em></p>
  
  <p>Here is my code:</p>
  
  <pre><code>public class JobSiteContext : DbContext
  {
      public DbSet&lt;JobSite.Models.Job&gt; Jobs { get; set; }
  
      public DbSet&lt;JobSite.Models.Location&gt; Locations { get; set; }
  
      public DbSet&lt;JobSite.Models.Profile&gt; Profiles { get; set; }
  
      public JobSiteContext()
      {
          // Instructions:
          //  * You can add custom code to this file. Changes will *not* be lost when you re-run the scaffolder.
          //  * If you want to regenerate the file totally, delete it and then re-run the scaffolder.
          //  * You can delete these comments if you wish
          //  * If you want Entity Framework to drop and regenerate your database automatically whenever you 
          //    change your model schema, uncomment the following line:
              DbDatabase.SetInitializer(new DropCreateDatabaseIfModelChanges&lt;JobSiteContext&gt;());
      }
  }
  </code></pre>
  
  <p>Can anyone point me in the right direction?</p>
  
  <p>Thanks Paul</p>