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

            if (t == null)
            {
                return(false);
            }
            if (Identifier.Equals(t.Identifier))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Пример #2
0
 public SubstanceCodeEN(SubstanceCodeEN substanceCode)
 {
     this.init(Identifier, substanceCode.Code, substanceCode.Display, substanceCode.Ingredient);
 }