You can use the method DataServiceTransaction.updateItem(..) to update
association properties as well.  You need to create an instance of the
parent object, fully populate the association property with the new
values, then specify the property name (or names) you changed in the
"changes" parameter.   You can supply null for the previous item of
course unless you want to do conflict detection.  

 

We're adding better support for incremental updates of association
properties in general in the next version. 

 

Jeff

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Kevin
Sent: Thursday, January 10, 2008 10:55 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Manual refresh nested collection in LCDS managed
object

 

I am wondering if there is a way to manually refresh a nested
collection from the server. If I have an object with nested
collections, I know how to refresh the collection holding the parent
object, but is there a way to refresh just the object OR just a
collection inside the object.

All my collections have association destinations, but the nested
collections are filled automatically from the parent object and not
from an explicit call that we make so I am not sure how best to
refresh them manually if needed.

I assume there is something basic here I am missing.

Thanks,

Kevin

 

Reply via email to