OrganizationServiceContext.UpdateObject Method (Entity, Boolean)
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)
Syntax
public void UpdateObject(
Entity entity,
bool recursive
)
Public Sub UpdateObject (
entity As Entity,
recursive As Boolean
)
Parameters
entity
Type: Microsoft.Xrm.Sdk.EntityType: Entity. The tracked entity to be assigned to the Modified state.
recursive
Type: System.BooleanType: Boolean. true if operation should be recursive; otherwise false.
See Also
UpdateObject Overload
OrganizationServiceContext Class
Microsoft.Xrm.Sdk.Client Namespace
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright