title: Entity model generate database from model error: database does not exist
body: <p>I created my data model using Entity Framework, when I try to generate the database from the model, it generates the script but when I execute it I have the following error:</p>
  
  <blockquote>
    <p><em>Msg 911, Level 16, State 1, Line 1<br>
    Database 'MyOp' does not exist. Make sure that the name is entered correctly.</em></p>
  </blockquote>
  
  <p>I don't know where is the error, I don't think that is a problem of permissions.</p>
  
  <p>Thank you for your help</p>