Export (0) Print
Expand All

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)

member UpdateObject : 
        entity:Object -> unit

Parameters

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

ExceptionCondition
ArgumentNullException

When entity is a null reference (Nothing in Visual Basic).

ArgumentException

When entity is in the Detached state.

Show:
© 2015 Microsoft