示例#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);
 }