com.Mes.Dss.Entity.MesScmsBom.Equals C# (CSharp) Method

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool
        public override bool Equals(object obj)
        {
            MesScmsBom another = obj as MesScmsBom;

            if (another == null)
            {
                return false;
            }
            else
            {
                return (this.Bom == another.Bom && this.ItemCode == another.ItemCode && this.ProductLine ==another.ProductLine && this.TagNo == another.TagNo);
            }
        }