Example #1
0
 internal void PopulateModel()
 {
     Item.Name        = Name.GetValue <string>();
     Item.Email       = Email.GetValue <string>();
     Item.Number      = Number.GetValue <int>();
     Item.Tel         = Tel.GetValue <string>();
     Item.Notes       = Notes.GetValue <string>();
     Item.DateOfBirth = DateOfBirth.GetValue <DateTime?>();
     Item.TimeOfBirth = TimeOfBirth.GetValue <TimeSpan?>();
     Item.Type        = Type.GetValue <Domain.ContactType>();
     Item.Photo       = Photo.GetValue <Document>();
     Item.IsNice      = IsNice.GetValue <bool?>();
 }