Skip to main content

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

OBSOLETE

Use the GetAppointmentsToInsert method instead.

Obtains appointments which should be inserted into the data source.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

[Obsolete("Use the GetAppointmentsToInsert method instead.")]
public static T GetAppointmentToInsert<T>(
    SchedulerSettings settings,
    object appointmentDataObject,
    object resourceDataObject
)

Parameters

Name Type Description
settings SchedulerSettings

A SchedulerSettings object containing settings applied to the Scheduler

appointmentDataObject Object

A collection of appointments in the scheduler.

resourceDataObject Object

A collection of resources 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 GetAppointmentToInsert<T> method instantiates a Scheduler and applies the specified settings. Then, an appointment being inserted is retrieved from this Scheduler instance.

The following code snippets (auto-collected from DevExpress Examples) contain references to the GetAppointmentToInsert<T>(SchedulerSettings, Object, Object) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also