Κοινή χρήση μέσω


OrganizationServiceContext.UpdateObject Method

Definition

Overloads

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