Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

OrganizationServiceContext.UpdateObject Method

Definition

Namespace:
Microsoft.Xrm.Sdk.Client
Assembly:
Microsoft.Xrm.Sdk.dll
Package:
Microsoft.PowerPlatform.Dataverse.Client v1.2.10

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Overloads

Name Description
UpdateObject(Entity)

Changes the state of the specified entity in the OrganizationServiceContext to Modified.

UpdateObject(Entity, Boolean)

Changes the state of the specified entity in the OrganizationServiceContext to Modified.

UpdateObject(Entity)

Changes the state of the specified entity in the OrganizationServiceContext to Modified.

public:
 void UpdateObject(Microsoft::Xrm::Sdk::Entity ^ entity);
public void UpdateObject(Microsoft.Xrm.Sdk.Entity entity);
member this.UpdateObject : Microsoft.Xrm.Sdk.Entity -> unit
Public Sub UpdateObject (entity As Entity)

Parameters

entity
Entity

The tracked entity to be assigned to the Modified state.

Applies to

UpdateObject(Entity, Boolean)

Changes the state of the specified entity in the OrganizationServiceContext to Modified.

public:
 void UpdateObject(Microsoft::Xrm::Sdk::Entity ^ entity, bool recursive);
public void UpdateObject(Microsoft.Xrm.Sdk.Entity entity, bool recursive);
member this.UpdateObject : Microsoft.Xrm.Sdk.Entity * bool -> unit
Public Sub UpdateObject (entity As Entity, recursive As Boolean)

Parameters

entity
Entity

The tracked entity to be assigned to the Modified state.

recursive
Boolean

true if operation should be recursive; otherwise false.

Applies to