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); } }
public SubstanceCodeEN(SubstanceCodeEN substanceCode) { this.init(Identifier, substanceCode.Code, substanceCode.Display, substanceCode.Ingredient); }