It's possible to mark classes as mutable="false", which won't allow updates to the class. You can also mark properties with update=false or insert=false so that they don't take part in the insert or update.
But how can you mark an association to a child list so that it can not change? I've tried the mutable=false, but that didn't do the trick.
I.e. order and orderlines, is there a way so that even if I did change the orderlines from the order that it wont save?
in code: orderB.Orderlines = orderA.Orderlines
|