Пример #1
0
        internal static EmailDto ToDto(this EmailAddressEntity ent)
        {
            if (ent == null)
            {
                return(null);
            }

            return(new EmailDto
            {
                EmailType = (EmailType)ent.EmailType,
                Address = ent.Email
            });
        }
 String GetCollectionItemXmlElementName(EmailAddressEntity complexProperty)
 {
     return(XmlElementNames.NlgEmailAddress);
 }