title: Entity Framework 4 CTP 5 Code First Development
body: <p>I am trying to do some tests using EF4 + CTP5 with code first development by writing POCO classes and have faced the following problems</p>
  
  <ol>
  <li><p>Connecting to existing database throws me the exception: <br>
  Model compatibility cannot be checked because the database does not contain model metadata</p></li>
  <li><p>While I can create a new database from code by giving a new file name in a connection string, not able to open the file (database) using the Management Studio after running few tests against, the Management studio doesn't allow to add the file when trying to attach the database with no specific error detail provided. </p></li>
  </ol>