IExecutionContext.PrimaryEntityId Property

 

Gets the GUID of the primary entity for which the pipeline is processing events.

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

Guid PrimaryEntityId { get; }

Property Value

Type: System.Guid

Type: Guid
The GUID of the primary entity for which the pipeline is processing events. For example, if the event pipeline is processing an account, this corresponds to the AccountId attribute, which is the primary key for the Account entity.

Return to top

Microsoft Dynamics CRM 2016 and CRM Online

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

Show: