public override bool Equals(object obj)
        {
            if (Object.ReferenceEquals(this, obj))
            {
                return(true);
            }

            OrganizationStructureIdDto other = obj as OrganizationStructureIdDto;

            if (other == null)
            {
                return(false);
            }

            return(_value.Equals(other._value));
        }
Example #2
0
        public override bool Equals(object obj)
        {
            if (Object.ReferenceEquals(this, obj))
            {
                return(true);
            }

            OrganizationStructureIdDto other = obj as OrganizationStructureIdDto;

            if (other == null)
            {
                return(false);
            }

            return(true &&
                   Object.Equals(this.OrganizationStructureTypeId, other.OrganizationStructureTypeId) &&
                   Object.Equals(this.ParentId, other.ParentId) &&
                   Object.Equals(this.SubsidiaryId, other.SubsidiaryId)
                   );
        }
 public OrganizationStructureIdFlattenedDto(OrganizationStructureId val)
 {
     this._value = new OrganizationStructureIdDtoWrapper(val);
 }
 public OrganizationStructureIdFlattenedDto(OrganizationStructureIdDto val)
 {
     this._value = val;
 }