title: EntityFramework not creating tables
body: <p>I've been using EF for a while now, always in the <a href="http://msdn.microsoft.com/en-us/data/ff830362" rel="noreferrer">Model-First</a> approach. Now I'm adventuring through <a href="http://weblogs.asp.net/scottgu/archive/2010/07/16/code-first-development-with-entity-framework-4.aspx" rel="noreferrer">Code-First</a> lands.
  The thing is: I've been having issues with automatic table creation.</p>
  
  <p>According to some sites it is possible. And I've tried their approach with no success.</p>
  
  <p>Here's one of the things I've tried: <code>Database.CreateIfNotExists()</code></p>
  
  <p>No luck... </p>
  
  <p>My connection string is perfect and working. If I add the table manually it does work. The problem is when I don't have the table created. It just doesn't create as I was said it would.</p>
  
  <p>My classes are correctly decorated. (Again: It's working when I have the DBs created)</p>
  
  <p>Any suggestions? Does this feature really works?</p>
  
  <p>I'm using:</p>
  
  <blockquote>
    <p>Visual Studio 2010 Professional</p>
    
    <p>EntityFramework 4.3.1 (although I tried with 4.1 also)</p>
    
    <p>SQL Server 2008 R2</p>
  </blockquote>
  
  <p>Thanks in advance.</p>