コード例 #1
0
        public virtual AttributeAliasStateMergePatchedDto NewAttributeAliasStateMergePatched(string code)
        {
            var e   = new AttributeAliasStateMergePatchedDto();
            var eId = NewAttributeAliasEventId(code);

            e.AttributeAliasEventId = eId;
            return(e);
        }
コード例 #2
0
        public virtual AttributeAliasStateMergePatchedDto ToAttributeAliasStateMergePatchedDto(IAttributeAliasStateMergePatched e)
        {
            var dto = new AttributeAliasStateMergePatchedDto();

            dto.AttributeAliasEventId = e.AttributeAliasEventId;
            dto.CreatedAt             = e.CreatedAt;
            dto.CreatedBy             = e.CreatedBy;
            dto.Version                 = e.Version;
            dto.CommandId               = e.CommandId;
            dto.Name                    = e.Name;
            dto.Active                  = e.Active;
            dto.IsPropertyNameRemoved   = e.IsPropertyNameRemoved;
            dto.IsPropertyActiveRemoved = e.IsPropertyActiveRemoved;

            return(dto);
        }