public static class MyHelper
{
public static void CascadeCommit(IObjectSpace os, object current, bool reload)
{
os.CommitChanges();
if (os is INestedObjectSpace)
{
IObjectSpace parent = ((INestedObjectSpace)os).ParentObjectSpace;
CascadeCommit(parent, parent.GetObject(current), reload);
}
if (reload && current != null)
{
os.ReloadObject(current);
}
}
}
And then call above method from the action
MyHelper.CascadeCommit(View.ObjectSpace, View.CurrentObject, true);