This project is read-only.

EntityFramework reference

May 9, 2013 at 1:08 AM
Hi Guys,

Just wondering why the EntityFramework reference is not included in the NakedObejcts.ProgrammingModel package?
Is this as people can use different EF versions?

May 9, 2013 at 9:36 AM
We prefer not to have the NakedObjects.Programming model to be dependent on EF or any other persistence framework. That way you can write domain models that are persistence agnostic.

Many people are happy to write the code first database mappings within their Model project(s) - in which case they will need to add the EF package. Others, however, prefer to write the database mappings in a separate project - it is a matter of personal preference / style.