Using SCSF / CAB with CSLA, EntityTranslatorService

Using SCSF / CAB with CSLA, EntityTranslatorService

Old forum URL: forums.lhotka.net/forums/t/3907.aspx


drinoh posted on Friday, November 16, 2007

I must admit I am new to these technologies but in review it seems to me that the EntityTranslatorService which is used to translate between entity types used by Web services and the service types used in the client application is unnecessary with CSLA since the services used in CAB could contain CSLA business objects as they are mobile objects which can pass through web services.  Am I right or am I missing something basic here?  Any thoughts are appreciated.

David.

JoeFallon1 replied on Monday, November 19, 2007

Rocky states pretty emphatically that you should not pass your CSLA BOs as the output of a Web Service call. You should construct a different DTO style BO which is populated from your CSLA BOs instead. See the book.

Joe

 

Copyright (c) Marimer LLC