Mappings
- 4 minutes to read
#Overview
When you bind the Scheduler to a data source, you need to map appointments, resources, labels and statuses properties to data source fields. The names of the database fields are usually fixed, and you cannot change them. Mappings are used to adjust the Scheduler data model to the existing data model.
The SchedulerControl uses Mapping instances to connect the object properties with the corresponding data fields. Use the Mapping.Converter property to register a value converter for a custom storage format. Review the Mapping Converters topic for more information.
You can define Custom Mappings - any number of mappings to data source fields that are not used by the Scheduler itself. The content of these fields is available using the SourceObjectContainer.CustomFields property of the AppointmentItem, ResourceItem, AppointmentLabelItem and AppointmentStatusItem objects. To specify a custom mapping, create a CustomFieldMapping instance and add it to the MappingsBase.CustomFieldMappings collection. To learn more, see the Custom Fields document.
#Appointment Mappings
Mapping | Description |
---|---|
Scheduler |
Specifies the mapping that binds the appointment’s All |
Appointment |
Specifies the mapping that binds the appointment’s Appointment |
Appointment |
Specifies the mapping that binds the appointment’s Scheduler |
Appointment |
Gets or sets the mapping that binds the appointment’s Source |
Appointment |
Specifies the mapping that binds the appointment’s Appointment |
Appointment |
Specifies the mapping that binds the appointment’s Appointment |
Appointment |
Specifies the mapping that binds the appointment’s Scheduler |
Appointment |
Specifies the mapping that binds the appointment’s Scheduler |
Appointment |
Gets or sets the mapping that binds the appointment’s Appointment |
Appointment |
Gets or sets the mapping that binds the appointment’s Appointment |
Appointment |
Specifies the mapping that binds the appointment’s Scheduler |
Appointment |
Specifies the mapping that binds the appointment’s Scheduler |
Appointment |
Gets or sets the mapping that binds the appointment’s Appointment |
Appointment |
Specifies the mapping that binds the appointment’s Appointment |
Appointment |
Specifies the mapping that binds the appointment’s Scheduler |
Appointment |
Gets or sets the mapping that binds the appointment’s Appointment |
#Appointment Label Mappings
Mapping | Description |
---|---|
Appointment |
Gets or sets the mapping that binds the appointment label’s Appointment |
Appointment |
Gets or sets the mapping that binds the appointment label’s Appointment |
Appointment |
Specifies the format type used to store the brush information. |
Appointment |
Gets or sets the mapping that binds the appointment label’s Appointment |
Appointment |
Gets or sets the mapping that binds the appointment label’s Source |
#Appointment Status Mappings
Mapping | Description |
---|---|
Appointment |
Specifies the mapping that binds the appointment label’s Appointment |
Appointment |
Gets or sets the mapping that binds the appointment label’s Appointment |
Appointment |
Specifies the type of format used to store the brush information. |
Appointment |
Specifies the mapping that binds the appointment status’s Appointment |
Appointment |
Specifies the mapping that binds the appointment status’s Source |
#Resource Mappings
Mapping | Description |
---|---|
Resource |
Specifies the mapping that binds the resource’s Resource |
Resource |
Specifies the mapping that binds the resource’s Resource |
Resource |
Specifies the format type used to store the brush information. |
Resource |
Specifies the mapping that binds the resource’s Resource |
Resource |
Specifies the mapping that binds the resource’s Source |
Resource |
Gets or sets the mapping that binds the appointment’s Resource |
#Time Region Mappings
Mapping | Description |
---|---|
Time |
Gets or sets the mapping that binds the time region’s Time |
Time |
Gets or sets the mapping that binds the time region’s Time |
Time |
Specifies the type of format used to store the brush information. |
Time |
Gets or sets the mapping that binds the time region’s Time |