Migrations aufgefäumt
DateOnly hinzugefügt zur Model.
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
using System;
|
||||
using DaSaSo.Domain.Model;
|
||||
using DaSaSo.ViewModel.Interface;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
@@ -8,5 +10,14 @@ namespace DaSaSo.ViewModel
|
||||
{
|
||||
public class SewerPipeLinerViewModel : BaseViewModel
|
||||
{
|
||||
private readonly IActualProject _actualProject;
|
||||
public SewerPipeLinerViewModel(IActualProject actualProject)
|
||||
{
|
||||
_actualProject = actualProject;
|
||||
|
||||
if (_actualProject.AktuellSewerObject.PipeLiner == null)
|
||||
_actualProject.AktuellSewerObject.PipeLiner = new PipeLiner();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ namespace DaSaSo.ViewModel
|
||||
private string _clientname = "";
|
||||
private string _projektname = "";
|
||||
private string _buildingsitename = "";
|
||||
private readonly RegistryKey? registry;
|
||||
private RegistryKey? registry;
|
||||
const string REGISTRYKEY = "HKEY_CURRENT_USER\\Software\\Cosysda\\DaSaSo";
|
||||
public bool CanSelectProject { get => _actualProject.AktuellClient != null; }
|
||||
public bool CanSelectBuildingSite { get => _actualProject.AktuellProjekt != null; }
|
||||
@@ -177,7 +177,7 @@ namespace DaSaSo.ViewModel
|
||||
|
||||
private void InitRegistry()
|
||||
{
|
||||
Registry.CurrentUser.CreateSubKey("Software\\Cosysda\\DaSaSo");
|
||||
registry = Registry.CurrentUser.CreateSubKey("Software\\Cosysda\\DaSaSo");
|
||||
LadeRegistry();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user