Being new to Csla.Net, I have a question. I have an application framework built using WCF services and passing a message object between the services. Within that message object (DataContract) I would like to include a BusinessListBase object (a collection). That BusinessListBase object contains BusinessBase objects and two other BusinessListBase objects. I am getting serialization errors when trying to call the WCF methods.
In what I have read, that is to be expected since serialization is used internaly to csla.net. Again, based on what I have read, I think I need to use the DataMapper to map the objects to DTOs (or Dictionary objects) and pass them. Since I have several layers of csla objects to map, and want to hide that work, can I use the OnSerializing events to create the dictionary objects for each csla object and pass that structure through the message object?
Is this the proper thing to do? Has anyone else done anything similar to this?
Thanks
Copyright (c) Marimer LLC