title: How to use EF4 as a DAL
body: <p>I am currently using EF 4 with my ASP.NET Website to access a MySql database. This works fine. However I now want another Web Site project to access the same entities. How do I set this up?</p>
  
  <p>I can't just reference the original website as it's a Web Site, not a Web Application. So presumably, I need to put the Entity Data Model in its own project and compile to a DLL. But...</p>
  
  <ul>
  <li>Which project type?</li>
  <li>Do I just cut and paste the DataModel.edmx and DataModel.Designer.cs, compile and add a reference in both websites? What about namespaces?</li>
  <li>Where do I put the connection string? At the moment it's in my project's Web.config.</li>
  </ul>
  
  <p>I really have no idea where to begin - I've just followed tutorials to get EF working up to now! I'd really appreciate step-by-step instructions if anyone has time. Thanks.</p>