public TelecomDeviceRegistrationObject(TelecomDeviceRegistrationDbRecord dbRecord) : base(dbRecord)
 {
     DbRecord.Address = DbRecord.Address ?? new GeographicAddressDbRecord();
     DbRecord.Device  = DbRecord.Device ?? new TelecomAddressDbRecord();
     Address          = AddressObjectFactory.Create(DbRecord.Address) as GeographicAddressObject;
     Device           = AddressObjectFactory.Create(DbRecord.Device) as TelecomAddressObject;
 }
 public AddressObjectsList(IEnumerable <AddressDbRecord> items, RepositoryPage page) : base(page)
 {
     if (items is null)
     {
         return;
     }
     foreach (var dbRecord in items)
     {
         Add(AddressObjectFactory.Create(dbRecord));
     }
 }