NHibernate – Mapping a single domain model to multiple physical data m(ayende.com)
submitted by
ferventcoder(836) 2 years, 8 months ago
A while ago I sat down and talked with a colleague about the Entity Framework, he raved about how important the separation of the logical model from the physical one is. I don’t really buy into that, but that is beside the point.
Last week, on the Progressive.NET NHibernate workshops, I setup, quite accidently, to create a single domain model and map it to several physical data models. I promised to share the code, and I think that this form is as good as any.
Let us start from the following domain model:
|category: Open Source
|Views: 18
tags:
OpenSource another
Everyones tags:
Your Tags: