// Set the course appearance for this event. public static void ChangeCourseAppearance(EventDB eventDB, CourseAppearance courseAppearance) { Event e = eventDB.GetEvent(); e = (Event) e.Clone(); e.courseAppearance = (CourseAppearance) courseAppearance.Clone(); eventDB.ChangeEvent(e); }