In order to add new threads or reply to existing posts, you have to be logged-in. If you are not registered yet, you need to register first, and then login with your personal credentials.
When cloning an object with child objects an exception is raised if the child collection is null.
I propose the following addition to the template to avoid the problem:
protected override void OnDeserialized(System.Runtime.Serialization.StreamingContext context) { <# foreach(Reference child in BusinessObject.GetBusinessObjectListReferences()) { #> if (_<#= TTHelper.ToFieldName(child.Name) #> != null) _<#= TTHelper.ToFieldName(child.Name) #>.ListChanged += new System.ComponentModel.ListChangedEventHandler(<#= TTHelper.ToPropertyName(child.Name) #>_ListChanged); <# } #> } How is it going with the beta?
Hallo Peter,
thanks for the feedback. We will fix the bug for the beta release.
Currently we have some problems to build the setup.exe for the CslaFactory. We are working very hard to fix the problems over the x-Mas days. We hope to ship the Beta in january. Sorry, sorry for this horrible delay. In future we we plan shorter iterations.
Regards
Josef
Shorter iterations sounds like a good idea :-)
I wish you a merry x-mas and hopefully a good new year for CslaFactory.
Peter
I wish you also a merry x-mas and a happy new year.