title: How to avoid references to Entity framework in multiple projects
body: <p>I want to encapsulate Entity Framework in one project. This project will do DB access alone. When updating, I want to map a domain model to EF. The purpose is that other layers of the solution should have no knowledge of infrastructure.</p>
  
  <p>My problem is that I need to reference EF in my "caller" project to make it work. </p>
  
  <p>Is there a way to avoid this? </p>
  
  <p>Solution
   - ConsoleProject
   - EntityFrameworkProject   (EF from Nuget)</p>