title: Entity Framework 4.1 Disable Model Compatibility Check
body: <p>I need to use an 'DropCreateDatabaseIfModelChanges' - Initializer class, because I want to create one special entity (table), if it doesn't exist. My problem is, that I've also got another entity in my DbContext, which shouldn't be part of the model compatibility check.</p>
  
  <p>I'm getting the following error message:</p>
  
  <pre><code>Model compatibility cannot be checked because the EdmMetadata type was not inclu
  ded in the model. Ensure that IncludeMetadataConvention has been added to the Db
  ModelBuilder conventions.
  </code></pre>
  
  <p>Is there any possibility to exclude a special entity from this check?</p>
  
  <p><strong>EDIT:</strong>
  I've done what Devart has suggested. The problem seems to be different, than I first tought. It all works fine, if I let EF create a new database with my CheckedContext. But I'm getting the error message above, when I'll try to use my NonCheckedContext wich should use an existing table ...</p>
  
  <p><strong>EDIT2:</strong>
  <a href="http://social.msdn.microsoft.com/Forums/en-US/adodotnetentityframework/thread/ccf25dbe-5452-47b1-9a8f-080668922dd7" rel="nofollow">This</a> is a working solution. Everything works fine, when the database doesn't exist before. But it's no option for me, to Drop/Create the database.</p>