diff --git a/Encryption/Compression.vb b/Encryption/Compression.vb
deleted file mode 100644
index a1d5027e..00000000
--- a/Encryption/Compression.vb
+++ /dev/null
@@ -1,70 +0,0 @@
-Imports System.IO
-Imports System.IO.Compression
-Imports DigitalData.Modules.Logging
-
-Public Class Compression
- Private ReadOnly _logger As Logger
-
- Public Sub New(LogConfig As LogConfig)
- _logger = LogConfig.GetLogger()
- End Sub
-
- Public Async Function CompressAsync(data As Byte()) As Task(Of Byte())
- Return Await Task.Run(Function() As Byte()
- Return Compress(data)
- End Function)
- End Function
-
- Public Function Compress(data As Byte()) As Byte()
- Try
- ' ByteArray in Stream umwandeln
- Using originalStream As New MemoryStream(data)
- ' Ziel Stream erstellen
- Using compressedStream As New MemoryStream()
- ' Gzip-Stream erstellen, der alle Daten komprimiert und zu compressedStream durchleitet
- '
- ' > MemoryStream > GzipStream > MemoryStream
- ' originalStream --> compressionStream --> compressedFileStream
- '
- Using compressionStream As New GZipStream(compressedStream, CompressionMode.Compress)
- originalStream.CopyTo(compressionStream)
- compressionStream.Close()
- Return compressedStream.ToArray()
- End Using
- End Using
- End Using
- Catch ex As Exception
- _logger.Error(ex)
- Throw ex
- End Try
- End Function
-
- Public Async Function DecompressAsync(data As Byte()) As Task(Of Byte())
- Return Await Task.Run(Function() As Byte()
- Return Decompress(data)
- End Function)
- End Function
-
- Public Function Decompress(data As Byte()) As Byte()
- Try
- ' ByteArray in Stream umwandeln
- Using compressedStream As New MemoryStream(data)
- ' Ziel Stream erstellen
- Using decompressedStream As New MemoryStream()
- ' Gzip-Stream erstellen, der alle Daten komprimiert und zu compressedStream durchleitet
- '
- ' > MemoryStream > GzipStream > MemoryStream
- ' compressedStream --> decompressionStream --> decompressedStream
- '
- Using decompressionStream As New GZipStream(compressedStream, CompressionMode.Decompress)
- decompressionStream.CopyTo(decompressedStream)
- Return decompressedStream.ToArray()
- End Using
- End Using
- End Using
- Catch ex As Exception
- _logger.Error(ex)
- Throw ex
- End Try
- End Function
-End Class
diff --git a/Encryption/Encryption.vb b/Encryption/Encryption.vb
deleted file mode 100644
index 1ec620de..00000000
--- a/Encryption/Encryption.vb
+++ /dev/null
@@ -1,148 +0,0 @@
-Imports System.IO
-Imports System.Security.Cryptography
-Imports System.Text.Encoding
-Imports DigitalData.Modules.Logging
-
-'''
-''' https://stackoverflow.com/questions/10168240/encrypting-decrypting-a-string-in-c-sharp
-'''
-Public Class Encryption
- ' This constant is used to determine the keysize of the encryption algorithm in bits.
- ' We divide this by 8 within the code below to get the equivalent number of bytes.
- Private Const KEY_SIZE As Integer = 256
- ' This constant determines the number of iterations for the password bytes generation function.
- Private Const DERIVATION_ITERATIONS As Integer = 1000
- Private Const BLOCK_SIZE As Integer = 256
-
- Private _paddingMode As PaddingMode = PaddingMode.Zeros
- Private _cipherMode As CipherMode = CipherMode.CBC
-
- Private ReadOnly _password As String
- Private _logger As Logger
-
- Public Sub New(LogConfig As LogConfig, Password As String)
- _logger = LogConfig.GetLogger()
-
- If IsNothing(Password) Then
- Throw New ArgumentNullException("Password")
- End If
-
- _password = Password
- End Sub
-
- Public Async Function EncryptAsync(PlainTextBytes As Byte()) As Task(Of Byte())
- Return Await Task.Run(Function() As Byte()
- Return Encrypt(PlainTextBytes)
- End Function)
- End Function
-
- Public Function Encrypt(PlainText As String) As String
- Try
- Dim oBytes As Byte() = UTF8.GetBytes(PlainText)
- Dim oEncrypted As Byte() = Encrypt(oBytes)
- Return UTF8.GetString(oEncrypted)
- Catch ex As Exception
- _logger.Error(ex)
- Throw ex
- End Try
- End Function
-
- Public Function Encrypt(PlainTextBytes As Byte()) As Byte()
- Try
- ' Salt and IV is randomly generated each time, but is preprended to encrypted cipher text
- ' so that the same Salt and IV values can be used when decrypting.
- Dim oSaltStringBytes = Generate256BitsOfRandomEntropy()
- Dim oIvStringBytes = Generate256BitsOfRandomEntropy()
- Using oPassword = New Rfc2898DeriveBytes(_password, oSaltStringBytes, DERIVATION_ITERATIONS)
- Dim oKeyBytes = oPassword.GetBytes(KEY_SIZE / 8)
- Using oSymmetricKey = New RijndaelManaged()
- oSymmetricKey.BlockSize = BLOCK_SIZE
- oSymmetricKey.Mode = _cipherMode
- oSymmetricKey.Padding = _paddingMode
-
- Using oEncryptor = oSymmetricKey.CreateEncryptor(oKeyBytes, oIvStringBytes)
- Using oMemoryStream = New MemoryStream()
- Using oCryptoStream = New CryptoStream(oMemoryStream, oEncryptor, CryptoStreamMode.Write)
- oCryptoStream.Write(PlainTextBytes, 0, PlainTextBytes.Length)
- oCryptoStream.FlushFinalBlock()
- ' Create the final bytes as a concatenation of the random salt bytes, the random iv bytes and the cipher bytes.
- Dim oCipherTextBytes = oSaltStringBytes
- oCipherTextBytes = oCipherTextBytes.Concat(oIvStringBytes).ToArray()
- oCipherTextBytes = oCipherTextBytes.Concat(oMemoryStream.ToArray()).ToArray()
- oMemoryStream.Close()
- oCryptoStream.Close()
- Return oCipherTextBytes
- End Using
- End Using
- End Using
- End Using
- End Using
- Catch ex As Exception
- _logger.Error(ex)
- Throw ex
- End Try
- End Function
-
- Public Async Function DecryptAsync(CipherTextBytesWithSaltAndIv As Byte()) As Task(Of Byte())
- Return Await Task.Run(Function() As Byte()
- Return Decrypt(CipherTextBytesWithSaltAndIv)
- End Function)
- End Function
-
- Public Function Decrypt(CipherTextPlainWithSaltAndIv As String) As String
- Try
- Dim oBytes As Byte() = UTF8.GetBytes(CipherTextPlainWithSaltAndIv)
- Dim oDecrypted As Byte() = Decrypt(oBytes)
- Return UTF8.GetString(oDecrypted)
- Catch ex As Exception
- _logger.Error(ex)
- Throw ex
- End Try
- End Function
-
- Public Function Decrypt(CipherTextBytesWithSaltAndIv As Byte()) As Byte()
- Try
- ' Get the complete stream of bytes that represent:
- ' [32 bytes of Salt] + [32 bytes of IV] + [n bytes of CipherText]
- ' Get the saltbytes by extracting the first 32 bytes from the supplied cipherText bytes.
- Dim oSaltStringBytes = CipherTextBytesWithSaltAndIv.Take(KEY_SIZE / 8).ToArray()
- ' Get the IV bytes by extracting the next 32 bytes from the supplied cipherText bytes.
- Dim oIvStringBytes = CipherTextBytesWithSaltAndIv.Skip(KEY_SIZE / 8).Take(KEY_SIZE / 8).ToArray()
- ' Get the actual cipher text bytes by removing the first 64 bytes from the cipherText string.
- Dim oCipherTextBytes = CipherTextBytesWithSaltAndIv.Skip((KEY_SIZE / 8) * 2).Take(CipherTextBytesWithSaltAndIv.Length - ((KEY_SIZE / 8) * 2)).ToArray()
-
- Using oPassword = New Rfc2898DeriveBytes(_password, oSaltStringBytes, DERIVATION_ITERATIONS)
- Dim oKeyBytes = oPassword.GetBytes(KEY_SIZE / 8)
- Using oSymmetricKey = New RijndaelManaged()
- oSymmetricKey.BlockSize = BLOCK_SIZE
- oSymmetricKey.Mode = _cipherMode
- oSymmetricKey.Padding = _paddingMode
- Using oDecryptor = oSymmetricKey.CreateDecryptor(oKeyBytes, oIvStringBytes)
- Using oMemoryStream = New MemoryStream(oCipherTextBytes)
- Using oCryptoStream = New CryptoStream(oMemoryStream, oDecryptor, CryptoStreamMode.Read)
- Dim oPlainTextBytes = New Byte(oCipherTextBytes.Length - 1) {}
- Dim oDecryptedByteCount = oCryptoStream.Read(oPlainTextBytes, 0, oPlainTextBytes.Length)
- oMemoryStream.Close()
- oCryptoStream.Close()
- Return oPlainTextBytes
- End Using
- End Using
- End Using
- End Using
- End Using
- Catch ex As Exception
- _logger.Error(ex)
- Throw ex
- End Try
- End Function
-
- Private Shared Function Generate256BitsOfRandomEntropy() As Byte()
- Dim oRandomBytes = New Byte(31) {}
- ' 32 Bytes will give us 256 bits.
- Using oRNGCsp = New RNGCryptoServiceProvider()
- ' Fill the array with cryptographically secure random bytes.
- oRNGCsp.GetBytes(oRandomBytes)
- End Using
- Return oRandomBytes
- End Function
-End Class
diff --git a/Encryption/Encryption.vbproj b/Encryption/Encryption.vbproj
deleted file mode 100644
index 2be3a057..00000000
--- a/Encryption/Encryption.vbproj
+++ /dev/null
@@ -1,123 +0,0 @@
-
-
-
-
- Debug
- AnyCPU
- {8A8F20FC-C46E-41AC-BEE7-218366CFFF99}
- Library
- DigitalData.Modules.Encryption
- DigitalData.Modules.Encryption
- 512
- Windows
- v4.6.1
- true
-
-
- true
- full
- true
- true
- bin\Debug\
- DigitalData.Modules.Encryption.xml
- 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022
-
-
- pdbonly
- false
- true
- true
- bin\Release\
- DigitalData.Modules.Encryption.xml
- 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022
-
-
- On
-
-
- Binary
-
-
- Off
-
-
- On
-
-
-
-
- ..\packages\NLog.4.7.10\lib\net45\NLog.dll
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- True
- Application.myapp
- True
-
-
- True
- True
- Resources.resx
-
-
- True
- Settings.settings
- True
-
-
-
-
- VbMyResourcesResXFileCodeGenerator
- Resources.Designer.vb
- My.Resources
- Designer
-
-
-
-
- MyApplicationCodeGenerator
- Application.Designer.vb
-
-
- SettingsSingleFileGenerator
- My
- Settings.Designer.vb
-
-
-
-
-
- {903b2d7d-3b80-4be9-8713-7447b704e1b0}
- Logging
-
-
-
-
\ No newline at end of file
diff --git a/Encryption/EncryptionLegacy.vb b/Encryption/EncryptionLegacy.vb
deleted file mode 100644
index fd578da6..00000000
--- a/Encryption/EncryptionLegacy.vb
+++ /dev/null
@@ -1,85 +0,0 @@
-Imports System.Security.Cryptography
-Imports System.Data
-Imports System.Data.SqlClient
-
-Public Class EncryptionLegacy
- Private TripleDes As New TripleDESCryptoServiceProvider
- Private DEFAULT_KEY As String = "!35452didalog="
- Private SALT_VALUE As String = "!Didalog35452Heuchelheim="
-
- Sub New()
- TripleDes.Key = TruncateHash(DEFAULT_KEY, TripleDes.KeySize \ 8)
- TripleDes.IV = TruncateHash("", TripleDes.BlockSize \ 8)
- End Sub
-
- Sub New(ByVal key As String)
- ' Initialize the crypto provider.
- TripleDes.Key = TruncateHash(key, TripleDes.KeySize \ 8)
- TripleDes.IV = TruncateHash("", TripleDes.BlockSize \ 8)
- End Sub
-
- Private Function TruncateHash(ByVal key As String, ByVal length As Integer) As Byte()
- Dim sha1 As New SHA1CryptoServiceProvider
-
- ' Hash the key.
- Dim keyBytes() As Byte =
- System.Text.Encoding.Unicode.GetBytes(key)
- Dim hash() As Byte = sha1.ComputeHash(keyBytes)
-
- ' Truncate or pad the hash.
- ReDim Preserve hash(length - 1)
- Return hash
- End Function
-
-
- Public Function EncryptData(ByVal plaintext As String) As String
- Try
- ' Convert the plaintext string to a byte array.
- Dim plaintextBytes() As Byte =
- System.Text.Encoding.Unicode.GetBytes(SALT_VALUE & plaintext)
-
- ' Create the stream.
- Dim ms As New System.IO.MemoryStream
- ' Create the encoder to write to the stream.
- Dim encStream As New CryptoStream(ms,
- TripleDes.CreateEncryptor(),
- System.Security.Cryptography.CryptoStreamMode.Write)
-
- ' Use the crypto stream to write the byte array to the stream.
- encStream.Write(plaintextBytes, 0, plaintextBytes.Length)
- encStream.FlushFinalBlock()
-
- ' Convert the encrypted stream to a printable string.
- Return Convert.ToBase64String(ms.ToArray)
- Catch ex As Exception
- Return plaintext
- End Try
- End Function
-
- 'Entschlüsselt die Zeichenfolge
-
- Public Function DecryptData(ByVal EncryptedText As String) As String
- Try
- ' Convert the encrypted text string to a byte array.
- Dim oEncryptedBytes() As Byte = Convert.FromBase64String(EncryptedText)
-
- ' Create the stream.
- Dim oMemoryStream As New System.IO.MemoryStream
- ' Create the decoder to write to the stream.
- Dim oCryptoStream As New CryptoStream(oMemoryStream,
- TripleDes.CreateDecryptor(),
- System.Security.Cryptography.CryptoStreamMode.Write)
-
- ' Use the crypto stream to write the byte array to the stream.
- oCryptoStream.Write(oEncryptedBytes, 0, oEncryptedBytes.Length)
- oCryptoStream.FlushFinalBlock()
- Dim oResult = System.Text.Encoding.Unicode.GetString(oMemoryStream.ToArray)
- oResult = oResult.Replace(SALT_VALUE, "")
- ' Convert the plaintext stream to a string.
- Return oResult
- Catch ex As Exception
- Return EncryptedText
- End Try
- End Function
-End Class
-
diff --git a/Encryption/My Project/Application.Designer.vb b/Encryption/My Project/Application.Designer.vb
deleted file mode 100644
index 8ab460ba..00000000
--- a/Encryption/My Project/Application.Designer.vb
+++ /dev/null
@@ -1,13 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' Dieser Code wurde von einem Tool generiert.
-' Laufzeitversion:4.0.30319.42000
-'
-' Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
-' der Code erneut generiert wird.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
diff --git a/Encryption/My Project/Application.myapp b/Encryption/My Project/Application.myapp
deleted file mode 100644
index 758895de..00000000
--- a/Encryption/My Project/Application.myapp
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
- false
- false
- 0
- true
- 0
- 1
- true
-
diff --git a/Encryption/My Project/AssemblyInfo.vb b/Encryption/My Project/AssemblyInfo.vb
deleted file mode 100644
index 3056b6c6..00000000
--- a/Encryption/My Project/AssemblyInfo.vb
+++ /dev/null
@@ -1,35 +0,0 @@
-Imports System
-Imports System.Reflection
-Imports System.Runtime.InteropServices
-
-' Allgemeine Informationen über eine Assembly werden über die folgenden
-' Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
-' die einer Assembly zugeordnet sind.
-
-' Werte der Assemblyattribute überprüfen
-
-
-
-
-
-
-
-
-
-
-'Die folgende GUID wird für die typelib-ID verwendet, wenn dieses Projekt für COM verfügbar gemacht wird.
-
-
-' Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
-'
-' Hauptversion
-' Nebenversion
-' Buildnummer
-' Revision
-'
-' Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
-' indem Sie "*" wie unten gezeigt eingeben:
-'
-
-
-
diff --git a/Encryption/My Project/Resources.Designer.vb b/Encryption/My Project/Resources.Designer.vb
deleted file mode 100644
index 662b74ed..00000000
--- a/Encryption/My Project/Resources.Designer.vb
+++ /dev/null
@@ -1,63 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' Dieser Code wurde von einem Tool generiert.
-' Laufzeitversion:4.0.30319.42000
-'
-' Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
-' der Code erneut generiert wird.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
-Imports System
-
-Namespace My.Resources
-
- 'Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert
- '-Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert.
- 'Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
- 'mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu.
- '''
- ''' Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
- '''
- _
- Friend Module Resources
-
- Private resourceMan As Global.System.Resources.ResourceManager
-
- Private resourceCulture As Global.System.Globalization.CultureInfo
-
- '''
- ''' Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
- '''
- _
- Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager
- Get
- If Object.ReferenceEquals(resourceMan, Nothing) Then
- Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("DigitalData.Modules.Encryption.Resources", GetType(Resources).Assembly)
- resourceMan = temp
- End If
- Return resourceMan
- End Get
- End Property
-
- '''
- ''' Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
- ''' Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
- '''
- _
- Friend Property Culture() As Global.System.Globalization.CultureInfo
- Get
- Return resourceCulture
- End Get
- Set
- resourceCulture = value
- End Set
- End Property
- End Module
-End Namespace
diff --git a/Encryption/My Project/Resources.resx b/Encryption/My Project/Resources.resx
deleted file mode 100644
index af7dbebb..00000000
--- a/Encryption/My Project/Resources.resx
+++ /dev/null
@@ -1,117 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
\ No newline at end of file
diff --git a/Encryption/My Project/Settings.Designer.vb b/Encryption/My Project/Settings.Designer.vb
deleted file mode 100644
index 06a993e2..00000000
--- a/Encryption/My Project/Settings.Designer.vb
+++ /dev/null
@@ -1,73 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' Dieser Code wurde von einem Tool generiert.
-' Laufzeitversion:4.0.30319.42000
-'
-' Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
-' der Code erneut generiert wird.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
-
-Namespace My
-
- _
- Partial Friend NotInheritable Class MySettings
- Inherits Global.System.Configuration.ApplicationSettingsBase
-
- Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings)
-
-#Region "Automatische My.Settings-Speicherfunktion"
-#If _MyType = "WindowsForms" Then
- Private Shared addedHandler As Boolean
-
- Private Shared addedHandlerLockObject As New Object
-
- _
- Private Shared Sub AutoSaveSettings(sender As Global.System.Object, e As Global.System.EventArgs)
- If My.Application.SaveMySettingsOnExit Then
- My.Settings.Save()
- End If
- End Sub
-#End If
-#End Region
-
- Public Shared ReadOnly Property [Default]() As MySettings
- Get
-
-#If _MyType = "WindowsForms" Then
- If Not addedHandler Then
- SyncLock addedHandlerLockObject
- If Not addedHandler Then
- AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
- addedHandler = True
- End If
- End SyncLock
- End If
-#End If
- Return defaultInstance
- End Get
- End Property
- End Class
-End Namespace
-
-Namespace My
-
- _
- Friend Module MySettingsProperty
-
- _
- Friend ReadOnly Property Settings() As Global.DigitalData.Modules.Encryption.My.MySettings
- Get
- Return Global.DigitalData.Modules.Encryption.My.MySettings.Default
- End Get
- End Property
- End Module
-End Namespace
diff --git a/Encryption/My Project/Settings.settings b/Encryption/My Project/Settings.settings
deleted file mode 100644
index 85b890b3..00000000
--- a/Encryption/My Project/Settings.settings
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/Encryption/packages.config b/Encryption/packages.config
deleted file mode 100644
index 63f3075e..00000000
--- a/Encryption/packages.config
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/LookupControlGui/App.config b/LookupControlGui/App.config
deleted file mode 100644
index 5534e287..00000000
--- a/LookupControlGui/App.config
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/LookupControlGui/LookupControlGui.vbproj b/LookupControlGui/LookupControlGui.vbproj
deleted file mode 100644
index fc58da83..00000000
--- a/LookupControlGui/LookupControlGui.vbproj
+++ /dev/null
@@ -1,133 +0,0 @@
-
-
-
-
- Debug
- AnyCPU
- {B65E24B3-D334-455D-A0BF-B33B8358B013}
- WinExe
- LookupControlGui.My.MyApplication
- LookupControlGui
- LookupControlGui
- 512
- WindowsForms
- v4.6.1
- true
-
-
- AnyCPU
- true
- full
- true
- true
- bin\Debug\
- LookupControlGui.xml
- 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022
-
-
- AnyCPU
- pdbonly
- false
- true
- true
- bin\Release\
- LookupControlGui.xml
- 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022
-
-
- On
-
-
- Binary
-
-
- Off
-
-
- On
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Form
-
-
- frmLookup.vb
- Form
-
-
-
- True
- Application.myapp
-
-
- True
- True
- Resources.resx
-
-
- True
- Settings.settings
- True
-
-
-
-
- frmLookup.vb
-
-
- VbMyResourcesResXFileCodeGenerator
- Resources.Designer.vb
- My.Resources
- Designer
-
-
-
-
- MyApplicationCodeGenerator
- Application.Designer.vb
-
-
- SettingsSingleFileGenerator
- My
- Settings.Designer.vb
-
-
-
-
-
- {3dcd6d1a-c830-4241-b7e4-27430e7ea483}
- LookupControl
-
-
-
-
\ No newline at end of file
diff --git a/LookupControlGui/LookupControlGui.vbproj.bak b/LookupControlGui/LookupControlGui.vbproj.bak
deleted file mode 100644
index 67dddd2e..00000000
--- a/LookupControlGui/LookupControlGui.vbproj.bak
+++ /dev/null
@@ -1,132 +0,0 @@
-
-
-
-
- Debug
- AnyCPU
- {B65E24B3-D334-455D-A0BF-B33B8358B013}
- WinExe
- LookupControlGui.My.MyApplication
- LookupControlGui
- LookupControlGui
- 512
- WindowsForms
- v4.6.1
- true
-
-
- AnyCPU
- true
- full
- true
- true
- bin\Debug\
- LookupControlGui.xml
- 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022
-
-
- AnyCPU
- pdbonly
- false
- true
- true
- bin\Release\
- LookupControlGui.xml
- 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022
-
-
- On
-
-
- Binary
-
-
- Off
-
-
- On
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Form
-
-
- frmLookup.vb
- Form
-
-
-
- True
- Application.myapp
-
-
- True
- True
- Resources.resx
-
-
- True
- Settings.settings
- True
-
-
-
-
- frmLookup.vb
-
-
- VbMyResourcesResXFileCodeGenerator
- Resources.Designer.vb
- My.Resources
- Designer
-
-
-
-
- MyApplicationCodeGenerator
- Application.Designer.vb
-
-
- SettingsSingleFileGenerator
- My
- Settings.Designer.vb
-
-
-
-
-
- {3dcd6d1a-c830-4241-b7e4-27430e7ea483}
- LookupControl
-
-
-
-
\ No newline at end of file
diff --git a/LookupControlGui/My Project/Application.Designer.vb b/LookupControlGui/My Project/Application.Designer.vb
deleted file mode 100644
index 7eb96be9..00000000
--- a/LookupControlGui/My Project/Application.Designer.vb
+++ /dev/null
@@ -1,38 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' This code was generated by a tool.
-' Runtime Version:4.0.30319.42000
-'
-' Changes to this file may cause incorrect behavior and will be lost if
-' the code is regenerated.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
-
-Namespace My
-
- 'NOTE: This file is auto-generated; do not modify it directly. To make changes,
- ' or if you encounter build errors in this file, go to the Project Designer
- ' (go to Project Properties or double-click the My Project node in
- ' Solution Explorer), and make changes on the Application tab.
- '
- Partial Friend Class MyApplication
-
- _
- Public Sub New()
- MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows)
- Me.IsSingleInstance = false
- Me.EnableVisualStyles = true
- Me.SaveMySettingsOnExit = true
- Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses
- End Sub
-
- _
- Protected Overrides Sub OnCreateMainForm()
- Me.MainForm = Global.LookupControlGui.frmLookup
- End Sub
- End Class
-End Namespace
diff --git a/LookupControlGui/My Project/Application.myapp b/LookupControlGui/My Project/Application.myapp
deleted file mode 100644
index 1243847f..00000000
--- a/LookupControlGui/My Project/Application.myapp
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
- true
- Form1
- false
- 0
- true
- 0
- 0
- true
-
diff --git a/LookupControlGui/My Project/AssemblyInfo.vb b/LookupControlGui/My Project/AssemblyInfo.vb
deleted file mode 100644
index 66ae7a4b..00000000
--- a/LookupControlGui/My Project/AssemblyInfo.vb
+++ /dev/null
@@ -1,35 +0,0 @@
-Imports System
-Imports System.Reflection
-Imports System.Runtime.InteropServices
-
-' Allgemeine Informationen über eine Assembly werden über die folgenden
-' Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
-' die einer Assembly zugeordnet sind.
-
-' Werte der Assemblyattribute überprüfen
-
-
-
-
-
-
-
-
-
-
-'Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird.
-
-
-' Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
-'
-' Hauptversion
-' Nebenversion
-' Buildnummer
-' Revision
-'
-' Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
-' übernehmen, indem Sie "*" eingeben:
-'
-
-
-
diff --git a/LookupControlGui/My Project/Resources.Designer.vb b/LookupControlGui/My Project/Resources.Designer.vb
deleted file mode 100644
index 3cf88756..00000000
--- a/LookupControlGui/My Project/Resources.Designer.vb
+++ /dev/null
@@ -1,62 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' This code was generated by a tool.
-' Runtime Version:4.0.30319.42000
-'
-' Changes to this file may cause incorrect behavior and will be lost if
-' the code is regenerated.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
-
-Namespace My.Resources
-
- 'This class was auto-generated by the StronglyTypedResourceBuilder
- 'class via a tool like ResGen or Visual Studio.
- 'To add or remove a member, edit your .ResX file then rerun ResGen
- 'with the /str option, or rebuild your VS project.
- '''
- ''' A strongly-typed resource class, for looking up localized strings, etc.
- '''
- _
- Friend Module Resources
-
- Private resourceMan As Global.System.Resources.ResourceManager
-
- Private resourceCulture As Global.System.Globalization.CultureInfo
-
- '''
- ''' Returns the cached ResourceManager instance used by this class.
- '''
- _
- Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager
- Get
- If Object.ReferenceEquals(resourceMan, Nothing) Then
- Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("LookupControlGui.Resources", GetType(Resources).Assembly)
- resourceMan = temp
- End If
- Return resourceMan
- End Get
- End Property
-
- '''
- ''' Overrides the current thread's CurrentUICulture property for all
- ''' resource lookups using this strongly typed resource class.
- '''
- _
- Friend Property Culture() As Global.System.Globalization.CultureInfo
- Get
- Return resourceCulture
- End Get
- Set(ByVal value As Global.System.Globalization.CultureInfo)
- resourceCulture = value
- End Set
- End Property
- End Module
-End Namespace
diff --git a/LookupControlGui/My Project/Resources.resx b/LookupControlGui/My Project/Resources.resx
deleted file mode 100644
index af7dbebb..00000000
--- a/LookupControlGui/My Project/Resources.resx
+++ /dev/null
@@ -1,117 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
\ No newline at end of file
diff --git a/LookupControlGui/My Project/Settings.Designer.vb b/LookupControlGui/My Project/Settings.Designer.vb
deleted file mode 100644
index dcfe7c8c..00000000
--- a/LookupControlGui/My Project/Settings.Designer.vb
+++ /dev/null
@@ -1,73 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' This code was generated by a tool.
-' Runtime Version:4.0.30319.42000
-'
-' Changes to this file may cause incorrect behavior and will be lost if
-' the code is regenerated.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
-
-Namespace My
-
- _
- Partial Friend NotInheritable Class MySettings
- Inherits Global.System.Configuration.ApplicationSettingsBase
-
- Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings)
-
-#Region "My.Settings Auto-Save Functionality"
-#If _MyType = "WindowsForms" Then
- Private Shared addedHandler As Boolean
-
- Private Shared addedHandlerLockObject As New Object
-
- _
- Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs)
- If My.Application.SaveMySettingsOnExit Then
- My.Settings.Save()
- End If
- End Sub
-#End If
-#End Region
-
- Public Shared ReadOnly Property [Default]() As MySettings
- Get
-
-#If _MyType = "WindowsForms" Then
- If Not addedHandler Then
- SyncLock addedHandlerLockObject
- If Not addedHandler Then
- AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
- addedHandler = True
- End If
- End SyncLock
- End If
-#End If
- Return defaultInstance
- End Get
- End Property
- End Class
-End Namespace
-
-Namespace My
-
- _
- Friend Module MySettingsProperty
-
- _
- Friend ReadOnly Property Settings() As Global.LookupControlGui.My.MySettings
- Get
- Return Global.LookupControlGui.My.MySettings.Default
- End Get
- End Property
- End Module
-End Namespace
diff --git a/LookupControlGui/My Project/Settings.settings b/LookupControlGui/My Project/Settings.settings
deleted file mode 100644
index 85b890b3..00000000
--- a/LookupControlGui/My Project/Settings.settings
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/LookupControlGui/frmLookup.Designer.vb b/LookupControlGui/frmLookup.Designer.vb
deleted file mode 100644
index 12ca51ed..00000000
--- a/LookupControlGui/frmLookup.Designer.vb
+++ /dev/null
@@ -1,321 +0,0 @@
-
-Partial Class frmLookup
- Inherits System.Windows.Forms.Form
-
- 'Das Formular überschreibt den Löschvorgang, um die Komponentenliste zu bereinigen.
-
- Protected Overrides Sub Dispose(ByVal disposing As Boolean)
- Try
- If disposing AndAlso components IsNot Nothing Then
- components.Dispose()
- End If
- Finally
- MyBase.Dispose(disposing)
- End Try
- End Sub
-
- 'Wird vom Windows Form-Designer benötigt.
- Private components As System.ComponentModel.IContainer
-
- 'Hinweis: Die folgende Prozedur ist für den Windows Form-Designer erforderlich.
- 'Das Bearbeiten ist mit dem Windows Form-Designer möglich.
- 'Das Bearbeiten mit dem Code-Editor ist nicht möglich.
-
- Private Sub InitializeComponent()
- Dim EditorButtonImageOptions1 As DevExpress.XtraEditors.Controls.EditorButtonImageOptions = New DevExpress.XtraEditors.Controls.EditorButtonImageOptions()
- Dim SerializableAppearanceObject1 As DevExpress.Utils.SerializableAppearanceObject = New DevExpress.Utils.SerializableAppearanceObject()
- Dim SerializableAppearanceObject2 As DevExpress.Utils.SerializableAppearanceObject = New DevExpress.Utils.SerializableAppearanceObject()
- Dim SerializableAppearanceObject3 As DevExpress.Utils.SerializableAppearanceObject = New DevExpress.Utils.SerializableAppearanceObject()
- Dim SerializableAppearanceObject4 As DevExpress.Utils.SerializableAppearanceObject = New DevExpress.Utils.SerializableAppearanceObject()
- Dim EditorButtonImageOptions2 As DevExpress.XtraEditors.Controls.EditorButtonImageOptions = New DevExpress.XtraEditors.Controls.EditorButtonImageOptions()
- Dim SerializableAppearanceObject5 As DevExpress.Utils.SerializableAppearanceObject = New DevExpress.Utils.SerializableAppearanceObject()
- Dim SerializableAppearanceObject6 As DevExpress.Utils.SerializableAppearanceObject = New DevExpress.Utils.SerializableAppearanceObject()
- Dim SerializableAppearanceObject7 As DevExpress.Utils.SerializableAppearanceObject = New DevExpress.Utils.SerializableAppearanceObject()
- Dim SerializableAppearanceObject8 As DevExpress.Utils.SerializableAppearanceObject = New DevExpress.Utils.SerializableAppearanceObject()
- Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(frmLookup))
- Dim EditorButtonImageOptions3 As DevExpress.XtraEditors.Controls.EditorButtonImageOptions = New DevExpress.XtraEditors.Controls.EditorButtonImageOptions()
- Dim SerializableAppearanceObject9 As DevExpress.Utils.SerializableAppearanceObject = New DevExpress.Utils.SerializableAppearanceObject()
- Dim SerializableAppearanceObject10 As DevExpress.Utils.SerializableAppearanceObject = New DevExpress.Utils.SerializableAppearanceObject()
- Dim SerializableAppearanceObject11 As DevExpress.Utils.SerializableAppearanceObject = New DevExpress.Utils.SerializableAppearanceObject()
- Dim SerializableAppearanceObject12 As DevExpress.Utils.SerializableAppearanceObject = New DevExpress.Utils.SerializableAppearanceObject()
- Dim EditorButtonImageOptions4 As DevExpress.XtraEditors.Controls.EditorButtonImageOptions = New DevExpress.XtraEditors.Controls.EditorButtonImageOptions()
- Dim SerializableAppearanceObject13 As DevExpress.Utils.SerializableAppearanceObject = New DevExpress.Utils.SerializableAppearanceObject()
- Dim SerializableAppearanceObject14 As DevExpress.Utils.SerializableAppearanceObject = New DevExpress.Utils.SerializableAppearanceObject()
- Dim SerializableAppearanceObject15 As DevExpress.Utils.SerializableAppearanceObject = New DevExpress.Utils.SerializableAppearanceObject()
- Dim SerializableAppearanceObject16 As DevExpress.Utils.SerializableAppearanceObject = New DevExpress.Utils.SerializableAppearanceObject()
- Dim EditorButtonImageOptions5 As DevExpress.XtraEditors.Controls.EditorButtonImageOptions = New DevExpress.XtraEditors.Controls.EditorButtonImageOptions()
- Dim SerializableAppearanceObject17 As DevExpress.Utils.SerializableAppearanceObject = New DevExpress.Utils.SerializableAppearanceObject()
- Dim SerializableAppearanceObject18 As DevExpress.Utils.SerializableAppearanceObject = New DevExpress.Utils.SerializableAppearanceObject()
- Dim SerializableAppearanceObject19 As DevExpress.Utils.SerializableAppearanceObject = New DevExpress.Utils.SerializableAppearanceObject()
- Dim SerializableAppearanceObject20 As DevExpress.Utils.SerializableAppearanceObject = New DevExpress.Utils.SerializableAppearanceObject()
- Dim EditorButtonImageOptions6 As DevExpress.XtraEditors.Controls.EditorButtonImageOptions = New DevExpress.XtraEditors.Controls.EditorButtonImageOptions()
- Dim SerializableAppearanceObject21 As DevExpress.Utils.SerializableAppearanceObject = New DevExpress.Utils.SerializableAppearanceObject()
- Dim SerializableAppearanceObject22 As DevExpress.Utils.SerializableAppearanceObject = New DevExpress.Utils.SerializableAppearanceObject()
- Dim SerializableAppearanceObject23 As DevExpress.Utils.SerializableAppearanceObject = New DevExpress.Utils.SerializableAppearanceObject()
- Dim SerializableAppearanceObject24 As DevExpress.Utils.SerializableAppearanceObject = New DevExpress.Utils.SerializableAppearanceObject()
- Dim EditorButtonImageOptions7 As DevExpress.XtraEditors.Controls.EditorButtonImageOptions = New DevExpress.XtraEditors.Controls.EditorButtonImageOptions()
- Dim SerializableAppearanceObject25 As DevExpress.Utils.SerializableAppearanceObject = New DevExpress.Utils.SerializableAppearanceObject()
- Dim SerializableAppearanceObject26 As DevExpress.Utils.SerializableAppearanceObject = New DevExpress.Utils.SerializableAppearanceObject()
- Dim SerializableAppearanceObject27 As DevExpress.Utils.SerializableAppearanceObject = New DevExpress.Utils.SerializableAppearanceObject()
- Dim SerializableAppearanceObject28 As DevExpress.Utils.SerializableAppearanceObject = New DevExpress.Utils.SerializableAppearanceObject()
- Dim EditorButtonImageOptions8 As DevExpress.XtraEditors.Controls.EditorButtonImageOptions = New DevExpress.XtraEditors.Controls.EditorButtonImageOptions()
- Dim SerializableAppearanceObject29 As DevExpress.Utils.SerializableAppearanceObject = New DevExpress.Utils.SerializableAppearanceObject()
- Dim SerializableAppearanceObject30 As DevExpress.Utils.SerializableAppearanceObject = New DevExpress.Utils.SerializableAppearanceObject()
- Dim SerializableAppearanceObject31 As DevExpress.Utils.SerializableAppearanceObject = New DevExpress.Utils.SerializableAppearanceObject()
- Dim SerializableAppearanceObject32 As DevExpress.Utils.SerializableAppearanceObject = New DevExpress.Utils.SerializableAppearanceObject()
- Dim EditorButtonImageOptions9 As DevExpress.XtraEditors.Controls.EditorButtonImageOptions = New DevExpress.XtraEditors.Controls.EditorButtonImageOptions()
- Dim SerializableAppearanceObject33 As DevExpress.Utils.SerializableAppearanceObject = New DevExpress.Utils.SerializableAppearanceObject()
- Dim SerializableAppearanceObject34 As DevExpress.Utils.SerializableAppearanceObject = New DevExpress.Utils.SerializableAppearanceObject()
- Dim SerializableAppearanceObject35 As DevExpress.Utils.SerializableAppearanceObject = New DevExpress.Utils.SerializableAppearanceObject()
- Dim SerializableAppearanceObject36 As DevExpress.Utils.SerializableAppearanceObject = New DevExpress.Utils.SerializableAppearanceObject()
- Dim EditorButtonImageOptions10 As DevExpress.XtraEditors.Controls.EditorButtonImageOptions = New DevExpress.XtraEditors.Controls.EditorButtonImageOptions()
- Dim SerializableAppearanceObject37 As DevExpress.Utils.SerializableAppearanceObject = New DevExpress.Utils.SerializableAppearanceObject()
- Dim SerializableAppearanceObject38 As DevExpress.Utils.SerializableAppearanceObject = New DevExpress.Utils.SerializableAppearanceObject()
- Dim SerializableAppearanceObject39 As DevExpress.Utils.SerializableAppearanceObject = New DevExpress.Utils.SerializableAppearanceObject()
- Dim SerializableAppearanceObject40 As DevExpress.Utils.SerializableAppearanceObject = New DevExpress.Utils.SerializableAppearanceObject()
- Me.Button1 = New System.Windows.Forms.Button()
- Me.LookupControl = New DigitalData.Controls.LookupGrid.LookupControl2()
- Me.LookupControl21View = New DevExpress.XtraGrid.Views.Grid.GridView()
- Me.Label1 = New System.Windows.Forms.Label()
- Me.LookupControl21 = New DigitalData.Controls.LookupGrid.LookupControl2()
- Me.GridView1 = New DevExpress.XtraGrid.Views.Grid.GridView()
- Me.Label2 = New System.Windows.Forms.Label()
- Me.LookupControl22 = New DigitalData.Controls.LookupGrid.LookupControl2()
- Me.GridView2 = New DevExpress.XtraGrid.Views.Grid.GridView()
- Me.Label3 = New System.Windows.Forms.Label()
- Me.LookupControl23 = New DigitalData.Controls.LookupGrid.LookupControl2()
- Me.GridView3 = New DevExpress.XtraGrid.Views.Grid.GridView()
- Me.Label4 = New System.Windows.Forms.Label()
- Me.LookupControl24 = New DigitalData.Controls.LookupGrid.LookupControl2()
- Me.GridView4 = New DevExpress.XtraGrid.Views.Grid.GridView()
- Me.Label5 = New System.Windows.Forms.Label()
- CType(Me.LookupControl.Properties, System.ComponentModel.ISupportInitialize).BeginInit()
- CType(Me.LookupControl21View, System.ComponentModel.ISupportInitialize).BeginInit()
- CType(Me.LookupControl21.Properties, System.ComponentModel.ISupportInitialize).BeginInit()
- CType(Me.GridView1, System.ComponentModel.ISupportInitialize).BeginInit()
- CType(Me.LookupControl22.Properties, System.ComponentModel.ISupportInitialize).BeginInit()
- CType(Me.GridView2, System.ComponentModel.ISupportInitialize).BeginInit()
- CType(Me.LookupControl23.Properties, System.ComponentModel.ISupportInitialize).BeginInit()
- CType(Me.GridView3, System.ComponentModel.ISupportInitialize).BeginInit()
- CType(Me.LookupControl24.Properties, System.ComponentModel.ISupportInitialize).BeginInit()
- CType(Me.GridView4, System.ComponentModel.ISupportInitialize).BeginInit()
- Me.SuspendLayout()
- '
- 'Button1
- '
- Me.Button1.Location = New System.Drawing.Point(12, 12)
- Me.Button1.Name = "Button1"
- Me.Button1.Size = New System.Drawing.Size(94, 23)
- Me.Button1.TabIndex = 2
- Me.Button1.Text = "Get Text"
- Me.Button1.UseVisualStyleBackColor = True
- '
- 'LookupControl
- '
- Me.LookupControl.AllowAddNewValues = False
- Me.LookupControl.DataSource = Nothing
- Me.LookupControl.Location = New System.Drawing.Point(393, 31)
- Me.LookupControl.MultiSelect = True
- Me.LookupControl.Name = "LookupControl"
- Me.LookupControl.PreventDuplicates = False
- Me.LookupControl.Properties.Buttons.AddRange(New DevExpress.XtraEditors.Controls.EditorButton() {New DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo, "", -1, True, True, False, EditorButtonImageOptions1, New DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), SerializableAppearanceObject1, SerializableAppearanceObject2, SerializableAppearanceObject3, SerializableAppearanceObject4, "", "openDropdown", Nothing, DevExpress.Utils.ToolTipAnchor.[Default]), New DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Ellipsis, "", -1, True, True, False, EditorButtonImageOptions2, New DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), SerializableAppearanceObject5, SerializableAppearanceObject6, SerializableAppearanceObject7, SerializableAppearanceObject8, "", "openLookupForm", Nothing, DevExpress.Utils.ToolTipAnchor.[Default])})
- Me.LookupControl.Properties.DataSource = CType(resources.GetObject("LookupControl.Properties.DataSource"), Object)
- Me.LookupControl.Properties.NullText = "Keine Datensätze ausgewählt"
- Me.LookupControl.Properties.PopupView = Me.LookupControl21View
- Me.LookupControl.SelectedValues = CType(resources.GetObject("LookupControl.SelectedValues"), System.Collections.Generic.List(Of String))
- Me.LookupControl.Size = New System.Drawing.Size(342, 20)
- Me.LookupControl.TabIndex = 3
- '
- 'LookupControl21View
- '
- Me.LookupControl21View.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus
- Me.LookupControl21View.Name = "LookupControl21View"
- Me.LookupControl21View.OptionsSelection.EnableAppearanceFocusedCell = False
- Me.LookupControl21View.OptionsView.ShowGroupPanel = False
- '
- 'Label1
- '
- Me.Label1.AutoSize = True
- Me.Label1.Location = New System.Drawing.Point(390, 15)
- Me.Label1.Name = "Label1"
- Me.Label1.Size = New System.Drawing.Size(91, 13)
- Me.Label1.TabIndex = 4
- Me.Label1.Text = "Multiselect = True"
- '
- 'LookupControl21
- '
- Me.LookupControl21.AllowAddNewValues = False
- Me.LookupControl21.DataSource = Nothing
- Me.LookupControl21.Location = New System.Drawing.Point(393, 89)
- Me.LookupControl21.MultiSelect = True
- Me.LookupControl21.Name = "LookupControl21"
- Me.LookupControl21.PreventDuplicates = False
- Me.LookupControl21.Properties.Buttons.AddRange(New DevExpress.XtraEditors.Controls.EditorButton() {New DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo, "", -1, True, True, False, EditorButtonImageOptions3, New DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), SerializableAppearanceObject9, SerializableAppearanceObject10, SerializableAppearanceObject11, SerializableAppearanceObject12, "", "openDropdown", Nothing, DevExpress.Utils.ToolTipAnchor.[Default]), New DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Ellipsis, "", -1, True, True, False, EditorButtonImageOptions4, New DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), SerializableAppearanceObject13, SerializableAppearanceObject14, SerializableAppearanceObject15, SerializableAppearanceObject16, "", "openLookupForm", Nothing, DevExpress.Utils.ToolTipAnchor.[Default])})
- Me.LookupControl21.Properties.DataSource = CType(resources.GetObject("LookupControl21.Properties.DataSource"), Object)
- Me.LookupControl21.Properties.NullText = "Keine Datensätze ausgewählt"
- Me.LookupControl21.Properties.PopupView = Me.GridView1
- Me.LookupControl21.SelectedValues = CType(resources.GetObject("LookupControl21.SelectedValues"), System.Collections.Generic.List(Of String))
- Me.LookupControl21.Size = New System.Drawing.Size(342, 20)
- Me.LookupControl21.TabIndex = 3
- '
- 'GridView1
- '
- Me.GridView1.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus
- Me.GridView1.Name = "GridView1"
- Me.GridView1.OptionsSelection.EnableAppearanceFocusedCell = False
- Me.GridView1.OptionsView.ShowGroupPanel = False
- '
- 'Label2
- '
- Me.Label2.AutoSize = True
- Me.Label2.Location = New System.Drawing.Point(390, 73)
- Me.Label2.Name = "Label2"
- Me.Label2.Size = New System.Drawing.Size(88, 13)
- Me.Label2.TabIndex = 4
- Me.Label2.Text = "ReadOnly = True"
- '
- 'LookupControl22
- '
- Me.LookupControl22.AllowAddNewValues = False
- Me.LookupControl22.DataSource = Nothing
- Me.LookupControl22.Location = New System.Drawing.Point(393, 147)
- Me.LookupControl22.MultiSelect = False
- Me.LookupControl22.Name = "LookupControl22"
- Me.LookupControl22.PreventDuplicates = False
- Me.LookupControl22.Properties.Buttons.AddRange(New DevExpress.XtraEditors.Controls.EditorButton() {New DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo, "", -1, True, True, False, EditorButtonImageOptions5, New DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), SerializableAppearanceObject17, SerializableAppearanceObject18, SerializableAppearanceObject19, SerializableAppearanceObject20, "", "openDropdown", Nothing, DevExpress.Utils.ToolTipAnchor.[Default]), New DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Ellipsis, "", -1, True, True, False, EditorButtonImageOptions6, New DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), SerializableAppearanceObject21, SerializableAppearanceObject22, SerializableAppearanceObject23, SerializableAppearanceObject24, "", "openLookupForm", Nothing, DevExpress.Utils.ToolTipAnchor.[Default])})
- Me.LookupControl22.Properties.DataSource = CType(resources.GetObject("LookupControl22.Properties.DataSource"), Object)
- Me.LookupControl22.Properties.NullText = ""
- Me.LookupControl22.Properties.PopupView = Me.GridView2
- Me.LookupControl22.SelectedValues = CType(resources.GetObject("LookupControl22.SelectedValues"), System.Collections.Generic.List(Of String))
- Me.LookupControl22.Size = New System.Drawing.Size(342, 20)
- Me.LookupControl22.TabIndex = 3
- '
- 'GridView2
- '
- Me.GridView2.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus
- Me.GridView2.Name = "GridView2"
- Me.GridView2.OptionsSelection.EnableAppearanceFocusedCell = False
- Me.GridView2.OptionsView.ShowGroupPanel = False
- '
- 'Label3
- '
- Me.Label3.AutoSize = True
- Me.Label3.Location = New System.Drawing.Point(390, 131)
- Me.Label3.Name = "Label3"
- Me.Label3.Size = New System.Drawing.Size(96, 13)
- Me.Label3.TabIndex = 4
- Me.Label3.Text = "MultiSelect = False"
- '
- 'LookupControl23
- '
- Me.LookupControl23.AllowAddNewValues = False
- Me.LookupControl23.DataSource = Nothing
- Me.LookupControl23.Location = New System.Drawing.Point(393, 197)
- Me.LookupControl23.MultiSelect = False
- Me.LookupControl23.Name = "LookupControl23"
- Me.LookupControl23.PreventDuplicates = False
- Me.LookupControl23.Properties.Buttons.AddRange(New DevExpress.XtraEditors.Controls.EditorButton() {New DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo, "", -1, True, True, False, EditorButtonImageOptions7, New DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), SerializableAppearanceObject25, SerializableAppearanceObject26, SerializableAppearanceObject27, SerializableAppearanceObject28, "", "openDropdown", Nothing, DevExpress.Utils.ToolTipAnchor.[Default]), New DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Ellipsis, "", -1, True, True, False, EditorButtonImageOptions8, New DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), SerializableAppearanceObject29, SerializableAppearanceObject30, SerializableAppearanceObject31, SerializableAppearanceObject32, "", "openLookupForm", Nothing, DevExpress.Utils.ToolTipAnchor.[Default])})
- Me.LookupControl23.Properties.DataSource = CType(resources.GetObject("LookupControl23.Properties.DataSource"), Object)
- Me.LookupControl23.Properties.NullText = ""
- Me.LookupControl23.Properties.PopupView = Me.GridView3
- Me.LookupControl23.SelectedValues = CType(resources.GetObject("LookupControl23.SelectedValues"), System.Collections.Generic.List(Of String))
- Me.LookupControl23.Size = New System.Drawing.Size(342, 20)
- Me.LookupControl23.TabIndex = 3
- '
- 'GridView3
- '
- Me.GridView3.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus
- Me.GridView3.Name = "GridView3"
- Me.GridView3.OptionsSelection.EnableAppearanceFocusedCell = False
- Me.GridView3.OptionsView.ShowGroupPanel = False
- '
- 'Label4
- '
- Me.Label4.AutoSize = True
- Me.Label4.Location = New System.Drawing.Point(390, 181)
- Me.Label4.Name = "Label4"
- Me.Label4.Size = New System.Drawing.Size(89, 13)
- Me.Label4.TabIndex = 4
- Me.Label4.Text = "100.000 Records"
- '
- 'LookupControl24
- '
- Me.LookupControl24.AllowAddNewValues = True
- Me.LookupControl24.DataSource = Nothing
- Me.LookupControl24.Location = New System.Drawing.Point(393, 251)
- Me.LookupControl24.MultiSelect = False
- Me.LookupControl24.Name = "LookupControl24"
- Me.LookupControl24.PreventDuplicates = False
- Me.LookupControl24.Properties.Buttons.AddRange(New DevExpress.XtraEditors.Controls.EditorButton() {New DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo, "", -1, True, True, False, EditorButtonImageOptions9, New DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), SerializableAppearanceObject33, SerializableAppearanceObject34, SerializableAppearanceObject35, SerializableAppearanceObject36, "", "openDropdown", Nothing, DevExpress.Utils.ToolTipAnchor.[Default]), New DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Ellipsis, "", -1, True, True, False, EditorButtonImageOptions10, New DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), SerializableAppearanceObject37, SerializableAppearanceObject38, SerializableAppearanceObject39, SerializableAppearanceObject40, "", "openLookupForm", Nothing, DevExpress.Utils.ToolTipAnchor.[Default])})
- Me.LookupControl24.Properties.DataSource = CType(resources.GetObject("LookupControl24.Properties.DataSource"), Object)
- Me.LookupControl24.Properties.NullText = ""
- Me.LookupControl24.Properties.PopupView = Me.GridView4
- Me.LookupControl24.SelectedValues = CType(resources.GetObject("LookupControl24.SelectedValues"), System.Collections.Generic.List(Of String))
- Me.LookupControl24.Size = New System.Drawing.Size(342, 20)
- Me.LookupControl24.TabIndex = 3
- '
- 'GridView4
- '
- Me.GridView4.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus
- Me.GridView4.Name = "GridView4"
- Me.GridView4.OptionsSelection.EnableAppearanceFocusedCell = False
- Me.GridView4.OptionsView.ShowGroupPanel = False
- '
- 'Label5
- '
- Me.Label5.AutoSize = True
- Me.Label5.Location = New System.Drawing.Point(390, 235)
- Me.Label5.Name = "Label5"
- Me.Label5.Size = New System.Drawing.Size(167, 13)
- Me.Label5.TabIndex = 4
- Me.Label5.Text = "Empty List but New Values = True"
- '
- 'Form1
- '
- Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
- Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
- Me.ClientSize = New System.Drawing.Size(800, 450)
- Me.Controls.Add(Me.Label5)
- Me.Controls.Add(Me.Label4)
- Me.Controls.Add(Me.Label3)
- Me.Controls.Add(Me.Label2)
- Me.Controls.Add(Me.LookupControl24)
- Me.Controls.Add(Me.LookupControl23)
- Me.Controls.Add(Me.LookupControl22)
- Me.Controls.Add(Me.Label1)
- Me.Controls.Add(Me.LookupControl21)
- Me.Controls.Add(Me.LookupControl)
- Me.Controls.Add(Me.Button1)
- Me.Name = "Form1"
- Me.Text = "Form1"
- CType(Me.LookupControl.Properties, System.ComponentModel.ISupportInitialize).EndInit()
- CType(Me.LookupControl21View, System.ComponentModel.ISupportInitialize).EndInit()
- CType(Me.LookupControl21.Properties, System.ComponentModel.ISupportInitialize).EndInit()
- CType(Me.GridView1, System.ComponentModel.ISupportInitialize).EndInit()
- CType(Me.LookupControl22.Properties, System.ComponentModel.ISupportInitialize).EndInit()
- CType(Me.GridView2, System.ComponentModel.ISupportInitialize).EndInit()
- CType(Me.LookupControl23.Properties, System.ComponentModel.ISupportInitialize).EndInit()
- CType(Me.GridView3, System.ComponentModel.ISupportInitialize).EndInit()
- CType(Me.LookupControl24.Properties, System.ComponentModel.ISupportInitialize).EndInit()
- CType(Me.GridView4, System.ComponentModel.ISupportInitialize).EndInit()
- Me.ResumeLayout(False)
- Me.PerformLayout()
-
- End Sub
- Friend WithEvents Button1 As Button
- Friend WithEvents LookupControl As DigitalData.Controls.LookupGrid.LookupControl2
- Friend WithEvents LookupControl21View As DevExpress.XtraGrid.Views.Grid.GridView
- Friend WithEvents Label1 As Label
- Friend WithEvents LookupControl21 As DigitalData.Controls.LookupGrid.LookupControl2
- Friend WithEvents GridView1 As DevExpress.XtraGrid.Views.Grid.GridView
- Friend WithEvents Label2 As Label
- Friend WithEvents LookupControl22 As DigitalData.Controls.LookupGrid.LookupControl2
- Friend WithEvents GridView2 As DevExpress.XtraGrid.Views.Grid.GridView
- Friend WithEvents Label3 As Label
- Friend WithEvents LookupControl23 As DigitalData.Controls.LookupGrid.LookupControl2
- Friend WithEvents GridView3 As DevExpress.XtraGrid.Views.Grid.GridView
- Friend WithEvents Label4 As Label
- Friend WithEvents LookupControl24 As DigitalData.Controls.LookupGrid.LookupControl2
- Friend WithEvents GridView4 As DevExpress.XtraGrid.Views.Grid.GridView
- Friend WithEvents Label5 As Label
-End Class
diff --git a/LookupControlGui/frmLookup.resx b/LookupControlGui/frmLookup.resx
deleted file mode 100644
index aca14e68..00000000
--- a/LookupControlGui/frmLookup.resx
+++ /dev/null
@@ -1,210 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
-
- AAEAAAD/////AQAAAAAAAAAMAgAAAJoBbXNjb3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1u
- ZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5XV0sIG1zY29ybGliLCBWZXJzaW9u
- PTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OQUB
- AAAAMFN5c3RlbS5Db2xsZWN0aW9ucy5HZW5lcmljLkxpc3RgMVtbU3lzdGVtLlN0cmluZwMAAAAGX2l0
- ZW1zBV9zaXplCF92ZXJzaW9uBgAACAgCAAAACQMAAAAAAAAAAAAAABEDAAAAAAAAAAs=
-
-
-
-
- AAEAAAD/////AQAAAAAAAAAMAgAAAJoBbXNjb3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1u
- ZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5XV0sIG1zY29ybGliLCBWZXJzaW9u
- PTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OQUB
- AAAAMFN5c3RlbS5Db2xsZWN0aW9ucy5HZW5lcmljLkxpc3RgMVtbU3lzdGVtLlN0cmluZwMAAAAGX2l0
- ZW1zBV9zaXplCF92ZXJzaW9uBgAACAgCAAAACQMAAAAAAAAAAAAAABEDAAAAAAAAAAs=
-
-
-
-
- AAEAAAD/////AQAAAAAAAAAMAgAAAJoBbXNjb3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1u
- ZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5XV0sIG1zY29ybGliLCBWZXJzaW9u
- PTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OQUB
- AAAAMFN5c3RlbS5Db2xsZWN0aW9ucy5HZW5lcmljLkxpc3RgMVtbU3lzdGVtLlN0cmluZwMAAAAGX2l0
- ZW1zBV9zaXplCF92ZXJzaW9uBgAACAgCAAAACQMAAAAAAAAAAAAAABEDAAAAAAAAAAs=
-
-
-
-
- AAEAAAD/////AQAAAAAAAAAMAgAAAJoBbXNjb3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1u
- ZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5XV0sIG1zY29ybGliLCBWZXJzaW9u
- PTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OQUB
- AAAAMFN5c3RlbS5Db2xsZWN0aW9ucy5HZW5lcmljLkxpc3RgMVtbU3lzdGVtLlN0cmluZwMAAAAGX2l0
- ZW1zBV9zaXplCF92ZXJzaW9uBgAACAgCAAAACQMAAAAAAAAAAAAAABEDAAAAAAAAAAs=
-
-
-
-
- AAEAAAD/////AQAAAAAAAAAMAgAAAJoBbXNjb3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1u
- ZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5XV0sIG1zY29ybGliLCBWZXJzaW9u
- PTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OQUB
- AAAAMFN5c3RlbS5Db2xsZWN0aW9ucy5HZW5lcmljLkxpc3RgMVtbU3lzdGVtLlN0cmluZwMAAAAGX2l0
- ZW1zBV9zaXplCF92ZXJzaW9uBgAACAgCAAAACQMAAAAAAAAAAAAAABEDAAAAAAAAAAs=
-
-
-
-
- AAEAAAD/////AQAAAAAAAAAMAgAAAJoBbXNjb3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1u
- ZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5XV0sIG1zY29ybGliLCBWZXJzaW9u
- PTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OQUB
- AAAAMFN5c3RlbS5Db2xsZWN0aW9ucy5HZW5lcmljLkxpc3RgMVtbU3lzdGVtLlN0cmluZwMAAAAGX2l0
- ZW1zBV9zaXplCF92ZXJzaW9uBgAACAgCAAAACQMAAAAAAAAAAAAAABEDAAAAAAAAAAs=
-
-
-
-
- AAEAAAD/////AQAAAAAAAAAMAgAAAJoBbXNjb3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1u
- ZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5XV0sIG1zY29ybGliLCBWZXJzaW9u
- PTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OQUB
- AAAAMFN5c3RlbS5Db2xsZWN0aW9ucy5HZW5lcmljLkxpc3RgMVtbU3lzdGVtLlN0cmluZwMAAAAGX2l0
- ZW1zBV9zaXplCF92ZXJzaW9uBgAACAgCAAAACQMAAAAAAAAAAAAAABEDAAAAAAAAAAs=
-
-
-
-
- AAEAAAD/////AQAAAAAAAAAMAgAAAJoBbXNjb3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1u
- ZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5XV0sIG1zY29ybGliLCBWZXJzaW9u
- PTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OQUB
- AAAAMFN5c3RlbS5Db2xsZWN0aW9ucy5HZW5lcmljLkxpc3RgMVtbU3lzdGVtLlN0cmluZwMAAAAGX2l0
- ZW1zBV9zaXplCF92ZXJzaW9uBgAACAgCAAAACQMAAAAAAAAAAAAAABEDAAAAAAAAAAs=
-
-
-
-
- AAEAAAD/////AQAAAAAAAAAMAgAAAJoBbXNjb3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1u
- ZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5XV0sIG1zY29ybGliLCBWZXJzaW9u
- PTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OQUB
- AAAAMFN5c3RlbS5Db2xsZWN0aW9ucy5HZW5lcmljLkxpc3RgMVtbU3lzdGVtLlN0cmluZwMAAAAGX2l0
- ZW1zBV9zaXplCF92ZXJzaW9uBgAACAgCAAAACQMAAAAAAAAAAAAAABEDAAAAAAAAAAs=
-
-
-
-
- AAEAAAD/////AQAAAAAAAAAMAgAAAJoBbXNjb3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1u
- ZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5XV0sIG1zY29ybGliLCBWZXJzaW9u
- PTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OQUB
- AAAAMFN5c3RlbS5Db2xsZWN0aW9ucy5HZW5lcmljLkxpc3RgMVtbU3lzdGVtLlN0cmluZwMAAAAGX2l0
- ZW1zBV9zaXplCF92ZXJzaW9uBgAACAgCAAAACQMAAAAAAAAAAAAAABEDAAAAAAAAAAs=
-
-
-
\ No newline at end of file
diff --git a/LookupControlGui/frmLookup.vb b/LookupControlGui/frmLookup.vb
deleted file mode 100644
index 800e2449..00000000
--- a/LookupControlGui/frmLookup.vb
+++ /dev/null
@@ -1,60 +0,0 @@
-Public Class frmLookup
- Private _Datasource As New List(Of String)
-
- Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
- For index = 1 To 1000000
- _Datasource.Add($"item-{index}")
- Next
-
- Dim oDatatable = GetDatatable(10)
- Dim oSelectedValues = _Datasource.Take(1).ToList()
-
- LookupControl.DataSource = oDatatable
- LookupControl.SelectedValues = oSelectedValues
- LookupControl.ReadOnly = False
-
- LookupControl21.DataSource = oDatatable
- LookupControl21.SelectedValues = oSelectedValues
- LookupControl21.ReadOnly = True
-
- LookupControl22.DataSource = oDatatable
- LookupControl22.SelectedValues = oSelectedValues
- LookupControl22.ReadOnly = False
- LookupControl22.MultiSelect = False
-
- LookupControl22.SelectedValues = New List(Of String) From {"", Nothing, "LOL", "Foo"}
-
- LookupControl23.DataSource = GetDatatable(100000)
-
- AddHandler LookupControl.SelectedValuesChanged, Sub(_sender As Object, SelectedValues As List(Of String))
- MsgBox("Selected Values: " & String.Join(",", SelectedValues.ToArray))
- End Sub
-
- AddHandler LookupControl21.SelectedValuesChanged, Sub(_sender As Object, SelectedValues As List(Of String))
- MsgBox("Selected Values: " & String.Join(",", SelectedValues.ToArray))
- End Sub
-
- AddHandler LookupControl22.SelectedValuesChanged, Sub(_sender As Object, SelectedValues As List(Of String))
- MsgBox("Selected Values: " & String.Join(",", SelectedValues.ToArray))
- End Sub
- End Sub
-
- Private Function GetDatatable(Limit As Integer) As DataTable
- Dim oDatatable As New DataTable
- Dim oColumns As New List(Of DataColumn) From {
- New DataColumn("Col1", GetType(String)),
- New DataColumn("Col2", GetType(String))
- }
-
- oDatatable.Columns.AddRange(oColumns.ToArray)
-
- For Each Item In _Datasource.Take(Limit)
- Dim oRow = oDatatable.NewRow()
- oRow.Item("Col1") = Item
- oRow.Item("Col2") = Item & "_" & "SomeLong Random(String) !!!111einself"
- oDatatable.Rows.Add(oRow)
- Next
-
- Return oDatatable
- End Function
-End Class
diff --git a/Mailfunctions/Mail.vb b/Mailfunctions/Mail.vb
deleted file mode 100644
index a9d612fa..00000000
--- a/Mailfunctions/Mail.vb
+++ /dev/null
@@ -1,13 +0,0 @@
-Imports DigitalData.Modules.Logging
-Public Class Mail
- Private LogConfig As LogConfig
- Private Logger As DigitalData.Modules.Logging.Logger
- Public Sub New(LogConfig As LogConfig)
- LogConfig = LogConfig
- Logger = LogConfig.GetLogger()
- Logger.Info("MailingClass initialized")
- End Sub
- Public Function Connecttest()
-
- End Function
-End Class
diff --git a/Mailfunctions/Mailfunctions.vbproj b/Mailfunctions/Mailfunctions.vbproj
deleted file mode 100644
index 6e56ce83..00000000
--- a/Mailfunctions/Mailfunctions.vbproj
+++ /dev/null
@@ -1,120 +0,0 @@
-
-
-
-
- Debug
- AnyCPU
- {C9827B8D-9EF9-411A-A6BF-4807794F8C8F}
- Library
- Mailfunctions
- Mailfunctions
- 512
- Windows
- v4.7.2
- true
-
-
- true
- full
- true
- true
- bin\Debug\
- Mailfunctions.xml
- 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022
-
-
- pdbonly
- false
- true
- true
- bin\Release\
- Mailfunctions.xml
- 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022
-
-
- On
-
-
- Binary
-
-
- Off
-
-
- On
-
-
-
- ..\Modules.Logging\bin\Debug\DigitalData.Modules.Logging.dll
-
-
- P:\Visual Studio Projekte\Bibliotheken\Limilabs\Mail.dll\Mail.dll
-
-
-
- ..\packages\NLog.4.7.11\lib\net45\NLog.dll
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- True
- Application.myapp
-
-
- True
- True
- Resources.resx
-
-
- True
- Settings.settings
- True
-
-
-
-
- VbMyResourcesResXFileCodeGenerator
- Resources.Designer.vb
- My.Resources
- Designer
-
-
-
-
- MyApplicationCodeGenerator
- Application.Designer.vb
-
-
- SettingsSingleFileGenerator
- My
- Settings.Designer.vb
-
-
-
-
-
\ No newline at end of file
diff --git a/Mailfunctions/My Project/Application.Designer.vb b/Mailfunctions/My Project/Application.Designer.vb
deleted file mode 100644
index 88dd01c7..00000000
--- a/Mailfunctions/My Project/Application.Designer.vb
+++ /dev/null
@@ -1,13 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' This code was generated by a tool.
-' Runtime Version:4.0.30319.42000
-'
-' Changes to this file may cause incorrect behavior and will be lost if
-' the code is regenerated.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
diff --git a/Mailfunctions/My Project/Application.myapp b/Mailfunctions/My Project/Application.myapp
deleted file mode 100644
index 758895de..00000000
--- a/Mailfunctions/My Project/Application.myapp
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
- false
- false
- 0
- true
- 0
- 1
- true
-
diff --git a/Mailfunctions/My Project/AssemblyInfo.vb b/Mailfunctions/My Project/AssemblyInfo.vb
deleted file mode 100644
index 0d865ee5..00000000
--- a/Mailfunctions/My Project/AssemblyInfo.vb
+++ /dev/null
@@ -1,35 +0,0 @@
-Imports System
-Imports System.Reflection
-Imports System.Runtime.InteropServices
-
-' Allgemeine Informationen über eine Assembly werden über die folgenden
-' Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
-' die einer Assembly zugeordnet sind.
-
-' Werte der Assemblyattribute überprüfen
-
-
-
-
-
-
-
-
-
-
-'Die folgende GUID wird für die typelib-ID verwendet, wenn dieses Projekt für COM verfügbar gemacht wird.
-
-
-' Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
-'
-' Hauptversion
-' Nebenversion
-' Buildnummer
-' Revision
-'
-' Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
-' indem Sie "*" wie unten gezeigt eingeben:
-'
-
-
-
diff --git a/Mailfunctions/My Project/Resources.Designer.vb b/Mailfunctions/My Project/Resources.Designer.vb
deleted file mode 100644
index 702d170b..00000000
--- a/Mailfunctions/My Project/Resources.Designer.vb
+++ /dev/null
@@ -1,62 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' This code was generated by a tool.
-' Runtime Version:4.0.30319.42000
-'
-' Changes to this file may cause incorrect behavior and will be lost if
-' the code is regenerated.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
-
-Namespace My.Resources
-
- 'This class was auto-generated by the StronglyTypedResourceBuilder
- 'class via a tool like ResGen or Visual Studio.
- 'To add or remove a member, edit your .ResX file then rerun ResGen
- 'with the /str option, or rebuild your VS project.
- '''
- ''' A strongly-typed resource class, for looking up localized strings, etc.
- '''
- _
- Friend Module Resources
-
- Private resourceMan As Global.System.Resources.ResourceManager
-
- Private resourceCulture As Global.System.Globalization.CultureInfo
-
- '''
- ''' Returns the cached ResourceManager instance used by this class.
- '''
- _
- Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager
- Get
- If Object.ReferenceEquals(resourceMan, Nothing) Then
- Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("Mailfunctions.Resources", GetType(Resources).Assembly)
- resourceMan = temp
- End If
- Return resourceMan
- End Get
- End Property
-
- '''
- ''' Overrides the current thread's CurrentUICulture property for all
- ''' resource lookups using this strongly typed resource class.
- '''
- _
- Friend Property Culture() As Global.System.Globalization.CultureInfo
- Get
- Return resourceCulture
- End Get
- Set(ByVal value As Global.System.Globalization.CultureInfo)
- resourceCulture = value
- End Set
- End Property
- End Module
-End Namespace
diff --git a/Mailfunctions/My Project/Resources.resx b/Mailfunctions/My Project/Resources.resx
deleted file mode 100644
index af7dbebb..00000000
--- a/Mailfunctions/My Project/Resources.resx
+++ /dev/null
@@ -1,117 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
\ No newline at end of file
diff --git a/Mailfunctions/My Project/Settings.Designer.vb b/Mailfunctions/My Project/Settings.Designer.vb
deleted file mode 100644
index fd3119d4..00000000
--- a/Mailfunctions/My Project/Settings.Designer.vb
+++ /dev/null
@@ -1,73 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' This code was generated by a tool.
-' Runtime Version:4.0.30319.42000
-'
-' Changes to this file may cause incorrect behavior and will be lost if
-' the code is regenerated.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
-
-Namespace My
-
- _
- Partial Friend NotInheritable Class MySettings
- Inherits Global.System.Configuration.ApplicationSettingsBase
-
- Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings)
-
-#Region "My.Settings Auto-Save Functionality"
-#If _MyType = "WindowsForms" Then
- Private Shared addedHandler As Boolean
-
- Private Shared addedHandlerLockObject As New Object
-
- _
- Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs)
- If My.Application.SaveMySettingsOnExit Then
- My.Settings.Save()
- End If
- End Sub
-#End If
-#End Region
-
- Public Shared ReadOnly Property [Default]() As MySettings
- Get
-
-#If _MyType = "WindowsForms" Then
- If Not addedHandler Then
- SyncLock addedHandlerLockObject
- If Not addedHandler Then
- AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
- addedHandler = True
- End If
- End SyncLock
- End If
-#End If
- Return defaultInstance
- End Get
- End Property
- End Class
-End Namespace
-
-Namespace My
-
- _
- Friend Module MySettingsProperty
-
- _
- Friend ReadOnly Property Settings() As Global.Mailfunctions.My.MySettings
- Get
- Return Global.Mailfunctions.My.MySettings.Default
- End Get
- End Property
- End Module
-End Namespace
diff --git a/Mailfunctions/My Project/Settings.settings b/Mailfunctions/My Project/Settings.settings
deleted file mode 100644
index 85b890b3..00000000
--- a/Mailfunctions/My Project/Settings.settings
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/Mailfunctions/packages.config b/Mailfunctions/packages.config
deleted file mode 100644
index 25ba1cdf..00000000
--- a/Mailfunctions/packages.config
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/Modules.Base/Base/Base.vbproj b/Modules.Base/Base/Base.vbproj
deleted file mode 100644
index 9a6697eb..00000000
--- a/Modules.Base/Base/Base.vbproj
+++ /dev/null
@@ -1,119 +0,0 @@
-
-
-
-
- Debug
- AnyCPU
- {6EA0C51F-C2B1-4462-8198-3DE0B32B74F8}
- Library
- DigitalData.Modules.Base
- DigitalData.Modules.Base
- 512
- Windows
- v4.6.1
- true
-
-
-
- true
- full
- true
- true
- bin\Debug\
- DigitalData.Modules.Base.xml
- 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022
-
-
- pdbonly
- false
- true
- true
- bin\Release\
- DigitalData.Modules.Base.xml
- 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022
-
-
- On
-
-
- Binary
-
-
- Off
-
-
- On
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- True
- Application.myapp
- True
-
-
- True
- True
- Resources.resx
-
-
- True
- Settings.settings
- True
-
-
-
-
- VbMyResourcesResXFileCodeGenerator
- Resources.Designer.vb
- My.Resources
- Designer
-
-
-
-
- MyApplicationCodeGenerator
- Application.Designer.vb
-
-
- SettingsSingleFileGenerator
- My
- Settings.Designer.vb
-
-
-
-
-
-
-
- {903b2d7d-3b80-4be9-8713-7447b704e1b0}
- Logging
-
-
-
-
\ No newline at end of file
diff --git a/Modules.Base/Base/BaseClass.vb b/Modules.Base/Base/BaseClass.vb
deleted file mode 100644
index e12a99c1..00000000
--- a/Modules.Base/Base/BaseClass.vb
+++ /dev/null
@@ -1,16 +0,0 @@
-Imports DigitalData.Modules.Logging
-
-'''
-''' BaseClass that sets up a Logger.
-'''
-Public Class BaseClass
- Protected LogConfig As LogConfig
- Protected Logger As Logger
-
- Public Sub New(LogConfig As LogConfig)
- Dim oClassName = Me.GetType().Name
-
- Me.LogConfig = LogConfig
- Me.Logger = LogConfig.GetLogger(oClassName)
- End Sub
-End Class
\ No newline at end of file
diff --git a/Modules.Base/Base/ECM.vb b/Modules.Base/Base/ECM.vb
deleted file mode 100644
index bf04d74b..00000000
--- a/Modules.Base/Base/ECM.vb
+++ /dev/null
@@ -1,7 +0,0 @@
-Public Class ECM
- Public Enum Product
- ProcessManager
- GlobalIndexer
- ClipboardWatcher
- End Enum
-End Class
diff --git a/Modules.Base/Base/IDB/Attributes.vb b/Modules.Base/Base/IDB/Attributes.vb
deleted file mode 100644
index bf7bd740..00000000
--- a/Modules.Base/Base/IDB/Attributes.vb
+++ /dev/null
@@ -1,15 +0,0 @@
-Namespace IDB
- Public Class Attributes
- Public Const ATTRIBUTE_DOCTYPE = "Doctype"
- Public Const ATTRIBUTE_DYNAMIC_FOLDER = "Dynamic Folder"
-
- Public Const ATTRIBUTE_ORIGIN_FILENAME = "OriginFileName"
- Public Const ATTRIBUTE_ORIGIN_CHANGED = "OriginChangedDatetime"
- Public Const ATTRIBUTE_ORIGIN_CREATED = "OriginCreationDatetime"
-
- Public Const ATTRIBUTE_DISPLAY_FILENAME = "DisplayFileName"
- Public Const ATTRIBUTE_DISPLAY_FILENAME1 = "DisplayFileName1"
-
- End Class
-
-End Namespace
\ No newline at end of file
diff --git a/Modules.Base/Base/IDB/Database.vb b/Modules.Base/Base/IDB/Database.vb
deleted file mode 100644
index 8afd0a7e..00000000
--- a/Modules.Base/Base/IDB/Database.vb
+++ /dev/null
@@ -1,11 +0,0 @@
-
-Namespace IDB
- Public Class Database
- Public Enum NamedDatabase
- ECM
- IDB
- End Enum
- End Class
-
-End Namespace
-
diff --git a/Modules.Base/Base/IDB/FileStore.vb b/Modules.Base/Base/IDB/FileStore.vb
deleted file mode 100644
index f1dc29e0..00000000
--- a/Modules.Base/Base/IDB/FileStore.vb
+++ /dev/null
@@ -1,20 +0,0 @@
-Namespace IDB
- Public Class FileStore
- Public Const FILE_STORE_INVALID_OBEJCT_ID = 0
-
- Public Const FILE_CHANGED_QUESTION = "QUESTION VERSION"
- Public Const FILE_CHANGED_OVERWRITE = "AUTO REPLACE"
- Public Const FILE_CHANGED_VERSION = "AUTO VERSION"
-
- Public Const OBJECT_STATE_FILE_ADDED = "File added"
- Public Const OBJECT_STATE_FILE_VERSIONED = "File versioned"
- Public Const OBJECT_STATE_FILE_CHANGED = "File changed"
- Public Const OBJECT_STATE_FILE_OPENED = "File opened"
- Public Const OBJECT_STATE_FILE_DELETED = "File deleted"
- Public Const OBJECT_STATE_METADATA_CHANGED = "Metadata changed"
- Public Const OBJECT_STATE_ATTRIBUTEVALUE_DELETED = "Attributevalue deleted"
- Public Const OBJECT_STATE_FILE_CHECKED_OUT = "File Checked Out"
- Public Const OBJECT_STATE_FILE_CHECKED_IN = "File Checked In"
- End Class
-
-End Namespace
\ No newline at end of file
diff --git a/Modules.Base/Base/My Project/Application.Designer.vb b/Modules.Base/Base/My Project/Application.Designer.vb
deleted file mode 100644
index 8ab460ba..00000000
--- a/Modules.Base/Base/My Project/Application.Designer.vb
+++ /dev/null
@@ -1,13 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' Dieser Code wurde von einem Tool generiert.
-' Laufzeitversion:4.0.30319.42000
-'
-' Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
-' der Code erneut generiert wird.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
diff --git a/Modules.Base/Base/My Project/Application.myapp b/Modules.Base/Base/My Project/Application.myapp
deleted file mode 100644
index 758895de..00000000
--- a/Modules.Base/Base/My Project/Application.myapp
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
- false
- false
- 0
- true
- 0
- 1
- true
-
diff --git a/Modules.Base/Base/My Project/AssemblyInfo.vb b/Modules.Base/Base/My Project/AssemblyInfo.vb
deleted file mode 100644
index 8d8f92b9..00000000
--- a/Modules.Base/Base/My Project/AssemblyInfo.vb
+++ /dev/null
@@ -1,35 +0,0 @@
-Imports System
-Imports System.Reflection
-Imports System.Runtime.InteropServices
-
-' Allgemeine Informationen über eine Assembly werden über die folgenden
-' Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
-' die einer Assembly zugeordnet sind.
-
-' Werte der Assemblyattribute überprüfen
-
-
-
-
-
-
-
-
-
-
-'Die folgende GUID wird für die typelib-ID verwendet, wenn dieses Projekt für COM verfügbar gemacht wird.
-
-
-' Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
-'
-' Hauptversion
-' Nebenversion
-' Buildnummer
-' Revision
-'
-' Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
-' indem Sie "*" wie unten gezeigt eingeben:
-'
-
-
-
diff --git a/Modules.Base/Base/My Project/Resources.Designer.vb b/Modules.Base/Base/My Project/Resources.Designer.vb
deleted file mode 100644
index 6d58bf07..00000000
--- a/Modules.Base/Base/My Project/Resources.Designer.vb
+++ /dev/null
@@ -1,63 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' Dieser Code wurde von einem Tool generiert.
-' Laufzeitversion:4.0.30319.42000
-'
-' Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
-' der Code erneut generiert wird.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
-Imports System
-
-Namespace My.Resources
-
- 'Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert
- '-Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert.
- 'Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
- 'mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu.
- '''
- ''' Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
- '''
- _
- Friend Module Resources
-
- Private resourceMan As Global.System.Resources.ResourceManager
-
- Private resourceCulture As Global.System.Globalization.CultureInfo
-
- '''
- ''' Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
- '''
- _
- Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager
- Get
- If Object.ReferenceEquals(resourceMan, Nothing) Then
- Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("DigitalData.Modules.Base.Resources", GetType(Resources).Assembly)
- resourceMan = temp
- End If
- Return resourceMan
- End Get
- End Property
-
- '''
- ''' Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
- ''' Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
- '''
- _
- Friend Property Culture() As Global.System.Globalization.CultureInfo
- Get
- Return resourceCulture
- End Get
- Set
- resourceCulture = value
- End Set
- End Property
- End Module
-End Namespace
diff --git a/Modules.Base/Base/My Project/Resources.resx b/Modules.Base/Base/My Project/Resources.resx
deleted file mode 100644
index af7dbebb..00000000
--- a/Modules.Base/Base/My Project/Resources.resx
+++ /dev/null
@@ -1,117 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
\ No newline at end of file
diff --git a/Modules.Base/Base/My Project/Settings.Designer.vb b/Modules.Base/Base/My Project/Settings.Designer.vb
deleted file mode 100644
index 4e796c27..00000000
--- a/Modules.Base/Base/My Project/Settings.Designer.vb
+++ /dev/null
@@ -1,73 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' Dieser Code wurde von einem Tool generiert.
-' Laufzeitversion:4.0.30319.42000
-'
-' Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
-' der Code erneut generiert wird.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
-
-Namespace My
-
- _
- Partial Friend NotInheritable Class MySettings
- Inherits Global.System.Configuration.ApplicationSettingsBase
-
- Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings)
-
-#Region "Automatische My.Settings-Speicherfunktion"
-#If _MyType = "WindowsForms" Then
- Private Shared addedHandler As Boolean
-
- Private Shared addedHandlerLockObject As New Object
-
- _
- Private Shared Sub AutoSaveSettings(sender As Global.System.Object, e As Global.System.EventArgs)
- If My.Application.SaveMySettingsOnExit Then
- My.Settings.Save()
- End If
- End Sub
-#End If
-#End Region
-
- Public Shared ReadOnly Property [Default]() As MySettings
- Get
-
-#If _MyType = "WindowsForms" Then
- If Not addedHandler Then
- SyncLock addedHandlerLockObject
- If Not addedHandler Then
- AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
- addedHandler = True
- End If
- End SyncLock
- End If
-#End If
- Return defaultInstance
- End Get
- End Property
- End Class
-End Namespace
-
-Namespace My
-
- _
- Friend Module MySettingsProperty
-
- _
- Friend ReadOnly Property Settings() As Global.DigitalData.Modules.Base.My.MySettings
- Get
- Return Global.DigitalData.Modules.Base.My.MySettings.Default
- End Get
- End Property
- End Module
-End Namespace
diff --git a/Modules.Base/Base/My Project/Settings.settings b/Modules.Base/Base/My Project/Settings.settings
deleted file mode 100644
index 85b890b3..00000000
--- a/Modules.Base/Base/My Project/Settings.settings
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/Modules.Base/Base/README.txt b/Modules.Base/Base/README.txt
deleted file mode 100644
index 58cbced4..00000000
--- a/Modules.Base/Base/README.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-BASE MODULE
-===========
-
-This module is intended for often used constants and datastructures.
-Therefor it is important that this module does not have any dependencies on other modules!!
\ No newline at end of file
diff --git a/Modules.Config/Config.vbproj b/Modules.Config/Config.vbproj
deleted file mode 100644
index 1d94a8cb..00000000
--- a/Modules.Config/Config.vbproj
+++ /dev/null
@@ -1,131 +0,0 @@
-
-
-
-
- Debug
- AnyCPU
- {44982F9B-6116-44E2-85D0-F39650B1EF99}
- Library
- DigitalData.Modules.Config
- DigitalData.Modules.Config
- 512
- Windows
- v4.6.1
-
-
- true
- full
- true
- true
- bin\Debug\
- DigitalData.Modules.Config.xml
- 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022
-
-
- pdbonly
- false
- true
- true
- bin\Release\
- DigitalData.Modules.Config.xml
- 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022
-
-
- On
-
-
- Binary
-
-
- Off
-
-
- On
-
-
-
-
- ..\packages\NLog.4.7.10\lib\net45\NLog.dll
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- True
- Application.myapp
-
-
- True
- True
- Resources.resx
-
-
- True
- Settings.settings
- True
-
-
-
-
- VbMyResourcesResXFileCodeGenerator
- Resources.Designer.vb
- My.Resources
- Designer
-
-
-
-
- MyApplicationCodeGenerator
- Application.Designer.vb
-
-
- SettingsSingleFileGenerator
- My
- Settings.Designer.vb
-
-
-
-
-
- {8a8f20fc-c46e-41ac-bee7-218366cfff99}
- Encryption
-
-
- {991d0231-4623-496d-8bd0-9ca906029cbc}
- Filesystem
-
-
- {903b2d7d-3b80-4be9-8713-7447b704e1b0}
- Logging
-
-
-
-
\ No newline at end of file
diff --git a/Modules.Config/ConfigAttributes.vb b/Modules.Config/ConfigAttributes.vb
deleted file mode 100644
index a9e1787e..00000000
--- a/Modules.Config/ConfigAttributes.vb
+++ /dev/null
@@ -1,35 +0,0 @@
-Public Class ConfigAttributes
- '''
- ''' The primary connection string. Will not be saved to userconfig.
- '''
- Public Class ConnectionStringAttribute
- Inherits Attribute
- End Class
-
- '''
- ''' The test connection string. Will not be saved to userconfig.
- '''
- Public Class ConnectionStringTestAttribute
- Inherits Attribute
- End Class
-
- '''
- ''' The app serverSQL connection string. Will not be saved to userconfig.
- '''
- Public Class ConnectionStringAppServerAttribute
- Inherits Attribute
- End Class
- '''
- ''' The EDMIapp server . Will not be saved to userconfig.
- '''
- Public Class EDMIAppServerAttribute
- Inherits Attribute
- End Class
-
- '''
- ''' Global setting. Will not be saved to userconfig.
- '''
- Public Class GlobalSettingAttribute
- Inherits Attribute
- End Class
-End Class
diff --git a/Modules.Config/ConfigManager.vb b/Modules.Config/ConfigManager.vb
deleted file mode 100644
index 8b24bf69..00000000
--- a/Modules.Config/ConfigManager.vb
+++ /dev/null
@@ -1,388 +0,0 @@
-Imports System.IO
-Imports System.Reflection
-Imports System.Xml.Serialization
-Imports DigitalData.Modules.Logging
-Imports DigitalData.Modules.Encryption
-Imports DigitalData.Modules.Config.ConfigAttributes
-
-Public Class ConfigManager(Of T)
- Private Const USER_CONFIG_NAME As String = "UserConfig.xml"
- Private Const COMPUTER_CONFIG_NAME As String = "ComputerConfig.xml"
- Private Const APP_CONFIG_NAME As String = "AppConfig.xml"
-
- Private ReadOnly _LogConfig As LogConfig
- Private ReadOnly _Logger As Logger
- Private ReadOnly _File As Filesystem.File
-
- Private ReadOnly _UserDirectory As String
- Private ReadOnly _UserConfigPath As String
- Private ReadOnly _ComputerDirectory As String
- Private ReadOnly _ComputerConfigPath As String
- Private ReadOnly _AppConfigDirectory As String
- Private ReadOnly _AppConfigPath As String
-
- Private ReadOnly _TestMode As Boolean = False
-
- Private ReadOnly _Blueprint As T
- Private ReadOnly _BlueprintType As Type
- Private ReadOnly _Serializer As XmlSerializer
-
- Private ReadOnly _ExcludedAttributes = New List(Of Type) From {
- GetType(ConnectionStringAttribute),
- GetType(ConnectionStringAppServerAttribute),
- GetType(ConnectionStringTestAttribute),
- GetType(EDMIAppServerAttribute),
- GetType(GlobalSettingAttribute)
- }
-
- Private ReadOnly _ConnectionStringAttributes = New List(Of Type) From {
- GetType(ConnectionStringAttribute),
- GetType(ConnectionStringAppServerAttribute),
- GetType(ConnectionStringTestAttribute)
- }
-
- '''
- ''' Signals that all properties will be written to (and read from) the UserConfig.xml
- '''
- ''' If Value is `True`:
- ''' - AppConfig.xml does NOT exist
- ''' - ComputerConfig.xml does NOT exist
- ''' - ConnectionStrings will be saved to or read from UserConfig.xml
- '''
- ''' If Value is `False`:
- ''' - No ConnectionStrings will be saved to or read from UserConfig.xml
- '''
- ''' Can be overwritten by optional parameter `ForceUserConfig`
- '''
- Private _WriteAllValuesToUserConfig As Boolean = False
-
- '''
- ''' Returns the currently loaded config object
- '''
- '''
- Public ReadOnly Property Config As T
-
- '''
- ''' Path to the current user config.
- '''
- '''
- Public ReadOnly Property UserConfigPath As String
- Get
- Return _UserConfigPath
- End Get
- End Property
-
- '''
- ''' Path to the current computer config.
- '''
- '''
- Public ReadOnly Property ComputerConfigPath As String
- Get
- Return _ComputerConfigPath
- End Get
- End Property
-
- '''
- ''' Path to the current Application config.
- '''
- '''
- Public ReadOnly Property AppConfigPath As String
- Get
- Return _AppConfigPath
- End Get
- End Property
-
- '''
- ''' Creates a new instance of the ConfigManager
- '''
- '''
- ''' LogConfig instance
- ''' The path to check for a user config file, eg. AppData (Usually Application.UserAppDataPath or Application.LocalUserAppDataPath)
- ''' The path to check for a computer config file, eg. ProgramData (Usually Application.CommonAppDataPath)
- ''' The path to check for a third config file. This is useful when running the Application in an environment where AppData/ProgramData directories are not available
- ''' Override values from ComputerConfig with UserConfig
- Public Sub New(LogConfig As LogConfig, UserConfigPath As String, ComputerConfigPath As String, Optional ApplicationStartupPath As String = "", Optional ForceUserConfig As Boolean = False)
- _LogConfig = LogConfig
- _Logger = LogConfig.GetLogger()
- _File = New Filesystem.File(_LogConfig)
-
- _Blueprint = Activator.CreateInstance(Of T)
- _BlueprintType = _Blueprint.GetType
- _Serializer = New XmlSerializer(_BlueprintType)
-
- _UserDirectory = _File.CreateDirectory(UserConfigPath)
- _UserConfigPath = Path.Combine(_UserDirectory, USER_CONFIG_NAME)
-
- If ComputerConfigPath <> String.Empty Then
- If IO.File.Exists(ComputerConfigPath) Then
- _ComputerDirectory = _File.CreateDirectory(ComputerConfigPath, False)
- Else
- _ComputerDirectory = ComputerConfigPath
- End If
- _ComputerConfigPath = Path.Combine(_ComputerDirectory, COMPUTER_CONFIG_NAME)
- End If
-
- If ApplicationStartupPath <> String.Empty Then
- _Logger.Info($"AppConfig is being used: [{ApplicationStartupPath}]")
- _AppConfigPath = Path.Combine(ApplicationStartupPath, APP_CONFIG_NAME)
- End If
-
- _WriteAllValuesToUserConfig = ForceUserConfig
-
- _Config = LoadConfig()
- End Sub
-
- '''
- ''' Creates a new ConfigManager with a single (user)config path
- '''
- ''' LogConfig instance
- ''' The path to check for a user config file, eg. AppData (Usually Application.UserAppDataPath or Application.LocalUserAppDataPath)
- Public Sub New(LogConfig As LogConfig, ConfigPath As String)
- MyClass.New(LogConfig, ConfigPath, String.Empty, String.Empty, ForceUserConfig:=True)
- End Sub
-
- '''
- ''' Save the current config object to `UserConfigPath`
- '''
- ''' Force saving all attributes including the attributes marked as excluded
- ''' True if save was successful, False otherwise
- Public Function Save(Optional ForceAll As Boolean = False) As Boolean
- Try
- WriteToFile(Config, _UserConfigPath, ForceAll)
- Return True
- Catch ex As Exception
- _Logger.Error(ex)
- Return False
- End Try
- End Function
-
- '''
- ''' Reloads the config object from file.
- '''
- ''' True if reload was successful, False otherwise
- Public Function Reload() As Boolean
- Try
- _Config = LoadConfig()
- Return True
- Catch ex As Exception
- _Logger.Error(ex)
- Return False
- End Try
- End Function
-
- '''
- ''' Copies all properties from Source to Target, except those who have an attribute
- ''' listed in ExcludedAttributeTypes
- '''
- ''' Source config object
- ''' Target config object
- ''' List of Attribute type to exclude
- Private Sub CopyValues(Source As T, Target As T, Optional ExcludedAttributeTypes As List(Of Type) = Nothing)
- Dim oType As Type = GetType(T)
- Dim oExcludedAttributeTypes = IIf(IsNothing(ExcludedAttributeTypes), New List(Of Type), ExcludedAttributeTypes)
- Dim oProperties = oType.GetProperties().
- Where(Function(p) p.CanRead And p.CanWrite).
- Where(Function(p)
- For Each oAttributeType As Type In oExcludedAttributeTypes
- If Attribute.IsDefined(p, oAttributeType) Then
- Return False
- End If
- Next
- Return True
- End Function)
-
- For Each oProperty As PropertyInfo In oProperties
- ' TODO: Process individual Subfields of class-objects
- ' to allow for the PasswordAttribute to be set on class properies aka nested properties
-
- Dim oValue = oProperty.GetValue(Source, Nothing)
- If Not IsNothing(oValue) Then
- oProperty.SetValue(Target, oValue, Nothing)
- End If
- Next
- End Sub
-
- '''
- ''' Filters a config object by copying all values except `ExcludedAttributeTypes`
- '''
- ''' Config object
- ''' List of Attribute type to exclude
- '''
- Private Function FilterValues(ByVal Data As T, ExcludedAttributeTypes As List(Of Type)) As T
- Dim oResult As T = Activator.CreateInstance(Of T)
-
- CopyValues(Data, oResult, ExcludedAttributeTypes)
- Return oResult
- End Function
-
- Private Function LoadConfig() As T
- ' first create an empty/default config object
- Dim oConfig As T = Activator.CreateInstance(_BlueprintType)
-
- ' try to load the special app config
- oConfig = LoadAppConfig(oConfig)
-
- ' try to load the computer config
- oConfig = LoadComputerConfig(oConfig)
-
- ' now try to load userconfig
- oConfig = LoadUserConfig(oConfig)
- Return oConfig
- End Function
-
- Private Function LoadAppConfig(ByVal Config As T) As T
- If Not String.IsNullOrEmpty(_AppConfigPath) AndAlso File.Exists(_AppConfigPath) Then
- Try
- Dim oAppConfig = ReadFromFile(_AppConfigPath)
- CopyValues(oAppConfig, Config)
-
- _Logger.Info("AppConfig exists and will be used. [{0}]", _AppConfigPath)
- Catch ex As Exception
- _Logger.Error(ex)
- _Logger.Warn("ApplicationConfig could not be loaded!")
- End Try
-
- _WriteAllValuesToUserConfig = False
- Else
- _Logger.Debug("ApplicationConfig does not exist.")
- _WriteAllValuesToUserConfig = True
- End If
-
- Return Config
- End Function
-
- Private Function LoadComputerConfig(ByVal Config As T) As T
- If _WriteAllValuesToUserConfig = False Then
- _Logger.Info("AppConfig exists. ComputerConfig will NOT be used")
- ElseIf File.Exists(_ComputerConfigPath) Then
- Try
- Dim oComputerConfig = ReadFromFile(_ComputerConfigPath)
- CopyValues(oComputerConfig, Config)
-
- _Logger.Info("ComputerConfig exists and will be used. [{0}]", _ComputerConfigPath)
- Catch ex As Exception
- _Logger.Error(ex)
- _Logger.Warn("Computer config could not be loaded!")
- End Try
- _WriteAllValuesToUserConfig = False
- Else
- _Logger.Debug("Computer config does not exist.")
- _WriteAllValuesToUserConfig = True
- End If
-
- Return Config
- End Function
-
- Private Function LoadUserConfig(ByVal Config As T) As T
- If File.Exists(_UserConfigPath) Then
- Try
- Dim oUserConfig = ReadFromFile(_UserConfigPath)
- _Logger.Debug("UserConfig exists and will be used. [{0}]", _UserConfigPath)
-
- ' if user config exists
- If Not IsNothing(oUserConfig) Then
- ' Copy values from user config to final config
- If _WriteAllValuesToUserConfig Then
- CopyValues(oUserConfig, Config, New List(Of Type))
- Else
- CopyValues(oUserConfig, Config, _ExcludedAttributes)
- End If
- End If
- Catch ex As Exception
- _Logger.Error(ex)
- _Logger.Warn("User config could not be loaded!")
- End Try
- Else
- _Logger.Debug("User config does not exist. Default config will be created")
- WriteToFile(Config, _UserConfigPath, False)
- End If
-
- Return Config
- End Function
-
- Private Function TestHasAttribute(Config As T, AttributeType As Type) As Boolean
- For Each oProperty As PropertyInfo In Config.GetType.GetProperties()
- If Attribute.IsDefined(oProperty, GetType(ConnectionStringAttribute)) Then
- Return True
- End If
- Next
-
- Return False
- End Function
-
- '''
- ''' Serialize a config object to byte array
- '''
- '''
- '''
- Private Function Serialize(Data As T) As Byte()
- Try
- _Logger.Debug("Serializing config object")
-
- Using oStream = New MemoryStream()
- _Serializer.Serialize(oStream, Data)
- _Logger.Debug("Object serialized.")
- Return oStream.ToArray()
- End Using
- Catch ex As Exception
- _Logger.Error(ex)
- Throw ex
- End Try
- End Function
-
- '''
- ''' Write an object to disk as xml
- '''
- ''' The object to write
- ''' The file name to write to
- Private Sub WriteToFile(Data As T, Path As String, ForceAll As Boolean)
- Try
- _Logger.Debug("Saving config to: {0}", Path)
-
- ' If config was loaded from computer config,
- ' DO NOT save connection string, etc. to user config
- If _WriteAllValuesToUserConfig = False And ForceAll = False Then
- Data = FilterValues(Data, _ExcludedAttributes)
- End If
-
- Dim oBytes = Serialize(Data)
-
- Using oFileStream = New FileStream(Path, FileMode.Create, FileAccess.Write)
- oFileStream.Write(oBytes, 0, oBytes.Length)
- oFileStream.Flush()
- End Using
- Catch ex As Exception
- _Logger.Warn("Could not save config to {0}", Path)
- _Logger.Error(ex)
- Throw ex
- End Try
- End Sub
-
- '''
- ''' Reads an xml from disk and deserializes to object
- '''
- '''
- Private Function ReadFromFile(Path As String) As T
- Try
- _Logger.Debug("Loading config from: {0}", Path)
- Dim oConfig As T
-
- Using oReader As New StreamReader(Path)
- oConfig = _Serializer.Deserialize(oReader)
- End Using
-
- ' If oConfig is Nothing, a config file was created but nothing was written to it.
- ' In this case we need to create oConfig from defaults so we have at least some config object
- If oConfig Is Nothing Then
- _Logger.Debug("Config file is valid but empty. Loading default values")
- oConfig = Activator.CreateInstance(_BlueprintType)
- End If
-
- Return oConfig
- Catch ex As Exception
- _Logger.Warn("Could not load config from {0}", Path)
- _Logger.Error(ex)
- Throw ex
- End Try
- End Function
-End Class
diff --git a/Modules.Config/ConfigSample.vb b/Modules.Config/ConfigSample.vb
deleted file mode 100644
index 9bed8b6c..00000000
--- a/Modules.Config/ConfigSample.vb
+++ /dev/null
@@ -1,20 +0,0 @@
-Imports DigitalData.Modules.Config.ConfigAttributes
-
-Public Class ConfigSample
-
-
- Public Property ConnectionString As String
-
-
- Public Property ConnectionStringTest As String
-
-
- Public Property ConnectionStringAppServer As String
-
-
- Public Property EDMIAppServer As String
-
- Public Property GlobalSetting As Integer
-
- Public Property SomeSetting As Boolean
-End Class
diff --git a/Modules.Config/ConfigUtils.vb b/Modules.Config/ConfigUtils.vb
deleted file mode 100644
index 04fa7773..00000000
--- a/Modules.Config/ConfigUtils.vb
+++ /dev/null
@@ -1,119 +0,0 @@
-Imports DigitalData.Modules.Logging
-
-Public Class ConfigUtils
- Private _Logger As Logger
- Private _File As Filesystem.File
-
- Private Const MIGRATE_DIRECTORY As String = "Migrate"
-
-
- Public Sub New(LogConfig As LogConfig)
- _Logger = LogConfig.GetLogger()
- _File = New Filesystem.File(LogConfig)
- End Sub
-
- Public Function TestMigrationNeeded(TargetDirectory As String) As Boolean
- If IO.Directory.Exists(TargetDirectory) Then
- Return False
- Else
- Return True
- End If
- End Function
-
- Public Sub MigrateConfig(SourceDirectory As String, TargetDirectory As String, Optional FilePattern As String = "*.*")
- If IO.Directory.Exists(TargetDirectory) Then
- _Logger.Warn("Config Migration aborted because new config directory [{0}] already exists!", TargetDirectory)
- Exit Sub
- End If
-
- _Logger.Debug("Creating TargetDirectory [{0}]", TargetDirectory)
- ' Create target directory
- Try
- IO.Directory.CreateDirectory(TargetDirectory)
- Catch ex As Exception
- _Logger.Warn("Config Migration aborted because new config directory [{0}] could not be created!", TargetDirectory)
- _Logger.Error(ex)
- Exit Sub
- End Try
-
- ' Create Migration directory
- Dim oMigrationDirectory = IO.Path.Combine(SourceDirectory, MIGRATE_DIRECTORY)
- _Logger.Debug("Creating MigrationDirectory [{0}]", oMigrationDirectory)
- Try
- IO.Directory.CreateDirectory(oMigrationDirectory)
- Catch ex As Exception
- _Logger.Warn("Config Migration aborted because migration directory [{0}] could not be created!", oMigrationDirectory)
- _Logger.Error(ex)
- Exit Sub
- End Try
-
- ' Copy individual files from top level directory
- For Each oPath In IO.Directory.EnumerateFiles(SourceDirectory, FilePattern)
- Dim oFileInfo = New IO.FileInfo(oPath)
-
- _Logger.NewBlock($"File {oFileInfo.Name}")
- _Logger.Debug("Processing file [{0}]", oFileInfo.Name)
-
- _Logger.Debug("Copying [{0}] to TargetDirectory..", oFileInfo.Name)
- ' Copy to target directory
- Try
- IO.File.Copy(oPath, IO.Path.Combine(TargetDirectory, oFileInfo.Name))
- Catch ex As Exception
- _Logger.Warn("Could not move old config file {0} to new config location {1}", oFileInfo.Name, TargetDirectory)
- _Logger.Error(ex)
- End Try
-
- _Logger.Debug("Moving [{0}] to MigrationDirectory..", oFileInfo.Name)
- ' Move to migration directory
- Try
- IO.File.Move(oPath, IO.Path.Combine(oMigrationDirectory, oFileInfo.Name))
- Catch ex As Exception
- _Logger.Warn("Could not move old config file {0} to migration directory {1}", oFileInfo.Name, oMigrationDirectory)
- _Logger.Error(ex)
- End Try
- Next
-
- For Each oDirectoryPath In IO.Directory.EnumerateDirectories(SourceDirectory, "*", IO.SearchOption.TopDirectoryOnly)
- Dim oDirInfo As New IO.DirectoryInfo(oDirectoryPath)
-
- _Logger.NewBlock($"Directory {oDirInfo.Name}")
- _Logger.Debug("Processing directory [{0}]", oDirInfo.Name)
-
- ' Don't copy TargetDirectory if subpath of SourceDirectory or if MigrationDirectory
- If oDirInfo.FullName = TargetDirectory Or oDirInfo.FullName = oMigrationDirectory Then
- _Logger.Debug("Directory [{0}] should not be copied. Skipping.", oDirInfo.Name)
- Continue For
- End If
-
- ' Copy directory to TargetDirectory
- Dim oNewDirectoryPath = IO.Path.Combine(TargetDirectory, oDirInfo.Name)
- _Logger.Debug("Copying [{0}] to TargetDirectory..", oDirInfo.Name)
- Try
- _File.CopyDirectory(oDirInfo.FullName, oNewDirectoryPath, True)
- Catch ex As Exception
- _Logger.Warn("Could not move directory [{0}] to new path [{1}]", oDirInfo.FullName, oNewDirectoryPath)
- _Logger.Error(ex)
- End Try
-
- _Logger.Debug("Copying [{0}] to MigrationDirectory..", oDirInfo.Name)
- ' Copy directory to MigrationDirectory
- Dim oMigrationDirectoryPath = IO.Path.Combine(oMigrationDirectory, oDirInfo.Name)
- Try
- _File.CopyDirectory(oDirInfo.FullName, oMigrationDirectoryPath, True)
- Catch ex As Exception
- _Logger.Error(ex)
- _Logger.Warn("Could not move directory [{0}] to migration directory [{1}]", oDirInfo.FullName, oMigrationDirectoryPath)
- End Try
-
- _Logger.Debug("Deleting [{0}]..", oDirInfo.Name)
- ' Delete directory
- Try
- IO.Directory.Delete(oDirInfo.FullName, True)
- Catch ex As Exception
- _Logger.Error(ex)
- _Logger.Warn("Could not delete directory [{0}]", oDirInfo.FullName)
- End Try
- Next
- End Sub
-
-End Class
diff --git a/Modules.Config/My Project/Application.Designer.vb b/Modules.Config/My Project/Application.Designer.vb
deleted file mode 100644
index 8ab460ba..00000000
--- a/Modules.Config/My Project/Application.Designer.vb
+++ /dev/null
@@ -1,13 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' Dieser Code wurde von einem Tool generiert.
-' Laufzeitversion:4.0.30319.42000
-'
-' Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
-' der Code erneut generiert wird.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
diff --git a/Modules.Config/My Project/Application.myapp b/Modules.Config/My Project/Application.myapp
deleted file mode 100644
index 758895de..00000000
--- a/Modules.Config/My Project/Application.myapp
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
- false
- false
- 0
- true
- 0
- 1
- true
-
diff --git a/Modules.Config/My Project/AssemblyInfo.vb b/Modules.Config/My Project/AssemblyInfo.vb
deleted file mode 100644
index d92cd28b..00000000
--- a/Modules.Config/My Project/AssemblyInfo.vb
+++ /dev/null
@@ -1,35 +0,0 @@
-Imports System
-Imports System.Reflection
-Imports System.Runtime.InteropServices
-
-' Allgemeine Informationen über eine Assembly werden über die folgenden
-' Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
-' die einer Assembly zugeordnet sind.
-
-' Werte der Assemblyattribute überprüfen
-
-
-
-
-
-
-
-
-
-
-'Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird.
-
-
-' Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
-'
-' Hauptversion
-' Nebenversion
-' Buildnummer
-' Revision
-'
-' Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
-' übernehmen, indem Sie "*" eingeben:
-'
-
-
-
diff --git a/Modules.Config/My Project/Resources.Designer.vb b/Modules.Config/My Project/Resources.Designer.vb
deleted file mode 100644
index 3c533e50..00000000
--- a/Modules.Config/My Project/Resources.Designer.vb
+++ /dev/null
@@ -1,63 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' Dieser Code wurde von einem Tool generiert.
-' Laufzeitversion:4.0.30319.42000
-'
-' Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
-' der Code erneut generiert wird.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
-Imports System
-
-Namespace My.Resources
-
- 'Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert
- '-Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert.
- 'Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
- 'mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu.
- '''
- ''' Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
- '''
- _
- Friend Module Resources
-
- Private resourceMan As Global.System.Resources.ResourceManager
-
- Private resourceCulture As Global.System.Globalization.CultureInfo
-
- '''
- ''' Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
- '''
- _
- Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager
- Get
- If Object.ReferenceEquals(resourceMan, Nothing) Then
- Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("DigitalData.Modules.Config.Resources", GetType(Resources).Assembly)
- resourceMan = temp
- End If
- Return resourceMan
- End Get
- End Property
-
- '''
- ''' Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
- ''' Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
- '''
- _
- Friend Property Culture() As Global.System.Globalization.CultureInfo
- Get
- Return resourceCulture
- End Get
- Set
- resourceCulture = value
- End Set
- End Property
- End Module
-End Namespace
diff --git a/Modules.Config/My Project/Resources.resx b/Modules.Config/My Project/Resources.resx
deleted file mode 100644
index af7dbebb..00000000
--- a/Modules.Config/My Project/Resources.resx
+++ /dev/null
@@ -1,117 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
\ No newline at end of file
diff --git a/Modules.Config/My Project/Settings.Designer.vb b/Modules.Config/My Project/Settings.Designer.vb
deleted file mode 100644
index 323842b0..00000000
--- a/Modules.Config/My Project/Settings.Designer.vb
+++ /dev/null
@@ -1,73 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' Dieser Code wurde von einem Tool generiert.
-' Laufzeitversion:4.0.30319.42000
-'
-' Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
-' der Code erneut generiert wird.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
-
-Namespace My
-
- _
- Partial Friend NotInheritable Class MySettings
- Inherits Global.System.Configuration.ApplicationSettingsBase
-
- Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings)
-
-#Region "Automatische My.Settings-Speicherfunktion"
-#If _MyType = "WindowsForms" Then
- Private Shared addedHandler As Boolean
-
- Private Shared addedHandlerLockObject As New Object
-
- _
- Private Shared Sub AutoSaveSettings(sender As Global.System.Object, e As Global.System.EventArgs)
- If My.Application.SaveMySettingsOnExit Then
- My.Settings.Save()
- End If
- End Sub
-#End If
-#End Region
-
- Public Shared ReadOnly Property [Default]() As MySettings
- Get
-
-#If _MyType = "WindowsForms" Then
- If Not addedHandler Then
- SyncLock addedHandlerLockObject
- If Not addedHandler Then
- AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
- addedHandler = True
- End If
- End SyncLock
- End If
-#End If
- Return defaultInstance
- End Get
- End Property
- End Class
-End Namespace
-
-Namespace My
-
- _
- Friend Module MySettingsProperty
-
- _
- Friend ReadOnly Property Settings() As Global.DigitalData.Modules.Config.My.MySettings
- Get
- Return Global.DigitalData.Modules.Config.My.MySettings.Default
- End Get
- End Property
- End Module
-End Namespace
diff --git a/Modules.Config/My Project/Settings.settings b/Modules.Config/My Project/Settings.settings
deleted file mode 100644
index 85b890b3..00000000
--- a/Modules.Config/My Project/Settings.settings
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/Modules.Config/SampleConfig.vb b/Modules.Config/SampleConfig.vb
deleted file mode 100644
index ba775c22..00000000
--- a/Modules.Config/SampleConfig.vb
+++ /dev/null
@@ -1,70 +0,0 @@
-Imports Config
-Imports NLog
-
-'''
-''' Sample Config Class inheriting from BaseConfig
-'''
-'''
-'''
-''' Things this class should do:
-'''
-''' - Provide defaults for all values
-''' - Load the current config using the LoadConfig method of BaseConfig
-''' - If no configfile was found, it should create a new datatable with only default values
-''' - If a configfile was found, it should merge the values from this file with the defaults from this class
-''' - For each propertyname defined in PropertyNames
-''' - Check for existing value in datatable
-''' - If a value is present, use it
-''' - If no value is exists, use the default value
-''' - Assign the resulting values to class properties
-''' - Save the new config to disk
-'''
-Public Class SampleConfig
- Inherits BaseConfig
-
- Private _logger As Logger
-
- Public ReadOnly ConnectionString As String
- Public ReadOnly UniversalViewer As String
-
- Public Overloads ReadOnly Property PropertyNames As Dictionary(Of String, String)
- Get
- Return New Dictionary(Of String, String) From {
- {"ConnectionString", ""},
- {"UniversalViewer", ""}
- }
- End Get
- End Property
-
- Public Sub New(LogFactory As LogFactory)
- MyBase.New(LogFactory)
-
- _logger = LogFactory.GetCurrentClassLogger()
-
- ' Load the existing values from the config file into PropertyNames
- ' overwriting the default values
- Dim oDataTable = LoadConfig()
-
- For Each oRow As DataRow In oDataTable.Rows
- Dim oValue = oRow.Item(_configValue)
- Dim oKey = oRow.Item(_configKey)
-
- PropertyNames.Item(oKey) = oValue
- Next
-
- ' Assign the merged properties to class properties, optionally converting them beforehand
- For Each oProperty As KeyValuePair(Of String, String) In PropertyNames
- Select Case oProperty.Key
- Case "ConnectionString"
- ConnectionString = oProperty.Value
- Case "UniversalViewer"
- UniversalViewer = oProperty.Value
- Case Else
- _logger.Warn("Property {0} was found in PropertyNames but was not assigned to a config property", oProperty.Key)
- End Select
- Next
-
- ' Convert the dictionary back to a datatable and save it
- SaveConfig(ConvertToDataTable(PropertyNames))
- End Sub
-End Class
diff --git a/Modules.Config/packages.config b/Modules.Config/packages.config
deleted file mode 100644
index 63f3075e..00000000
--- a/Modules.Config/packages.config
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/Modules.Database/Adapters/Firebird.vb b/Modules.Database/Adapters/Firebird.vb
deleted file mode 100644
index a3b24da3..00000000
--- a/Modules.Database/Adapters/Firebird.vb
+++ /dev/null
@@ -1,350 +0,0 @@
-Imports FirebirdSql.Data.FirebirdClient
-Imports System.Text.RegularExpressions
-Imports DigitalData.Modules.Logging
-Imports System.ComponentModel
-
-'''
-''' MODULE: Firebird
-'''
-''' VERSION: 0.0.0.4
-'''
-''' DATE: 18.12.2018
-'''
-''' DESCRIPTION:
-'''
-''' DEPENDENCIES: NLog, >= 4.5.10
-'''
-''' EntityFramework.Firebird, >= 6.4.0
-'''
-''' FirebirdSql.Data.FirebirdClient, >= 6.4.0
-'''
-''' PARAMETERS: LogConfig, DigitalData.Modules.Logging.LogConfig
-''' The LogFactory containing the current log config. Used to instanciate the class logger for this and any dependent class
-'''
-''' DataSource, String
-''' The server where the database lives, for example 127.0.0.1 or dd-vmx09-vm03
-'''
-''' Database, String
-''' The location of the Database in the format `127.0.0.1:E:\Path\To\Database.FDB`
-'''
-''' User, String
-''' The user name to connect as
-'''
-''' Password, String
-''' The user's password
-'''
-''' PROPERTIES: ConnectionEstablished, Boolean
-''' If the last opened connection was successful
-'''
-''' ConnectionFailed, Boolean
-''' If the last opened connection failed
-'''
-''' ConnectionString, String
-''' The used connectionstring
-'''
-''' EXAMPLES:
-'''
-''' REMARKS: If the connection fails due to "wrong username or password", the cause might be that the server harddrive is full..
-'''
-Public Class Firebird
- Private _Logger As Logger
- Private _LogConfig As LogConfig
- Private _connectionServer As String
- Private _connectionDatabase As String
- Private _connectionUsername As String
- Private _connectionPassword As String
- Private _connectionString As String
- Public _DBInitialized As Boolean = False
-
- Public Const MAX_POOL_SIZE = 1000
-
- Public Enum TransactionMode
-
- NoTransaction
-
- ExternalTransaction
-
- WithTransaction
- End Enum
-
- Public ReadOnly Property ConnectionString As String
- Get
- Return _connectionString
- End Get
- End Property
-
- Public ReadOnly Property DatabaseName As String
- Get
- Dim oRegex As New Regex("^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}:")
- Dim oPath As String = oRegex.Replace(_connectionDatabase, "")
- Dim oFileInfo As New IO.FileInfo(oPath)
- Return oFileInfo.Name
- End Get
- End Property
-
- '''
- '''
- '''
- ''' The LogFactory containing the current log config. Used to instanciate the class logger for this and any dependent class
- ''' The server where the database lives, for example 127.0.0.1 or dd-vmx09-vm03
- ''' The location of the Database in the format `127.0.0.1:E:\Path\To\Database.FDB`
- ''' The user name to connect as
- ''' The user's password
- '''
- Public Sub New(LogConfig As LogConfig, Datasource As String, Database As String, User As String, Password As String)
- Try
- _LogConfig = LogConfig
- _Logger = _LogConfig.GetLogger()
- Dim oConnectionString = GetConnectionString(Datasource, Database, User, Password)
-
- _connectionServer = Datasource
- _connectionDatabase = Database
- _connectionUsername = User
- _connectionPassword = Password
- _connectionString = oConnectionString
-
- _Logger.Debug("Connecting to database..")
-
- ' Test the connection
- Dim oConnection = GetConnection()
- ' If initial connection was successfully, close it
- oConnection.Close()
-
- If oConnection Is Nothing Then
- Throw New Exceptions.DatabaseException()
- Else
- _DBInitialized = True
- End If
-
- _Logger.Debug("Connection sucessfully established!")
- Catch ex As Exception
- _Logger.Error(ex)
- End Try
-
- End Sub
-
- Public Function GetConnection() As FbConnection
- Try
- Dim oConnection = New FbConnection(_connectionString)
- oConnection.Open()
-
- Return oConnection
- Catch ex As Exception
- _Logger.Error(ex)
- Return Nothing
- End Try
- End Function
-
- '''
- ''' Builds a connectionstring from the provided arguments.
- '''
- ''' The database server where to connect to
- ''' The datasource, eg. the path of the FDB-file
- ''' The user used to connect to the database
- ''' The password of the connecting user
- ''' A connectionstring
- Private Function GetConnectionString(DataSource As String, Database As String, User As String, Password As String) As String
- Return New FbConnectionStringBuilder With {
- .DataSource = DataSource,
- .Database = Database,
- .UserID = User,
- .Password = Password,
- .Charset = "UTF8",
- .MaxPoolSize = MAX_POOL_SIZE
- }.ToString()
- End Function
-
- Private Function MaybeGetTransaction(Connection As FbConnection, Mode As TransactionMode, Transaction As FbTransaction) As FbTransaction
- If Mode = TransactionMode.NoTransaction Then
- Return Nothing
- ElseIf Mode = TransactionMode.ExternalTransaction Then
- Return Transaction
- Else
- Return Connection.BeginTransaction()
- End If
- End Function
-
- Private Function MaybeCommitTransaction(Transaction As FbTransaction, TransactionMode As TransactionMode) As Boolean
- Select Case TransactionMode
- Case TransactionMode.NoTransaction
- Return True
- Case TransactionMode.ExternalTransaction
- Return True
- Case TransactionMode.WithTransaction
- Try
- Transaction.Commit()
- Return True
- Catch ex As Exception
- _Logger.Error(ex)
- Return False
- End Try
- Case Else
- Return True
- End Select
- End Function
-
- '''
- ''' Executes a non-query command.
- '''
- ''' The command to execute
- ''' The Firebird connection to use
- ''' True, if command was executed sucessfully. Otherwise false.
- Public Function ExecuteNonQueryWithConnection(SqlCommand As String, Connection As FbConnection, Optional TransactionMode As TransactionMode = TransactionMode.WithTransaction, Optional Transaction As FbTransaction = Nothing) As Boolean
- _Logger.Debug("Executing Non-Query: {0}", SqlCommand)
-
- If Connection Is Nothing Then
- _Logger.Warn("Connection is nothing!")
- Return Nothing
- End If
-
- Dim oTransaction = MaybeGetTransaction(Connection, TransactionMode, Transaction)
-
- Try
- Dim oCommand As New FbCommand With {
- .CommandText = SqlCommand,
- .Connection = Connection
- }
-
- If Not IsNothing(oTransaction) Then
- oCommand.Transaction = oTransaction
- End If
-
- oCommand.ExecuteNonQuery()
- _Logger.Debug("Command executed!")
- Catch ex As Exception
- _Logger.Error(ex, $"Error in ExecuteNonQuery while executing command: [{SqlCommand}]")
- _Logger.Warn($"Unexpected error in ExecuteNonQueryWithConnection: [{SqlCommand}]")
- Throw ex
- Finally
- MaybeCommitTransaction(oTransaction, TransactionMode)
- End Try
-
- Return True
- End Function
-
- '''
- ''' Executes a non-query command.
- '''
- ''' The command to execute
- ''' True, if command was executed sucessfully. Otherwise false.
- Public Function ExecuteNonQuery(SqlCommand As String) As Boolean
- Using oConnection As FbConnection = GetConnection()
- Return ExecuteNonQueryWithConnection(SqlCommand, oConnection)
- End Using
- End Function
-
- '''
- ''' Executes a non-query command inside the specified transaction.
- '''
- ''' The command to execute
- ''' True, if command was executed sucessfully. Otherwise false.
- Public Function ExecuteNonQuery(SqlCommand As String, Transaction As FbTransaction) As Boolean
- Using oConnection As FbConnection = GetConnection()
- Return ExecuteNonQueryWithConnection(SqlCommand, oConnection, TransactionMode.ExternalTransaction, Transaction)
- End Using
- End Function
-
- '''
- ''' Executes a sql query resulting in a scalar value.
- '''
- ''' The query to execute
- ''' The Firebird connection to use
- ''' The scalar value if the command was executed successfully. Nothing otherwise.
- Public Function GetScalarValueWithConnection(SqlQuery As String, Connection As FbConnection, Optional TransactionMode As TransactionMode = TransactionMode.WithTransaction, Optional Transaction As FbTransaction = Nothing) As Object
- _Logger.Debug("Fetching Scalar-Value: {0}", SqlQuery)
-
- If Connection Is Nothing Then
- _Logger.Warn("Connection is nothing!")
- Return Nothing
- End If
-
- Dim oTransaction = MaybeGetTransaction(Connection, TransactionMode, Transaction)
- Dim oResult As Object
-
- Try
- Dim oCommand As New FbCommand With {
- .CommandText = SqlQuery,
- .Connection = Connection,
- .Transaction = oTransaction
- }
- oResult = oCommand.ExecuteScalar()
- Catch ex As Exception
- _Logger.Error(ex, $"Error in ReturnScalar while executing command: [{SqlQuery}]")
- Throw ex
- Finally
- MaybeCommitTransaction(oTransaction, TransactionMode)
- End Try
-
- Return oResult
- End Function
-
- '''
- ''' Executes a sql query resulting in a scalar value.
- '''
- ''' The query to execute
- ''' The scalar value if the command was executed successfully. Nothing otherwise.
- Public Function GetScalarValue(SqlQuery As String) As Object
- Dim oConnection As FbConnection = GetConnection()
- Dim oScalarValue As Object = GetScalarValueWithConnection(SqlQuery, oConnection)
- oConnection.Close()
-
- Return oScalarValue
- End Function
-
- '''
- ''' Executes a sql query resulting in a table of values.
- '''
- ''' The query to execute
- ''' The Firebird connection to use
- ''' A datatable containing the results if the command was executed successfully. Nothing otherwise.
- Public Function GetDatatableWithConnection(SqlQuery As String, Connection As FbConnection, Optional TransactionMode As TransactionMode = TransactionMode.NoTransaction, Optional Transaction As FbTransaction = Nothing) As DataTable
- _Logger.Debug("Fetching Datatable: {0}", SqlQuery)
-
- If Connection Is Nothing Then
- _Logger.Warn("Connection is nothing!")
- Return Nothing
- End If
-
- Dim oTransaction = MaybeGetTransaction(Connection, TransactionMode, Transaction)
- Dim oDatatable As New DataTable() With {
- .TableName = "DDRESULT"
- }
-
- Try
- Dim oAdapter As New FbDataAdapter(New FbCommand With {
- .CommandText = SqlQuery,
- .Connection = Connection,
- .Transaction = oTransaction
- })
-
- oAdapter.Fill(oDatatable)
- Catch ex As Exception
- _Logger.Error(ex)
- _Logger.Warn("Error in GetDatatableWithConnection while executing command: [{0}]", SqlQuery)
- Throw ex
- Finally
- MaybeCommitTransaction(oTransaction, TransactionMode)
- End Try
-
- Return oDatatable
- End Function
-
- '''
- ''' Executes a sql query resulting in a table of values.
- '''
- ''' The query to execute
- ''' A datatable containing the results if the command was executed successfully. Nothing otherwise.
- Public Function GetDatatable(SqlQuery As String, Optional TransactionMode As TransactionMode = TransactionMode.NoTransaction, Optional Transaction As FbTransaction = Nothing) As DataTable
- Try
- Dim oConnection As FbConnection = GetConnection()
- Dim oDatatable As DataTable = GetDatatableWithConnection(SqlQuery, oConnection, TransactionMode, Transaction)
- oConnection.Close()
-
- Return oDatatable
- Catch ex As Exception
- _Logger.Error(ex)
- _Logger.Warn("Error in GetDatatable while executing command: '{0}'", SqlQuery)
- Throw ex
- End Try
- End Function
-End Class
diff --git a/Modules.Database/Adapters/MSSQLServer.vb b/Modules.Database/Adapters/MSSQLServer.vb
deleted file mode 100644
index 604febc9..00000000
--- a/Modules.Database/Adapters/MSSQLServer.vb
+++ /dev/null
@@ -1,518 +0,0 @@
-Imports System.ComponentModel
-Imports System.Data.Common
-Imports System.Data.SqlClient
-Imports DigitalData.Modules.Encryption
-Imports DigitalData.Modules.Logging
-Imports DigitalData.Modules.Base
-
-Public Class MSSQLServer
- Implements IDatabase
-
- Public Property DBInitialized As Boolean = False Implements IDatabase.DBInitialized
- Public Property CurrentConnectionString As String = "" Implements IDatabase.CurrentConnectionString
-
- Private ReadOnly QueryTimeout As Integer
- Private ReadOnly Logger As Logger
-
- Public Enum TransactionMode
-
- NoTransaction
-
- ExternalTransaction
-
- WithTransaction
- End Enum
-
- Public Sub New(pLogConfig As LogConfig, pConnectionString As String, Optional pTimeout As Integer = Constants.DEFAULT_TIMEOUT)
- Logger = pLogConfig.GetLogger()
- QueryTimeout = pTimeout
-
- Try
- CurrentConnectionString = pConnectionString
- DBInitialized = TestCanConnect(CurrentConnectionString)
- Catch ex As Exception
- DBInitialized = False
- Logger.Error(ex)
- End Try
- End Sub
-
- Public Sub New(pLogConfig As LogConfig, Server As String, Database As String, UserId As String, Password As String, Optional Timeout As Integer = Constants.DEFAULT_TIMEOUT)
- Logger = pLogConfig.GetLogger()
- QueryTimeout = Timeout
-
- Try
- CurrentConnectionString = GetConnectionString(Server, Database, UserId, Password)
- DBInitialized = TestCanConnect(CurrentConnectionString)
- Catch ex As Exception
- DBInitialized = False
- Logger.Error(ex)
- End Try
- End Sub
-
- '''
- ''' Encrypts a connection string password.
- '''
- ''' A connection string with a plain-text password
- ''' The connection string with the password encrypted.
-
- Public Shared Function EncryptConnectionString(pConnectionString As String) As String
- Dim oEncryption As New EncryptionLegacy()
- Dim oBuilder As New SqlConnectionStringBuilder() With {.ConnectionString = pConnectionString}
- Dim oEncryptedPassword = oEncryption.EncryptData(oBuilder.Password)
- oBuilder.Password = oEncryptedPassword
-
- Return oBuilder.ToString()
- End Function
-
- '''
- ''' Decrypts a connection string password.
- '''
- ''' A connection string with a encrypted password
- ''' The connection string with the password decrypted.
-
- Public Shared Function DecryptConnectionString(pConnectionString As String) As String
- Dim oEncryption As New EncryptionLegacy()
- Dim oBuilder As New SqlConnectionStringBuilder() With {.ConnectionString = pConnectionString}
- Dim oDecryptedPassword = oEncryption.DecryptData(oBuilder.Password)
- oBuilder.Password = oDecryptedPassword
-
- Return oBuilder.ToString()
- End Function
-
-
- Public Function GetConnectionString(Server As String, Database As String, UserId As String, Password As String) As String
- Dim oConnectionStringBuilder As New SqlConnectionStringBuilder() With {
- .DataSource = Server,
- .InitialCatalog = Database,
- .UserID = UserId,
- .Password = Password
- }
-
- Return oConnectionStringBuilder.ToString
- End Function
-
-
- Public Function GetConnection() As SqlConnection
- Try
- Dim oConnection = GetSQLConnection()
- Return oConnection
- Catch ex As Exception
- Logger.Error(ex)
- Return Nothing
- End Try
- End Function
-
-
- Private Function MaybeGetTransaction(Connection As SqlConnection, Mode As TransactionMode, Transaction As SqlTransaction) As SqlTransaction
- If Connection Is Nothing Then
- Throw New ArgumentNullException("Connection")
- End If
-
- If Mode = TransactionMode.NoTransaction Then
- Return Nothing
- ElseIf Mode = TransactionMode.ExternalTransaction Then
- Return Transaction
- Else
- Return Connection.BeginTransaction()
- End If
- End Function
-
-
- Private Function MaybeCommitTransaction(Transaction As SqlTransaction, TransactionMode As TransactionMode) As Boolean
- Select Case TransactionMode
- Case TransactionMode.NoTransaction
- Return True
- Case TransactionMode.ExternalTransaction
- Return True
- Case TransactionMode.WithTransaction
- Try
- Transaction.Commit()
- Return True
- Catch ex As Exception
- Logger.Error(ex)
- Return False
- End Try
- Case Else
- Return True
- End Select
- End Function
-
- Public Function GetConnectionStringForId(pConnectionId As Integer) As String
- Return Get_ConnectionStringforID(pConnectionId)
- End Function
-
- Public Function Get_ConnectionStringforID(pConnectionId As Integer) As String
- Dim oConnectionString As String = String.Empty
-
- Logger.Debug("Getting ConnectionString for ConnectionId [{0}]", pConnectionId)
-
- If pConnectionId = 0 Then
- Logger.Warn("ConnectionId was 0. Falling back to default connection.")
- Return String.Empty
- End If
-
- Try
- Dim oTable As DataTable = GetDatatable($"SELECT * FROM TBDD_CONNECTION WHERE GUID = {pConnectionId}")
- If oTable.Rows.Count = 1 Then
- Dim oRow As DataRow = oTable.Rows(0)
- Dim oProvider = oRow.Item("SQL_PROVIDER").ToString.ToUpper
- Dim oServer = oRow.Item("SERVER")
- Dim oDatabase = oRow.Item("DATENBANK")
- Dim oUser = oRow.Item("USERNAME")
- Dim oPassword = oRow.Item("PASSWORD")
-
- Select Case oProvider
- Case "MS-SQL"
- If oUser = "WINAUTH" Then
- oConnectionString = $"Server={oServer};Database={oDatabase};Trusted_Connection=True;"
- Else
- oConnectionString = $"Server={oServer};Database={oDatabase};User Id={oUser};Password={oPassword};"
- End If
-
- Case "ORACLE"
- If oRow.Item("BEMERKUNG").ToString.Contains("without tnsnames") Then
- oConnectionString = $"Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST={oServer})(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME={oDatabase})));User Id={oUser};Password={oPassword};"
- Else
- oConnectionString = $"Data Source={oServer};Persist Security Info=True;User Id={oUser};Password={oPassword};Unicode=True"
- End If
-
- Case Else
- Logger.Warn("Provider [{0}] not supported!", oProvider)
-
- End Select
-
- Else
- Logger.Warn("No entry for Connection-ID: [{0}] ", pConnectionId.ToString)
- End If
-
- Catch ex As Exception
- Logger.Error(ex)
- Logger.Warn("Error in Get_ConnectionStringforID")
- End Try
-
- Return DecryptConnectionString(oConnectionString)
- End Function
-
-
- Private Function TestCanConnect() As Boolean
- Return TestCanConnect(CurrentConnectionString)
- End Function
-
- Private Function TestCanConnect(pConnectionString As String) As Boolean
- Try
- Logger.Debug("Testing connection to [{0}]", MaskConnectionString(pConnectionString))
-
- Dim oDecryptedConnectionString = DecryptConnectionString(pConnectionString)
- Dim oConnection As New SqlConnection(oDecryptedConnectionString)
- OpenSQLConnection(oConnection)
- oConnection.Close()
- Return True
- Catch ex As Exception
- Logger.Error(ex)
- Return False
- End Try
- End Function
-
- '''
- ''' This Function intentionally has no try..catch block to have any errors caught outside
- '''
- '''
- '''
- Private Function OpenSQLConnection(Connection As SqlConnection) As SqlConnection
- If Connection.State = ConnectionState.Closed Then
- Connection.Open()
- End If
-
- Return Connection
- End Function
-
-
- Private Function GetSQLConnection() As SqlConnection
- Return GetConnection(CurrentConnectionString)
- End Function
-
- Private Function GetConnection(pConnectionString As String) As SqlConnection
- Try
- Dim oConnection As New SqlConnection(pConnectionString)
- oConnection = OpenSQLConnection(oConnection)
-
- Dim oMaskedConnectionString = MaskConnectionString(pConnectionString)
- Logger.Debug("The Following Connection is open: {0}", oMaskedConnectionString)
-
- Return oConnection
- Catch ex As Exception
- Logger.Error(ex)
-
- Return Nothing
- End Try
- End Function
-
-
- Private Function MaskConnectionString(pConnectionString As String) As String
- Try
- If pConnectionString Is Nothing OrElse pConnectionString.Length = 0 Then
- Logger.Warn("Connection String is empty!")
- Throw New ArgumentNullException("pConnectionString")
- End If
-
- Dim oBuilder As New SqlConnectionStringBuilder() With {.ConnectionString = pConnectionString}
- Dim oConnectionString = pConnectionString.Replace(oBuilder.Password, "XXXXX")
- Return oConnectionString
- Catch ex As Exception
- Logger.Error(ex)
- Return "Invalid ConnectionString"
- End Try
- End Function
-
- '
- Public Function GetDatatable(SqlCommand As String) As DataTable Implements IDatabase.GetDatatable
- Return GetDatatable(SqlCommand, QueryTimeout)
- End Function
-
- '''
- ''' Returns a datatable for a sql-statement
- '''
- ''' sqlcommand for datatable (select XYZ from TableORView)
- ''' Returns a datatable
- Public Function GetDatatable(SqlCommand As String, Timeout As Integer) As DataTable Implements IDatabase.GetDatatable
- Using oSqlConnection = GetSQLConnection()
- Return GetDatatableWithConnectionObject(SqlCommand, oSqlConnection, TransactionMode.WithTransaction, Nothing, Timeout)
- End Using
- End Function
-
- '
- Public Function GetDatatable(SqlCommand As String, Transaction As SqlTransaction, Optional Timeout As Integer = Constants.DEFAULT_TIMEOUT) As DataTable
- Using oSqlConnection = GetSQLConnection()
- Return GetDatatableWithConnectionObject(SqlCommand, oSqlConnection, TransactionMode.ExternalTransaction, Transaction, Timeout)
- End Using
- End Function
-
- '
- Public Async Function GetDatatableAsync(SqlCommand As String, Optional Timeout As Integer = Constants.DEFAULT_TIMEOUT) As Task(Of DataTable)
- Return Await Task.Run(Function() GetDatatable(SqlCommand, Timeout))
- End Function
-
- '
- Public Function GetDatatableWithConnection(SqlCommand As String, pConnectionString As String, Optional Timeout As Integer = Constants.DEFAULT_TIMEOUT) As DataTable
- Using oConnection = GetConnection(pConnectionString)
- Return GetDatatableWithConnectionObject(SqlCommand, oConnection, Timeout:=Timeout)
- End Using
- End Function
-
- Public Function GetDatatableWithConnectionObject(SqlCommand As String, SqlConnection As SqlConnection,
- Optional TransactionMode As TransactionMode = TransactionMode.WithTransaction,
- Optional Transaction As SqlTransaction = Nothing,
- Optional Timeout As Integer = Constants.DEFAULT_TIMEOUT) As DataTable
- Dim oTransaction As SqlTransaction = MaybeGetTransaction(SqlConnection, TransactionMode, Transaction)
- Dim oTable As New DataTable() With {.TableName = Constants.DEFAULT_TABLE}
-
- Try
- Dim oAdapter As New SqlDataAdapter(New SqlCommand With {
- .CommandText = SqlCommand,
- .Connection = SqlConnection,
- .Transaction = oTransaction,
- .CommandTimeout = Timeout
- })
-
- Logger.Debug("GetDatatableWithConnectionObject: Running Query [{0}]", SqlCommand)
-
- oAdapter.Fill(oTable)
- Catch ex As Exception
- Logger.Error(ex)
- Logger.Warn("GetDatatableWithConnectionObject: Error in GetDatatableWithConnection while executing command: [{0}]", SqlCommand)
- Throw ex
- Finally
- MaybeCommitTransaction(oTransaction, TransactionMode)
- End Try
-
- Return oTable
- End Function
-
- '
- Public Function ExecuteNonQuery(SQLCommand As String) As Boolean Implements IDatabase.ExecuteNonQuery
- Using oConnection = GetSQLConnection()
- Return ExecuteNonQueryWithConnectionObject(SQLCommand, oConnection, TransactionMode.WithTransaction, Nothing, QueryTimeout)
- End Using
- End Function
-
- '
- Public Function ExecuteNonQuery(SQLCommand As String, Timeout As Integer) As Boolean Implements IDatabase.ExecuteNonQuery
- Using oConnection = GetSQLConnection()
- Return ExecuteNonQueryWithConnectionObject(SQLCommand, oConnection, TransactionMode.WithTransaction, Nothing, Timeout)
- End Using
- End Function
-
- '
- Public Function ExecuteNonQuery(SQLCommand As String, Transaction As SqlTransaction, Optional Timeout As Integer = Constants.DEFAULT_TIMEOUT) As Boolean
- Using oConnection = GetSQLConnection()
- Return ExecuteNonQueryWithConnectionObject(SQLCommand, Transaction.Connection, TransactionMode.ExternalTransaction, Transaction, Timeout)
- End Using
- End Function
-
- '
- Public Async Function ExecuteNonQueryAsync(SQLCommand As String, Optional Timeout As Integer = Constants.DEFAULT_TIMEOUT) As Task(Of Boolean)
- Return Await Task.Run(Function() ExecuteNonQuery(SQLCommand, Timeout))
- End Function
-
- '
- Public Function ExecuteNonQueryWithConnection(pSQLCommand As String, ConnString As String, Optional Timeout As Integer = Constants.DEFAULT_TIMEOUT) As Boolean
- Using oConnection = GetConnection(ConnString)
- Return ExecuteNonQueryWithConnectionObject(pSQLCommand, oConnection, TransactionMode.WithTransaction, Nothing, Timeout)
- End Using
- End Function
-
- Public Function ExecuteNonQueryWithConnectionObject(SqlCommand As String, SqlConnection As SqlConnection,
- Optional TransactionMode As TransactionMode = TransactionMode.WithTransaction,
- Optional Transaction As SqlTransaction = Nothing,
- Optional Timeout As Integer = Constants.DEFAULT_TIMEOUT) As Boolean
- Dim oTransaction As SqlTransaction = MaybeGetTransaction(SqlConnection, TransactionMode, Transaction)
-
- Try
- Logger.Debug("ExecuteNonQueryWithConnectionObject: Running Command [{0}]", SqlCommand)
-
- Using oSQLCOmmand = SqlConnection.CreateCommand()
- oSQLCOmmand.CommandText = SqlCommand
- oSQLCOmmand.CommandTimeout = Timeout
- oSQLCOmmand.Transaction = oTransaction
- oSQLCOmmand.ExecuteNonQuery()
- End Using
-
- Return True
- Catch ex As Exception
- Logger.Error(ex)
- Logger.Warn("ExecuteNonQueryWithConnectionObject: Error in ExecuteNonQueryWithConnectionObject while executing command: [{0}]-[{1}]", SqlCommand, SqlConnection.ConnectionString)
- Return False
- Finally
- MaybeCommitTransaction(oTransaction, TransactionMode)
- End Try
- End Function
-
- '
- Public Function GetScalarValue(SQLQuery As String) As Object Implements IDatabase.GetScalarValue
- Using oConnection As SqlConnection = GetSQLConnection()
- Return GetScalarValueWithConnectionObject(SQLQuery, oConnection)
- End Using
- End Function
-
- '
- Public Function GetScalarValue(SQLCommand As String, Timeout As Integer) As Object Implements IDatabase.GetScalarValue
- Using oConnection = GetSQLConnection()
- Return GetScalarValueWithConnectionObject(SQLCommand, oConnection, TransactionMode.WithTransaction, Nothing, Timeout)
- End Using
- End Function
-
- '
- Public Function GetScalarValue(SQLCommand As String, Transaction As SqlTransaction, Optional Timeout As Integer = Constants.DEFAULT_TIMEOUT) As Object
- Using oConnection = GetSQLConnection()
- Return GetScalarValueWithConnectionObject(SQLCommand, oConnection, TransactionMode.ExternalTransaction, Transaction, Timeout)
- End Using
- End Function
-
- '
- Public Async Function GetScalarValueAsync(SQLQuery As String, Optional Timeout As Integer = Constants.DEFAULT_TIMEOUT) As Task(Of Object)
- Return Await Task.Run(Function() GetScalarValue(SQLQuery, Timeout))
- End Function
-
- '
- Public Function GetScalarValueWithConnection(SQLCommand As String, pConnectionString As String, Optional Timeout As Integer = Constants.DEFAULT_TIMEOUT) As Object
- Using oConnection = GetConnection(pConnectionString)
- Return GetScalarValueWithConnectionObject(SQLCommand, oConnection, TransactionMode.WithTransaction, Nothing, Timeout)
- End Using
- End Function
-
- Public Function GetScalarValueWithConnectionObject(SqlCommand As String, SqlConnection As SqlConnection,
- Optional TransactionMode As TransactionMode = TransactionMode.WithTransaction,
- Optional Transaction As SqlTransaction = Nothing,
- Optional Timeout As Integer = Constants.DEFAULT_TIMEOUT) As Object
-
- Dim oTransaction As SqlTransaction = MaybeGetTransaction(SqlConnection, TransactionMode, Transaction)
- Dim oResult As Object = Nothing
-
- Try
- Using oSQLCOmmand = SqlConnection.CreateCommand()
- oSQLCOmmand.CommandText = SqlCommand
- oSQLCOmmand.CommandTimeout = Timeout
- oSQLCOmmand.Transaction = oTransaction
-
- oResult = oSQLCOmmand.ExecuteScalar()
- End Using
- Catch ex As Exception
- Logger.Error(ex)
- Logger.Warn("GetDatatableWithConnectionObject: Error in GetDatatableWithConnection while executing command: [{0}]", SqlCommand)
- Finally
- MaybeCommitTransaction(oTransaction, TransactionMode)
- End Try
-
- Return oResult
- End Function
-
- Public Function GetScalarValue(SQLCommand As SqlCommand, OutputParameter As String, Timeout As Integer) As Object
- Try
- If TestCanConnect() = False Then
- Return Nothing
- End If
-
- Logger.Debug("GetScalarValue: Running Query [{0}]", SQLCommand)
-
- If SQLCommand.CommandText.Contains(" ") Then
- SQLCommand.CommandType = CommandType.Text
- Else
- SQLCommand.CommandType = CommandType.StoredProcedure
- End If
-
- Using oConnection As SqlConnection = GetSQLConnection()
-
- SQLCommand.Connection = oConnection
- SQLCommand.Parameters(OutputParameter).Direction = ParameterDirection.Output
- SQLCommand.CommandTimeout = Timeout
- SQLCommand.ExecuteNonQuery()
- oConnection.Close()
-
- Return SQLCommand.Parameters(OutputParameter).Value
- End Using
- Catch ex As Exception
- Logger.Error(ex)
- Logger.Warn($"GetScalarValue failed SQLCommand [{SQLCommand}]")
-
- Return Nothing
- End Try
- End Function
-
- '
- Public Function GetScalarValue(SQLCommand As SqlCommand, OutputParameter As String) As Object
- Return GetScalarValue(SQLCommand, OutputParameter, QueryTimeout)
- End Function
-
- '''
- ''' Executes the passed sql-statement in asyncmode
- '''
- ''' the sql statement
- ''' Optional Timeout
- '''
- Public Sub NewExecuteNonQueryAsync(SqlCommand As String, Optional commandtimeout As Integer = Constants.DEFAULT_TIMEOUT)
- Logger.Debug("NewExecuteNonQueryAsync: Running Query [{0}]", SqlCommand)
-
- Try
- Dim oCallback As New AsyncCallback(AddressOf NewExecuteNonQueryAsync_Callback)
-
- Using oConnection As SqlConnection = GetSQLConnection()
- Using oSQLCOmmand = oConnection.CreateCommand()
- oSQLCOmmand.CommandText = SqlCommand
- oSQLCOmmand.CommandTimeout = commandtimeout
- oSQLCOmmand.BeginExecuteNonQuery(oCallback, oSQLCOmmand)
- End Using
- End Using
- Catch ex As Exception
- Logger.Error(ex)
- Logger.Warn($"NewExecuteNonQueryAsync failed SQLCommand [{SqlCommand}]")
-
- End Try
- End Sub
-
- '
- Private Sub NewExecuteNonQueryAsync_Callback(ByVal result As IAsyncResult)
- Dim command As SqlCommand = CType(result.AsyncState, SqlCommand)
- Dim res = command.EndExecuteNonQuery(result)
- Logger.Info("Finished executing Async database operation: {0}", command.CommandText)
- End Sub
-End Class
diff --git a/Modules.Database/Adapters/ODBC.vb b/Modules.Database/Adapters/ODBC.vb
deleted file mode 100644
index 2d95c07d..00000000
--- a/Modules.Database/Adapters/ODBC.vb
+++ /dev/null
@@ -1,179 +0,0 @@
-Imports System.Data.Odbc
-Imports DigitalData.Modules.Logging
-
-Public Class ODBC
- Private _Logger As Logger
- Private _LogConfig As LogConfig
-
- Private _connectionDatasource As String
- Private _connectionUsername As String
- Private _connectionPassword As String
- Private _connectionString As String
-
- Public Sub New(LogConfig As LogConfig, Datasource As String, User As String, Password As String)
- Try
- _LogConfig = LogConfig
- _Logger = _LogConfig.GetLogger()
-
- _connectionDatasource = Datasource
- _connectionPassword = Password
- _connectionUsername = User
- _connectionString = GetConnectionString(Datasource, User, Password)
-
- _Logger.Debug("Connecting to database..")
-
- ' Test the connection
- Dim oConnection = GetConnection()
-
- If oConnection Is Nothing Then
- Throw New Exceptions.DatabaseException()
- End If
-
- ' If initial connection was successfully, close it
- oConnection.Close()
-
- _Logger.Debug("Connection sucessfully established!")
- Catch ex As Exception
- _Logger.Error(ex)
- End Try
- End Sub
-
- Public Function GetConnection() As OdbcConnection
- Try
- Dim oConnection As New OdbcConnection(_connectionString)
- oConnection.Open()
-
- Return oConnection
- Catch ex As Exception
- _Logger.Error(ex)
- Return Nothing
- End Try
- End Function
-
- Public Function GetConnectionString(Datasource As String, User As String, Password As String) As Object
- Return $"DSN={Datasource};UID={User};PWD={Password}"
- End Function
-
- '''
- ''' Executes a non-query command.
- '''
- ''' The command to execute
- ''' The Firebird connection to use
- ''' True, if command was executed sucessfully. Otherwise false.
- Public Function ExecuteNonQueryWithConnection(SqlQuery As String, Connection As OdbcConnection) As Object
- _Logger.Debug("Fetching Non-Query: {0}", SqlQuery)
-
- Dim oResult As Object
-
- If Connection Is Nothing Then
- _Logger.Warn("Connection is nothing!")
- Return Nothing
- End If
-
- Try
- Dim oCommand As New OdbcCommand(SqlQuery, Connection)
- oResult = oCommand.ExecuteNonQuery()
- Catch ex As Exception
- _Logger.Error(ex, $"Error in ExecuteNonQueryWithConnection while executing command: '{SqlQuery}'")
- Throw ex
- End Try
-
- Return oResult
- End Function
-
- '''
- ''' Executes a non-query command.
- '''
- ''' The command to execute
- ''' True, if command was executed sucessfully. Otherwise false.
- Public Function ExecuteNonQuery(SqlCommand As String) As Boolean
- Dim oConnection As OdbcConnection = GetConnection()
- Dim oScalarValue As Object = ExecuteNonQueryWithConnection(SqlCommand, oConnection)
- oConnection.Close()
-
- Return oScalarValue
- End Function
-
- '''
- ''' Executes a sql query resulting in a scalar value.
- '''
- ''' The query to execute
- ''' The Firebird connection to use
- ''' The scalar value if the command was executed successfully. Nothing otherwise.
- Public Function GetScalarValueWithConnection(SqlQuery As String, Connection As OdbcConnection) As Object
- _Logger.Debug("Fetching Datatable: {0}", SqlQuery)
-
- Dim oResult As Object
-
- If Connection Is Nothing Then
- _Logger.Warn("Connection is nothing!")
- Return Nothing
- End If
-
- Try
- Dim oCommand As New OdbcCommand(SqlQuery, Connection)
- oResult = oCommand.ExecuteScalar()
- Catch ex As Exception
- _Logger.Error(ex, $"Error in GetDatatableWithConnection while executing command: '{SqlQuery}'")
- Throw ex
- End Try
-
- Return oResult
- End Function
-
- '''
- ''' Executes a sql query resulting in a table of values.
- '''
- ''' The query to execute
- ''' A datatable containing the results if the command was executed successfully. Nothing otherwise.
- Public Function GetScalarValue(SqlQuery As String) As Object
- Dim oConnection As OdbcConnection = GetConnection()
- Dim oDatatable As DataTable = GetDatatableWithConnection(SqlQuery, oConnection)
- oConnection.Close()
-
- Return oDatatable
- End Function
-
- '''
- ''' Executes a sql query resulting in a table of values.
- '''
- ''' The query to execute
- ''' The Firebird connection to use
- ''' A datatable containing the results if the command was executed successfully. Nothing otherwise.
- Public Function GetDatatableWithConnection(SqlQuery As String, Connection As OdbcConnection) As DataTable
- _Logger.Debug("Fetching Datatable: {0}", SqlQuery)
-
- Dim oDatatable As New DataTable() With {
- .TableName = "DDRESULT"
- }
-
- If Connection Is Nothing Then
- _Logger.Warn("Connection is nothing!")
- Return Nothing
- End If
-
- Try
-
- Dim oAdapter As New OdbcDataAdapter(SqlQuery, Connection)
- oAdapter.Fill(oDatatable)
- Catch ex As Exception
- _Logger.Error(ex, $"Error in GetDatatableWithConnection while executing command: '{SqlQuery}'")
- Throw ex
- End Try
-
- Return oDatatable
- End Function
-
- '''
- ''' Executes a sql query resulting in a table of values.
- '''
- ''' The query to execute
- ''' A datatable containing the results if the command was executed successfully. Nothing otherwise.
- Public Function GetDatatable(SqlQuery As String) As DataTable
- Dim oConnection As OdbcConnection = GetConnection()
- Dim oDatatable As DataTable = GetDatatableWithConnection(SqlQuery, oConnection)
- oConnection.Close()
-
- Return oDatatable
- End Function
-End Class
diff --git a/Modules.Database/Adapters/Oracle.vb b/Modules.Database/Adapters/Oracle.vb
deleted file mode 100644
index c87a62e6..00000000
--- a/Modules.Database/Adapters/Oracle.vb
+++ /dev/null
@@ -1,253 +0,0 @@
-Imports DigitalData.Modules.Encryption
-Imports DigitalData.Modules.Logging
-Imports Oracle.ManagedDataAccess.Client
-
-Public Class Oracle
- Implements IDatabase
-
- Public Property DBInitialized As Boolean = False Implements IDatabase.DBInitialized
- Public Property CurrentConnectionString As String = "" Implements IDatabase.CurrentConnectionString
-
- Private ReadOnly _Timeout As Integer
- Private ReadOnly _Logger As Logger
-
- Public Sub New(LogConfig As LogConfig, ConnectionString As String, Optional Timeout As Integer = 120)
- _Timeout = Timeout
- _Logger = LogConfig.GetLogger()
-
- ConnectionString = ConnectionString
- DBInitialized = TestCanConnect(ConnectionString)
- End Sub
-
- Public Sub New(LogConfig As LogConfig, Server As String, Database As String, UserId As String, Password As String, Optional Timeout As Integer = 120)
- _Timeout = Timeout
- _Logger = LogConfig.GetLogger()
-
- CurrentConnectionString = GetConnectionString(Server, Database, UserId, Password)
- DBInitialized = TestCanConnect(CurrentConnectionString)
- End Sub
-
- Private Function TestCanConnect(ConnectionString As String) As Boolean
- Try
- Dim oSQLconnect As New OracleConnection
- oSQLconnect.ConnectionString = ConnectionString
- oSQLconnect.Open()
- oSQLconnect.Close()
- Return True
- Catch ex As Exception
- _Logger.Error(ex)
- Return False
- End Try
- End Function
-
- Public Shared Function GetConnectionString(Server As String, Database As String, UserId As String, Password As String) As String
- Dim oConnectionString = $"Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST={Server})(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME={Database})));User Id={UserId};Password={Password};"
- Return oConnectionString
- End Function
-
- '''
- ''' Encrypts a connection string password.
- '''
- ''' A connection string with a plain-text password
- ''' The connection string with the password encrypted.
-
- Public Shared Function EncryptConnectionString(ConnectionString As String) As String
- Dim oEncryption As New EncryptionLegacy()
- Dim oBuilder As New OracleConnectionStringBuilder() With {.ConnectionString = ConnectionString}
- Dim oEncryptedPassword = oEncryption.EncryptData(oBuilder.Password)
- oBuilder.Password = oEncryptedPassword
-
- Return oBuilder.ToString()
- End Function
-
- '''
- ''' Decrypts a connection string password.
- '''
- ''' A connection string with a encrypted password
- ''' The connection string with the password decrypted.
-
- Public Shared Function DecryptConnectionString(ConnectionString As String) As String
- Dim oEncryption As New EncryptionLegacy()
- Dim oBuilder As New OracleConnectionStringBuilder() With {.ConnectionString = ConnectionString}
- Dim oDecryptedPassword = oEncryption.DecryptData(oBuilder.Password)
- oBuilder.Password = oDecryptedPassword
-
- Return oBuilder.ToString()
- End Function
-
-
- '''
- ''' Executes the passed sql-statement
- '''
- ''' the sql statement
- ''' Returns true if properly executed, else false
- Public Function NewExecutenonQuery(executeStatement As String) As Boolean
- Try
- Dim oSQLconnect As New OracleConnection
- Dim oSQLCOmmand As OracleCommand
- oSQLconnect.ConnectionString = CurrentConnectionString
- oSQLconnect.Open()
- oSQLCOmmand = oSQLconnect.CreateCommand()
- oSQLCOmmand.CommandText = executeStatement
- oSQLCOmmand.CommandTimeout = _Timeout
- oSQLCOmmand.ExecuteNonQuery()
- oSQLCOmmand.Dispose()
- oSQLconnect.Close()
- Return True
- Catch ex As Exception
- _Logger.Error(ex)
- _Logger.Debug("executeStatement: " & executeStatement)
- Return False
- End Try
- End Function
-
- '''
- ''' Executes the passed sql-statement as Scalar
- '''
- ''' the sql statement
- ''' Returns the scalarvalue
- Public Function NewExecuteScalar(executeStatement As String)
- Dim result
- Try
- Dim oSQLconnect As New OracleConnection
- Dim oSQLCOmmand As OracleCommand
- oSQLconnect.ConnectionString = CurrentConnectionString
- oSQLconnect.Open()
- oSQLCOmmand = oSQLconnect.CreateCommand()
- oSQLCOmmand.CommandText = executeStatement
- oSQLCOmmand.CommandTimeout = _Timeout
- result = oSQLCOmmand.ExecuteScalar()
- oSQLCOmmand.Dispose()
- oSQLconnect.Close()
- Return result
- Catch ex As Exception
- _Logger.Error(ex)
- _Logger.Debug("executeStatement: " & executeStatement)
- Throw ex
- End Try
- End Function
-
- Public Function GetDatatable(pSQLCommand As String, pTimeout As Integer) As DataTable Implements IDatabase.GetDatatable
- Try
- Using oConnection = GetConnection(CurrentConnectionString)
- Dim oSQLCommand As OracleCommand
- oSQLCommand = oConnection.CreateCommand()
- oSQLCommand.CommandText = pSQLCommand
- oSQLCommand.CommandTimeout = pTimeout
-
- Dim oAdapter As OracleDataAdapter = New OracleDataAdapter(oSQLCommand)
- Dim oTable As DataTable = New DataTable()
-
- _Logger.Debug("GetDatatable: Running Query [{0}]", oSQLCommand)
-
- oAdapter.Fill(oTable)
-
- Return oTable
- End Using
- Catch ex As Exception
- _Logger.Error(ex)
- _Logger.Warn("GetDatatable: Error in GetDatatable while executing command: [{0}]", pSQLCommand)
- Return Nothing
- End Try
- End Function
-
- Private Function GetDatatable(pSQLCommand As String) As DataTable Implements IDatabase.GetDatatable
- Return GetDatatable(pSQLCommand, _Timeout)
- End Function
-
- Public Function ExecuteNonQuery(pSQLCommand As String, pTimeout As Integer) As Boolean Implements IDatabase.ExecuteNonQuery
- Try
- Using oConnection = GetConnection(CurrentConnectionString)
- Dim oSQLCOmmand As OracleCommand
- oSQLCOmmand = oConnection.CreateCommand()
- oSQLCOmmand.CommandText = pSQLCommand
- oSQLCOmmand.CommandTimeout = pTimeout
-
-
- _Logger.Debug("ExecuteNonQuery: Running Query [{0}]", oSQLCOmmand)
- oSQLCOmmand.ExecuteNonQuery()
- oSQLCOmmand.Dispose()
- Return True
- End Using
- Catch ex As Exception
- _Logger.Error(ex)
- _Logger.Warn("ExecuteNonQuery: Error in ExecuteNonQuery while executing command: [{0}]", pSQLCommand)
- Return False
- End Try
- End Function
-
- Public Function ExecuteNonQuery(pSQLCommand As String) As Boolean Implements IDatabase.ExecuteNonQuery
- Return ExecuteNonQuery(pSQLCommand, _Timeout)
- End Function
-
- Public Function GetScalarValue(pSQLCommand As String, pTimeout As Integer) As Object Implements IDatabase.GetScalarValue
- Dim result
- Try
- Using oConnection = GetConnection(CurrentConnectionString)
- Dim oSQLCOmmand As OracleCommand
- oSQLCOmmand = oConnection.CreateCommand()
- oSQLCOmmand.CommandText = pSQLCommand
- oSQLCOmmand.CommandTimeout = pTimeout
-
- _Logger.Debug("GetScalarValue: Running Query [{0}]", oSQLCOmmand)
- result = oSQLCOmmand.ExecuteScalar()
-
- Return result
- End Using
-
- Catch ex As Exception
- _Logger.Error(ex)
- _Logger.Warn("GetScalarValue: Error in GetScalarValue while executing command: [{0}]", pSQLCommand)
- Throw ex
- End Try
- End Function
-
- Public Function GetScalarValue(pSQLCommand As String) As Object Implements IDatabase.GetScalarValue
- Return GetScalarValue(pSQLCommand, _Timeout)
- End Function
-
- Private Function GetConnection(ConnectionString As String) As OracleConnection
- Try
- Dim oConnection As New OracleConnection(ConnectionString)
- oConnection = OpenSQLConnection(oConnection)
-
- Dim oMaskedConnectionString = MaskConnectionString(ConnectionString)
- _Logger.Debug("The Following Connection is open: {0}", oMaskedConnectionString)
-
- Return oConnection
- Catch ex As Exception
- _Logger.Error(ex)
-
- Return Nothing
- End Try
- End Function
-
- '''
- ''' This Function intentionally has no try..catch block to have any errors caught outside
- '''
- '''
- '''
- Private Function OpenSQLConnection(Connection As OracleConnection) As OracleConnection
- If Connection.State = ConnectionState.Closed Then
- Connection.Open()
- End If
-
- Return Connection
- End Function
-
-
- Private Function MaskConnectionString(ConnectionString As String) As String
- Try
- If ConnectionString Is Nothing OrElse ConnectionString.Length = 0 Then
- Throw New ArgumentNullException("ConnectionString")
- End If
-
- Dim oBuilder As New OracleConnectionStringBuilder() With {.ConnectionString = ConnectionString}
- Dim oConnectionString = ConnectionString.Replace(oBuilder.Password, "XXXXX")
- Return oConnectionString
- Catch ex As Exception
- _Logger.Error(ex)
- Return "Invalid ConnectionString"
- End Try
- End Function
-End Class
diff --git a/Modules.Database/App.config b/Modules.Database/App.config
deleted file mode 100644
index c64db477..00000000
--- a/Modules.Database/App.config
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Modules.Database/ConnectionString.vb b/Modules.Database/ConnectionString.vb
deleted file mode 100644
index ec5575f1..00000000
--- a/Modules.Database/ConnectionString.vb
+++ /dev/null
@@ -1,20 +0,0 @@
-Public Class ConnectionString
- Public Enum ConnectionStringType
- MSSQLServer
- ODBC
- Oracle
- End Enum
-
- Public Shared Function GetConnectionStringType(pConnectionString As String) As ConnectionStringType
- ' This variable only exists to shorten the if-conditions
- Dim c = pConnectionString
-
- If (c.Contains("Server=") Or c.Contains("Data Source=")) And (c.Contains("Database=") Or c.Contains("Initial Catalog=")) Then
- Return ConnectionStringType.MSSQLServer
- ElseIf (c.Contains("dsn=")) Then
- Return ConnectionStringType.ODBC
- Else
- Return ConnectionStringType.Oracle
- End If
- End Function
-End Class
diff --git a/Modules.Database/Constants.vb b/Modules.Database/Constants.vb
deleted file mode 100644
index 3827c68b..00000000
--- a/Modules.Database/Constants.vb
+++ /dev/null
@@ -1,8 +0,0 @@
-Public Class Constants
- Public Const PROVIDER_MSSQL = "MS-SQL"
- Public Const PROVIDER_ORACLE = "ORACLE"
- Public Const PROVIDER_ODBC = "ODBC"
-
- Public Const DEFAULT_TIMEOUT = 120
- Public Const DEFAULT_TABLE = "DDRESULT"
-End Class
diff --git a/Modules.Database/Database.vbproj b/Modules.Database/Database.vbproj
deleted file mode 100644
index fb7aa339..00000000
--- a/Modules.Database/Database.vbproj
+++ /dev/null
@@ -1,162 +0,0 @@
-
-
-
-
-
- Debug
- AnyCPU
- {EAF0EA75-5FA7-485D-89C7-B2D843B03A96}
- Library
- DigitalData.Modules.Database
- DigitalData.Modules.Database
- 512
- Windows
- v4.6.1
-
-
-
-
- true
- full
- true
- true
- bin\Debug\
- DigitalData.Modules.Database.xml
- 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022
-
-
- pdbonly
- false
- true
- true
- bin\Release\
- DigitalData.Modules.Database.xml
- 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022
-
-
- On
-
-
- Binary
-
-
- Off
-
-
- On
-
-
-
- ..\packages\EntityFramework.6.4.4\lib\net45\EntityFramework.dll
-
-
- ..\packages\EntityFramework.Firebird.6.4.0\lib\net452\EntityFramework.Firebird.dll
-
-
- ..\packages\EntityFramework.6.4.4\lib\net45\EntityFramework.SqlServer.dll
-
-
- ..\packages\FirebirdSql.Data.FirebirdClient.7.5.0\lib\net452\FirebirdSql.Data.FirebirdClient.dll
-
-
-
- ..\packages\NLog.4.7.10\lib\net45\NLog.dll
-
-
- P:\Visual Studio Projekte\Bibliotheken\Oracle.ManagedDataAccess.dll
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- True
- Application.myapp
-
-
- True
- True
- Resources.resx
-
-
- True
- Settings.settings
- True
-
-
-
-
-
- VbMyResourcesResXFileCodeGenerator
- Resources.Designer.vb
- My.Resources
- Designer
-
-
-
-
- Designer
-
-
- MyApplicationCodeGenerator
- Application.Designer.vb
-
-
- SettingsSingleFileGenerator
- My
- Settings.Designer.vb
-
-
-
-
-
- {8a8f20fc-c46e-41ac-bee7-218366cfff99}
- Encryption
-
-
- {903b2d7d-3b80-4be9-8713-7447b704e1b0}
- Logging
-
-
-
-
-
- Dieses Projekt verweist auf mindestens ein NuGet-Paket, das auf diesem Computer fehlt. Verwenden Sie die Wiederherstellung von NuGet-Paketen, um die fehlenden Dateien herunterzuladen. Weitere Informationen finden Sie unter "http://go.microsoft.com/fwlink/?LinkID=322105". Die fehlende Datei ist "{0}".
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Modules.Database/Dispatcher.vb b/Modules.Database/Dispatcher.vb
deleted file mode 100644
index aa53df79..00000000
--- a/Modules.Database/Dispatcher.vb
+++ /dev/null
@@ -1,89 +0,0 @@
-Imports DigitalData.Modules.Base
-Imports DigitalData.Modules.Logging
-
-Public Class Dispatcher
- Public ReadOnly Property Connections As New List(Of DispatcherConnection)
-
- Public ReadOnly Logger As Logger
- Public ReadOnly LogConfig As LogConfig
-
- Public Sub New(pLogConfig As LogConfig, pConnections As List(Of DispatcherConnection))
- LogConfig = pLogConfig
- Logger = pLogConfig.GetLogger()
- Connections = pConnections
- End Sub
-
- Public Function GetDatatable(pSQLCommand As String, pConnectionId As Integer) As DataTable
- Dim oAdapter As IDatabase = GetAdapterClass(pConnectionId)
- Return oAdapter.GetDatatable(pSQLCommand)
- End Function
-
- Public Function ExectueNonQuery(pSQLCommand As String, pConnectionId As Integer) As Boolean
- Dim oAdapter As IDatabase = GetAdapterClass(pConnectionId)
- Return oAdapter.ExecuteNonQuery(pSQLCommand)
- End Function
-
- Public Function GetScalarValue(pSQLCommand As String, pConnectionId As Integer) As Object
- Dim oAdapter As IDatabase = GetAdapterClass(pConnectionId)
- Return oAdapter.GetScalarValue(pSQLCommand)
- End Function
-
- Private Function GetConnection(pConnectionId As Integer) As DispatcherConnection
- Dim oConnection As DispatcherConnection = Connections.
- Where(Function(conn) conn.Id = pConnectionId).
- FirstOrDefault()
-
- If oConnection IsNot Nothing Then
- Logger.Debug("Resolved ConnectionId [{0}] into Connection [{1}]", pConnectionId, oConnection.Name)
- End If
-
- Return oConnection
- End Function
-
- Private Function GetAdapterClass(pConnectionId As Integer) As IDatabase
- Dim oConnection = GetConnection(pConnectionId)
- Dim oArgs As New List(Of Object) From {LogConfig, oConnection.ConnectionString, Constants.DEFAULT_TIMEOUT}
- Logger.Debug("Creating database adapter object for type [{0}]", ConnectionType.MSSQL)
-
- ' TODO: Cache Database instances to avoid constructing them for every call
-
- Select Case oConnection.ConnectionType
- Case ConnectionType.MSSQL
- Return New MSSQLServer(LogConfig, oConnection.ConnectionString, Constants.DEFAULT_TIMEOUT)
-
- Case ConnectionType.Oracle
- Return New Oracle(LogConfig, oConnection.ConnectionString, Constants.DEFAULT_TIMEOUT)
-
- Case ConnectionType.Firebird
- Dim oBuilder As New FirebirdSql.Data.FirebirdClient.FbConnectionStringBuilder(oConnection.ConnectionString)
- Return New Firebird(LogConfig, oBuilder.DataSource, oBuilder.Database, oBuilder.UserID, oBuilder.Password)
-
- Case ConnectionType.ODBC
- 'Dim oBuilder As New Data.Odbc.OdbcConnectionStringBuilder(pConnection.ConnectionString)
- 'Return New ODBC(LogConfig)
- Return Nothing
-
- Case Else
- Return Nothing
- End Select
- End Function
-
- Public Enum ConnectionType
- MSSQL
- Oracle
- ODBC
- Firebird
- End Enum
-
- Public Class DispatcherOptions
- Public Property QueryTimeout As Integer = Constants.DEFAULT_TIMEOUT
- End Class
-
- Public Class DispatcherConnection
- Public Property Id As Integer
- Public Property Name As String
- Public Property ConnectionString As String
- Public Property ConnectionType As ConnectionType
- End Class
-End Class
-
diff --git a/Modules.Database/Exceptions.vb b/Modules.Database/Exceptions.vb
deleted file mode 100644
index 4f86f7e4..00000000
--- a/Modules.Database/Exceptions.vb
+++ /dev/null
@@ -1,18 +0,0 @@
-Public Class Exceptions
-
- Public Class DatabaseException
- Inherits Exception
-
- Public Sub New()
- End Sub
-
- Public Sub New(message As String)
- MyBase.New(message)
- End Sub
-
- Public Sub New(message As String, innerException As Exception)
- MyBase.New(message, innerException)
- End Sub
- End Class
-
-End Class
diff --git a/Modules.Database/IDatabase.vb b/Modules.Database/IDatabase.vb
deleted file mode 100644
index a473b393..00000000
--- a/Modules.Database/IDatabase.vb
+++ /dev/null
@@ -1,18 +0,0 @@
-Imports System.Data.Common
-
-Public Interface IDatabase
- '''
- ''' Returns true if the initial connection to the configured database was successful.
- '''
- Property DBInitialized As Boolean
- Property CurrentConnectionString As String
-
- Function GetDatatable(SqlCommand As String, Timeout As Integer) As DataTable
- Function GetDatatable(SqlCommand As String) As DataTable
-
- Function ExecuteNonQuery(SQLCommand As String, Timeout As Integer) As Boolean
- Function ExecuteNonQuery(SQLCommand As String) As Boolean
-
- Function GetScalarValue(SQLQuery As String, Timeout As Integer) As Object
- Function GetScalarValue(SQLQuery As String) As Object
-End Interface
diff --git a/Modules.Database/My Project/Application.Designer.vb b/Modules.Database/My Project/Application.Designer.vb
deleted file mode 100644
index 8ab460ba..00000000
--- a/Modules.Database/My Project/Application.Designer.vb
+++ /dev/null
@@ -1,13 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' Dieser Code wurde von einem Tool generiert.
-' Laufzeitversion:4.0.30319.42000
-'
-' Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
-' der Code erneut generiert wird.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
diff --git a/Modules.Database/My Project/Application.myapp b/Modules.Database/My Project/Application.myapp
deleted file mode 100644
index 758895de..00000000
--- a/Modules.Database/My Project/Application.myapp
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
- false
- false
- 0
- true
- 0
- 1
- true
-
diff --git a/Modules.Database/My Project/AssemblyInfo.vb b/Modules.Database/My Project/AssemblyInfo.vb
deleted file mode 100644
index c5de1916..00000000
--- a/Modules.Database/My Project/AssemblyInfo.vb
+++ /dev/null
@@ -1,35 +0,0 @@
-Imports System
-Imports System.Reflection
-Imports System.Runtime.InteropServices
-
-' Allgemeine Informationen über eine Assembly werden über die folgenden
-' Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
-' die einer Assembly zugeordnet sind.
-
-' Werte der Assemblyattribute überprüfen
-
-
-
-
-
-
-
-
-
-
-'Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird.
-
-
-' Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
-'
-' Hauptversion
-' Nebenversion
-' Buildnummer
-' Revision
-'
-' Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
-' übernehmen, indem Sie "*" eingeben:
-'
-
-
-
diff --git a/Modules.Database/My Project/Resources.Designer.vb b/Modules.Database/My Project/Resources.Designer.vb
deleted file mode 100644
index 975b72a9..00000000
--- a/Modules.Database/My Project/Resources.Designer.vb
+++ /dev/null
@@ -1,63 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' Dieser Code wurde von einem Tool generiert.
-' Laufzeitversion:4.0.30319.42000
-'
-' Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
-' der Code erneut generiert wird.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
-Imports System
-
-Namespace My.Resources
-
- 'Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert
- '-Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert.
- 'Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
- 'mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu.
- '''
- ''' Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
- '''
- _
- Friend Module Resources
-
- Private resourceMan As Global.System.Resources.ResourceManager
-
- Private resourceCulture As Global.System.Globalization.CultureInfo
-
- '''
- ''' Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
- '''
- _
- Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager
- Get
- If Object.ReferenceEquals(resourceMan, Nothing) Then
- Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("DigitalData.Modules.Database.Resources", GetType(Resources).Assembly)
- resourceMan = temp
- End If
- Return resourceMan
- End Get
- End Property
-
- '''
- ''' Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
- ''' Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
- '''
- _
- Friend Property Culture() As Global.System.Globalization.CultureInfo
- Get
- Return resourceCulture
- End Get
- Set
- resourceCulture = value
- End Set
- End Property
- End Module
-End Namespace
diff --git a/Modules.Database/My Project/Resources.resx b/Modules.Database/My Project/Resources.resx
deleted file mode 100644
index af7dbebb..00000000
--- a/Modules.Database/My Project/Resources.resx
+++ /dev/null
@@ -1,117 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
\ No newline at end of file
diff --git a/Modules.Database/My Project/Settings.Designer.vb b/Modules.Database/My Project/Settings.Designer.vb
deleted file mode 100644
index 50b18d21..00000000
--- a/Modules.Database/My Project/Settings.Designer.vb
+++ /dev/null
@@ -1,73 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' Dieser Code wurde von einem Tool generiert.
-' Laufzeitversion:4.0.30319.42000
-'
-' Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
-' der Code erneut generiert wird.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
-
-Namespace My
-
- _
- Partial Friend NotInheritable Class MySettings
- Inherits Global.System.Configuration.ApplicationSettingsBase
-
- Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings)
-
-#Region "Automatische My.Settings-Speicherfunktion"
-#If _MyType = "WindowsForms" Then
- Private Shared addedHandler As Boolean
-
- Private Shared addedHandlerLockObject As New Object
-
- _
- Private Shared Sub AutoSaveSettings(sender As Global.System.Object, e As Global.System.EventArgs)
- If My.Application.SaveMySettingsOnExit Then
- My.Settings.Save()
- End If
- End Sub
-#End If
-#End Region
-
- Public Shared ReadOnly Property [Default]() As MySettings
- Get
-
-#If _MyType = "WindowsForms" Then
- If Not addedHandler Then
- SyncLock addedHandlerLockObject
- If Not addedHandler Then
- AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
- addedHandler = True
- End If
- End SyncLock
- End If
-#End If
- Return defaultInstance
- End Get
- End Property
- End Class
-End Namespace
-
-Namespace My
-
- _
- Friend Module MySettingsProperty
-
- _
- Friend ReadOnly Property Settings() As Global.DigitalData.Modules.Database.My.MySettings
- Get
- Return Global.DigitalData.Modules.Database.My.MySettings.Default
- End Get
- End Property
- End Module
-End Namespace
diff --git a/Modules.Database/My Project/Settings.settings b/Modules.Database/My Project/Settings.settings
deleted file mode 100644
index 85b890b3..00000000
--- a/Modules.Database/My Project/Settings.settings
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/Modules.Database/TableCache.vb b/Modules.Database/TableCache.vb
deleted file mode 100644
index 28a1e39d..00000000
--- a/Modules.Database/TableCache.vb
+++ /dev/null
@@ -1,17 +0,0 @@
-Public Class TableCache
- Private Items As New Dictionary(Of String, DataTable)
-
- Public Function [Get](SQLCommand As String)
- Dim oKey As String = SQLCommand.ToUpper
- If Items.ContainsKey(oKey) Then
- Return Items.Item(oKey)
- Else
-
- End If
- End Function
-
- Private Function SaveTable()
-
- End Function
-
-End Class
diff --git a/Modules.Database/packages.config b/Modules.Database/packages.config
deleted file mode 100644
index 0cbaa359..00000000
--- a/Modules.Database/packages.config
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Modules.EDMI.File.Test/EDMI.File.Test.vbproj b/Modules.EDMI.File.Test/EDMI.File.Test.vbproj
deleted file mode 100644
index c269bd8e..00000000
--- a/Modules.EDMI.File.Test/EDMI.File.Test.vbproj
+++ /dev/null
@@ -1,138 +0,0 @@
-
-
-
-
-
- Debug
- AnyCPU
- {16857A4E-2609-47E6-9C35-7669D64DD040}
- Library
- EDMI.File.Test
- EDMI.File.Test
- 512
- Windows
- v4.7.2
- {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{F184B08F-C81C-45F6-A57F-5ABD9991F28F}
- 10.0
- $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)
- $(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages
- False
- UnitTest
-
-
-
-
- true
- full
- true
- true
- bin\Debug\
- EDMI.File.Test.xml
- 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022
-
-
- pdbonly
- false
- true
- true
- bin\Release\
- EDMI.File.Test.xml
- 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022
-
-
- On
-
-
- Binary
-
-
- Off
-
-
- On
-
-
-
- ..\packages\MSTest.TestFramework.2.1.2\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll
-
-
- ..\packages\MSTest.TestFramework.2.1.2\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- True
- Application.myapp
-
-
- True
- True
- Resources.resx
-
-
- True
- Settings.settings
- True
-
-
-
-
- VbMyResourcesResXFileCodeGenerator
- Resources.Designer.vb
- My.Resources
- Designer
-
-
-
-
- MyApplicationCodeGenerator
- Application.Designer.vb
-
-
- SettingsSingleFileGenerator
- My
- Settings.Designer.vb
-
-
-
-
-
- {1477032d-7a02-4c5f-b026-a7117da4bc6b}
- EDMI.File
-
-
- {903B2D7D-3B80-4BE9-8713-7447B704E1B0}
- Logging
-
-
-
-
-
-
- Dieses Projekt verweist auf mindestens ein NuGet-Paket, das auf diesem Computer fehlt. Verwenden Sie die Wiederherstellung von NuGet-Paketen, um die fehlenden Dateien herunterzuladen. Weitere Informationen finden Sie unter "http://go.microsoft.com/fwlink/?LinkID=322105". Die fehlende Datei ist "{0}".
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Modules.EDMI.File.Test/My Project/Application.Designer.vb b/Modules.EDMI.File.Test/My Project/Application.Designer.vb
deleted file mode 100644
index 88dd01c7..00000000
--- a/Modules.EDMI.File.Test/My Project/Application.Designer.vb
+++ /dev/null
@@ -1,13 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' This code was generated by a tool.
-' Runtime Version:4.0.30319.42000
-'
-' Changes to this file may cause incorrect behavior and will be lost if
-' the code is regenerated.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
diff --git a/Modules.EDMI.File.Test/My Project/Application.myapp b/Modules.EDMI.File.Test/My Project/Application.myapp
deleted file mode 100644
index 758895de..00000000
--- a/Modules.EDMI.File.Test/My Project/Application.myapp
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
- false
- false
- 0
- true
- 0
- 1
- true
-
diff --git a/Modules.EDMI.File.Test/My Project/AssemblyInfo.vb b/Modules.EDMI.File.Test/My Project/AssemblyInfo.vb
deleted file mode 100644
index d81985a1..00000000
--- a/Modules.EDMI.File.Test/My Project/AssemblyInfo.vb
+++ /dev/null
@@ -1,18 +0,0 @@
-Imports System
-Imports System.Reflection
-Imports System.Runtime.InteropServices
-
-
-
-
-
-
-
-
-
-
-
-
-'
-
-
diff --git a/Modules.EDMI.File.Test/My Project/Resources.Designer.vb b/Modules.EDMI.File.Test/My Project/Resources.Designer.vb
deleted file mode 100644
index 3a5490d9..00000000
--- a/Modules.EDMI.File.Test/My Project/Resources.Designer.vb
+++ /dev/null
@@ -1,62 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' This code was generated by a tool.
-' Runtime Version:4.0.30319.42000
-'
-' Changes to this file may cause incorrect behavior and will be lost if
-' the code is regenerated.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
-
-Namespace My.Resources
-
- 'This class was auto-generated by the StronglyTypedResourceBuilder
- 'class via a tool like ResGen or Visual Studio.
- 'To add or remove a member, edit your .ResX file then rerun ResGen
- 'with the /str option, or rebuild your VS project.
- '''
- ''' A strongly-typed resource class, for looking up localized strings, etc.
- '''
- _
- Friend Module Resources
-
- Private resourceMan As Global.System.Resources.ResourceManager
-
- Private resourceCulture As Global.System.Globalization.CultureInfo
-
- '''
- ''' Returns the cached ResourceManager instance used by this class.
- '''
- _
- Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager
- Get
- If Object.ReferenceEquals(resourceMan, Nothing) Then
- Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("EDMI.File.Test.Resources", GetType(Resources).Assembly)
- resourceMan = temp
- End If
- Return resourceMan
- End Get
- End Property
-
- '''
- ''' Overrides the current thread's CurrentUICulture property for all
- ''' resource lookups using this strongly typed resource class.
- '''
- _
- Friend Property Culture() As Global.System.Globalization.CultureInfo
- Get
- Return resourceCulture
- End Get
- Set(ByVal value As Global.System.Globalization.CultureInfo)
- resourceCulture = value
- End Set
- End Property
- End Module
-End Namespace
diff --git a/Modules.EDMI.File.Test/My Project/Resources.resx b/Modules.EDMI.File.Test/My Project/Resources.resx
deleted file mode 100644
index af7dbebb..00000000
--- a/Modules.EDMI.File.Test/My Project/Resources.resx
+++ /dev/null
@@ -1,117 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
\ No newline at end of file
diff --git a/Modules.EDMI.File.Test/My Project/Settings.Designer.vb b/Modules.EDMI.File.Test/My Project/Settings.Designer.vb
deleted file mode 100644
index 1157b717..00000000
--- a/Modules.EDMI.File.Test/My Project/Settings.Designer.vb
+++ /dev/null
@@ -1,73 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' This code was generated by a tool.
-' Runtime Version:4.0.30319.42000
-'
-' Changes to this file may cause incorrect behavior and will be lost if
-' the code is regenerated.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
-
-Namespace My
-
- _
- Partial Friend NotInheritable Class MySettings
- Inherits Global.System.Configuration.ApplicationSettingsBase
-
- Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings)
-
-#Region "My.Settings Auto-Save Functionality"
-#If _MyType = "WindowsForms" Then
- Private Shared addedHandler As Boolean
-
- Private Shared addedHandlerLockObject As New Object
-
- _
- Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs)
- If My.Application.SaveMySettingsOnExit Then
- My.Settings.Save()
- End If
- End Sub
-#End If
-#End Region
-
- Public Shared ReadOnly Property [Default]() As MySettings
- Get
-
-#If _MyType = "WindowsForms" Then
- If Not addedHandler Then
- SyncLock addedHandlerLockObject
- If Not addedHandler Then
- AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
- addedHandler = True
- End If
- End SyncLock
- End If
-#End If
- Return defaultInstance
- End Get
- End Property
- End Class
-End Namespace
-
-Namespace My
-
- _
- Friend Module MySettingsProperty
-
- _
- Friend ReadOnly Property Settings() As Global.EDMI.File.Test.My.MySettings
- Get
- Return Global.EDMI.File.Test.My.MySettings.Default
- End Get
- End Property
- End Module
-End Namespace
diff --git a/Modules.EDMI.File.Test/My Project/Settings.settings b/Modules.EDMI.File.Test/My Project/Settings.settings
deleted file mode 100644
index 85b890b3..00000000
--- a/Modules.EDMI.File.Test/My Project/Settings.settings
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/Modules.EDMI.File.Test/PathTest.vb b/Modules.EDMI.File.Test/PathTest.vb
deleted file mode 100644
index b0531bd4..00000000
--- a/Modules.EDMI.File.Test/PathTest.vb
+++ /dev/null
@@ -1,22 +0,0 @@
-Imports System.Text
-Imports DigitalData.Modules.Logging
-Imports Microsoft.VisualStudio.TestTools.UnitTesting
-Imports DigitalData.Modules.EDMI
-
- Public Class PathTest
-
- ' Public Sub TestMethod1()
- ' Dim oLogConfig As New LogConfig(LogConfig.PathType.Temp)
- ' Dim oTempPath = System.IO.Path.GetTempPath()
- ' Dim oPath As New DigitalData.Modules.EDMI.File.Path(oLogConfig, oTempPath)
- ' Dim oNow As DateTime = DateTime.Now
- ' Dim oYear = oNow.Year
- ' Dim oMonth = oNow.Month.ToString.PadLeft(2, "0")
- ' Dim oDay = oNow.Day.ToString.PadLeft(2, "0")
-
-
- ' Assert.AreEqual(oPath.GetFullPath("TestDocumentType"), $"{oTempPath}EDMI\Active\TestDocumentType\{oYear}\{oMonth}\{oDay}")
- ' Assert.AreEqual(oPath.GetArchivePath("TestDocumentType"), $"{oTempPath}EDMI\Archive\TestDocumentType\{oYear}\{oMonth}\{oDay}")
- 'End Sub
-
-End Class
\ No newline at end of file
diff --git a/Modules.EDMI.File.Test/packages.config b/Modules.EDMI.File.Test/packages.config
deleted file mode 100644
index f84cb106..00000000
--- a/Modules.EDMI.File.Test/packages.config
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/Modules.EDMI.File/Archive.vb b/Modules.EDMI.File/Archive.vb
deleted file mode 100644
index ddaddebe..00000000
--- a/Modules.EDMI.File/Archive.vb
+++ /dev/null
@@ -1,39 +0,0 @@
-Imports System.IO
-Imports DigitalData.Modules.Logging
-
-Public Class Archive
- Private ReadOnly _LogConfig As LogConfig
- Private ReadOnly _Logger As Logger
-
- Public Sub New(LogConfig As LogConfig)
- _LogConfig = LogConfig
- _Logger = LogConfig.GetLogger()
- End Sub
-
- '''
- ''' Sets a retention-period for a give file path by setting the file attributes LastAccessTime and ReadOnly
- '''
- '''
- ''' If greater than 0, sets this plus the current date as LastAccessTime
- ''' If true, sets ReadOnly Attribute
- Public Sub SetRetention(FilePath As String, RetentionTimeInDays As Integer, [ReadOnly] As Boolean)
- Try
- If RetentionTimeInDays > 0 Then
- _Logger.Info("Setting LastAccessTime for file [{0}]", FilePath)
- IO.File.SetLastAccessTime(FilePath, Date.Now.AddDays(RetentionTimeInDays))
- End If
- Catch ex As Exception
- _Logger.Error(ex)
- End Try
-
- Try
- If [ReadOnly] Then
- _Logger.Info("Setting ReadOnly Attribute for file [{0}]", FilePath)
- Dim oAttributes = IO.File.GetAttributes(FilePath) Or FileAttributes.ReadOnly
- IO.File.SetAttributes(FilePath, oAttributes)
- End If
- Catch ex As Exception
- _Logger.Error(ex)
- End Try
- End Sub
-End Class
diff --git a/Modules.EDMI.File/EDMI.File.vbproj b/Modules.EDMI.File/EDMI.File.vbproj
deleted file mode 100644
index ba20ad95..00000000
--- a/Modules.EDMI.File/EDMI.File.vbproj
+++ /dev/null
@@ -1,121 +0,0 @@
-
-
-
-
- Debug
- AnyCPU
- {1477032D-7A02-4C5F-B026-A7117DA4BC6B}
- Library
- DigitalData.Modules.EDMI.File
- DigitalData.Modules.EDMI.File
- 512
- Windows
- v4.7.2
- true
-
-
- true
- full
- true
- true
- bin\Debug\
- DigitalData.Modules.EDMI.File.xml
- 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022
-
-
- pdbonly
- false
- true
- true
- bin\Release\
- DigitalData.Modules.EDMI.File.xml
- 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022
-
-
- On
-
-
- Binary
-
-
- Off
-
-
- On
-
-
-
-
- ..\packages\NLog.4.7.10\lib\net45\NLog.dll
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- True
- Application.myapp
-
-
- True
- True
- Resources.resx
-
-
- True
- Settings.settings
- True
-
-
-
-
-
- VbMyResourcesResXFileCodeGenerator
- Resources.Designer.vb
- My.Resources
- Designer
-
-
-
-
- MyApplicationCodeGenerator
- Application.Designer.vb
-
-
- SettingsSingleFileGenerator
- My
- Settings.Designer.vb
-
-
-
-
-
- {903B2D7D-3B80-4BE9-8713-7447B704E1B0}
- Logging
-
-
-
-
\ No newline at end of file
diff --git a/Modules.EDMI.File/My Project/Application.Designer.vb b/Modules.EDMI.File/My Project/Application.Designer.vb
deleted file mode 100644
index 8ab460ba..00000000
--- a/Modules.EDMI.File/My Project/Application.Designer.vb
+++ /dev/null
@@ -1,13 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' Dieser Code wurde von einem Tool generiert.
-' Laufzeitversion:4.0.30319.42000
-'
-' Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
-' der Code erneut generiert wird.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
diff --git a/Modules.EDMI.File/My Project/Application.myapp b/Modules.EDMI.File/My Project/Application.myapp
deleted file mode 100644
index 758895de..00000000
--- a/Modules.EDMI.File/My Project/Application.myapp
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
- false
- false
- 0
- true
- 0
- 1
- true
-
diff --git a/Modules.EDMI.File/My Project/AssemblyInfo.vb b/Modules.EDMI.File/My Project/AssemblyInfo.vb
deleted file mode 100644
index 3ce8de0f..00000000
--- a/Modules.EDMI.File/My Project/AssemblyInfo.vb
+++ /dev/null
@@ -1,35 +0,0 @@
-Imports System
-Imports System.Reflection
-Imports System.Runtime.InteropServices
-
-' Allgemeine Informationen über eine Assembly werden über die folgenden
-' Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
-' die einer Assembly zugeordnet sind.
-
-' Werte der Assemblyattribute überprüfen
-
-
-
-
-
-
-
-
-
-
-'Die folgende GUID wird für die typelib-ID verwendet, wenn dieses Projekt für COM verfügbar gemacht wird.
-
-
-' Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
-'
-' Hauptversion
-' Nebenversion
-' Buildnummer
-' Revision
-'
-' Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
-' indem Sie "*" wie unten gezeigt eingeben:
-'
-
-
-
diff --git a/Modules.EDMI.File/My Project/Resources.Designer.vb b/Modules.EDMI.File/My Project/Resources.Designer.vb
deleted file mode 100644
index d1edc291..00000000
--- a/Modules.EDMI.File/My Project/Resources.Designer.vb
+++ /dev/null
@@ -1,63 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' Dieser Code wurde von einem Tool generiert.
-' Laufzeitversion:4.0.30319.42000
-'
-' Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
-' der Code erneut generiert wird.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
-Imports System
-
-Namespace My.Resources
-
- 'Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert
- '-Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert.
- 'Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
- 'mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu.
- '''
- ''' Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
- '''
- _
- Friend Module Resources
-
- Private resourceMan As Global.System.Resources.ResourceManager
-
- Private resourceCulture As Global.System.Globalization.CultureInfo
-
- '''
- ''' Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
- '''
- _
- Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager
- Get
- If Object.ReferenceEquals(resourceMan, Nothing) Then
- Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("DigitalData.Modules.EDMI.File.Resources", GetType(Resources).Assembly)
- resourceMan = temp
- End If
- Return resourceMan
- End Get
- End Property
-
- '''
- ''' Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
- ''' Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
- '''
- _
- Friend Property Culture() As Global.System.Globalization.CultureInfo
- Get
- Return resourceCulture
- End Get
- Set
- resourceCulture = value
- End Set
- End Property
- End Module
-End Namespace
diff --git a/Modules.EDMI.File/My Project/Resources.resx b/Modules.EDMI.File/My Project/Resources.resx
deleted file mode 100644
index af7dbebb..00000000
--- a/Modules.EDMI.File/My Project/Resources.resx
+++ /dev/null
@@ -1,117 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
\ No newline at end of file
diff --git a/Modules.EDMI.File/My Project/Settings.Designer.vb b/Modules.EDMI.File/My Project/Settings.Designer.vb
deleted file mode 100644
index f8429069..00000000
--- a/Modules.EDMI.File/My Project/Settings.Designer.vb
+++ /dev/null
@@ -1,73 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' Dieser Code wurde von einem Tool generiert.
-' Laufzeitversion:4.0.30319.42000
-'
-' Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
-' der Code erneut generiert wird.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
-
-Namespace My
-
- _
- Partial Friend NotInheritable Class MySettings
- Inherits Global.System.Configuration.ApplicationSettingsBase
-
- Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings)
-
-#Region "Automatische My.Settings-Speicherfunktion"
-#If _MyType = "WindowsForms" Then
- Private Shared addedHandler As Boolean
-
- Private Shared addedHandlerLockObject As New Object
-
- _
- Private Shared Sub AutoSaveSettings(sender As Global.System.Object, e As Global.System.EventArgs)
- If My.Application.SaveMySettingsOnExit Then
- My.Settings.Save()
- End If
- End Sub
-#End If
-#End Region
-
- Public Shared ReadOnly Property [Default]() As MySettings
- Get
-
-#If _MyType = "WindowsForms" Then
- If Not addedHandler Then
- SyncLock addedHandlerLockObject
- If Not addedHandler Then
- AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
- addedHandler = True
- End If
- End SyncLock
- End If
-#End If
- Return defaultInstance
- End Get
- End Property
- End Class
-End Namespace
-
-Namespace My
-
- _
- Friend Module MySettingsProperty
-
- _
- Friend ReadOnly Property Settings() As Global.DigitalData.Modules.EDMI.File.My.MySettings
- Get
- Return Global.DigitalData.Modules.EDMI.File.My.MySettings.Default
- End Get
- End Property
- End Module
-End Namespace
diff --git a/Modules.EDMI.File/My Project/Settings.settings b/Modules.EDMI.File/My Project/Settings.settings
deleted file mode 100644
index 85b890b3..00000000
--- a/Modules.EDMI.File/My Project/Settings.settings
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/Modules.EDMI.File/Path.vb b/Modules.EDMI.File/Path.vb
deleted file mode 100644
index 3b57e9d6..00000000
--- a/Modules.EDMI.File/Path.vb
+++ /dev/null
@@ -1,50 +0,0 @@
-Imports DigitalData.Modules.Logging
-Imports System.IO
-
-Public Class Path
- Private ReadOnly _LogConfig As LogConfig
- Private ReadOnly _Logger As Logger
- Private ReadOnly _BasePath As String
-
- Public Sub New(LogConfig As LogConfig, DatastoreBasePath As String)
- _LogConfig = LogConfig
- _Logger = LogConfig.GetLogger()
- _BasePath = DatastoreBasePath
- End Sub
-
- Public Function GetFullPath(DocumentType As String, Optional FileName As String = "") As String
- Dim oParts = New List(Of String) From {_BasePath}
- oParts.AddRange(Do_GetRelativePath(DocumentType, FileName))
-
- Return IO.Path.Combine(oParts.ToArray())
- End Function
-
- Public Function GetFullPathFromRelativePath(RelativePath As String) As String
- Dim oParts = New List(Of String) From {_BasePath}
- oParts.Add(RelativePath)
- Return IO.Path.Combine(oParts.ToArray)
- End Function
-
- Public Function GetRelativePath(DocumentType As String, Optional FileName As String = "") As String
- Return IO.Path.Combine(Do_GetRelativePath(DocumentType, FileName).ToArray)
- End Function
-
- Private Function Do_GetRelativePath(DocumentType As String, Optional FileName As String = "") As List(Of String)
- Dim oPathParts As New List(Of String) From {DocumentType}
- oPathParts.AddRange(GetDatePath())
- oPathParts.Add(FileName)
-
- Return oPathParts
- End Function
-
- Private Function GetDatePath() As List(Of String)
- Dim oDate = DateTime.Now
- Dim oResultList As New List(Of String) From {
- oDate.Year,
- oDate.Month.ToString.PadLeft(2, "0"),
- oDate.Day.ToString.PadLeft(2, "0")
- }
-
- Return oResultList
- End Function
-End Class
diff --git a/Modules.EDMI.File/packages.config b/Modules.EDMI.File/packages.config
deleted file mode 100644
index d4e65ac3..00000000
--- a/Modules.EDMI.File/packages.config
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Client.vb b/Modules.EDMIAPI/Client.vb
deleted file mode 100644
index e93b60d8..00000000
--- a/Modules.EDMIAPI/Client.vb
+++ /dev/null
@@ -1,1039 +0,0 @@
-Imports System.IO
-Imports System.ServiceModel
-Imports DigitalData.Modules.EDMI.API.Constants
-Imports DigitalData.Modules.EDMI.API.EDMIServiceReference
-Imports DigitalData.Modules.EDMI.API.Rights
-Imports DigitalData.Modules.Language.Utils
-Imports DigitalData.Modules.Logging
-
-Public Class Client
- ' Constants
- Private Const UPDATE_INTERVAL_IN_MINUTES As Integer = 1
-
- Private Const KIND_TYPE_DOC = "DOC"
-
- ' Helper Classes
- Private ReadOnly LogConfig As LogConfig
- Private ReadOnly Logger As Logger
- Private ReadOnly ChannelManager As Channel
-
- ' Runtime Variables
- Private _ServerAddress As ServerAddressStruct
- Private _ClientConfig As GlobalStateClientConfiguration
- Private _CachedTables As New List(Of String)
- Private _IsOnline As Boolean
- Private _Channel As IEDMIServiceChannel
-
- ' Update Timer
- Private WithEvents UpdateTimer As New Timers.Timer
-
- ' Public Variables
- Public ReadOnly Property CachedTables
- Get
- Return _CachedTables
- End Get
- End Property
-
- Public ReadOnly Property ClientConfig As GlobalStateClientConfiguration
- Get
- If _ClientConfig Is Nothing Then
- Throw New ApplicationException("ClientConfig is empty! Please connect to the service before accessing this property")
- End If
-
- Return _ClientConfig
- End Get
- End Property
-
- Public ReadOnly Property IsOnline As Boolean
- Get
- Return _IsOnline
- End Get
- End Property
-
- Public ReadOnly Property ServerAddress As String
- Get
- Return $"{_ServerAddress.Host}:{_ServerAddress.Port}"
- End Get
- End Property
-
- '''
- ''' Parse a IPAddress:Port String into its parts
- '''
- ''' A Server Address, for example: 192.168.1.50, 192.168.1.50:9000, 192.168.1.50;9000
- Public Shared Function ParseServiceAddress(AddressWithOptionalPort As String) As Tuple(Of String, Integer)
- Dim oConnection As New Connection()
- Dim oAddress As ServerAddressStruct = oConnection.ParseServiceAddress(AddressWithOptionalPort)
-
- Return New Tuple(Of String, Integer)(oAddress.Host, oAddress.Port)
- End Function
-
- '''
- ''' Creates a new EDMI Client object
- '''
- ''' LogConfig object
- ''' The IP address/hostname and port, separated by semicolon or colon, ex. 1.2.3.4:9000
- Public Sub New(pLogConfig As LogConfig, pServiceAdress As String)
- LogConfig = pLogConfig
- Logger = pLogConfig.GetLogger()
-
- UpdateTimer.Interval = 60 * 1000 * UPDATE_INTERVAL_IN_MINUTES
- UpdateTimer.Start()
-
- Try
- Dim oConnection = New Connection()
- _ServerAddress = oConnection.ParseServiceAddress(pServiceAdress)
- ChannelManager = New Channel(pLogConfig, _ServerAddress)
- AddHandler ChannelManager.Reconnect, AddressOf Reconnect
-
- Logger.Debug("Ready for connection to Service at: [{0}:{1}]", _ServerAddress.Host, _ServerAddress.Port)
-
- Catch ex As Exception
- Logger.Error(ex)
- End Try
- End Sub
-
- '''
- ''' Creates a new EDMI Client object
- '''
- ''' LogConfig object
- ''' The IP address to connect to
- ''' The Port number to use for the connection
- Public Sub New(pLogConfig As LogConfig, pIPAddress As String, pPortNumber As Integer)
- LogConfig = pLogConfig
- Logger = pLogConfig.GetLogger()
-
- UpdateTimer.Interval = 60 * 1000 * UPDATE_INTERVAL_IN_MINUTES
- UpdateTimer.Start()
-
- Try
- Dim oConnection = New Connection()
- _ServerAddress = oConnection.ParseServiceAddress(pIPAddress, pPortNumber)
- ChannelManager = New Channel(pLogConfig, _ServerAddress)
- AddHandler ChannelManager.Reconnect, AddressOf Reconnect
-
- Logger.Debug("Ready for connection to Service at: [{0}:{1}]", _ServerAddress.Host, _ServerAddress.Port)
-
- Catch ex As Exception
- Logger.Error(ex)
- End Try
- End Sub
-
- '''
- ''' Connect to the service
- '''
- ''' True if connection was successful, false otherwise
- Public Function Connect() As Boolean
- Try
- _Channel = ChannelManager.GetChannel()
-
- Logger.Debug("Opening channel..")
- _Channel.Open()
-
- Dim oResponse = _Channel.GetClientConfig()
- If oResponse.OK Then
- _ClientConfig = oResponse.ClientConfig
- Else
- Logger.Warn("Client Configuration could not be loaded: [{0}]", oResponse.ErrorMessage)
- End If
-
- Logger.Info($"Connection to AppService [{ServerAddress}] successfully established!")
-
- _IsOnline = True
-
- Return True
- Catch ex As Exception
- _IsOnline = False
-
- Logger.Error(ex)
- Return False
- End Try
- End Function
-
- '''
- ''' Aborts the channel and creates a new connection
- '''
- Public Sub Reconnect()
- Logger.Warn("Connection faulted. Trying to reconnect..")
-
- Try
- _Channel.Abort()
- _Channel = ChannelManager.GetChannel()
- _Channel.Open()
-
- _IsOnline = True
- Catch ex As Exception
- Logger.Error(ex)
- End Try
- End Sub
-
- Private Async Function UpdateTimer_Elapsed(sender As Object, e As Timers.ElapsedEventArgs) As Task Handles UpdateTimer.Elapsed
- Try
- Dim oTables As String() = Await _Channel.GetCachedTablesAsync()
- _CachedTables = oTables.
- Select(Function(table) table.ToUpper).
- ToList()
- Catch ex As Exception
- Logger.Warn("Update of CachedTable was not successful!")
- Logger.Error(ex)
- _CachedTables = New List(Of String)
- End Try
- End Function
-
- '''
- ''' Imports a file from a filepath, creating a IDB ObjectId and Filesystem Object
- '''
- ''' Type of ObjectStore. Can be WORK or ARCHIVE.
- ''' Business entity that the new file object should belong to.
- ''' Other file import options
- ''' When local filepath was not found
- ''' When there was a error in the Service
- ''' The ObjectId of the newly generated filesystem object
- Public Async Function NewFileAsync(pFilePath As String, pObjectStoreName As String, pObjectKind As String, pIDBDoctypeId As Long, Optional pImportOptions As Options.NewFileOptions = Nothing) As Task(Of Long)
- Try
- Dim oNewFile As New Modules.IDB.NewFile(LogConfig, _Channel)
- Return Await oNewFile.RunAsync(pFilePath, pObjectStoreName, pObjectKind, pIDBDoctypeId, pImportOptions)
-
- Catch ex As Exception
- Logger.Error(ex)
- Return Nothing
-
- End Try
- End Function
-
- Public Async Function UpdateFileAsync(pObjectId As Long, pFilePath As String, Optional pImportOptions As Options.UpdateFileOptions = Nothing) As Task(Of Long)
- Try
- Dim oUpdateFile As New Modules.IDB.UpdateFile(LogConfig, _Channel)
- Return Await oUpdateFile.RunAsync(pFilePath, pObjectId, pImportOptions)
-
- Catch ex As Exception
- Logger.Error(ex)
- Return Nothing
-
- End Try
- End Function
-
- Public Async Function SetObjectStateAsync(pObjectId As Long, pState As String, Optional pOptions As Options.SetObjectStateOptions = Nothing) As Task(Of Boolean)
- Try
- Dim oSetObjectState As New Modules.IDB.SetObjectState(LogConfig, _Channel)
- Return Await oSetObjectState.RunAsync(pObjectId, pState, pOptions)
-
- Catch ex As Exception
- Logger.Error(ex)
- Return False
-
- End Try
- End Function
-
- Public Async Function SetAttributeValueAsync(pObjectId As Long, pName As String, pValue As Object, Optional pOptions As Options.SetAttributeValueOptions = Nothing) As Task(Of Boolean)
- Try
- Dim oSetAttributeValue As New Modules.IDB.SetAttributeValue(LogConfig, _Channel)
- Return Await oSetAttributeValue.RunAsync(pObjectId, pName, pValue, pOptions)
-
- Catch ex As Exception
- Logger.Error(ex)
- Return False
-
- End Try
- End Function
-
- Public Async Function CheckOutFile(pObjectId As Long, pComment As String, Optional pOptions As Options.CheckOutInOptions = Nothing) As Task(Of Long)
- Try
- Dim oCheckOutFile As New Modules.IDB.CheckOutFile(LogConfig, _Channel)
- Return Await oCheckOutFile.RunAsync(pObjectId, pComment, pOptions)
-
- Catch ex As Exception
- Logger.Error(ex)
- Return Nothing
-
- End Try
- End Function
-
- Public Async Function CheckOutFile(pObjectId As Long, Optional pOptions As Options.CheckOutInOptions = Nothing) As Task(Of Long)
- Try
- Dim oCheckOutFile As New Modules.IDB.CheckOutFile(LogConfig, _Channel)
- Return Await oCheckOutFile.RunAsync(pObjectId, String.Empty, pOptions)
-
- Catch ex As Exception
- Logger.Error(ex)
- Return Nothing
-
- End Try
- End Function
-
- Public Async Function CheckInFile(pObjectId As Long, Optional pOptions As Options.CheckOutInOptions = Nothing) As Task(Of Long)
- Try
- Dim oCheckInFile As New Modules.IDB.CheckInFile(LogConfig, _Channel)
- Return Await oCheckInFile.RunAsync(pObjectId, pOptions)
-
- Catch ex As Exception
- Logger.Error(ex)
- Return Nothing
-
- End Try
- End Function
-
- Public Async Function ImportFileAsync(
- pFilePath As String,
- pAttributeValues As List(Of UserAttributeValue),
- pObjectStoreName As String,
- pObjectKind As String,
- pIDBDoctypeId As String,
- Optional pImportOptions As Options.ImportFileOptions = Nothing) As Task(Of ImportFileResponse)
- Try
- Dim oImportFile As New Modules.IDB.ImportFile(LogConfig, _Channel)
- Return Await oImportFile.RunAsync(pFilePath, pAttributeValues, pObjectStoreName, pObjectKind, pIDBDoctypeId, pImportOptions)
-
- Catch ex As Exception
- Logger.Error(ex)
- Return Nothing
-
- End Try
- End Function
-
- Public Async Function Globix_ImportFileAsync(
- pFilePath As String,
- pProfileId As Integer,
- pAttributeValues As List(Of UserAttributeValue),
- pObjectStoreName As String,
- pObjectKind As String,
- pIDBDoctypeId As String,
- Optional pImportOptions As Options.ImportFileOptions = Nothing) As Task(Of Globix_ImportFileResponse)
- Try
- Dim oImportFile As New Modules.Globix.ImportFile(LogConfig, _Channel)
- Return Await oImportFile.RunAsync(pFilePath, pProfileId, pAttributeValues, pObjectStoreName, pObjectKind, pIDBDoctypeId, pImportOptions)
-
- Catch ex As Exception
- Logger.Error(ex)
- Return Nothing
-
- End Try
- End Function
-
- Public Function Zooflow_GetFileObject(pObjectId As Long, pLoadFileContents As Boolean) As FileObject
- Try
- Dim oGetFileObject As New Modules.Zooflow.GetFileObject(LogConfig, _Channel)
- Dim oFileObject = oGetFileObject.Run(pObjectId, pLoadFileContents)
- Return oFileObject
- Catch ex As Exception
- Logger.Error(ex)
- Return Nothing
- End Try
- End Function
-
-
- Public Async Function ZooFlow_GetFileObjectAsync(pObjectId As Long, pLoadFileContents As Boolean) As Task(Of FileObject)
- Try
- Dim oGetFileObject As New Modules.Zooflow.GetFileObject(LogConfig, Me)
- Dim oFileObject = Await oGetFileObject.RunAsync(pObjectId, pLoadFileContents)
- Return oFileObject
- Catch ex As Exception
- Logger.Error(ex)
- Return Nothing
- End Try
- End Function
-
- '''
- ''' Sets a value to an attribute
- '''
- ''' IDB ObjectId
- ''' Name of the attribute
- '''
- '''
- '''
- 'Public Function SetVariableValue(pObjectId As Long, pAttributeName As String, pValue As Object, Optional pOptions As Options.SetVariableValueOptions = Nothing) As Boolean
- ' Try
- ' ' Set default options
- ' If pOptions Is Nothing Then
- ' pOptions = New Options.SetVariableValueOptions()
- ' End If
-
- ' Dim oOptions As New Options.GetVariableValueOptions With {
- ' .Language = pOptions.Language,
- ' .Username = pOptions.Username
- ' }
-
- ' Try
- ' Dim oResponse = Channel.TestObjectIdExists(New TestObjectIdExistsRequest With {.ObjectId = pObjectId})
- ' If oResponse.Exists = False Then
- ' Return False
- ' End If
-
- ' Catch ex As Exception
- ' Logger.Error(ex)
- ' Return False
- ' End Try
-
- ' Dim oType = pValue.GetType.Name
-
- ' If oType = GetType(DataTable).Name Then
- ' Dim oValueTable As DataTable = pValue
- ' Dim oCurrentValue As VariableValue
-
- ' ' Get current value
- ' oCurrentValue = GetVariableValue(pObjectId, pAttributeName, oOptions)
-
- ' ' If current value is datatable
- ' If oCurrentValue.Type = GetType(DataTable) Then
-
- ' ' Convert value to Datatable
- ' Dim oTable As DataTable = oCurrentValue.Value
-
- ' If oTable.Rows.Count > 1 Then
-
- ' 'now Checking whether the old row still remains in Vector? If not it will be deleted as it cannot be replaced in multivalues
- ' For Each oRow As DataRow In oTable.Rows
- ' Dim oExists As Boolean = False
- ' For Each oNewValueRow As DataRow In oValueTable.Rows
- ' Logger.Debug($"Checking oldValue[{oCurrentValue}] vs NewValue [{oNewValueRow.Item(1)}]")
-
- ' If oNewValueRow.Item(1).ToString.ToUpper = oRow.Item(0).ToString.ToUpper Then
- ' oExists = True
- ' Exit For
- ' End If
- ' Next
-
- ' If oExists = False Then
- ' Logger.Debug($"Value [{oRow.Item(0)}] no longer existing in Vector-Attribute [{pAttributeName}] - will be deleted!")
- ' DeleteTermObjectFromMetadata(pObjectId, pAttributeName, oRow.Item(0))
- ' End If
-
- ' Next
- ' End If
- ' Else
- ' If oValueTable.Rows.Count > 1 Then
-
- ' 'now Checking whether the old row still remains in Vector? If not it will be deleted as it cannot be replaced in multivalues
- ' Dim oExists As Boolean = False
- ' For Each oNewValueRow As DataRow In oValueTable.Rows
- ' Logger.Debug($"Checking oldValue[{oCurrentValue}] vs NewValue [{oNewValueRow.Item(1)}]")
-
- ' If oNewValueRow.Item(1).ToString.ToUpper = oCurrentValue.ToString.ToUpper Then
- ' oExists = True
- ' Exit For
- ' End If
-
- ' Next
- ' If oExists = False Then
- ' Logger.Debug($"Value [{oCurrentValue}] no longer existing in Vector-Attribute [{pAttributeName}] - will be deleted!")
- ' DeleteTermObjectFromMetadata(pObjectId, pAttributeName, oCurrentValue.Value)
- ' End If
-
- ' Else
- ' Logger.Debug($"Value [{oCurrentValue}] of Attribute [{pAttributeName}] obviously was updated during runtime - will be deleted!")
- ' DeleteTermObjectFromMetadata(pObjectId, pAttributeName, oCurrentValue.Value)
-
- ' End If
-
- ' End If
-
- ' For Each oNewValueRow As DataRow In oValueTable.Rows
- ' Dim oResult As Boolean = NewObjectData(pObjectId, pAttributeName, pValue, New Options.NewObjectOptions With {
- ' .Language = pOptions.Language,
- ' .Username = pOptions.Username
- ' })
-
- ' If oResult = False Then
- ' Return False
- ' End If
- ' Next
- ' Return True
- ' Else
- ' Return NewObjectData(pObjectId, pAttributeName, pValue, New Options.NewObjectOptions With {
- ' .Language = pOptions.Language,
- ' .Username = pOptions.Username
- ' })
- ' End If
-
- ' Catch ex As Exception
- ' Logger.Error(ex)
- ' Return False
- ' End Try
- 'End Function
-
- '''
- '''
- '''
- '''
- '''
- '''
- '''
- Public Function GetVariableValue(pObjectId As Long, pAttributeName As String, Optional pOptions As Options.GetVariableValueOptions = Nothing) As VariableValue
- If pOptions Is Nothing Then
- pOptions = New Options.GetVariableValueOptions()
- End If
-
- Try
- Dim oArgs = New GetAttributeValueRequest With {
- .ObjectId = pObjectId,
- .AttributeName = pAttributeName,
- .User = New UserState() With {
- .UserName = pOptions.Username,
- .Language = pOptions.Language
- }
- }
- Dim oResponse = _Channel.GetAttributeValue(oArgs)
- If oResponse.OK = False Then
- Return New VariableValue()
-
- End If
-
- Return New VariableValue(oResponse.Value)
-
- Catch ex As Exception
- Logger.Error(ex)
- Return New VariableValue()
-
- End Try
- End Function
-
- Private Function GetValueByType(pRow As DataRow, pTypeString As String) As Object
- Try
- Dim oAttributeValue As Object
-
- Select Case pTypeString
- Case Constants.AttributeTypeName.BIT
- oAttributeValue = pRow.Item("ValueBigInt")
-
- Case Constants.AttributeTypeName.BIG_INTEGER
- oAttributeValue = pRow.Item("ValueBigInt")
-
- Case Constants.AttributeTypeName.DATE
- oAttributeValue = pRow.Item("ValueDate")
-
- Case Constants.AttributeTypeName.DATETIME
- oAttributeValue = pRow.Item("ValueDate")
-
- Case Constants.AttributeTypeName.DECIMAL
- oAttributeValue = pRow.Item("ValueDecimal")
-
- Case Constants.AttributeTypeName.FLOAT
- oAttributeValue = pRow.Item("ValueDecimal")
-
- Case Constants.AttributeTypeName.VARCHAR
- oAttributeValue = pRow.Item("ValueText")
-
- Case Constants.AttributeTypeName.VECTOR_INTEGER
- oAttributeValue = pRow.Item("ValueBigInt")
-
- Case Constants.AttributeTypeName.VECTOR_STRING
- oAttributeValue = pRow.Item("ValueText")
-
- Case Else
- oAttributeValue = Nothing
- End Select
-
- Return oAttributeValue
-
- Catch ex As Exception
- Logger.Error(ex)
- Return Nothing
-
- End Try
- End Function
-
- Private Function GetAttributesForObject(pObjectId As Long, pLanguage As String) As List(Of ObjectAttribute)
- Dim oAttributes As New List(Of ObjectAttribute)
-
- Try
- Dim oResult As TableResult = _Channel.ReturnDatatable_MSSQL_IDB($"EXEC [PRIDB_GET_VALUE_DT] {pObjectId}, '{pLanguage}'")
-
- If oResult.OK = False Then
- Throw New ApplicationException(oResult.ErrorMessage)
- End If
-
- If oResult.Table Is Nothing OrElse oResult.Table.Rows.Count = 0 Then
- Return Nothing
- End If
-
- For Each oRow As DataRow In oResult.Table.Rows
- Dim oAttribute As New ObjectAttribute With {
- .Id = oRow.Item("AttributeId"),
- .Title = oRow.Item("AttributeTitle"),
- .Type = oRow.Item("AttributeType"),
- .ValueBigInt = NotNull(oRow.Item("ValueBigInt"), Nothing),
- .ValueDate = NotNull(oRow.Item("ValueDate"), Nothing),
- .ValueDecimal = NotNull(oRow.Item("ValueDecimal"), Nothing),
- .ValueText = NotNull(oRow.Item("ValueText"), Nothing)
- }
-
- oAttributes.Add(oAttribute)
- Next
-
- Return oAttributes
- Catch ex As Exception
- Logger.Error(ex)
- Return Nothing
- End Try
- End Function
-
- Private Function NewObjectData(pObjectId As Long, pAttributeName As String, pValue As Object, pOptions As Options.NewObjectOptions)
- If pOptions Is Nothing Then
- pOptions = New Options.NewObjectOptions()
- End If
-
- Dim oLanguage = GetUserLanguage(pOptions.Language)
- Dim oUsername = GetUserName(pOptions.Username)
-
- Dim oSql = $"DECLARE @NEW_OBJ_MD_ID BIGINT
- EXEC PRIDB_NEW_OBJ_DATA({pObjectId}, '{pAttributeName}', '{oUsername}', '{pValue}', '{oLanguage}', 0, @OMD_ID = @NEW_OBJ_MD_ID OUTPUT)"
- Dim oResult = _Channel.ExecuteNonQuery_MSSQL_IDB(oSql)
-
- If oResult.OK = False Then
- Logger.Warn("Error while deleting Term object")
- Logger.Error(oResult.ErrorMessage)
- End If
-
- Return oResult.OK
- End Function
-
- Private Function DeleteTermObjectFromMetadata(pObjectId As Long, pAttributeName As String, pTerm2Delete As String, Optional pUsername As String = "", Optional pLanguage As String = "") As Boolean
- Try
- Dim oLanguage = GetUserLanguage(pLanguage)
- Dim oUsername = GetUserName(pUsername)
-
- Dim oIdIsForeign As Integer = 1
- Dim oDELSQL = $"EXEC PRIDB_DELETE_TERM_OBJECT_METADATA {pObjectId},'{pAttributeName}','{pTerm2Delete}','{oUsername}','{oLanguage}',{oIdIsForeign}"
- Dim oResult = _Channel.ExecuteNonQuery_MSSQL_IDB(oDELSQL)
-
- If oResult.OK = False Then
- Logger.Warn("Error while deleting Term object")
- Logger.Error(oResult.ErrorMessage)
- End If
-
- Return oResult.OK
- Catch ex As Exception
- Logger.Error(ex)
- Return False
- End Try
- End Function
-
-#Region "GetDatatable"
- Public Function GetDatatableFromIDB(pSQL As String) As GetDatatableResponse
- Try
- Dim oResponse = _Channel.ReturnDatatable(New GetDatatableRequest() With {
- .SqlCommand = pSQL,
- .NamedDatabase = DatabaseName.IDB
- })
- Return oResponse
- Catch ex As Exception
- Logger.Error(ex)
- Throw ex
- End Try
- End Function
-
- Public Function GetDatatableFromECM(pSQL As String) As GetDatatableResponse
- Try
- Dim oResponse = _Channel.ReturnDatatable(New GetDatatableRequest() With {
- .SqlCommand = pSQL,
- .NamedDatabase = DatabaseName.ECM
- })
- Return oResponse
- Catch ex As Exception
- Logger.Error(ex)
- Throw ex
- End Try
- End Function
-
- Public Function GetDatatableFromConnection(pSQL As String, pConnectionId As Integer) As GetDatatableResponse
- Try
- Dim oResponse = _Channel.ReturnDatatable(New GetDatatableRequest() With {
- .SqlCommand = pSQL,
- .NamedDatabase = DatabaseName.None,
- .ConnectionId = pConnectionId
- })
- Return oResponse
- Catch ex As Exception
- Logger.Error(ex)
- Throw ex
- End Try
- End Function
-
- Public Async Function GetDatatableFromIDBAsync(pSQL As String) As Task(Of GetDatatableResponse)
- Try
- Dim oResponse = Await _Channel.ReturnDatatableAsync(New GetDatatableRequest() With {
- .SqlCommand = pSQL,
- .NamedDatabase = DatabaseName.IDB
- })
- Return oResponse
- Catch ex As Exception
- Logger.Error(ex)
- Throw ex
- End Try
- End Function
-
- Public Async Function GetDatatableFromECMAsync(pSQL As String) As Task(Of GetDatatableResponse)
- Try
- Dim oResponse = Await _Channel.ReturnDatatableAsync(New GetDatatableRequest() With {
- .SqlCommand = pSQL,
- .NamedDatabase = DatabaseName.ECM
- })
- Return oResponse
- Catch ex As Exception
- Logger.Error(ex)
- Throw ex
- End Try
- End Function
-
- Public Async Function GetDatatableFromConnectionAsync(pSQL As String, Optional pConnectionId As Integer = 0) As Task(Of GetDatatableResponse)
- Try
- Dim oResponse = Await _Channel.ReturnDatatableAsync(New GetDatatableRequest() With {
- .SqlCommand = pSQL,
- .NamedDatabase = DatabaseName.None,
- .ConnectionId = pConnectionId
- })
- Return oResponse
- Catch ex As Exception
- Logger.Error(ex)
- Throw ex
- End Try
- End Function
-#End Region
-
-#Region "GetScalarValue"
- Public Function GetScalarValueFromIDB(pSQL As String) As GetScalarValueResponse
- Try
- Dim oResponse = _Channel.ReturnScalarValue(New GetScalarValueRequest() With {
- .SqlCommand = pSQL,
- .NamedDatabase = DatabaseName.IDB
- })
- Return oResponse
- Catch ex As Exception
- Logger.Error(ex)
- Throw ex
- End Try
- End Function
-
- Public Function GetScalarValueFromECM(pSQL As String) As GetScalarValueResponse
- Try
- Dim oResponse = _Channel.ReturnScalarValue(New GetScalarValueRequest() With {
- .SqlCommand = pSQL,
- .NamedDatabase = DatabaseName.ECM
- })
- Return oResponse
- Catch ex As Exception
- Logger.Error(ex)
- Throw ex
- End Try
- End Function
-
- Public Function GetScalarValueFromConnection(pSQL As String, pConnectionId As Integer) As GetScalarValueResponse
- Try
- Dim oResponse = _Channel.ReturnScalarValue(New GetScalarValueRequest() With {
- .SqlCommand = pSQL,
- .NamedDatabase = DatabaseName.None,
- .ConnectionId = pConnectionId
- })
- Return oResponse
- Catch ex As Exception
- Logger.Error(ex)
- Throw ex
- End Try
- End Function
-
- Public Async Function GetScalarValueFromIDBAsync(pSQL As String) As Task(Of GetScalarValueResponse)
- Try
- Dim oResponse = Await _Channel.ReturnScalarValueAsync(New GetScalarValueRequest() With {
- .SqlCommand = pSQL,
- .NamedDatabase = DatabaseName.IDB
- })
- Return oResponse
- Catch ex As Exception
- Logger.Error(ex)
- Throw ex
- End Try
- End Function
-
- Public Async Function GetScalarValueFromECMAsync(pSQL As String) As Task(Of GetScalarValueResponse)
- Try
- Dim oResponse = Await _Channel.ReturnScalarValueAsync(New GetScalarValueRequest() With {
- .SqlCommand = pSQL,
- .NamedDatabase = DatabaseName.ECM
- })
- Return oResponse
- Catch ex As Exception
- Logger.Error(ex)
- Throw ex
- End Try
- End Function
-
- Public Async Function GetScalarValueFromConnectionAsync(pSQL As String, pConnectionId As Integer) As Task(Of GetScalarValueResponse)
- Try
- Dim oResponse = Await _Channel.ReturnScalarValueAsync(New GetScalarValueRequest() With {
- .SqlCommand = pSQL,
- .NamedDatabase = DatabaseName.None,
- .ConnectionId = pConnectionId
- })
- Return oResponse
- Catch ex As Exception
- Logger.Error(ex)
- Throw ex
- End Try
- End Function
-#End Region
-
-#Region "ExecuteNonQuery"
- Public Function ExecuteNonQueryFromIDB(pSQL As String) As ExecuteNonQueryResponse
- Try
- Dim oResponse = _Channel.ExecuteNonQuery(New ExecuteNonQueryRequest() With {
- .SqlCommand = pSQL,
- .NamedDatabase = DatabaseName.IDB
- })
- Return oResponse
- Catch ex As Exception
- Logger.Error(ex)
- Throw ex
- End Try
- End Function
-
- Public Function ExecuteNonQueryFromECM(pSQL As String) As ExecuteNonQueryResponse
- Try
- Dim oResponse = _Channel.ExecuteNonQuery(New ExecuteNonQueryRequest() With {
- .SqlCommand = pSQL,
- .NamedDatabase = DatabaseName.ECM
- })
- Return oResponse
- Catch ex As Exception
- Logger.Error(ex)
- Throw ex
- End Try
- End Function
-
- Public Function ExecuteNonQueryFromConnection(pSQL As String, pConnectionId As Integer) As ExecuteNonQueryResponse
- Try
- Dim oResponse = _Channel.ExecuteNonQuery(New ExecuteNonQueryRequest() With {
- .SqlCommand = pSQL,
- .NamedDatabase = DatabaseName.None,
- .ConnectionId = pConnectionId
- })
- Return oResponse
- Catch ex As Exception
- Logger.Error(ex)
- Throw ex
- End Try
- End Function
-
- Public Async Function ExecuteNonQueryFromIDBAsync(pSQL As String) As Task(Of ExecuteNonQueryResponse)
- Try
- Dim oResponse = Await _Channel.ExecuteNonQueryAsync(New ExecuteNonQueryRequest() With {
- .SqlCommand = pSQL,
- .NamedDatabase = DatabaseName.IDB
- })
- Return oResponse
- Catch ex As Exception
- Logger.Error(ex)
- Throw ex
- End Try
- End Function
-
- Public Async Function ExecuteNonQueryFromECMAsync(pSQL As String) As Task(Of ExecuteNonQueryResponse)
- Try
- Dim oResponse = Await _Channel.ExecuteNonQueryAsync(New ExecuteNonQueryRequest() With {
- .SqlCommand = pSQL,
- .NamedDatabase = DatabaseName.ECM
- })
- Return oResponse
- Catch ex As Exception
- Logger.Error(ex)
- Throw ex
- End Try
- End Function
-
- Public Async Function ExecuteNonQueryFromConnectionAsync(pSQL As String, pConnectionId As Integer) As Task(Of ExecuteNonQueryResponse)
- Try
- Dim oResponse = Await _Channel.ExecuteNonQueryAsync(New ExecuteNonQueryRequest() With {
- .SqlCommand = pSQL,
- .NamedDatabase = DatabaseName.None,
- .ConnectionId = pConnectionId
- })
- Return oResponse
- Catch ex As Exception
- Logger.Error(ex)
- Throw ex
- End Try
- End Function
-#End Region
-
-
- Public Function GetDatatableByName(DatatableName As String, Optional FilterExpression As String = "", Optional SortByColumn As String = "") As TableResult
- Try
- Dim oResponse = _Channel.ReturnDatatableFromCache(DatatableName, FilterExpression, SortByColumn)
- Return oResponse
- Catch ex As Exception
- Logger.Error(ex)
- Throw ex
- End Try
- End Function
-
- Public Async Function GetDatatableByNameAsync(DatatableName As String, Optional FilterExpression As String = "", Optional SortByColumn As String = "") As Task(Of TableResult)
- Try
- Dim oResponse = Await _Channel.ReturnDatatableFromCacheAsync(DatatableName, FilterExpression, SortByColumn)
- Return oResponse
- Catch ex As Exception
- Logger.Error(ex)
- Throw ex
- End Try
- End Function
-
-
-
- '''
- ''' Return infos about a file object
- '''
- '''
- '''
- '''
- Public Function GetDocumentInfo(UserId As Long, ObjectId As Long) As DocumentInfo
- Try
- Dim oResponse As DocumentInfoResponse = _Channel.GetFileInfoByObjectId(New DocumentInfoRequest With {
- .ObjectId = ObjectId,
- .UserId = UserId
- })
-
- Return New DocumentInfo With {
- .AccessRight = oResponse.FileRight,
- .FullPath = oResponse.FullPath
- }
-
- Catch ex As FaultException(Of ObjectDoesNotExistFault)
- Logger.Error(ex)
- Throw ex
-
- Catch ex As FaultException
- Logger.Error(ex)
- Throw ex
-
- Catch ex As Exception
- Logger.Error(ex)
- Throw ex
-
- End Try
- End Function
-
- Public Async Function GetDocumentInfoAsync(UserId As Long, ObjectId As Long) As Task(Of DocumentInfo)
- Try
- Dim oParams = New DocumentInfoRequest With {
- .ObjectId = ObjectId,
- .UserId = UserId
- }
- Dim oResponse As DocumentInfoResponse = Await _Channel.GetFileInfoByObjectIdAsync(oParams)
-
- Return New DocumentInfo With {
- .AccessRight = oResponse.FileRight,
- .FullPath = oResponse.FullPath
- }
- Catch ex As Exception
- Logger.Error(ex)
- Throw ex
- End Try
- End Function
-
-
-#Region "Private Functions"
-
-
- Private Function GetUserLanguage(pOverrideLanguage As String) As String
- Return NotNull(pOverrideLanguage, Threading.Thread.CurrentThread.CurrentUICulture.Name)
- End Function
-
- Private Function GetUserName(pOverrideName) As String
- Return NotNull(pOverrideName, Environment.UserName)
- End Function
-#End Region
-
-#Region "Response Classes"
- Public Class StreamedFile
- Public Stream As MemoryStream
- Public FileName As String
- End Class
-
- Public Class FileList
- Public Datatable As DataTable
- End Class
-
- Public Class DocumentInfo
- Public Id As Long
- Public FullPath As String
- Public AccessRight As AccessRight
- End Class
-
- Public Class VariableValue
- Public ReadOnly Property IsVector As Boolean = False
-
- Public Property Value As Object
- Public Property Type As Type
-
- Public Sub New()
- MyClass.New(Nothing)
- End Sub
-
- Public Sub New(pValue As Object)
- ' Check if value is a collection
- If TypeOf pValue Is IEnumerable Then
- IsVector = True
- End If
-
- ' Try to determine the type
- If IsNothing(pValue) Then
- Type = Nothing
- Else
- Type = pValue.GetType
- End If
-
- Value = pValue
- End Sub
- End Class
-
-
-#End Region
-
- Public Class ObjectAttribute
- Public Property Id As Long
- Public Property Title As String
- Public Property Type As String
-
- Public Property ValueBigInt As Long
- Public Property ValueText As String
- Public Property ValueDecimal As Decimal
- Public Property ValueDate As DateTime
-
- Public ReadOnly Property Value As Object
- Get
- Return GetValue()
- End Get
- End Property
-
- Private Function GetValue() As Object
- Select Case Type
- Case AttributeTypeName.VECTOR_INTEGER
- Return ValueBigInt
-
- Case AttributeTypeName.BIG_INTEGER
- Return ValueBigInt
-
- Case AttributeTypeName.VECTOR_STRING
- Return ValueText
-
- Case AttributeTypeName.VARCHAR
- Return ValueText
-
- Case AttributeTypeName.BIT
- Return IIf(ValueBigInt = 1, True, False)
-
- Case AttributeTypeName.DATE
- Return ValueDate
-
- Case AttributeTypeName.DATETIME
- Return ValueDate
-
- Case AttributeTypeName.DECIMAL
- Return ValueDecimal
-
- Case AttributeTypeName.FLOAT
- Return ValueDecimal
-
- Case Else
- Return Nothing
- End Select
- End Function
- End Class
-End Class
diff --git a/Modules.EDMIAPI/Client/Channel.vb b/Modules.EDMIAPI/Client/Channel.vb
deleted file mode 100644
index 8a8f1d41..00000000
--- a/Modules.EDMIAPI/Client/Channel.vb
+++ /dev/null
@@ -1,64 +0,0 @@
-Imports System.ServiceModel
-Imports System.Xml
-Imports DigitalData.Modules.Base
-Imports DigitalData.Modules.EDMI.API.EDMIServiceReference
-Imports DigitalData.Modules.Logging
-
-Public Class Channel
- Inherits BaseClass
-
- Private ReadOnly ChannelFactory As ChannelFactory(Of IEDMIServiceChannel)
-
- Public Event Reconnect As EventHandler
-
- Public Shared Function GetBinding(Optional AuthenticationMode As TcpClientCredentialType = TcpClientCredentialType.Windows) As NetTcpBinding
- Return New NetTcpBinding() With {
- .MaxReceivedMessageSize = Constants.ChannelSettings.MAX_RECEIVED_MESSAGE_SIZE,
- .MaxBufferSize = Constants.ChannelSettings.MAX_BUFFER_SIZE,
- .MaxBufferPoolSize = Constants.ChannelSettings.MAX_BUFFER_POOL_SIZE,
- .TransferMode = TransferMode.Streamed,
- .Security = New NetTcpSecurity() With {
- .Mode = SecurityMode.Transport,
- .Transport = New TcpTransportSecurity() With {
- .ClientCredentialType = AuthenticationMode
- }
- },
- .ReaderQuotas = New XmlDictionaryReaderQuotas() With {
- .MaxArrayLength = Constants.ChannelSettings.MAX_ARRAY_LENGTH,
- .MaxStringContentLength = Constants.ChannelSettings.MAX_STRING_CONTENT_LENGTH
- }
- }
- End Function
-
- Public Sub New(pLogConfig As LogConfig, pServerAddress As ServerAddressStruct)
- MyBase.New(pLogConfig)
- ChannelFactory = GetChannelFactory(pServerAddress)
- End Sub
-
- '''
- ''' Creates a channel and adds a Faulted-Handler
- '''
- ''' A channel object
- Public Function GetChannel() As IEDMIServiceChannel
- Try
- Logger.Debug("Creating channel.")
- Dim oChannel = ChannelFactory.CreateChannel()
-
- AddHandler oChannel.Faulted, Sub() RaiseEvent Reconnect(Me, Nothing)
-
- Return oChannel
- Catch ex As Exception
- Logger.Error(ex)
- Throw ex
- End Try
- End Function
-
- Private Function GetChannelFactory(pServerAddress As ServerAddressStruct) As ChannelFactory(Of IEDMIServiceChannel)
- Dim oBinding = GetBinding()
- Dim oAddress = New EndpointAddress($"net.tcp://{pServerAddress.Host}:{pServerAddress.Port}/DigitalData/Services/Main")
- Dim oFactory = New ChannelFactory(Of IEDMIServiceChannel)(oBinding, oAddress)
- Return oFactory
- End Function
-End Class
-
-
diff --git a/Modules.EDMIAPI/Client/Connection.vb b/Modules.EDMIAPI/Client/Connection.vb
deleted file mode 100644
index 09ba6276..00000000
--- a/Modules.EDMIAPI/Client/Connection.vb
+++ /dev/null
@@ -1,31 +0,0 @@
-Imports DigitalData.Modules.Base
-Imports DigitalData.Modules.Logging
-
-Public Class Connection
- Public Function ParseServiceAddress(pHost As String, pPort As Integer) As ServerAddressStruct
- Dim oAddress As ServerAddressStruct
-
- oAddress.Host = pHost
- oAddress.Port = pPort
-
- Return oAddress
- End Function
-
- Public Function ParseServiceAddress(pAddress As String) As ServerAddressStruct
- Dim oAddressList As List(Of String)
- Dim oAddress As ServerAddressStruct
-
- If pAddress.Contains(";"c) Then
- oAddressList = pAddress.Split(";"c).ToList
- ElseIf pAddress.Contains(":"c) Then
- oAddressList = pAddress.Split(":"c).ToList
- Else
- oAddressList = New List(Of String) From {pAddress, Constants.DEFAULT_SERVICE_PORT}
- End If
-
- oAddress.Host = oAddressList.First()
- oAddress.Port = oAddressList.Item(1)
-
- Return oAddress
- End Function
-End Class
diff --git a/Modules.EDMIAPI/Client/NewFile.vb b/Modules.EDMIAPI/Client/NewFile.vb
deleted file mode 100644
index 7410fcff..00000000
--- a/Modules.EDMIAPI/Client/NewFile.vb
+++ /dev/null
@@ -1,11 +0,0 @@
-Imports DigitalData.Modules.Logging
-
-Public Class NewFile
- Private ReadOnly LogConfig As LogConfig
- Private ReadOnly Logger As Logger
-
- Public Sub New(pLogConfig As LogConfig)
- LogConfig = pLogConfig
- Logger = LogConfig.GetLogger()
- End Sub
-End Class
diff --git a/Modules.EDMIAPI/Client/Options.vb b/Modules.EDMIAPI/Client/Options.vb
deleted file mode 100644
index 5ded31a1..00000000
--- a/Modules.EDMIAPI/Client/Options.vb
+++ /dev/null
@@ -1,78 +0,0 @@
-Public Class Options
-
- Public MustInherit Class BaseOptions
- '''
- ''' Windows username of the user responsible for the request. Defaults to the currently logged in user.
- '''
- Public Property Username As String = Environment.UserName
-
- '''
- ''' Language code of the client responsible for the request. Defaults to the language of the current client.
- '''
- '''
- Public Property Language As String = Threading.Thread.CurrentThread.CurrentUICulture.Name
- End Class
-
- '''
- ''' Import options for NewFileAsync.
- '''
- Public Class NewFileOptions
- Inherits BaseOptions
-
- '''
- ''' Date when the file was imported. Can be in the past. Defaults to now.
- '''
- Public Property DateImported As Date = Date.Now
- End Class
-
- '''
- ''' Import options for NewFileAsync.
- '''
- Public Class CheckOutInOptions
- Inherits BaseOptions
- End Class
-
- Public Class UpdateFileOptions
- Inherits BaseOptions
-
- '''
- ''' Should the changes in the file result in a new version? Otherwise the old file will be overridden.
- '''
- Public Property CreateNewFileVersion As Boolean = False
- End Class
-
- Public Class ImportFileOptions
- Inherits BaseOptions
-
- '''
- ''' Date when the file was imported. Can be in the past. Defaults to now.
- '''
- Public Property DateImported As Date = Date.Now
- End Class
-
- Public Class SetObjectStateOptions
- Inherits BaseOptions
-
- '''
- ''' Date when the file was imported. Can be in the past. Defaults to now.
- '''
- Public Property DateImported As Date = Date.Now
- End Class
-
- Public Class SetAttributeValueOptions
- Inherits BaseOptions
- End Class
-
-
- Public Class GetVariableValueOptions
- Inherits BaseOptions
- End Class
-
- Public Class SetVariableValueOptions
- Inherits BaseOptions
- End Class
-
- Public Class NewObjectOptions
- Inherits BaseOptions
- End Class
-End Class
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Client/Rights.vb b/Modules.EDMIAPI/Client/Rights.vb
deleted file mode 100644
index dc6ce6bf..00000000
--- a/Modules.EDMIAPI/Client/Rights.vb
+++ /dev/null
@@ -1,7 +0,0 @@
-Public Class Rights
- Public Enum AccessRight
- VIEW_ONLY = 1
- VIEW_EXPORT = 2
- FULL = 4
- End Enum
-End Class
diff --git a/Modules.EDMIAPI/Client/ServerAddressStruct.vb b/Modules.EDMIAPI/Client/ServerAddressStruct.vb
deleted file mode 100644
index a4e9d386..00000000
--- a/Modules.EDMIAPI/Client/ServerAddressStruct.vb
+++ /dev/null
@@ -1,4 +0,0 @@
-Public Structure ServerAddressStruct
- Public Host As String
- Public Port As Integer
-End Structure
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/Arrays.xsd b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/Arrays.xsd
deleted file mode 100644
index c7a5d70f..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/Arrays.xsd
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.CheckInOutFileResponse.datasource b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.CheckInOutFileResponse.datasource
deleted file mode 100644
index 8cee8348..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.CheckInOutFileResponse.datasource
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- DigitalData.Modules.EDMI.API.EDMIServiceReference.CheckInOutFileResponse, Connected Services.EDMIServiceReference.Reference.vb.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.DocumentInfoResponse.datasource b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.DocumentInfoResponse.datasource
deleted file mode 100644
index 0f899425..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.DocumentInfoResponse.datasource
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- DigitalData.Modules.EDMI.API.EDMIServiceReference.DocumentInfoResponse, Connected Services.EDMIServiceReference.Reference.vb.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.DocumentInfoResponse1.datasource b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.DocumentInfoResponse1.datasource
deleted file mode 100644
index 0f899425..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.DocumentInfoResponse1.datasource
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- DigitalData.Modules.EDMI.API.EDMIServiceReference.DocumentInfoResponse, Connected Services.EDMIServiceReference.Reference.vb.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.DocumentListResponse.datasource b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.DocumentListResponse.datasource
deleted file mode 100644
index ba63f700..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.DocumentListResponse.datasource
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- DigitalData.Modules.EDMI.API.EDMIServiceReference.DocumentListResponse, Connected Services.EDMIServiceReference.Reference.vb.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.DocumentListResponse1.datasource b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.DocumentListResponse1.datasource
deleted file mode 100644
index ba63f700..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.DocumentListResponse1.datasource
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- DigitalData.Modules.EDMI.API.EDMIServiceReference.DocumentListResponse, Connected Services.EDMIServiceReference.Reference.vb.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.DocumentStreamResponse.datasource b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.DocumentStreamResponse.datasource
deleted file mode 100644
index 9c6b26fa..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.DocumentStreamResponse.datasource
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- DigitalData.Modules.EDMI.API.EDMIServiceReference.DocumentStreamResponse, Connected Services.EDMIServiceReference.Reference.vb.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.DocumentStreamResponse1.datasource b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.DocumentStreamResponse1.datasource
deleted file mode 100644
index 9c6b26fa..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.DocumentStreamResponse1.datasource
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- DigitalData.Modules.EDMI.API.EDMIServiceReference.DocumentStreamResponse, Connected Services.EDMIServiceReference.Reference.vb.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.ExecuteNonQueryResponse.datasource b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.ExecuteNonQueryResponse.datasource
deleted file mode 100644
index 8bb4d79f..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.ExecuteNonQueryResponse.datasource
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- DigitalData.Modules.EDMI.API.EDMIServiceReference.ExecuteNonQueryResponse, Connected Services.EDMIServiceReference.Reference.vb.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.ExecuteNonQueryResponse1.datasource b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.ExecuteNonQueryResponse1.datasource
deleted file mode 100644
index 8bb4d79f..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.ExecuteNonQueryResponse1.datasource
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- DigitalData.Modules.EDMI.API.EDMIServiceReference.ExecuteNonQueryResponse, Connected Services.EDMIServiceReference.Reference.vb.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.GetAttributeValueResponse.datasource b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.GetAttributeValueResponse.datasource
deleted file mode 100644
index 396f87b7..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.GetAttributeValueResponse.datasource
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- DigitalData.Modules.EDMI.API.EDMIServiceReference.GetAttributeValueResponse, Connected Services.EDMIServiceReference.Reference.vb.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.GetAttributeValueResponse1.datasource b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.GetAttributeValueResponse1.datasource
deleted file mode 100644
index 396f87b7..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.GetAttributeValueResponse1.datasource
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- DigitalData.Modules.EDMI.API.EDMIServiceReference.GetAttributeValueResponse, Connected Services.EDMIServiceReference.Reference.vb.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.GetClientConfigResponse.datasource b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.GetClientConfigResponse.datasource
deleted file mode 100644
index 8d9e62a6..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.GetClientConfigResponse.datasource
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- DigitalData.Modules.EDMI.API.EDMIServiceReference.GetClientConfigResponse, Connected Services.EDMIServiceReference.Reference.vb.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.GetClientConfigResponse1.datasource b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.GetClientConfigResponse1.datasource
deleted file mode 100644
index 8d9e62a6..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.GetClientConfigResponse1.datasource
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- DigitalData.Modules.EDMI.API.EDMIServiceReference.GetClientConfigResponse, Connected Services.EDMIServiceReference.Reference.vb.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.GetDatatableResponse.datasource b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.GetDatatableResponse.datasource
deleted file mode 100644
index 47b7add3..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.GetDatatableResponse.datasource
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- DigitalData.Modules.EDMI.API.EDMIServiceReference.GetDatatableResponse, Connected Services.EDMIServiceReference.Reference.vb.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.GetDatatableResponse1.datasource b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.GetDatatableResponse1.datasource
deleted file mode 100644
index 47b7add3..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.GetDatatableResponse1.datasource
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- DigitalData.Modules.EDMI.API.EDMIServiceReference.GetDatatableResponse, Connected Services.EDMIServiceReference.Reference.vb.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.GetFileObjectResponse.datasource b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.GetFileObjectResponse.datasource
deleted file mode 100644
index df13dd7d..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.GetFileObjectResponse.datasource
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- DigitalData.Modules.EDMI.API.EDMIServiceReference.GetFileObjectResponse, Connected Services.EDMIServiceReference.Reference.vb.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.GetFileObjectResponse1.datasource b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.GetFileObjectResponse1.datasource
deleted file mode 100644
index df13dd7d..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.GetFileObjectResponse1.datasource
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- DigitalData.Modules.EDMI.API.EDMIServiceReference.GetFileObjectResponse, Connected Services.EDMIServiceReference.Reference.vb.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.GetScalarValueResponse.datasource b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.GetScalarValueResponse.datasource
deleted file mode 100644
index 4df80cb8..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.GetScalarValueResponse.datasource
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- DigitalData.Modules.EDMI.API.EDMIServiceReference.GetScalarValueResponse, Connected Services.EDMIServiceReference.Reference.vb.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.GetScalarValueResponse1.datasource b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.GetScalarValueResponse1.datasource
deleted file mode 100644
index 4df80cb8..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.GetScalarValueResponse1.datasource
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- DigitalData.Modules.EDMI.API.EDMIServiceReference.GetScalarValueResponse, Connected Services.EDMIServiceReference.Reference.vb.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.Globix_ImportFileResponse.datasource b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.Globix_ImportFileResponse.datasource
deleted file mode 100644
index 6a352c0d..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.Globix_ImportFileResponse.datasource
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- DigitalData.Modules.EDMI.API.EDMIServiceReference.Globix_ImportFileResponse, Connected Services.EDMIServiceReference.Reference.vb.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.ImportFileResponse.datasource b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.ImportFileResponse.datasource
deleted file mode 100644
index d3e7710e..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.ImportFileResponse.datasource
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- DigitalData.Modules.EDMI.API.EDMIServiceReference.ImportFileResponse, Connected Services.EDMIServiceReference.Reference.vb.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.ImportFileResponse1.datasource b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.ImportFileResponse1.datasource
deleted file mode 100644
index d3e7710e..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.ImportFileResponse1.datasource
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- DigitalData.Modules.EDMI.API.EDMIServiceReference.ImportFileResponse, Connected Services.EDMIServiceReference.Reference.vb.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.NewFileResponse.datasource b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.NewFileResponse.datasource
deleted file mode 100644
index bebd9f37..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.NewFileResponse.datasource
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- DigitalData.Modules.EDMI.API.EDMIServiceReference.NewFileResponse, Connected Services.EDMIServiceReference.Reference.vb.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.NewFileResponse1.datasource b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.NewFileResponse1.datasource
deleted file mode 100644
index bebd9f37..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.NewFileResponse1.datasource
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- DigitalData.Modules.EDMI.API.EDMIServiceReference.NewFileResponse, Connected Services.EDMIServiceReference.Reference.vb.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.NonQueryResult.datasource b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.NonQueryResult.datasource
deleted file mode 100644
index 08cbd66d..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.NonQueryResult.datasource
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- DigitalData.Modules.EDMI.API.EDMIServiceReference.NonQueryResult, Connected Services.EDMIServiceReference.Reference.vb.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.NonQueryResult1.datasource b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.NonQueryResult1.datasource
deleted file mode 100644
index 08cbd66d..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.NonQueryResult1.datasource
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- DigitalData.Modules.EDMI.API.EDMIServiceReference.NonQueryResult, Connected Services.EDMIServiceReference.Reference.vb.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.RightsAccessRight.datasource b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.RightsAccessRight.datasource
deleted file mode 100644
index b7dc0d4c..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.RightsAccessRight.datasource
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- DigitalData.Modules.EDMI.API.EDMIServiceReference.RightsAccessRight, Connected Services.EDMIServiceReference.Reference.vb.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.RightsAccessRight1.datasource b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.RightsAccessRight1.datasource
deleted file mode 100644
index b7dc0d4c..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.RightsAccessRight1.datasource
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- DigitalData.Modules.EDMI.API.EDMIServiceReference.RightsAccessRight, Connected Services.EDMIServiceReference.Reference.vb.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.ScalarResult.datasource b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.ScalarResult.datasource
deleted file mode 100644
index b025563c..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.ScalarResult.datasource
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- DigitalData.Modules.EDMI.API.EDMIServiceReference.ScalarResult, Connected Services.EDMIServiceReference.Reference.vb.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.ScalarResult1.datasource b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.ScalarResult1.datasource
deleted file mode 100644
index b025563c..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.ScalarResult1.datasource
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- DigitalData.Modules.EDMI.API.EDMIServiceReference.ScalarResult, Connected Services.EDMIServiceReference.Reference.vb.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.SetAttributeValueResponse.datasource b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.SetAttributeValueResponse.datasource
deleted file mode 100644
index f00b50c6..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.SetAttributeValueResponse.datasource
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- DigitalData.Modules.EDMI.API.EDMIServiceReference.SetAttributeValueResponse, Connected Services.EDMIServiceReference.Reference.vb.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.SetAttributeValueResponse1.datasource b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.SetAttributeValueResponse1.datasource
deleted file mode 100644
index f00b50c6..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.SetAttributeValueResponse1.datasource
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- DigitalData.Modules.EDMI.API.EDMIServiceReference.SetAttributeValueResponse, Connected Services.EDMIServiceReference.Reference.vb.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.TableResult.datasource b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.TableResult.datasource
deleted file mode 100644
index ec10938e..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.TableResult.datasource
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- DigitalData.Modules.EDMI.API.EDMIServiceReference.TableResult, Connected Services.EDMIServiceReference.Reference.vb.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.TableResult1.datasource b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.TableResult1.datasource
deleted file mode 100644
index ec10938e..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.TableResult1.datasource
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- DigitalData.Modules.EDMI.API.EDMIServiceReference.TableResult, Connected Services.EDMIServiceReference.Reference.vb.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.TestObjectIdExistsResponse.datasource b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.TestObjectIdExistsResponse.datasource
deleted file mode 100644
index d646db66..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.TestObjectIdExistsResponse.datasource
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- DigitalData.Modules.EDMI.API.EDMIServiceReference.TestObjectIdExistsResponse, Connected Services.EDMIServiceReference.Reference.vb.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.TestObjectIdExistsResponse1.datasource b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.TestObjectIdExistsResponse1.datasource
deleted file mode 100644
index d646db66..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.TestObjectIdExistsResponse1.datasource
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- DigitalData.Modules.EDMI.API.EDMIServiceReference.TestObjectIdExistsResponse, Connected Services.EDMIServiceReference.Reference.vb.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.UpdateFileResponse.datasource b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.UpdateFileResponse.datasource
deleted file mode 100644
index e22df5f3..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.UpdateFileResponse.datasource
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- DigitalData.Modules.EDMI.API.EDMIServiceReference.UpdateFileResponse, Connected Services.EDMIServiceReference.Reference.vb.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.UpdateFileResponse1.datasource b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.UpdateFileResponse1.datasource
deleted file mode 100644
index e22df5f3..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.EDMIServiceReference.UpdateFileResponse1.datasource
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- DigitalData.Modules.EDMI.API.EDMIServiceReference.UpdateFileResponse, Connected Services.EDMIServiceReference.Reference.vb.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.xsd b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.xsd
deleted file mode 100644
index b79942a2..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.EDMI.API.xsd
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
- 2
-
-
-
-
-
-
- 4
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.ZooFlow.State.xsd b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.ZooFlow.State.xsd
deleted file mode 100644
index 631e9bfc..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Modules.ZooFlow.State.xsd
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Exceptions.xsd b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Exceptions.xsd
deleted file mode 100644
index 1b35f58a..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Exceptions.xsd
+++ /dev/null
@@ -1,36 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Messages.xsd b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Messages.xsd
deleted file mode 100644
index 3a7241eb..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Messages.xsd
+++ /dev/null
@@ -1,52 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.Base.GetClientConfig.xsd b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.Base.GetClientConfig.xsd
deleted file mode 100644
index c3b34d10..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.Base.GetClientConfig.xsd
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.Database.ExecuteNonQuery.xsd b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.Database.ExecuteNonQuery.xsd
deleted file mode 100644
index 145bef4f..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.Database.ExecuteNonQuery.xsd
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.Database.GetDatatable.xsd b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.Database.GetDatatable.xsd
deleted file mode 100644
index 68b9405d..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.Database.GetDatatable.xsd
+++ /dev/null
@@ -1,37 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.Database.GetScalarValue.xsd b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.Database.GetScalarValue.xsd
deleted file mode 100644
index 2453f626..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.Database.GetScalarValue.xsd
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.Database.xsd b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.Database.xsd
deleted file mode 100644
index bdacc43e..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.Database.xsd
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.GlobalIndexer.ImportFile.xsd b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.GlobalIndexer.ImportFile.xsd
deleted file mode 100644
index e1de3685..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.GlobalIndexer.ImportFile.xsd
+++ /dev/null
@@ -1,28 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.IDB.CheckInOutFile.xsd b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.IDB.CheckInOutFile.xsd
deleted file mode 100644
index 5464821b..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.IDB.CheckInOutFile.xsd
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.IDB.GetAttributeValue.xsd b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.IDB.GetAttributeValue.xsd
deleted file mode 100644
index 42fbf75b..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.IDB.GetAttributeValue.xsd
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.IDB.GetFileObject.xsd b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.IDB.GetFileObject.xsd
deleted file mode 100644
index cfdf11f8..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.IDB.GetFileObject.xsd
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.IDB.ImportFile.xsd b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.IDB.ImportFile.xsd
deleted file mode 100644
index d602e42f..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.IDB.ImportFile.xsd
+++ /dev/null
@@ -1,28 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.IDB.NewFile.xsd b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.IDB.NewFile.xsd
deleted file mode 100644
index bc77b760..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.IDB.NewFile.xsd
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.IDB.SetAttributeValue.xsd b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.IDB.SetAttributeValue.xsd
deleted file mode 100644
index 1e183ac1..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.IDB.SetAttributeValue.xsd
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.IDB.UpdateFile.xsd b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.IDB.UpdateFile.xsd
deleted file mode 100644
index df44e7f6..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.IDB.UpdateFile.xsd
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.IDB.xsd b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.IDB.xsd
deleted file mode 100644
index 70b45152..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.Methods.IDB.xsd
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.wsdl b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.wsdl
deleted file mode 100644
index b2a391ba..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.wsdl
+++ /dev/null
@@ -1,380 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.xsd b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.xsd
deleted file mode 100644
index 4ac19ce4..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService.xsd
+++ /dev/null
@@ -1,418 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService1.xsd b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService1.xsd
deleted file mode 100644
index 326edd8a..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/DigitalData.Services.EDMIService1.xsd
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/Message.xsd b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/Message.xsd
deleted file mode 100644
index 6a19fc3f..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/Message.xsd
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/Reference.svcmap b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/Reference.svcmap
deleted file mode 100644
index bc5505c0..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/Reference.svcmap
+++ /dev/null
@@ -1,58 +0,0 @@
-
-
-
- false
- true
- true
-
- false
- false
- false
-
-
- true
- Auto
- true
- true
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/Reference.vb b/Modules.EDMIAPI/Connected Services/EDMIServiceReference/Reference.vb
deleted file mode 100644
index b7ca66f0..00000000
--- a/Modules.EDMIAPI/Connected Services/EDMIServiceReference/Reference.vb
+++ /dev/null
@@ -1,3401 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' Dieser Code wurde von einem Tool generiert.
-' Laufzeitversion:4.0.30319.42000
-'
-' Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
-' der Code erneut generiert wird.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
-Imports System
-Imports System.Runtime.Serialization
-
-Namespace EDMIServiceReference
-
- _
- Partial Public Class BaseResponse
- Inherits Object
- Implements System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged
-
- _
- Private extensionDataField As System.Runtime.Serialization.ExtensionDataObject
-
- _
- Private ErrorDetailsField As String
-
- _
- Private ErrorMessageField As String
-
- _
- Private OKField As Boolean
-
- _
- Public Property ExtensionData() As System.Runtime.Serialization.ExtensionDataObject Implements System.Runtime.Serialization.IExtensibleDataObject.ExtensionData
- Get
- Return Me.extensionDataField
- End Get
- Set
- Me.extensionDataField = value
- End Set
- End Property
-
- _
- Public Property ErrorDetails() As String
- Get
- Return Me.ErrorDetailsField
- End Get
- Set
- If (Object.ReferenceEquals(Me.ErrorDetailsField, value) <> true) Then
- Me.ErrorDetailsField = value
- Me.RaisePropertyChanged("ErrorDetails")
- End If
- End Set
- End Property
-
- _
- Public Property ErrorMessage() As String
- Get
- Return Me.ErrorMessageField
- End Get
- Set
- If (Object.ReferenceEquals(Me.ErrorMessageField, value) <> true) Then
- Me.ErrorMessageField = value
- Me.RaisePropertyChanged("ErrorMessage")
- End If
- End Set
- End Property
-
- _
- Public Property OK() As Boolean
- Get
- Return Me.OKField
- End Get
- Set
- If (Me.OKField.Equals(value) <> true) Then
- Me.OKField = value
- Me.RaisePropertyChanged("OK")
- End If
- End Set
- End Property
-
- Public Event PropertyChanged As System.ComponentModel.PropertyChangedEventHandler Implements System.ComponentModel.INotifyPropertyChanged.PropertyChanged
-
- Protected Sub RaisePropertyChanged(ByVal propertyName As String)
- Dim propertyChanged As System.ComponentModel.PropertyChangedEventHandler = Me.PropertyChangedEvent
- If (Not (propertyChanged) Is Nothing) Then
- propertyChanged(Me, New System.ComponentModel.PropertyChangedEventArgs(propertyName))
- End If
- End Sub
- End Class
-
- _
- Partial Public Class TableResult
- Inherits EDMIServiceReference.BaseResponse
-
- _
- Private TableField As System.Data.DataTable
-
- _
- Public Property Table() As System.Data.DataTable
- Get
- Return Me.TableField
- End Get
- Set
- If (Object.ReferenceEquals(Me.TableField, value) <> true) Then
- Me.TableField = value
- Me.RaisePropertyChanged("Table")
- End If
- End Set
- End Property
- End Class
-
- _
- Partial Public Class ScalarResult
- Inherits EDMIServiceReference.BaseResponse
-
- _
- Private ScalarField As Object
-
- _
- Public Property Scalar() As Object
- Get
- Return Me.ScalarField
- End Get
- Set
- If (Object.ReferenceEquals(Me.ScalarField, value) <> true) Then
- Me.ScalarField = value
- Me.RaisePropertyChanged("Scalar")
- End If
- End Set
- End Property
- End Class
-
- _
- Partial Public Class NonQueryResult
- Inherits EDMIServiceReference.BaseResponse
- End Class
-
- _
- Partial Public Class GetDatatableResponse
- Inherits EDMIServiceReference.BaseResponse
-
- _
- Private TableField As System.Data.DataTable
-
- _
- Public Property Table() As System.Data.DataTable
- Get
- Return Me.TableField
- End Get
- Set
- If (Object.ReferenceEquals(Me.TableField, value) <> true) Then
- Me.TableField = value
- Me.RaisePropertyChanged("Table")
- End If
- End Set
- End Property
- End Class
-
- _
- Partial Public Class GetScalarValueResponse
- Inherits EDMIServiceReference.BaseResponse
-
- _
- Private ScalarField As Object
-
- _
- Public Property Scalar() As Object
- Get
- Return Me.ScalarField
- End Get
- Set
- If (Object.ReferenceEquals(Me.ScalarField, value) <> true) Then
- Me.ScalarField = value
- Me.RaisePropertyChanged("Scalar")
- End If
- End Set
- End Property
- End Class
-
- _
- Partial Public Class ExecuteNonQueryResponse
- Inherits EDMIServiceReference.BaseResponse
-
- _
- Private ResultField As Boolean
-
- _
- Public Property Result() As Boolean
- Get
- Return Me.ResultField
- End Get
- Set
- If (Me.ResultField.Equals(value) <> true) Then
- Me.ResultField = value
- Me.RaisePropertyChanged("Result")
- End If
- End Set
- End Property
- End Class
-
- _
- Partial Public Class NewFileResponse
- Inherits EDMIServiceReference.BaseResponse
-
- _
- Private ObjectIdField As Long
-
- _
- Public Property ObjectId() As Long
- Get
- Return Me.ObjectIdField
- End Get
- Set
- If (Me.ObjectIdField.Equals(value) <> true) Then
- Me.ObjectIdField = value
- Me.RaisePropertyChanged("ObjectId")
- End If
- End Set
- End Property
- End Class
-
- _
- Partial Public Class UpdateFileResponse
- Inherits EDMIServiceReference.BaseResponse
-
- _
- Private ObjectIdField As Long
-
- _
- Public Property ObjectId() As Long
- Get
- Return Me.ObjectIdField
- End Get
- Set
- If (Me.ObjectIdField.Equals(value) <> true) Then
- Me.ObjectIdField = value
- Me.RaisePropertyChanged("ObjectId")
- End If
- End Set
- End Property
- End Class
-
- _
- Partial Public Class SetAttributeValueResponse
- Inherits EDMIServiceReference.BaseResponse
-
- _
- Private ObjectIdField As Long
-
- _
- Public Property ObjectId() As Long
- Get
- Return Me.ObjectIdField
- End Get
- Set
- If (Me.ObjectIdField.Equals(value) <> true) Then
- Me.ObjectIdField = value
- Me.RaisePropertyChanged("ObjectId")
- End If
- End Set
- End Property
- End Class
-
- _
- Partial Public Class GetAttributeValueResponse
- Inherits EDMIServiceReference.BaseResponse
-
- _
- Private ObjectIdField As Long
-
- _
- Private ValueField As Object
-
- _
- Public Property ObjectId() As Long
- Get
- Return Me.ObjectIdField
- End Get
- Set
- If (Me.ObjectIdField.Equals(value) <> true) Then
- Me.ObjectIdField = value
- Me.RaisePropertyChanged("ObjectId")
- End If
- End Set
- End Property
-
- _
- Public Property Value() As Object
- Get
- Return Me.ValueField
- End Get
- Set
- If (Object.ReferenceEquals(Me.ValueField, value) <> true) Then
- Me.ValueField = value
- Me.RaisePropertyChanged("Value")
- End If
- End Set
- End Property
- End Class
-
- _
- Partial Public Class GetFileObjectResponse
- Inherits EDMIServiceReference.BaseResponse
-
- _
- Private FileObjectField As EDMIServiceReference.FileObject
-
- _
- Public Property FileObject() As EDMIServiceReference.FileObject
- Get
- Return Me.FileObjectField
- End Get
- Set
- If (Object.ReferenceEquals(Me.FileObjectField, value) <> true) Then
- Me.FileObjectField = value
- Me.RaisePropertyChanged("FileObject")
- End If
- End Set
- End Property
- End Class
-
- _
- Partial Public Class CheckInOutFileResponse
- Inherits EDMIServiceReference.BaseResponse
-
- _
- Private ObjectIdField As Long
-
- _
- Public Property ObjectId() As Long
- Get
- Return Me.ObjectIdField
- End Get
- Set
- If (Me.ObjectIdField.Equals(value) <> true) Then
- Me.ObjectIdField = value
- Me.RaisePropertyChanged("ObjectId")
- End If
- End Set
- End Property
- End Class
-
- _
- Partial Public Class ImportFileResponse
- Inherits EDMIServiceReference.BaseResponse
-
- _
- Private ObjectIdField As Long
-
- _
- Public Property ObjectId() As Long
- Get
- Return Me.ObjectIdField
- End Get
- Set
- If (Me.ObjectIdField.Equals(value) <> true) Then
- Me.ObjectIdField = value
- Me.RaisePropertyChanged("ObjectId")
- End If
- End Set
- End Property
- End Class
-
- _
- Partial Public Class Globix_ImportFileResponse
- Inherits EDMIServiceReference.BaseResponse
-
- _
- Private ObjectIdField As Long
-
- _
- Public Property ObjectId() As Long
- Get
- Return Me.ObjectIdField
- End Get
- Set
- If (Me.ObjectIdField.Equals(value) <> true) Then
- Me.ObjectIdField = value
- Me.RaisePropertyChanged("ObjectId")
- End If
- End Set
- End Property
- End Class
-
- _
- Partial Public Class GetClientConfigResponse
- Inherits EDMIServiceReference.BaseResponse
-
- _
- Private ClientConfigField As EDMIServiceReference.GlobalStateClientConfiguration
-
- _
- Public Property ClientConfig() As EDMIServiceReference.GlobalStateClientConfiguration
- Get
- Return Me.ClientConfigField
- End Get
- Set
- If (Object.ReferenceEquals(Me.ClientConfigField, value) <> true) Then
- Me.ClientConfigField = value
- Me.RaisePropertyChanged("ClientConfig")
- End If
- End Set
- End Property
- End Class
-
- _
- Partial Public Class GlobalStateClientConfiguration
- Inherits Object
- Implements System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged
-
- _
- Private extensionDataField As System.Runtime.Serialization.ExtensionDataObject
-
- _
- Private ConnectionStringECMField As String
-
- _
- Private ConnectionStringIDBField As String
-
- _
- Private DocumentTypesField() As EDMIServiceReference.GlobalStateDoctype
-
- _
- Private ForceDirectDatabaseAccessField As Boolean
-
- _
- Public Property ExtensionData() As System.Runtime.Serialization.ExtensionDataObject Implements System.Runtime.Serialization.IExtensibleDataObject.ExtensionData
- Get
- Return Me.extensionDataField
- End Get
- Set
- Me.extensionDataField = value
- End Set
- End Property
-
- _
- Public Property ConnectionStringECM() As String
- Get
- Return Me.ConnectionStringECMField
- End Get
- Set
- If (Object.ReferenceEquals(Me.ConnectionStringECMField, value) <> true) Then
- Me.ConnectionStringECMField = value
- Me.RaisePropertyChanged("ConnectionStringECM")
- End If
- End Set
- End Property
-
-