예제 #1
0
        public override bool Equals(object obj)
        {
            if (Object.ReferenceEquals(this, obj))
            {
                return(true);
            }

            AttributeValueIdDto other = obj as AttributeValueIdDto;

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

            return(true &&
                   Object.Equals(this.AttributeId, other.AttributeId) &&
                   Object.Equals(this.Value, other.Value)
                   );
        }
 public AttributeValueIdFlattenedDto(AttributeValueId val)
 {
     this._value = new AttributeValueIdDtoWrapper(val);
 }
 public AttributeValueIdFlattenedDto(AttributeValueIdDto val)
 {
     this._value = val;
 }