Child_Insert, Clone, [NotUndoable, NonSerialized] field

Child_Insert, Clone, [NotUndoable, NonSerialized] field

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


fsl posted on Tuesday, December 08, 2009

Hi

After a successful child_insert on a business child object, a [NotUndoable, NonSerialized] field on another child object in the same list is null. I guess some clone operation is carried out by the dataportal?

All methods relating to the dataportal i.e. child_insert etc, explicitly sets the field..

How should I handle such nonserializable fields?

ajj3085 replied on Tuesday, December 08, 2009

If the field isn't serialized, it won't be included when it goes through the dataportal in either direction.  So you'll have to recreate the value on the other end if you need it.

fsl replied on Tuesday, December 08, 2009

Thx. That exactly what I'm trying to do. I just discovered the OnDeserialized event, so I guess my troubles are over :)

ajj3085 replied on Tuesday, December 08, 2009

Opps... ya I probably should have pointed that out. Embarrassed [:$]  but glad you were able to find it on your own. 

Copyright (c) Marimer LLC