Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxSchedulerDBStorage.OnGetEventGeneratedID Event

In This Article

Fires when the details on a new user event have been posted to the database and a new unique identifier has been generated but not yet assigned to the new user event.

#Declaration

Delphi
property OnGetEventGeneratedID: TcxSchedulerGetEventGeneratedIDEvent read; write;

#Remarks

In the case of concurrent access to the data store by multiple transactions when a batch of user events is posted to the database there is no guarantee that the cursor will be set to the record associated with the user event.

Implement a handler for the OnGetEventGeneratedID event to synchronize the new user event object with the corresponding record in the dataset.

The Sender parameter specifies the storage manager component.

The AEvent parameter specifies the newly created user event that was recorded in the data store.

The EventID parameter specifies the unique ID associated with the new user event.

Note

the OnGetEventGeneratedID event only fires if the GenerateGUIDForID property is set to False.

See Also