SchedulerExtension.GetAppointmentsToUpdate<T>(String, FirstDayOfWeek, FetchAppointmentsMethod, Object, MVCxAppointmentStorage, MVCxResourceStorage) Method
Obtains appointments whose data should be updated in the data source.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public static T[] GetAppointmentsToUpdate<T>(
string schedulerName,
FirstDayOfWeek firstDayOfWeek,
FetchAppointmentsMethod fetchAppointmentsMethod,
object resourceDataObject,
MVCxAppointmentStorage appointmentStorage,
MVCxResourceStorage resourceStorage
)
#Parameters
Name | Type | Description |
---|---|---|
scheduler |
String | The name of a Scheduler as specified by the Settings |
first |
First |
A First |
fetch |
Fetch |
A Fetch |
resource |
Object | A collection of resources in the scheduler. |
appointment |
MVCx |
An MVCx |
resource |
MVCx |
An MVCx |
#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 creates a fake Scheduler but does not apply all scheduler settings specified in the view, for better performance. Then, an appointment being inserted is retrieved from this Scheduler instance.