DataServiceContext.UpdateObject Method
Silverlight
Changes the state of the specified object in the DataServiceContext to Modified.
Namespace: System.Data.Services.Client
Assembly: System.Data.Services.Client (in System.Data.Services.Client.dll)
Parameters
- entity
- Type: System.Object
The tracked entity to be assigned to the Modified state.
| Exception | Condition |
|---|---|
| ArgumentNullException | When entity is null. |
| ArgumentException | When entity is in a Detached state. |
For examples that use the UpdateObject method, see Modifying and Deleting Entity Data (WCF Data Services/Silverlight).
For examples that use the UpdateObject method, see Modifying and Deleting Entity Data (WCF Data Services/Silverlight).
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.