/// <remarks/>
 public System.IAsyncResult BeginUpdateAppointment1(UpdateAppointmentSetupProtocol setupParam, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("UpdateAppointment1", new object[] {
                 setupParam}, callback, asyncState);
 }
 public ToolkitResultProtocol UpdateAppointment(UpdateAppointmentSetupProtocol setupParam)
 {
     object[] results = this.Invoke("UpdateAppointment1", new object[] {
                 setupParam});
     return ((ToolkitResultProtocol)(results[0]));
 }
        internal Protocol.UpdateAppointmentSetupProtocol ToProtocol()
        {
            Protocol.UpdateAppointmentSetupProtocol protocol = new Protocol.UpdateAppointmentSetupProtocol();

            protocol.AppointmentObjid = this.AppointmentObjid;
            protocol.StartDate = this.StartDate;
            protocol.EndDate = this.EndDate;
            protocol.Duration = this.Duration;
            protocol.Description = this.Description;
            protocol.CellText = this.CellText;
            protocol.AppointmentClass = this.AppointmentClass;
            protocol.AppointmentType = this.AppointmentType;
            protocol.UserName = this.UserName;
            protocol.CreateDate = this.CreateDate;
            protocol.ConstructorCue = this.ConstructorCue;
            protocol.DirtyFieldFlags = this.DirtyFieldFlags;

            return protocol;
        }