Partager via


IExecutionContext.PrimaryEntityId Property

Definition

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

public:
 property Guid PrimaryEntityId { Guid get(); };
public Guid PrimaryEntityId { get; }
member this.PrimaryEntityId : Guid
Public ReadOnly Property PrimaryEntityId As Guid

Property Value

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.

Applies to