Skip to main content

AppointmentMappingInfo.AppointmentId Property

Gets or sets the data field to which an appointment’s PersistentObject.Id property is bound.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.2.Core.dll

Declaration

[DefaultValue("")]
public virtual string AppointmentId { get; set; }

Property Value

Type Default Description
String String.Empty

A String value that specifies the name of the bound data field.

Remarks

Use the AppointmentId property to bind an appointment’s PersistentObject.Id property to a data field in the external data source. The data source is specified by the PersistentObjectStorage<T>.DataSource property of the AppointmentDataStorage.

If your application relies on Appointment.Id, you should provide methods for assigning the ID and updating the underlying data source with the actual ID value, as described in the PersistentObject.Id article. Consider using the AppointmentStorage.CommitIdToDataSource and the AppointmentStorage.AutoRetrieveId properties in different identifier generation scenarios.

The following code snippets (auto-collected from DevExpress Examples) contain references to the AppointmentId property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also