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

IAppointmentDependencyFactory.CreateAppointmentDependency(Object, Object) Method

Creates a dependency between two appointments specified by their Ids.

Namespace: DevExpress.XtraScheduler

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

Declaration

AppointmentDependency CreateAppointmentDependency(
    object parentId,
    object dependentId
)

Parameters

Name Type Description
parentId Object

An object that is the ID of the parent appointment.

dependentId Object

An object that is the ID of the dependent appointment.

Returns

Type Description
AppointmentDependency

An AppointmentDependency object.

Remarks

The CreateAppointmentDependency method uses the appointment dependency factory to create the appointment dependency and adds custom fields as required by previously specified appointment dependency mappings.

Use the ISchedulerStorageBase.SetAppointmentDependencyFactory method to specify a custom factory.

See Also