title: Entity Framework Code First db tables don't generate on existing db
body: <p>Hi I am using Entity framework code first for the first time and I am having trouble generating the tables.I have created an empty database in my App_Data in an MVC3 application.
  This are the models I have created:</p>
  
  <pre><code> public class Brand {
      public int BrandId { get;set; }
      public string BrandName { get;set; }
  }
  
  public class Model
  {
      public int ModelId { get;set; }
      public Brand BrandId { get;set; }
      public Category CategoryId { get;set; }
      public string ModelName { get;set; }
  }
  
  public class Category
  {
      public int CategoryId { get;set; }
      public string CategoryName { get;set; }
  }
  </code></pre>
  
  <p>This is the dbContext:</p>
  
  <pre><code>public class CarsEntities : DbContext{
      public DbSet&lt;Brand&gt; Brands { get;set; }
      public DbSet&lt;Model&gt; Models { get;set; }
      public DbSet&lt;Category&gt; Categories {get;set;} 
  }
  </code></pre>
  
  <p>And this is the connectionString in web.config:</p>
  
  <pre><code>&lt;connectionStrings&gt;
        &lt;add name="CarsEntities" connectionString="Data Source='D:\Projects IDE\Visual Studio\MyWork\Websites\SellCars\SellCars\App_Data\Cars.sdf'" providerName="System.Data.SqlClient" /&gt;      
   &lt;/connectionStrings&gt;
  </code></pre>
  
  <p>Now I have initialized CarsEntities in my HomeController but it seems that none of the tables get generated.What am I doing wrong?</p>