Beispiel #1
0
        public virtual AttributeUseStateMergePatchedDto NewAttributeUseStateMergePatched(string attributeId)
        {
            var e   = new AttributeUseStateMergePatchedDto();
            var eId = NewAttributeUseEventId(attributeId);

            e.AttributeUseEventId = eId;
            return(e);
        }
        public virtual AttributeUseStateMergePatchedDto ToAttributeUseStateMergePatchedDto(IAttributeUseStateMergePatched e)
        {
            var dto = new AttributeUseStateMergePatchedDto();

            dto.StateEventId   = new AttributeUseStateEventIdDtoWrapper(e.StateEventId);
            dto.CreatedAt      = e.CreatedAt;
            dto.CreatedBy      = e.CreatedBy;
            dto.Version        = e.Version;
            dto.CommandId      = e.CommandId;
            dto.SequenceNumber = e.SequenceNumber;
            dto.Active         = e.Active;
            dto.IsPropertySequenceNumberRemoved = e.IsPropertySequenceNumberRemoved;
            dto.IsPropertyActiveRemoved         = e.IsPropertyActiveRemoved;

            return(dto);
        }