SuperOffice.CRM.Entities namespace exposes entity collections such as AppointmentCollection and PersonCollection. It is therefore possible to create an Appointment entity and assign it to the collection and thereby saving the collection the Appointment entity will be saved.
The following example demonstrates the method of doing the above.
Code
CS
Walk-through
After creating an instance of theAppointment entity and assigning the desired values the next step is to assign the created appointment to the collection.
First, we create an AppointmentCollection and then add the appointment to the collection using the Add method.
Once it has been added, the collection can be saved:
CS