public virtual AttributeSetInstanceExtensionFieldStateMergePatchedDto NewAttributeSetInstanceExtensionFieldStateMergePatched(string index)
        {
            var e   = new AttributeSetInstanceExtensionFieldStateMergePatchedDto();
            var eId = NewAttributeSetInstanceExtensionFieldStateEventId(index);

            e.StateEventId = eId;
            return(e);
        }
        public virtual AttributeSetInstanceExtensionFieldStateMergePatchedDto ToAttributeSetInstanceExtensionFieldStateMergePatchedDto(IAttributeSetInstanceExtensionFieldStateMergePatched e)
        {
            var dto = new AttributeSetInstanceExtensionFieldStateMergePatchedDto();

            dto.StateEventId                 = new AttributeSetInstanceExtensionFieldStateEventIdDtoWrapper(e.StateEventId);
            dto.CreatedAt                    = e.CreatedAt;
            dto.CreatedBy                    = e.CreatedBy;
            dto.Version                      = e.Version;
            dto.CommandId                    = e.CommandId;
            dto.Name                         = e.Name;
            dto.Type                         = e.Type;
            dto.Length                       = e.Length;
            dto.Alias                        = e.Alias;
            dto.Description                  = e.Description;
            dto.Active                       = e.Active;
            dto.IsPropertyNameRemoved        = e.IsPropertyNameRemoved;
            dto.IsPropertyTypeRemoved        = e.IsPropertyTypeRemoved;
            dto.IsPropertyLengthRemoved      = e.IsPropertyLengthRemoved;
            dto.IsPropertyAliasRemoved       = e.IsPropertyAliasRemoved;
            dto.IsPropertyDescriptionRemoved = e.IsPropertyDescriptionRemoved;
            dto.IsPropertyActiveRemoved      = e.IsPropertyActiveRemoved;

            return(dto);
        }