SchedulerExtension.GetAppointmentsToUpdate<T>(SchedulerSettings, Object) Method

Obtains appointments whose data should be updated in the data source.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v20.2.dll

Declaration

public static T[] GetAppointmentsToUpdate<T>(
    SchedulerSettings settings,
    object appointmentDataObject
)
Public Shared Function GetAppointmentsToUpdate(Of T)(
    settings As SchedulerSettings,
    appointmentDataObject As Object
) As T()

Parameters

Name Type Description
settings SchedulerSettings

A SchedulerSettings object containing settings applied to the Scheduler.

appointmentDataObject Object

A collection of appointments in the scheduler.

Type Parameters

Name
T

Returns

Type Description
T[]

A Model data class instance that is the entity contained in the appointment data source and mapped to an appointment.

Remarks

The GetAppointmentsToUpdate<T> method instantiates a Scheduler and applies the specified settings. Then, an appointment being inserted is retrieved from this Scheduler instance.

See Also