I have not found a way to update a .Net domain service after I changed the underlying entity model.
So when there are changes to the model I create a new domain service as workaround and copy my properties/methods from my old domain service to it.
Is there any easier and maybe less error prone way?
Well, the best thing I found are partial classes. In addition to the automatically created DomainService.cs I add a DomainServiceProtected.cs where my implementations I don't want to have overwritten every time something changes in the entity model reside.
The content is written by members of the stackoverflow.com community.
It is licensed under cc-wiki