I've started working, and learning, about Entity Framework. Previously, when working with data access I've always tried keeping it in a separate DLL, trying to separate my concerns and prevent data model classes being dragged into the presentation layer.
Now, when I create an EDMX file it goes into the main project, when I moved them and the associated code into a data DLL, whilst it compiled when I ran the solution an error was thrown in the Entities constructor or rather its base constructor in the ObjectContext class.
Is it possible to achieve this complete separation?
I saw this question which appears to be related but reading the comments it appears as though there is only a partial separation.
Edit This is the error I was getting:
Unable to load the specified metadata resource.
I've found this answer so I'll see if that solves my problem.