Adds the specified object to the set of objects that the DataServiceContext is tracking.
Assembly: System.Data.Services.Client (in System.Data.Services.Client.dll)
The object is put into the tracking set of the DataServiceContext in the added state. The DataServiceContext will try to insert the object by HTTP POST on the next call to BeginSaveChanges. This method does not add objects related to the specified entity to the DataServiceContext. Each object must be added by making a separate call to .
The method does not validate that the entity set specified exists in the data service associated with the DataServiceContext or that the added object has the required properties needed to be added to the specified entity set.
For an example that uses the method, see Creating New Entities with Relationships (WCF Data Services/Silverlight).
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.