How to use post(update) of data having child objects in them
问题 My data looks something like this. "Name":"name16", "Description":"Sampledatatest", "Remarks":"testat759", "ApprovalStatus":"Waiting", "Curve": [ {"SLength":185,"StrokeVolume":200,ParentId: 0}, {"SLength":185,"StrokeVolume":200,ParentId: 0}, {"SLength":185,"StrokeVolume":200,ParentId: 0}, {"SLength":185,"StrokeVolume":200,ParentId: 0} ] And this is my update function function updatep(e) { var Data = { PId: e.model.PId != "" && e.model.PId > 0 ? e.model.PId : 0, Name: e.model.Name, Description