I am facing this exception when trying to call ERList.BeginSave((o,e)=>{.........});
The object that is contained within the collection has the Child_Insert implemented, and it is coded exactly the same way as all my other lists, which are working perfectly.
Any advice?
Standard overloading rules apply. So if the parent object passes any parameters to the save child call, the Child_XYZ methods have to have matching parameters.
When calling Dataportal.updatechildren(x), how can we know what parameters are passed?
Because you pass them in. Whatever you pass to UpdateChildren() is passed to the child methods.
And ERList.Dataportal_Update is not hit.
I don't think Editable Root List has a Dataportal_update. the reason being that the root items in the list are saved individually, so the only dataportal call is for the list item.... actually, editable root list doesn't even have a beginSave (I don't think). Are you using a class derived from BusinessListBase or EditableRootList?
[Serializable()]
public partial class LegTypeERList : Csla.BusinessListBase<LegTypeERList, LegTypeER>
It is a BusinessListBase, with Create/Fetch/Update in the data Access region.
I am at a loss to explain why your Dataportal_Update is not getting invoked on your BLB subclass... can you post your BLB code?
Copyright (c) Marimer LLC