Beispiel #1
0
        public virtual PartyStateMergePatchedDto ToPartyStateMergePatchedDto(IPartyStateMergePatched e)
        {
            var dto = new PartyStateMergePatchedDto();

            dto.PartyEventId      = e.PartyEventId;
            dto.CreatedAt         = e.CreatedAt;
            dto.CreatedBy         = e.CreatedBy;
            dto.CommandId         = e.CommandId;
            dto.PartyTypeId       = e.PartyTypeId;
            dto.PrimaryRoleTypeId = e.PrimaryRoleTypeId;
            dto.OrganizationName  = e.OrganizationName;
            dto.Description       = e.Description;
            dto.Type      = e.Type;
            dto.IsSummary = e.IsSummary;
            dto.Active    = e.Active;
            dto.IsPropertyPartyTypeIdRemoved       = e.IsPropertyPartyTypeIdRemoved;
            dto.IsPropertyPrimaryRoleTypeIdRemoved = e.IsPropertyPrimaryRoleTypeIdRemoved;
            dto.IsPropertyOrganizationNameRemoved  = e.IsPropertyOrganizationNameRemoved;
            dto.IsPropertyDescriptionRemoved       = e.IsPropertyDescriptionRemoved;
            dto.IsPropertyTypeRemoved      = e.IsPropertyTypeRemoved;
            dto.IsPropertyIsSummaryRemoved = e.IsPropertyIsSummaryRemoved;
            dto.IsPropertyActiveRemoved    = e.IsPropertyActiveRemoved;

            return(dto);
        }
        public virtual PartyStateMergePatchedDto ToPartyStateMergePatchedDto(IPartyStateMergePatched e)
        {
            var dto = new PartyStateMergePatchedDto();

            dto.PartyEventId           = e.PartyEventId;
            dto.CreatedAt              = e.CreatedAt;
            dto.CreatedBy              = e.CreatedBy;
            dto.CommandId              = e.CommandId;
            dto.PartyTypeId            = e.PartyTypeId;
            dto.PrimaryRoleTypeId      = e.PrimaryRoleTypeId;
            dto.ExternalId             = e.ExternalId;
            dto.PreferredCurrencyUomId = e.PreferredCurrencyUomId;
            dto.Description            = e.Description;
            dto.OrganizationName       = e.OrganizationName;
            dto.IsSummary              = e.IsSummary;
            dto.Salutation             = e.Salutation;
            dto.FirstName              = e.FirstName;
            dto.MiddleName             = e.MiddleName;
            dto.LastName      = e.LastName;
            dto.PersonalTitle = e.PersonalTitle;
            dto.Nickname      = e.Nickname;
            dto.CardId        = e.CardId;
            dto.Active        = e.Active;
            dto.IsPropertyPartyTypeIdRemoved            = e.IsPropertyPartyTypeIdRemoved;
            dto.IsPropertyPrimaryRoleTypeIdRemoved      = e.IsPropertyPrimaryRoleTypeIdRemoved;
            dto.IsPropertyExternalIdRemoved             = e.IsPropertyExternalIdRemoved;
            dto.IsPropertyPreferredCurrencyUomIdRemoved = e.IsPropertyPreferredCurrencyUomIdRemoved;
            dto.IsPropertyDescriptionRemoved            = e.IsPropertyDescriptionRemoved;
            dto.IsPropertyOrganizationNameRemoved       = e.IsPropertyOrganizationNameRemoved;
            dto.IsPropertyIsSummaryRemoved     = e.IsPropertyIsSummaryRemoved;
            dto.IsPropertySalutationRemoved    = e.IsPropertySalutationRemoved;
            dto.IsPropertyFirstNameRemoved     = e.IsPropertyFirstNameRemoved;
            dto.IsPropertyMiddleNameRemoved    = e.IsPropertyMiddleNameRemoved;
            dto.IsPropertyLastNameRemoved      = e.IsPropertyLastNameRemoved;
            dto.IsPropertyPersonalTitleRemoved = e.IsPropertyPersonalTitleRemoved;
            dto.IsPropertyNicknameRemoved      = e.IsPropertyNicknameRemoved;
            dto.IsPropertyCardIdRemoved        = e.IsPropertyCardIdRemoved;
            dto.IsPropertyActiveRemoved        = e.IsPropertyActiveRemoved;

            return(dto);
        }