public void UpdateValuesFromModel() { District.MoveCurrentTo(DbEntity.District); if (DbEntity.District != null) { Street = new ListCollectionView((new[] { NullStreet }).Concat(DbEntity.District.Streets).ToList()); Street.MoveCurrentTo(DbEntity.Street); } _Id = DbEntity.Id; CreateDate = DbEntity.CreateDate; DealVariant.MoveCurrentTo(DbEntity.DealVariant); Condition.MoveCurrentTo(DbEntity.Condition); Description = DbEntity.Description; HasVideo = DbEntity.HasVideo; Ownership.MoveCurrentTo(DbEntity.Ownership); Price = DbEntity.Price.HasValue ? DbEntity.Price.Value.ToString(NumberFormatInfo.CurrentInfo) : null; Realtor.MoveCurrentTo(DbEntity.Realtor); TerritorialNumber = DbEntity.TerritorialNumber; UpdateValuesFromConcreteModel(); }