From 7ff356a01d1b5e8c5d415cd38da76a478b0a2cc6 Mon Sep 17 00:00:00 2001 From: Rene Evertz Date: Wed, 17 Jul 2024 14:34:26 +0200 Subject: [PATCH] Entity - 2 Objekt Verweise DC - nur Wohnheim -> Wohneinheit Vm - 2 Objekt Verweise --- BeWo/View/Controls/WohneinheitEditPopup.xaml | 2 +- BeWo/View/Detail/WohnheimView.xaml | 14 ++++++-- BeWo/View/Detail/WohnheimView.xaml.cs | 11 +++++- .../ListViewModel/WohneinheitListVM.cs | 5 +-- BeWo/ViewModel/WohneinheitVM.cs | 23 ++++++------- BeWo/ViewModel/WohnheimVM.cs | 2 +- Data/Entities/Wohneinheit.cs | 29 ++++++++++++---- Data/Mappings/Wohneinheit.hbm.xml | 5 ++- Data/Mappings/Wohnheim.hbm.xml | 4 +-- Model/Changes_2024_07_15 Wohneinheit.txt | 1 + .../DCEntityMapper/AbstractIDCEntityMapper.cs | 5 +-- .../WohneinheitDC_Wohneinheit.cs | 34 ++++++++++++++++--- Service/DCEntityMapper/WohnheimDC_Wohnheim.cs | 11 +++--- .../CustomerServiceImp.cs | 1 - Shared/DataContracts/WohneinheitDC.cs | 1 - 15 files changed, 103 insertions(+), 45 deletions(-) diff --git a/BeWo/View/Controls/WohneinheitEditPopup.xaml b/BeWo/View/Controls/WohneinheitEditPopup.xaml index 618258f8c..f5937bae6 100644 --- a/BeWo/View/Controls/WohneinheitEditPopup.xaml +++ b/BeWo/View/Controls/WohneinheitEditPopup.xaml @@ -8,7 +8,7 @@ mc:Ignorable="d" Width="500" StaysOpen="True" Placement="MousePoint" Opened="Popup_Opened"> - + diff --git a/BeWo/View/Detail/WohnheimView.xaml b/BeWo/View/Detail/WohnheimView.xaml index c4bd5c567..46ef3be68 100644 --- a/BeWo/View/Detail/WohnheimView.xaml +++ b/BeWo/View/Detail/WohnheimView.xaml @@ -327,6 +327,16 @@