private AttributeValueStateEventIdDto NewAttributeValueStateEventId(string value)
        {
            var eId = new AttributeValueStateEventIdDto();

            eId.AttributeId      = this.StateEventId.AttributeId;
            eId.Value            = value;
            eId.AttributeVersion = this.StateEventId.Version;
            return(eId);
        }
        public override bool Equals(object obj)
        {
            if (Object.ReferenceEquals(this, obj))
            {
                return(true);
            }

            AttributeValueStateEventIdDto other = obj as AttributeValueStateEventIdDto;

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

            return(_value.Equals(other._value));
        }
 protected AttributeValueStateEventDtoBase(AttributeValueStateEventIdDto stateEventId)
 {
     this.StateEventId = stateEventId;
 }