title: Call to DBContext throws exception (code first, create DB)
body: <p>I wanted to try EF5 as described here: <a href="http://msdn.microsoft.com/en-us/data/jj193542" rel="nofollow">http://msdn.microsoft.com/en-us/data/jj193542</a></p>
  
  <p>But as soon as </p>
  
  <p>using (var db = new BloggingContext())</p>
  
  <p>is reached an System.InvalidOperationException is thrown with additional details saying that "The type 'ConsoleApplication1.Program+Blog' was not mapped. Check that the type has not been explicitly excluded by using the Ignore method or NotMappedAttribute data annotation. Verify that the type was defined as a class, is not primitive, nested or generic, and does not inherit from EntityObject."</p>
  
  <p>No database is created. I'm using VS 2012 Express for Windows Desktop and SQL Server 2012. The database explorer can connect to the local SQLExpress instance without problems.</p>
  
  <p>Any ideas?</p>
  
  <p>Cheers, mttmjapj</p>