I have seemed to resolved my initial issue with the NullReferenceException. I added lines for the
However, I am not sure what I should set these properties to. As I said before the NullReferenceException has been fixed anytime that I attempt to delete or modify a single occurrence, but now if I try to save back to the database, the database doesn't get updated.
I have been looking around for examples on what I should set the above properties to. In the demo it shows,
appointmentMappingInfo.Exceptions = "Exceptions"
appointmentMappingInfo.MasterEventId = "MasterAppointment"
But doesn't go into detail where these values should be set.
I have found a blog,
appointmentMappingInfo.Exceptions = "AppointmentsAppointments";
appointmentMappingInfo.MasterEventId = "ParentID";
which suggests that the Exceptions property should be pointing to a DataRelation, but doesn't go into details about what it is relating.
Any help or examples you could give me would be greatly appreciated.