Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DataServiceContext.UpdateObject Method

Changes the state of the specified object in the DataServiceContext to Modified.

Namespace:  System.Data.Services.Client
Assembly:  Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)
public void UpdateObject(
	Object entity
)

Parameters

entity
Type: System.Object
The tracked entity to be assigned to the Modified state.
ExceptionCondition
ArgumentNullException

When entity is null.

ArgumentException

When entity is in the Detached state.

Show:
© 2014 Microsoft. All rights reserved.