Jaa


OrganizationWebProxyClient.Create(Entity) Method

Definition

Creates a record.

public:
 virtual Guid Create(Microsoft::Xrm::Sdk::Entity ^ entity);
public Guid Create (Microsoft.Xrm.Sdk.Entity entity);
abstract member Create : Microsoft.Xrm.Sdk.Entity -> Guid
override this.Create : Microsoft.Xrm.Sdk.Entity -> Guid
Public Function Create (entity As Entity) As Guid

Parameters

entity
Entity

An entity instance that contains the properties to set in the newly created record.

Returns

The ID of the created entity.

Implements

Remarks

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

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

Applies to