public override Boolean Equals(object obj)
        {
            if ((obj == null) || (obj.GetType() != this.GetType()))
            {
                return(false);
            }
            CONStructureAssociation castObj = (CONStructureAssociation)obj;

            return((castObj != null) && (this.Id == castObj.Id));
        }
        public CONStructureAssociation(CONStructureAssociation data, Options option) : base(data, option)
        {
            if (option == Options.Light || option == Options.Me || option == Options.All)
            {
                //OptionName.Light

                if (option == Options.Me || option == Options.All)
                {
                    this.MainStructure  = (data.MainStructure != null) ? new CONStructure(data.MainStructure, Options.All) : null;
                    this.ChildStructure = (data.ChildStructure != null) ? new CONStructure(data.ChildStructure, Options.All) : null;
                }
            }
        }