Skip to main content

IAppointmentStorageBase.ResourceSharing Property

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

Namespace: DevExpress.XtraScheduler

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

NuGet Package: DevExpress.Scheduler.Core

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