I'm putting together a new ASP.NET MVC project and have already designed and build my domain model and my DB schema.
I've had a look round and haven't found a clear step-by-step guide that shows me how to use the Entity Framework 5 to map my domain objects to the DB tables.
I just added a new .edmx file and generated a model from the DB, but what do I do now in order to map my model to this? I am trying to avoid having any EF code or data annotations anywhere other than in my data access layer (I'm using the repository pattern and my service layer simply calls into the repository and gets back my own non-EF domain objects).
Should I avoid EF altogether? I thought I would give it a whirl, but I want it to be as unobtrusive as possible and just let me be in full control of my DB and domain.
Thanks.