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

            if (t == null)
            {
                return(false);
            }
            if (Id.Equals(t.Id))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Пример #2
0
 public IMMedicationEN(IMMedicationEN iMMedication)
 {
     this.init(Id, iMMedication.Medication, iMMedication.Name, iMMedication.Type, iMMedication.IsOID, iMMedication.TargetAssociation, iMMedication.OriginAsociation, iMMedication.AssociationType, iMMedication.IsWritable, iMMedication.Description, iMMedication.Entity, iMMedication.Trigger, iMMedication.Register, iMMedication.Value);
 }