OrganizationServiceContext.UpdateObject Method (Entity, Boolean)

 

Updated: November 29, 2016

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

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

Namespace:   Microsoft.Xrm.Sdk.Client
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

public void UpdateObject(
	Entity entity,
	bool recursive
)

Parameters

entity
Type: Microsoft.Xrm.Sdk.Entity

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

recursive
Type: System.Boolean

Type: Boolean. true if operation should be recursive; otherwise false.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Show: