共用方式為


OrganizationServiceProxy.Update(Entity) Method

Definition

Updates an existing record.

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

Parameters

entity
Entity

An entity instance that has one or more properties set to be updated in the record.

Implements

Remarks

The core implementation of the Update method. For more information, see IOrganizationService.Update(Entity).

For more information about the exceptions that can be thrown when calling OrganizationServiceProxy methods, see Handle exceptions in your code.

Applies to