Пример #1
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            IMAppointmentEN t = obj as IMAppointmentEN;

            if (t == null)
            {
                return(false);
            }
            if (Id.Equals(t.Id))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Пример #2
0
 public IMAppointmentEN(IMAppointmentEN iMAppointment)
 {
     this.init(Id, iMAppointment.Date, iMAppointment.Appointment, iMAppointment.Name, iMAppointment.OriginAssociation, iMAppointment.TargetAssociation, iMAppointment.Scenario, iMAppointment.Description, iMAppointment.Operations, iMAppointment.Attributes, iMAppointment.States);
 }