From b8549bb60a039dda19b2c8caacf00a9c44c9e729 Mon Sep 17 00:00:00 2001 From: Francesco Date: Sun, 26 Jul 2020 14:28:12 +0200 Subject: [PATCH] WIP - DB-Clls failing on Locations (Add, Update) --- LoggingClient/LoggingClient/MainWindow.xaml | 17 +- .../LoggingClient/MainWindow.xaml.cs | 22 +-- LoggingClient/LoggingClient/Model/Location.cs | 61 ++++++- LoggingClient/LoggingClient/Model/Logging.cs | 24 ++- .../Repository/LocationRepository.cs | 14 +- .../Repository/LoggingRepository.cs | 16 +- .../Validators/IntRangeValidationRule.cs | 24 +-- .../Validators/StringRangeValidationRule.cs | 18 +- .../ViewModel/Commands/BaseCommand.cs | 2 +- .../ViewModel/Commands/RelayCommand.cs | 17 +- .../ViewModel/LocationTreeBuilder.cs | 2 +- .../ViewModel/LocationViewModel.cs | 8 +- .../LoggingClient/ViewModel/LogViewModel.cs | 171 +++++------------- .../LoggingClient/Views/LocationView.xaml | 20 +- .../LoggingClient/Views/LogView.xaml | 16 +- 15 files changed, 177 insertions(+), 255 deletions(-) mode change 100644 => 100755 LoggingClient/LoggingClient/MainWindow.xaml.cs mode change 100644 => 100755 LoggingClient/LoggingClient/Validators/IntRangeValidationRule.cs mode change 100644 => 100755 LoggingClient/LoggingClient/Validators/StringRangeValidationRule.cs mode change 100644 => 100755 LoggingClient/LoggingClient/ViewModel/Commands/RelayCommand.cs diff --git a/LoggingClient/LoggingClient/MainWindow.xaml b/LoggingClient/LoggingClient/MainWindow.xaml index 8a9132f..83fd525 100755 --- a/LoggingClient/LoggingClient/MainWindow.xaml +++ b/LoggingClient/LoggingClient/MainWindow.xaml @@ -1,15 +1,11 @@  - - + Title="MainWindow" Height="470" Width="800" ResizeMode="NoResize"> + - @@ -20,7 +16,6 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" - @@ -30,12 +25,8 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"