Best Practices for Domain Service Classes in RIA Silverlight Projects

I would like to ask if it is good practice to do CRUD operations on business objects in the same domain service class. Should we provide a domain service class for each BO?

ProductDomainService.cs CustomerDomainService.cs ...

or one

BusinessObjectDomainService.cs

+2


source to share


1 answer


I went with one domain object because my model is not that complicated. I would have thought it would be better to cluster the domain services i.e. User logging services. This logical merge would be better than 1 for each business object.



+1


source







All Articles