data access layer - Best practices for Domain Service classes in RIA Silverlight projects -


I would like to ask if there is a good practice, CRUD business commodities, a single domain service class Should we provide a domain service class for each BO?

ProductDomainService.cs CustomerDomainService.cs ...

or a single

BusinessObjectDomainService.cs

I went with a domain object, so my model is not that complicated. I would think it would be better to cluster domain services i.e. user service logging services This kind of logical clumping will be better than 1 for each business object.


Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -