Skip to main content
A newer version of this page is available. .

IAppointmentStorageBase.ResourceSharing Property

Gets or sets a value indicating whether an appointment can be associated with multiple resources.

Namespace: DevExpress.XtraScheduler

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

Declaration

bool ResourceSharing { get; set; }

Property Value

Type Description
Boolean

true, if the resource sharing is enabled; otherwise, false.

Remarks

If resource sharing is enabled, the Appointment.ResourceIds property contains a ResourceIdCollection collection containing identifiers of associated resources. The Appointment.ResourceId property returns the ID of the first resource in a collection of associated resources.

To store information on shared resources in the bound data source, the AppointmentMappingInfo.ResourceId mapping should specify a data field of the text type. Ensure that its length is sufficient to accommodate the string in XML format containing resource IDs.

If the ResourceSharing is set to false, the AppointmentMappingInfo.ResourceId mapping should specify a data field of the type chosen for resource ID identifier in both appointment and resource data tables. The data field will contain a single resource ID.

See Also