예제 #1
0
        public ContactTypeWrapper ToContactTypeWrapper(ListItem listItem)
        {
            var result = new ContactTypeWrapper(listItem)
            {
                RelativeItemsCount = DaoFactory.GetListItemDao().GetRelativeItemsCount(ListType.ContactType, listItem.ID)
            };

            return(result);
        }
예제 #2
0
 public ContactType(ContactTypeWrapper contactTypeWrapper)
 {
     ContactTypeID = contactTypeWrapper.ContactTypeID;
     Name          = contactTypeWrapper.Name;
     ModifiedDate  = contactTypeWrapper.ModifiedDate;
 }