title: How to check if database schema matches Entity Framework schema?
body: <p>For my surprise, using the <strong>CreateDatabaseIfNotExists</strong> context initializer, the line</p>
  
  <pre><code>context.Database.Initialize(true)
  </code></pre>
  
  <p><strong>doesn't</strong> throw an exception if the schema does not match my code first schema.</p>
  
  <p>Is there a way to validate if the current database matches our schema before, for instance, we try to access a entity, whose table doesn't exist on the database anymore, and an exception is thrown by EF?</p>