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

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -