Ejemplo n.º 1
0
        public virtual OrderRoleStateMergePatchedDto NewOrderRoleStateMergePatched(PartyRoleId partyRoleId)
        {
            var e   = new OrderRoleStateMergePatchedDto();
            var eId = NewOrderRoleEventId(partyRoleId);

            e.OrderRoleEventId = eId;
            return(e);
        }
Ejemplo n.º 2
0
        public virtual OrderRoleStateMergePatchedDto ToOrderRoleStateMergePatchedDto(IOrderRoleStateMergePatched e)
        {
            var dto = new OrderRoleStateMergePatchedDto();

            dto.OrderRoleEventId        = e.OrderRoleEventId;
            dto.CreatedAt               = e.CreatedAt;
            dto.CreatedBy               = e.CreatedBy;
            dto.Version                 = e.Version;
            dto.CommandId               = e.CommandId;
            dto.Active                  = e.Active;
            dto.IsPropertyActiveRemoved = e.IsPropertyActiveRemoved;

            return(dto);
        }