title: How do I adapt the Entity Framework POCO T4 template to create classes in a separate project?
body: <p>I like to to keep my code first - or T4 generated - POCOs in a project separated from the DbContext. This helps me ensure my entity classes aren't coupled to any one data access service. </p>
  
  <p>When I create a new DB first EDMX model, the wizard generates a T4 template to generate all the POCOs in the same project as the DbContext. How can I modify this template to add classes to a separate project?</p>
  
  <p>On closer inspection, it would probably be much easier to move the DbContext to a new project, but the T4 for this has no call to <code>fileManager.StartNewFile</code> so i don't know where to begin telling it to create a file elsewhere.</p>