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)

'Declaration
Public Sub UpdateObject ( _
	entity As Object _
)
'Usage
Dim instance As DataServiceContext 
Dim entity As Object

instance.UpdateObject(entity)

Parameters

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

ExceptionCondition
ArgumentNullException

When entity is Nothing.

ArgumentException

When entity is in the Detached state.

Show:
© 2014 Microsoft