title: How do Visual Studio 2013 Database Projects work with TFS online and EntityFramework code first migrations
body: <p>Fairly long title, but hopefully self-explanatory!</p>
  
  <p>I'm starting a new project in Visual Studio 2013 using Entity Framework 5.0 with code first migrations.</p>
  
  <p>I've connected my project to TFS Online using git - I'm interested in trying TFS Online as it offers source control management for 5 free projects (similar to BitBucket) but with strong Visual Studio integration.</p>
  
  <p>I've not used Database projects in Visual Studio 2013 and I've found little information for how this all fits together.  </p>
  
  <p>What I'm trying to acheive is to create a simple Visual Studio solution with 2 projects - one an MVC .NET project and the other a database project.  My goal is that code first migrations will make the neccessary changes to the sql scripts in the database project (which are managed under git source control).  My web.config points to a local .mdb file as my database which is what is updated when I run update-database in EF which is what I feel is the problem.  </p>
  
  <p>How can I point EF to use my database project for code migration, and subsequently how can I automatically build my development database into a local .mdb file when debugging my solution? </p>