SchedulerStorageBase.CreateAppointmentDependency(Object, Object) Method

Creates a dependency between two appointments specified by their Ids.

Namespace: DevExpress.XtraScheduler

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

Declaration

public AppointmentDependency CreateAppointmentDependency(
    object parentId,
    object dependentId
)
Public Function CreateAppointmentDependency(
    parentId As Object,
    dependentId As Object
) As AppointmentDependency

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 .

You can specify a custom factory using the ISchedulerStorageBase.SetAppointmentDependencyFactory method.

See Also