title: Is possible to create a database (Sql Server compact) on a given path if we use Entity framework with code-first approach?
body: <p>I'm a bit confused about Entity framework, I would like to use code-first approach; infact I would like to write how my database tables are composed through class definition.</p>
  
  <p>The main problem is that I need to create a database (or open it) by choosing dinamically it's path (the user can choose what database to open and can create new one when he wants). I've chosen Sql server compact to achieve this, however I still don't understand how to use code-first approach for this situation because I don't understand how to choose where database should be created with code-first approach, if is possible.</p>
  
  <p>Can anyone explain what I'm doing wrong and suggest a different route, if any? Thanks</p>