views:

526

answers:

1

I would like to ask whether or not is a good practice, to hold the CRUD operations for business objects, in a single domain service class. Should we provide a domain service class for each BO?

ProductDomainService.cs CustomerDomainService.cs ...

or a single

BusinessObjectDomainService.cs

+1  A: 

I went with a single domain object beause my model is not that complex. I would think it might be better to cluster the domain services together ie user services logging services. That kind of logical clumping would be better than 1 for each business object.

bill moore