Exemple #1
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            MedicationEN t = obj as MedicationEN;

            if (t == null)
            {
                return(false);
            }
            if (ProductReference.Equals(t.ProductReference))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Exemple #2
0
 public MedicationEN(MedicationEN medication)
 {
     this.init(ProductReference, medication.CareActivity, medication.Name, medication.Manufacturer, medication.Description, medication.Dosage, medication.Form, medication.MedicationCode);
 }