AppointmentStorage.AutoRetrieveId Property
Gets or sets whether to automatically retrieve an appointment’s identity from a data source.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.2.dll
NuGet Package: DevExpress.Win.Scheduler
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
Boolean | false | True, to retrieve an appointment identifier from the appointment data source; otherwise, false. |
#Remarks
If the AutoRetrieveId property is set to true, the newly created appointment retrieves its identifier from the data adapter or the bound data source after the changes are committed to the data source. Use this setting if the Appointment.Id mapping (AppointmentMappingInfo.AppointmentId property) is specified, the identifier is generated in the data source (e.g. auto-incremented field), and your code uses the appointment’s PersistentObject.Id value. If your code does not use the appointment identifier, leave the AutoRetrieveId property set to its default value.
Note
If the Appointment
Important
This API is intended to be used with the legacy Scheduler
- Scheduler
Data replaces SchedulerStorage Storage - Appointment
Data replaces AppointmentStorage Storage - Resource
Data replaces ResourceStorage Storage - Appointment
Dependency replaces AppointmentData Storage Dependency Storage