public static void AddIdentifier(ProfilesRNSDLL.BO.ORCID.PersonWork personWork, ProfilesRNSDLL.BO.ORCID.REFWorkExternalType.REFWorkExternalTypes workExternalType, string identifier) { ProfilesRNSDLL.BO.ORCID.PersonWorkIdentifier workIdentifier = new ProfilesRNSDLL.BLL.ORCID.PersonWorkIdentifier().GetByPersonWorkIDAndWorkExternalTypeIDAndIdentifier(personWork.PersonWorkID, (int)workExternalType, identifier); workIdentifier.WorkExternalTypeID = (int)workExternalType; workIdentifier.Identifier = identifier; personWork.Identifiers.Add(workIdentifier); }
public static void AddIdentifier(ProfilesRNSDLL.BO.ORCID.PersonWork personWork, ProfilesRNSDLL.BO.ORCID.REFWorkExternalType.REFWorkExternalTypes workExternalType, string identifier) { ProfilesRNSDLL.BO.ORCID.PersonWorkIdentifier workIdentifier = new ProfilesRNSDLL.BLL.ORCID.PersonWorkIdentifier().GetByPersonWorkIDAndWorkExternalTypeIDAndIdentifier(personWork.PersonWorkID, (int)workExternalType, identifier); workIdentifier.WorkExternalTypeID = (int)workExternalType; workIdentifier.Identifier = identifier; personWork.Identifiers.Add(workIdentifier); }