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.v20.1.Core.dll

Declaration

[DefaultValue("")]
public virtual string AppointmentId { get; set; }
<DefaultValue("")>
Public Overridable Property AppointmentId As String

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.

See Also