I am trying to learn and apply a domain-based concept in my software development. The first thing I'm trying to do is create my domain model based on the needs of business logic. I also often use the OR Mapping tool, such as LLBLGen, NHibernate, or Linq to SQL, to create a data model and access data. The domain model and the data model, however, are often very similar, which makes me wonder what benefit I get by supporting the two models.
Can anyone share their practical thoughts on domain design? Also, how would you feel about the data model or data access level when using DDD in your application?
Thanks in advance.
EDIT
Found a good article an article with sample code about the repository template.
source
share