public virtual AttributeValueStateMergePatchedDto NewAttributeValueStateMergePatched(string value) { var e = new AttributeValueStateMergePatchedDto(); var eId = NewAttributeValueStateEventId(value); e.StateEventId = eId; return(e); }
public virtual AttributeValueStateMergePatchedDto ToAttributeValueStateMergePatchedDto(IAttributeValueStateMergePatched e) { var dto = new AttributeValueStateMergePatchedDto(); dto.AttributeValueEventId = e.AttributeValueEventId; dto.CreatedAt = e.CreatedAt; dto.CreatedBy = e.CreatedBy; dto.Version = e.Version; dto.CommandId = e.CommandId; dto.AttributeValueName = e.AttributeValueName; dto.Description = e.Description; dto.ReferenceId = e.ReferenceId; dto.Active = e.Active; dto.IsPropertyAttributeValueNameRemoved = e.IsPropertyAttributeValueNameRemoved; dto.IsPropertyDescriptionRemoved = e.IsPropertyDescriptionRemoved; dto.IsPropertyReferenceIdRemoved = e.IsPropertyReferenceIdRemoved; dto.IsPropertyActiveRemoved = e.IsPropertyActiveRemoved; return(dto); }