diff --git a/GUIs.Common/Common.vbproj b/GUIs.Common/Common.vbproj
index 79a0daa5..0a87b209 100644
--- a/GUIs.Common/Common.vbproj
+++ b/GUIs.Common/Common.vbproj
@@ -190,6 +190,10 @@
{3DCD6D1A-C830-4241-B7E4-27430E7EA483}
LookupControl
+
+ {6ea0c51f-c2b1-4462-8198-3de0b32b74f8}
+ Base
+
{44982f9b-6116-44e2-85d0-f39650b1ef99}
Config
diff --git a/GUIs.Common/DocumentResultList/Document.vb b/GUIs.Common/DocumentResultList/Document.vb
index a721d4f1..aacc6dfa 100644
--- a/GUIs.Common/DocumentResultList/Document.vb
+++ b/GUIs.Common/DocumentResultList/Document.vb
@@ -9,6 +9,10 @@ Namespace DocumentResultList
'''
Public Property Id As Long
+ '''
+ ''' The access right given to the current user for this file
+ '''
+ '''
Public Property AccessRight As AccessRight
'''
@@ -16,6 +20,7 @@ Namespace DocumentResultList
''' and showing it in the DocumentViewer. It is saved without the dot-separator.
'''
Public Property Extension As String
+
'''
''' Binary contents of the file.
'''
@@ -26,6 +31,7 @@ Namespace DocumentResultList
Public Property FullPath As String = Nothing
Public Property TempPath As String = Nothing
Public Property FileHash As String = Nothing
+ Public Property DocumentType As String = Nothing
Public Sub New(pPrimaryKey As Long)
Id = pPrimaryKey
diff --git a/GUIs.Common/DocumentResultList/Loader.vb b/GUIs.Common/DocumentResultList/Loader.vb
index 3182fff8..52185407 100644
--- a/GUIs.Common/DocumentResultList/Loader.vb
+++ b/GUIs.Common/DocumentResultList/Loader.vb
@@ -3,6 +3,7 @@ Imports DigitalData.Modules.EDMI.API
Imports DigitalData.Modules.EDMI.API.Client
Imports DigitalData.Modules.EDMI.API.EDMIServiceReference
Imports DigitalData.Modules.Logging
+Imports DigitalData.Modules.Base.IDB
Imports DigitalData.Modules.ZooFlow.Constants
Imports DigitalData.Modules.ZooFlow.State
@@ -41,24 +42,29 @@ Namespace DocumentResultList
Private Function Load_FromWindream(pObjectId As Long, pFullPath As String) As Document
Dim oFileInfo As New FileInfo(pFullPath)
Dim oResultDocumentInfo = New Document(pObjectId) With {
- .Contents = Load_FromDisk(pFullPath),
- .AccessRight = Rights.AccessRight.FULL,
- .FullPath = pFullPath,
- .Extension = oFileInfo.Extension.Substring(1)
- }
+ .Contents = Load_FromDisk(pFullPath),
+ .AccessRight = Rights.AccessRight.FULL,
+ .FullPath = pFullPath,
+ .Extension = oFileInfo.Extension.Substring(1)
+ }
Return oResultDocumentInfo
End Function
Private Function Load_FromIDB(pObjectId As Long) As Document
Try
- Dim oDocumentInfo As Client.DocumentInfo = Client.GetDocumentInfo(User.UserId, pObjectId)
+ Dim oDocumentInfo As DocumentInfo = Client.GetDocumentInfo(User.UserId, pObjectId)
Dim oFileInfo As New FileInfo(oDocumentInfo.FullPath)
+
+ ' Load Doctype Attribute
+ Dim oDoctype As VariableValue = Client.GetVariableValue(pObjectId, Attributes.ATTRIBUTE_DOCTYPE)
+
Dim oResultDocumentInfo As New Document(pObjectId) With {
.Contents = Load_FromDisk(oDocumentInfo.FullPath),
.AccessRight = oDocumentInfo.AccessRight,
.FullPath = oDocumentInfo.FullPath,
- .Extension = oFileInfo.Extension.Substring(1)
+ .Extension = oFileInfo.Extension.Substring(1),
+ .DocumentType = oDoctype.Value
}
Return oResultDocumentInfo
@@ -75,12 +81,16 @@ Namespace DocumentResultList
Return Nothing
End If
+ ' Load Doctype Attribute
+ Dim oDoctype As VariableValue = Client.GetVariableValue(pObjectId, Attributes.ATTRIBUTE_DOCTYPE)
+
Dim oResultDocumentInfo As New Document(pObjectId) With {
.Contents = oFileObject._FileContents,
.Extension = oFileObject._FileExtension,
.AccessRight = Rights.AccessRight.FULL,
.FileHash = oFileObject._FileHash,
- .FullPath = Nothing
+ .FullPath = Nothing,
+ .DocumentType = oDoctype.Value
}
Return oResultDocumentInfo
diff --git a/GUIs.Common/frmDocumentResultList.Designer.vb b/GUIs.Common/frmDocumentResultList.Designer.vb
index 45208a5e..a06317c2 100644
--- a/GUIs.Common/frmDocumentResultList.Designer.vb
+++ b/GUIs.Common/frmDocumentResultList.Designer.vb
@@ -209,7 +209,7 @@ Partial Class frmDocumentResultList
'
resources.ApplyResources(Me.BarButtonResetLayout, "BarButtonResetLayout")
Me.BarButtonResetLayout.Id = 10
- Me.BarButtonResetLayout.ImageOptions.SvgImage = CType(resources.GetObject("BarButtonItem5.ImageOptions.SvgImage"), DevExpress.Utils.Svg.SvgImage)
+ Me.BarButtonResetLayout.ImageOptions.SvgImage = CType(resources.GetObject("BarButtonResetLayout.ImageOptions.SvgImage"), DevExpress.Utils.Svg.SvgImage)
Me.BarButtonResetLayout.Name = "BarButtonResetLayout"
Me.BarButtonResetLayout.Visibility = DevExpress.XtraBars.BarItemVisibility.OnlyInCustomizing
'
diff --git a/GUIs.Common/frmDocumentResultList.resx b/GUIs.Common/frmDocumentResultList.resx
index 27b6fc8a..ece90751 100644
--- a/GUIs.Common/frmDocumentResultList.resx
+++ b/GUIs.Common/frmDocumentResultList.resx
@@ -255,7 +255,7 @@
Layout zurücksetzen
-
+
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjIxLjIsIFZlcnNpb249MjEuMi40
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
@@ -452,10 +452,10 @@
1189, 132
- 0, 649
+ 0, 647
- 1189, 22
+ 1189, 24
RibbonStatusBar
@@ -482,7 +482,7 @@
2
- 382, 513
+ 382, 511
0
@@ -584,7 +584,7 @@
GridBand3
- 370, 280
+ 370, 278
0
@@ -617,7 +617,7 @@
1
- 370, 513
+ 370, 511
0
@@ -653,7 +653,7 @@
1
- 762, 513
+ 762, 511
2
@@ -701,7 +701,7 @@
0, 0
- 413, 513
+ 413, 511
0
@@ -710,7 +710,7 @@
DocumentViewer1
- DigitalData.Controls.DocumentViewer.DocumentViewer, DigitalData.Controls.DocumentViewer, Version=1.6.4.0, Culture=neutral, PublicKeyToken=null
+ DigitalData.Controls.DocumentViewer.DocumentViewer, DigitalData.Controls.DocumentViewer, Version=1.6.5.0, Culture=neutral, PublicKeyToken=null
SplitContainerControl3.Panel2
@@ -734,7 +734,7 @@
1
- 1189, 517
+ 1189, 515
5
diff --git a/GUIs.Common/frmDocumentResultList.vb b/GUIs.Common/frmDocumentResultList.vb
index 6f1c5de7..910cea49 100644
--- a/GUIs.Common/frmDocumentResultList.vb
+++ b/GUIs.Common/frmDocumentResultList.vb
@@ -54,7 +54,7 @@ Public Class frmDocumentResultList
Private ReadOnly Params As DocumentResultList.Params
Private WithEvents Watcher As DocumentResultList.Watcher
- Private _Documentloader As DocumentResultList.Loader
+ Private Documentloader As DocumentResultList.Loader
' Runtime variables
Private _IsLoading As Boolean = True
@@ -122,9 +122,10 @@ Public Class frmDocumentResultList
OperationMode = GetOperationMode()
If OperationMode = OperationMode.WithAppServer Or OperationMode = OperationMode.ZooFlow Then
InitAppServer()
+
End If
- _Documentloader = New DocumentResultList.Loader(LogConfig, OperationMode, _IDBClient, Environment.User)
+ Documentloader = New DocumentResultList.Loader(LogConfig, OperationMode, _IDBClient, Environment.User)
If Params.WindowTitle <> "" Then
Text = $"{Text} - {Params.WindowTitle}"
@@ -204,7 +205,7 @@ Public Class frmDocumentResultList
DocumentViewer1.CloseDocument()
- oDocumentInfo = _Documentloader.Load(oObjectId, oFullPath)
+ oDocumentInfo = Documentloader.Load(oObjectId, oFullPath)
' Check DocumentInfo
If IsNothing(oDocumentInfo) Then
@@ -237,6 +238,15 @@ Public Class frmDocumentResultList
Public Async Sub Watcher_FileChanged(sender As Object, e As DocumentResultList.Watcher.FileChangedArgs) Handles Watcher.FileChanged
Try
+
+ Dim oDoctype = Nothing
+
+ If e.File.Document.DocumentType IsNot Nothing Then
+ oDoctype = _IDBClient.ClientConfig.DocumentTypes.
+ Where(Function(doctype) doctype.Name = e.File.Document.DocumentType).
+ FirstOrDefault()
+ End If
+
Dim oFileInfo = New FileInfo(e.File.FilePath)
Dim oMessage = $"Die Datei '{oFileInfo.Name}' wurde außerhalb des Systems verändert. Wollen Sie diese Änderung als neue Version in das System übernehmen? 'Nein' überschreibt die ursprüngliche Datei."
Dim oResult As DialogResult = MsgBox(oMessage, MsgBoxStyle.YesNoCancel Or MsgBoxStyle.Question, "Datei verändert")
@@ -248,7 +258,7 @@ Public Class frmDocumentResultList
' - Cancel: Abort update
Select Case oResult
Case DialogResult.Cancel
- MsgBox("Abbruch!")
+ ' MsgBox("Abbruch!")
Case Else
Dim oCreateNewFileVersion = IIf(oResult = DialogResult.Yes, True, False)
@@ -482,30 +492,30 @@ Public Class frmDocumentResultList
End Try
End Sub
- Private Sub GridView1_CustomDrawCell(sender As Object, e As RowCellCustomDrawEventArgs) Handles GridView1.CustomDrawCell
- Try
- If e.RowHandle < 0 Then
- Exit Sub
- End If
+ 'Private Sub GridView1_CustomDrawCell(sender As Object, e As RowCellCustomDrawEventArgs) Handles GridView1.CustomDrawCell
+ ' Try
+ ' If e.RowHandle < 0 Then
+ ' Exit Sub
+ ' End If
- e.DefaultDraw()
+ ' e.DefaultDraw()
- Dim oView As GridView = TryCast(sender, GridView)
- Dim oCellInfo As GridCellInfo = TryCast(e.Cell, GridCellInfo)
- Dim oRow As DataRow = oView.GetDataRow(e.RowHandle)
- Dim oValue = oRow.Item(COLUMN_FILENAME)
+ ' Dim oView As GridView = TryCast(sender, GridView)
+ ' Dim oCellInfo As GridCellInfo = TryCast(e.Cell, GridCellInfo)
+ ' Dim oRow As DataRow = oView.GetDataRow(e.RowHandle)
+ ' Dim oValue = oRow.Item(COLUMN_FILENAME)
- If e.Column.FieldName = COLUMN_ICON Then
- Dim oIcon = Helpers.GetIconByExtension(oValue)
- Dim offsetX = 0
- Dim offsetY = 0
+ ' If e.Column.FieldName = COLUMN_ICON Then
+ ' Dim oIcon = Helpers.GetIconByExtension(oValue)
+ ' Dim offsetX = 0
+ ' Dim offsetY = 0
- e.Cache.DrawImage(oIcon, e.Bounds.X + offsetX, e.Bounds.Y + offsetY, 18, 18)
- End If
- Catch ex As Exception
- Logger.Error(ex)
- End Try
- End Sub
+ ' e.Cache.DrawImage(oIcon, e.Bounds.X + offsetX, e.Bounds.Y + offsetY, 18, 18)
+ ' End If
+ ' Catch ex As Exception
+ ' Logger.Error(ex)
+ ' End Try
+ 'End Sub
Private Sub BarButtonItemExportGrid1_ItemClick(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItemExportGrid1.ItemClick
Dim oActiveGrid = GetActiveGridControl()
@@ -862,6 +872,10 @@ Public Class frmDocumentResultList
End Try
End Sub
+ Private Sub RibbonControl_Click(sender As Object, e As EventArgs) Handles RibbonControl.Click
+
+ End Sub
+
diff --git a/GUIs.ZooFlow/Administration/frmAdmin_ClipboardWatcher.vb b/GUIs.ZooFlow/Administration/frmAdmin_ClipboardWatcher.vb
index b6bef685..f605bfee 100644
--- a/GUIs.ZooFlow/Administration/frmAdmin_ClipboardWatcher.vb
+++ b/GUIs.ZooFlow/Administration/frmAdmin_ClipboardWatcher.vb
@@ -66,11 +66,7 @@ Public Class frmAdmin_ClipboardWatcher
Private Sub frmAdmin_CWProfile_Load(sender As Object, e As EventArgs) Handles Me.Load
InitializeBaseForm(My.LogConfig)
- 'TODO: Diese Codezeile lädt Daten in die Tabelle "DSDD_Stammdaten.TBDD_CONNECTION". Sie können sie bei Bedarf verschieben oder entfernen.
-
Try
-
-
TBCW_PROFILESTableAdapter.Connection.ConnectionString = My.DatabaseECM.CurrentSQLConnectionString
TBCW_PROFILESTableAdapter.Fill(DBCW_Stammdaten.TBCW_PROFILES, PrimaryKey)
diff --git a/GUIs.ZooFlow/DBCW_Stammdaten.Designer.vb b/GUIs.ZooFlow/DBCW_Stammdaten.Designer.vb
index 42de044e..0d566d89 100644
--- a/GUIs.ZooFlow/DBCW_Stammdaten.Designer.vb
+++ b/GUIs.ZooFlow/DBCW_Stammdaten.Designer.vb
@@ -680,78 +680,77 @@ Partial Public Class DBCW_Stammdaten
Me.columnGUID.Unique = true
Me.columnNAME.AllowDBNull = false
Me.columnNAME.MaxLength = 100
- Me.columnCOMMENT.AllowDBNull = false
Me.columnCOMMENT.MaxLength = 500
- Me.columnREGEX_EXPRESSION.AllowDBNull = false
+ Me.columnREGEX_EXPRESSION.AllowDBNull = False
Me.columnREGEX_EXPRESSION.MaxLength = 100
Me.columnADDED_WHO.MaxLength = 50
Me.columnCHANGED_WHO.MaxLength = 50
- Me.columnACTIVE.AllowDBNull = false
- Me.columnPROFILE_TYPE.AllowDBNull = false
+ Me.columnACTIVE.AllowDBNull = False
+ Me.columnPROFILE_TYPE.AllowDBNull = False
End Sub
-
- _
+
+
Public Function NewTBCW_PROFILESRow() As TBCW_PROFILESRow
- Return CType(Me.NewRow,TBCW_PROFILESRow)
+ Return CType(Me.NewRow, TBCW_PROFILESRow)
End Function
-
- _
+
+
Protected Overrides Function NewRowFromBuilder(ByVal builder As Global.System.Data.DataRowBuilder) As Global.System.Data.DataRow
Return New TBCW_PROFILESRow(builder)
End Function
-
- _
+
+
Protected Overrides Function GetRowType() As Global.System.Type
Return GetType(TBCW_PROFILESRow)
End Function
-
- _
+
+
Protected Overrides Sub OnRowChanged(ByVal e As Global.System.Data.DataRowChangeEventArgs)
MyBase.OnRowChanged(e)
If (Not (Me.TBCW_PROFILESRowChangedEvent) Is Nothing) Then
- RaiseEvent TBCW_PROFILESRowChanged(Me, New TBCW_PROFILESRowChangeEvent(CType(e.Row,TBCW_PROFILESRow), e.Action))
+ RaiseEvent TBCW_PROFILESRowChanged(Me, New TBCW_PROFILESRowChangeEvent(CType(e.Row, TBCW_PROFILESRow), e.Action))
End If
End Sub
-
- _
+
+
Protected Overrides Sub OnRowChanging(ByVal e As Global.System.Data.DataRowChangeEventArgs)
MyBase.OnRowChanging(e)
If (Not (Me.TBCW_PROFILESRowChangingEvent) Is Nothing) Then
- RaiseEvent TBCW_PROFILESRowChanging(Me, New TBCW_PROFILESRowChangeEvent(CType(e.Row,TBCW_PROFILESRow), e.Action))
+ RaiseEvent TBCW_PROFILESRowChanging(Me, New TBCW_PROFILESRowChangeEvent(CType(e.Row, TBCW_PROFILESRow), e.Action))
End If
End Sub
-
- _
+
+
Protected Overrides Sub OnRowDeleted(ByVal e As Global.System.Data.DataRowChangeEventArgs)
MyBase.OnRowDeleted(e)
If (Not (Me.TBCW_PROFILESRowDeletedEvent) Is Nothing) Then
- RaiseEvent TBCW_PROFILESRowDeleted(Me, New TBCW_PROFILESRowChangeEvent(CType(e.Row,TBCW_PROFILESRow), e.Action))
+ RaiseEvent TBCW_PROFILESRowDeleted(Me, New TBCW_PROFILESRowChangeEvent(CType(e.Row, TBCW_PROFILESRow), e.Action))
End If
End Sub
-
- _
+
+
Protected Overrides Sub OnRowDeleting(ByVal e As Global.System.Data.DataRowChangeEventArgs)
MyBase.OnRowDeleting(e)
If (Not (Me.TBCW_PROFILESRowDeletingEvent) Is Nothing) Then
- RaiseEvent TBCW_PROFILESRowDeleting(Me, New TBCW_PROFILESRowChangeEvent(CType(e.Row,TBCW_PROFILESRow), e.Action))
+ RaiseEvent TBCW_PROFILESRowDeleting(Me, New TBCW_PROFILESRowChangeEvent(CType(e.Row, TBCW_PROFILESRow), e.Action))
End If
End Sub
-
- _
+
+
Public Sub RemoveTBCW_PROFILESRow(ByVal row As TBCW_PROFILESRow)
Me.Rows.Remove(row)
End Sub
-
- _
+
+
Public Shared Function GetTypedTableSchema(ByVal xs As Global.System.Xml.Schema.XmlSchemaSet) As Global.System.Xml.Schema.XmlSchemaComplexType
Dim type As Global.System.Xml.Schema.XmlSchemaComplexType = New Global.System.Xml.Schema.XmlSchemaComplexType()
Dim sequence As Global.System.Xml.Schema.XmlSchemaSequence = New Global.System.Xml.Schema.XmlSchemaSequence()
@@ -780,35 +779,35 @@ Partial Public Class DBCW_Stammdaten
If xs.Contains(dsSchema.TargetNamespace) Then
Dim s1 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
Dim s2 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
- Try
+ Try
Dim schema As Global.System.Xml.Schema.XmlSchema = Nothing
dsSchema.Write(s1)
Dim schemas As Global.System.Collections.IEnumerator = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator
Do While schemas.MoveNext
- schema = CType(schemas.Current,Global.System.Xml.Schema.XmlSchema)
+ schema = CType(schemas.Current, Global.System.Xml.Schema.XmlSchema)
s2.SetLength(0)
schema.Write(s2)
If (s1.Length = s2.Length) Then
s1.Position = 0
s2.Position = 0
-
- Do While ((s1.Position <> s1.Length) _
+
+ Do While ((s1.Position <> s1.Length) _
AndAlso (s1.ReadByte = s2.ReadByte))
-
-
+
+
Loop
If (s1.Position = s1.Length) Then
Return type
End If
End If
-
+
Loop
Finally
If (Not (s1) Is Nothing) Then
- s1.Close
+ s1.Close()
End If
If (Not (s2) Is Nothing) Then
- s2.Close
+ s2.Close()
End If
End Try
End If
@@ -816,51 +815,51 @@ Partial Public Class DBCW_Stammdaten
Return type
End Function
End Class
-
+
'''
'''Represents the strongly named DataTable class.
'''
- _
+
Partial Public Class TBCW_PROF_DOC_SEARCHDataTable
Inherits Global.System.Data.TypedTableBase(Of TBCW_PROF_DOC_SEARCHRow)
-
+
Private columnGUID As Global.System.Data.DataColumn
-
+
Private columnPROFILE_ID As Global.System.Data.DataColumn
-
+
Private columnCONN_ID As Global.System.Data.DataColumn
-
+
Private columnSQL_COMMAND As Global.System.Data.DataColumn
-
+
Private columnTAB_INDEX As Global.System.Data.DataColumn
-
+
Private columnACTIVE As Global.System.Data.DataColumn
-
+
Private columnTAB_TITLE As Global.System.Data.DataColumn
-
+
Private columnADDED_WHO As Global.System.Data.DataColumn
-
+
Private columnADDED_WHEN As Global.System.Data.DataColumn
-
+
Private columnCHANGED_WHO As Global.System.Data.DataColumn
-
+
Private columnCHANGED_WHEN As Global.System.Data.DataColumn
-
+
Private columnCOUNT_COMMAND As Global.System.Data.DataColumn
-
- _
+
+
Public Sub New()
MyBase.New
Me.TableName = "TBCW_PROF_DOC_SEARCH"
- Me.BeginInit
- Me.InitClass
- Me.EndInit
+ Me.BeginInit()
+ Me.InitClass()
+ Me.EndInit()
End Sub
-
- _
+
+
Friend Sub New(ByVal table As Global.System.Data.DataTable)
MyBase.New
Me.TableName = table.TableName
@@ -876,149 +875,149 @@ Partial Public Class DBCW_Stammdaten
Me.Prefix = table.Prefix
Me.MinimumCapacity = table.MinimumCapacity
End Sub
-
- _
+
+
Protected Sub New(ByVal info As Global.System.Runtime.Serialization.SerializationInfo, ByVal context As Global.System.Runtime.Serialization.StreamingContext)
MyBase.New(info, context)
- Me.InitVars
+ Me.InitVars()
End Sub
-
- _
+
+
Public ReadOnly Property GUIDColumn() As Global.System.Data.DataColumn
Get
Return Me.columnGUID
End Get
End Property
-
- _
+
+
Public ReadOnly Property PROFILE_IDColumn() As Global.System.Data.DataColumn
Get
Return Me.columnPROFILE_ID
End Get
End Property
-
- _
+
+
Public ReadOnly Property CONN_IDColumn() As Global.System.Data.DataColumn
Get
Return Me.columnCONN_ID
End Get
End Property
-
- _
+
+
Public ReadOnly Property SQL_COMMANDColumn() As Global.System.Data.DataColumn
Get
Return Me.columnSQL_COMMAND
End Get
End Property
-
- _
+
+
Public ReadOnly Property TAB_INDEXColumn() As Global.System.Data.DataColumn
Get
Return Me.columnTAB_INDEX
End Get
End Property
-
- _
+
+
Public ReadOnly Property ACTIVEColumn() As Global.System.Data.DataColumn
Get
Return Me.columnACTIVE
End Get
End Property
-
- _
+
+
Public ReadOnly Property TAB_TITLEColumn() As Global.System.Data.DataColumn
Get
Return Me.columnTAB_TITLE
End Get
End Property
-
- _
+
+
Public ReadOnly Property ADDED_WHOColumn() As Global.System.Data.DataColumn
Get
Return Me.columnADDED_WHO
End Get
End Property
-
- _
+
+
Public ReadOnly Property ADDED_WHENColumn() As Global.System.Data.DataColumn
Get
Return Me.columnADDED_WHEN
End Get
End Property
-
- _
+
+
Public ReadOnly Property CHANGED_WHOColumn() As Global.System.Data.DataColumn
Get
Return Me.columnCHANGED_WHO
End Get
End Property
-
- _
+
+
Public ReadOnly Property CHANGED_WHENColumn() As Global.System.Data.DataColumn
Get
Return Me.columnCHANGED_WHEN
End Get
End Property
-
- _
+
+
Public ReadOnly Property COUNT_COMMANDColumn() As Global.System.Data.DataColumn
Get
Return Me.columnCOUNT_COMMAND
End Get
End Property
-
- _
+
+
Public ReadOnly Property Count() As Integer
Get
Return Me.Rows.Count
End Get
End Property
-
- _
- Public Default ReadOnly Property Item(ByVal index As Integer) As TBCW_PROF_DOC_SEARCHRow
+
+
+ Default Public ReadOnly Property Item(ByVal index As Integer) As TBCW_PROF_DOC_SEARCHRow
Get
- Return CType(Me.Rows(index),TBCW_PROF_DOC_SEARCHRow)
+ Return CType(Me.Rows(index), TBCW_PROF_DOC_SEARCHRow)
End Get
End Property
-
- _
+
+
Public Event TBCW_PROF_DOC_SEARCHRowChanging As TBCW_PROF_DOC_SEARCHRowChangeEventHandler
-
- _
+
+
Public Event TBCW_PROF_DOC_SEARCHRowChanged As TBCW_PROF_DOC_SEARCHRowChangeEventHandler
-
- _
+
+
Public Event TBCW_PROF_DOC_SEARCHRowDeleting As TBCW_PROF_DOC_SEARCHRowChangeEventHandler
-
- _
+
+
Public Event TBCW_PROF_DOC_SEARCHRowDeleted As TBCW_PROF_DOC_SEARCHRowChangeEventHandler
-
- _
+
+
Public Overloads Sub AddTBCW_PROF_DOC_SEARCHRow(ByVal row As TBCW_PROF_DOC_SEARCHRow)
Me.Rows.Add(row)
End Sub
-
- _
+
+
Public Overloads Function AddTBCW_PROF_DOC_SEARCHRow(ByVal parentTBCW_PROFILESRowByFK_TBCW_PROF_DOC_SEARCH_PROF_IF As TBCW_PROFILESRow, ByVal CONN_ID As Byte, ByVal SQL_COMMAND As String, ByVal TAB_INDEX As Byte, ByVal ACTIVE As Boolean, ByVal TAB_TITLE As String, ByVal ADDED_WHO As String, ByVal ADDED_WHEN As Date, ByVal CHANGED_WHO As String, ByVal CHANGED_WHEN As Date, ByVal COUNT_COMMAND As String) As TBCW_PROF_DOC_SEARCHRow
- Dim rowTBCW_PROF_DOC_SEARCHRow As TBCW_PROF_DOC_SEARCHRow = CType(Me.NewRow,TBCW_PROF_DOC_SEARCHRow)
+ Dim rowTBCW_PROF_DOC_SEARCHRow As TBCW_PROF_DOC_SEARCHRow = CType(Me.NewRow, TBCW_PROF_DOC_SEARCHRow)
Dim columnValuesArray() As Object = New Object() {Nothing, Nothing, CONN_ID, SQL_COMMAND, TAB_INDEX, ACTIVE, TAB_TITLE, ADDED_WHO, ADDED_WHEN, CHANGED_WHO, CHANGED_WHEN, COUNT_COMMAND}
If (Not (parentTBCW_PROFILESRowByFK_TBCW_PROF_DOC_SEARCH_PROF_IF) Is Nothing) Then
columnValuesArray(1) = parentTBCW_PROFILESRowByFK_TBCW_PROF_DOC_SEARCH_PROF_IF(0)
@@ -1027,29 +1026,29 @@ Partial Public Class DBCW_Stammdaten
Me.Rows.Add(rowTBCW_PROF_DOC_SEARCHRow)
Return rowTBCW_PROF_DOC_SEARCHRow
End Function
-
- _
+
+
Public Function FindByGUID(ByVal GUID As Integer) As TBCW_PROF_DOC_SEARCHRow
- Return CType(Me.Rows.Find(New Object() {GUID}),TBCW_PROF_DOC_SEARCHRow)
+ Return CType(Me.Rows.Find(New Object() {GUID}), TBCW_PROF_DOC_SEARCHRow)
End Function
-
- _
+
+
Public Overrides Function Clone() As Global.System.Data.DataTable
- Dim cln As TBCW_PROF_DOC_SEARCHDataTable = CType(MyBase.Clone,TBCW_PROF_DOC_SEARCHDataTable)
- cln.InitVars
+ Dim cln As TBCW_PROF_DOC_SEARCHDataTable = CType(MyBase.Clone, TBCW_PROF_DOC_SEARCHDataTable)
+ cln.InitVars()
Return cln
End Function
-
- _
+
+
Protected Overrides Function CreateInstance() As Global.System.Data.DataTable
Return New TBCW_PROF_DOC_SEARCHDataTable()
End Function
-
- _
+
+
Friend Sub InitVars()
Me.columnGUID = MyBase.Columns("GUID")
Me.columnPROFILE_ID = MyBase.Columns("PROFILE_ID")
@@ -1064,9 +1063,9 @@ Partial Public Class DBCW_Stammdaten
Me.columnCHANGED_WHEN = MyBase.Columns("CHANGED_WHEN")
Me.columnCOUNT_COMMAND = MyBase.Columns("COUNT_COMMAND")
End Sub
-
- _
+
+
Private Sub InitClass()
Me.columnGUID = New Global.System.Data.DataColumn("GUID", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
MyBase.Columns.Add(Me.columnGUID)
@@ -1092,89 +1091,89 @@ Partial Public Class DBCW_Stammdaten
MyBase.Columns.Add(Me.columnCHANGED_WHEN)
Me.columnCOUNT_COMMAND = New Global.System.Data.DataColumn("COUNT_COMMAND", GetType(String), Nothing, Global.System.Data.MappingType.Element)
MyBase.Columns.Add(Me.columnCOUNT_COMMAND)
- Me.Constraints.Add(New Global.System.Data.UniqueConstraint("Constraint1", New Global.System.Data.DataColumn() {Me.columnGUID}, true))
- Me.columnGUID.AutoIncrement = true
+ Me.Constraints.Add(New Global.System.Data.UniqueConstraint("Constraint1", New Global.System.Data.DataColumn() {Me.columnGUID}, True))
+ Me.columnGUID.AutoIncrement = True
Me.columnGUID.AutoIncrementSeed = -1
Me.columnGUID.AutoIncrementStep = -1
- Me.columnGUID.AllowDBNull = false
- Me.columnGUID.ReadOnly = true
- Me.columnGUID.Unique = true
- Me.columnPROFILE_ID.AllowDBNull = false
- Me.columnCONN_ID.AllowDBNull = false
- Me.columnSQL_COMMAND.AllowDBNull = false
+ Me.columnGUID.AllowDBNull = False
+ Me.columnGUID.ReadOnly = True
+ Me.columnGUID.Unique = True
+ Me.columnPROFILE_ID.AllowDBNull = False
+ Me.columnCONN_ID.AllowDBNull = False
+ Me.columnSQL_COMMAND.AllowDBNull = False
Me.columnSQL_COMMAND.MaxLength = 2147483647
- Me.columnTAB_INDEX.AllowDBNull = false
- Me.columnACTIVE.AllowDBNull = false
- Me.columnTAB_TITLE.AllowDBNull = false
+ Me.columnTAB_INDEX.AllowDBNull = False
+ Me.columnACTIVE.AllowDBNull = False
+ Me.columnTAB_TITLE.AllowDBNull = False
Me.columnTAB_TITLE.MaxLength = 100
Me.columnADDED_WHO.MaxLength = 50
Me.columnCHANGED_WHO.MaxLength = 50
- Me.columnCOUNT_COMMAND.AllowDBNull = false
+ Me.columnCOUNT_COMMAND.AllowDBNull = False
Me.columnCOUNT_COMMAND.MaxLength = 2147483647
End Sub
-
- _
+
+
Public Function NewTBCW_PROF_DOC_SEARCHRow() As TBCW_PROF_DOC_SEARCHRow
- Return CType(Me.NewRow,TBCW_PROF_DOC_SEARCHRow)
+ Return CType(Me.NewRow, TBCW_PROF_DOC_SEARCHRow)
End Function
-
- _
+
+
Protected Overrides Function NewRowFromBuilder(ByVal builder As Global.System.Data.DataRowBuilder) As Global.System.Data.DataRow
Return New TBCW_PROF_DOC_SEARCHRow(builder)
End Function
-
- _
+
+
Protected Overrides Function GetRowType() As Global.System.Type
Return GetType(TBCW_PROF_DOC_SEARCHRow)
End Function
-
- _
+
+
Protected Overrides Sub OnRowChanged(ByVal e As Global.System.Data.DataRowChangeEventArgs)
MyBase.OnRowChanged(e)
If (Not (Me.TBCW_PROF_DOC_SEARCHRowChangedEvent) Is Nothing) Then
- RaiseEvent TBCW_PROF_DOC_SEARCHRowChanged(Me, New TBCW_PROF_DOC_SEARCHRowChangeEvent(CType(e.Row,TBCW_PROF_DOC_SEARCHRow), e.Action))
+ RaiseEvent TBCW_PROF_DOC_SEARCHRowChanged(Me, New TBCW_PROF_DOC_SEARCHRowChangeEvent(CType(e.Row, TBCW_PROF_DOC_SEARCHRow), e.Action))
End If
End Sub
-
- _
+
+
Protected Overrides Sub OnRowChanging(ByVal e As Global.System.Data.DataRowChangeEventArgs)
MyBase.OnRowChanging(e)
If (Not (Me.TBCW_PROF_DOC_SEARCHRowChangingEvent) Is Nothing) Then
- RaiseEvent TBCW_PROF_DOC_SEARCHRowChanging(Me, New TBCW_PROF_DOC_SEARCHRowChangeEvent(CType(e.Row,TBCW_PROF_DOC_SEARCHRow), e.Action))
+ RaiseEvent TBCW_PROF_DOC_SEARCHRowChanging(Me, New TBCW_PROF_DOC_SEARCHRowChangeEvent(CType(e.Row, TBCW_PROF_DOC_SEARCHRow), e.Action))
End If
End Sub
-
- _
+
+
Protected Overrides Sub OnRowDeleted(ByVal e As Global.System.Data.DataRowChangeEventArgs)
MyBase.OnRowDeleted(e)
If (Not (Me.TBCW_PROF_DOC_SEARCHRowDeletedEvent) Is Nothing) Then
- RaiseEvent TBCW_PROF_DOC_SEARCHRowDeleted(Me, New TBCW_PROF_DOC_SEARCHRowChangeEvent(CType(e.Row,TBCW_PROF_DOC_SEARCHRow), e.Action))
+ RaiseEvent TBCW_PROF_DOC_SEARCHRowDeleted(Me, New TBCW_PROF_DOC_SEARCHRowChangeEvent(CType(e.Row, TBCW_PROF_DOC_SEARCHRow), e.Action))
End If
End Sub
-
- _
+
+
Protected Overrides Sub OnRowDeleting(ByVal e As Global.System.Data.DataRowChangeEventArgs)
MyBase.OnRowDeleting(e)
If (Not (Me.TBCW_PROF_DOC_SEARCHRowDeletingEvent) Is Nothing) Then
- RaiseEvent TBCW_PROF_DOC_SEARCHRowDeleting(Me, New TBCW_PROF_DOC_SEARCHRowChangeEvent(CType(e.Row,TBCW_PROF_DOC_SEARCHRow), e.Action))
+ RaiseEvent TBCW_PROF_DOC_SEARCHRowDeleting(Me, New TBCW_PROF_DOC_SEARCHRowChangeEvent(CType(e.Row, TBCW_PROF_DOC_SEARCHRow), e.Action))
End If
End Sub
-
- _
+
+
Public Sub RemoveTBCW_PROF_DOC_SEARCHRow(ByVal row As TBCW_PROF_DOC_SEARCHRow)
Me.Rows.Remove(row)
End Sub
-
- _
+
+
Public Shared Function GetTypedTableSchema(ByVal xs As Global.System.Xml.Schema.XmlSchemaSet) As Global.System.Xml.Schema.XmlSchemaComplexType
Dim type As Global.System.Xml.Schema.XmlSchemaComplexType = New Global.System.Xml.Schema.XmlSchemaComplexType()
Dim sequence As Global.System.Xml.Schema.XmlSchemaSequence = New Global.System.Xml.Schema.XmlSchemaSequence()
@@ -1203,35 +1202,35 @@ Partial Public Class DBCW_Stammdaten
If xs.Contains(dsSchema.TargetNamespace) Then
Dim s1 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
Dim s2 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
- Try
+ Try
Dim schema As Global.System.Xml.Schema.XmlSchema = Nothing
dsSchema.Write(s1)
Dim schemas As Global.System.Collections.IEnumerator = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator
Do While schemas.MoveNext
- schema = CType(schemas.Current,Global.System.Xml.Schema.XmlSchema)
+ schema = CType(schemas.Current, Global.System.Xml.Schema.XmlSchema)
s2.SetLength(0)
schema.Write(s2)
If (s1.Length = s2.Length) Then
s1.Position = 0
s2.Position = 0
-
- Do While ((s1.Position <> s1.Length) _
+
+ Do While ((s1.Position <> s1.Length) _
AndAlso (s1.ReadByte = s2.ReadByte))
-
-
+
+
Loop
If (s1.Position = s1.Length) Then
Return type
End If
End If
-
+
Loop
Finally
If (Not (s1) Is Nothing) Then
- s1.Close
+ s1.Close()
End If
If (Not (s2) Is Nothing) Then
- s2.Close
+ s2.Close()
End If
End Try
End If
@@ -1239,51 +1238,51 @@ Partial Public Class DBCW_Stammdaten
Return type
End Function
End Class
-
+
'''
'''Represents the strongly named DataTable class.
'''
- _
+
Partial Public Class TBCW_PROF_DATA_SEARCHDataTable
Inherits Global.System.Data.TypedTableBase(Of TBCW_PROF_DATA_SEARCHRow)
-
+
Private columnGUID As Global.System.Data.DataColumn
-
+
Private columnPROFILE_ID As Global.System.Data.DataColumn
-
+
Private columnCONN_ID As Global.System.Data.DataColumn
-
+
Private columnSQL_COMMAND As Global.System.Data.DataColumn
-
+
Private columnTAB_INDEX As Global.System.Data.DataColumn
-
+
Private columnACTIVE As Global.System.Data.DataColumn
-
+
Private columnTAB_TITLE As Global.System.Data.DataColumn
-
+
Private columnADDED_WHO As Global.System.Data.DataColumn
-
+
Private columnADDED_WHEN As Global.System.Data.DataColumn
-
+
Private columnCHANGED_WHO As Global.System.Data.DataColumn
-
+
Private columnCHANGED_WHEN As Global.System.Data.DataColumn
-
+
Private columnCOUNT_COMMAND As Global.System.Data.DataColumn
-
- _
+
+
Public Sub New()
MyBase.New
Me.TableName = "TBCW_PROF_DATA_SEARCH"
- Me.BeginInit
- Me.InitClass
- Me.EndInit
+ Me.BeginInit()
+ Me.InitClass()
+ Me.EndInit()
End Sub
-
- _
+
+
Friend Sub New(ByVal table As Global.System.Data.DataTable)
MyBase.New
Me.TableName = table.TableName
@@ -1299,149 +1298,149 @@ Partial Public Class DBCW_Stammdaten
Me.Prefix = table.Prefix
Me.MinimumCapacity = table.MinimumCapacity
End Sub
-
- _
+
+
Protected Sub New(ByVal info As Global.System.Runtime.Serialization.SerializationInfo, ByVal context As Global.System.Runtime.Serialization.StreamingContext)
MyBase.New(info, context)
- Me.InitVars
+ Me.InitVars()
End Sub
-
- _
+
+
Public ReadOnly Property GUIDColumn() As Global.System.Data.DataColumn
Get
Return Me.columnGUID
End Get
End Property
-
- _
+
+
Public ReadOnly Property PROFILE_IDColumn() As Global.System.Data.DataColumn
Get
Return Me.columnPROFILE_ID
End Get
End Property
-
- _
+
+
Public ReadOnly Property CONN_IDColumn() As Global.System.Data.DataColumn
Get
Return Me.columnCONN_ID
End Get
End Property
-
- _
+
+
Public ReadOnly Property SQL_COMMANDColumn() As Global.System.Data.DataColumn
Get
Return Me.columnSQL_COMMAND
End Get
End Property
-
- _
+
+
Public ReadOnly Property TAB_INDEXColumn() As Global.System.Data.DataColumn
Get
Return Me.columnTAB_INDEX
End Get
End Property
-
- _
+
+
Public ReadOnly Property ACTIVEColumn() As Global.System.Data.DataColumn
Get
Return Me.columnACTIVE
End Get
End Property
-
- _
+
+
Public ReadOnly Property TAB_TITLEColumn() As Global.System.Data.DataColumn
Get
Return Me.columnTAB_TITLE
End Get
End Property
-
- _
+
+
Public ReadOnly Property ADDED_WHOColumn() As Global.System.Data.DataColumn
Get
Return Me.columnADDED_WHO
End Get
End Property
-
- _
+
+
Public ReadOnly Property ADDED_WHENColumn() As Global.System.Data.DataColumn
Get
Return Me.columnADDED_WHEN
End Get
End Property
-
- _
+
+
Public ReadOnly Property CHANGED_WHOColumn() As Global.System.Data.DataColumn
Get
Return Me.columnCHANGED_WHO
End Get
End Property
-
- _
+
+
Public ReadOnly Property CHANGED_WHENColumn() As Global.System.Data.DataColumn
Get
Return Me.columnCHANGED_WHEN
End Get
End Property
-
- _
+
+
Public ReadOnly Property COUNT_COMMANDColumn() As Global.System.Data.DataColumn
Get
Return Me.columnCOUNT_COMMAND
End Get
End Property
-
- _
+
+
Public ReadOnly Property Count() As Integer
Get
Return Me.Rows.Count
End Get
End Property
-
- _
- Public Default ReadOnly Property Item(ByVal index As Integer) As TBCW_PROF_DATA_SEARCHRow
+
+
+ Default Public ReadOnly Property Item(ByVal index As Integer) As TBCW_PROF_DATA_SEARCHRow
Get
- Return CType(Me.Rows(index),TBCW_PROF_DATA_SEARCHRow)
+ Return CType(Me.Rows(index), TBCW_PROF_DATA_SEARCHRow)
End Get
End Property
-
- _
+
+
Public Event TBCW_PROF_DATA_SEARCHRowChanging As TBCW_PROF_DATA_SEARCHRowChangeEventHandler
-
- _
+
+
Public Event TBCW_PROF_DATA_SEARCHRowChanged As TBCW_PROF_DATA_SEARCHRowChangeEventHandler
-
- _
+
+
Public Event TBCW_PROF_DATA_SEARCHRowDeleting As TBCW_PROF_DATA_SEARCHRowChangeEventHandler
-
- _
+
+
Public Event TBCW_PROF_DATA_SEARCHRowDeleted As TBCW_PROF_DATA_SEARCHRowChangeEventHandler
-
- _
+
+
Public Overloads Sub AddTBCW_PROF_DATA_SEARCHRow(ByVal row As TBCW_PROF_DATA_SEARCHRow)
Me.Rows.Add(row)
End Sub
-
- _
+
+
Public Overloads Function AddTBCW_PROF_DATA_SEARCHRow(ByVal parentTBCW_PROFILESRowByFK_TBCW_PROF_DATA_SEARCH_PROF_IF As TBCW_PROFILESRow, ByVal CONN_ID As Byte, ByVal SQL_COMMAND As String, ByVal TAB_INDEX As Byte, ByVal ACTIVE As Boolean, ByVal TAB_TITLE As String, ByVal ADDED_WHO As String, ByVal ADDED_WHEN As Date, ByVal CHANGED_WHO As String, ByVal CHANGED_WHEN As Date, ByVal COUNT_COMMAND As String) As TBCW_PROF_DATA_SEARCHRow
- Dim rowTBCW_PROF_DATA_SEARCHRow As TBCW_PROF_DATA_SEARCHRow = CType(Me.NewRow,TBCW_PROF_DATA_SEARCHRow)
+ Dim rowTBCW_PROF_DATA_SEARCHRow As TBCW_PROF_DATA_SEARCHRow = CType(Me.NewRow, TBCW_PROF_DATA_SEARCHRow)
Dim columnValuesArray() As Object = New Object() {Nothing, Nothing, CONN_ID, SQL_COMMAND, TAB_INDEX, ACTIVE, TAB_TITLE, ADDED_WHO, ADDED_WHEN, CHANGED_WHO, CHANGED_WHEN, COUNT_COMMAND}
If (Not (parentTBCW_PROFILESRowByFK_TBCW_PROF_DATA_SEARCH_PROF_IF) Is Nothing) Then
columnValuesArray(1) = parentTBCW_PROFILESRowByFK_TBCW_PROF_DATA_SEARCH_PROF_IF(0)
@@ -1450,29 +1449,29 @@ Partial Public Class DBCW_Stammdaten
Me.Rows.Add(rowTBCW_PROF_DATA_SEARCHRow)
Return rowTBCW_PROF_DATA_SEARCHRow
End Function
-
- _
+
+
Public Function FindByGUID(ByVal GUID As Integer) As TBCW_PROF_DATA_SEARCHRow
- Return CType(Me.Rows.Find(New Object() {GUID}),TBCW_PROF_DATA_SEARCHRow)
+ Return CType(Me.Rows.Find(New Object() {GUID}), TBCW_PROF_DATA_SEARCHRow)
End Function
-
- _
+
+
Public Overrides Function Clone() As Global.System.Data.DataTable
- Dim cln As TBCW_PROF_DATA_SEARCHDataTable = CType(MyBase.Clone,TBCW_PROF_DATA_SEARCHDataTable)
- cln.InitVars
+ Dim cln As TBCW_PROF_DATA_SEARCHDataTable = CType(MyBase.Clone, TBCW_PROF_DATA_SEARCHDataTable)
+ cln.InitVars()
Return cln
End Function
-
- _
+
+
Protected Overrides Function CreateInstance() As Global.System.Data.DataTable
Return New TBCW_PROF_DATA_SEARCHDataTable()
End Function
-
- _
+
+
Friend Sub InitVars()
Me.columnGUID = MyBase.Columns("GUID")
Me.columnPROFILE_ID = MyBase.Columns("PROFILE_ID")
@@ -1487,9 +1486,9 @@ Partial Public Class DBCW_Stammdaten
Me.columnCHANGED_WHEN = MyBase.Columns("CHANGED_WHEN")
Me.columnCOUNT_COMMAND = MyBase.Columns("COUNT_COMMAND")
End Sub
-
- _
+
+
Private Sub InitClass()
Me.columnGUID = New Global.System.Data.DataColumn("GUID", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
MyBase.Columns.Add(Me.columnGUID)
@@ -1515,89 +1514,89 @@ Partial Public Class DBCW_Stammdaten
MyBase.Columns.Add(Me.columnCHANGED_WHEN)
Me.columnCOUNT_COMMAND = New Global.System.Data.DataColumn("COUNT_COMMAND", GetType(String), Nothing, Global.System.Data.MappingType.Element)
MyBase.Columns.Add(Me.columnCOUNT_COMMAND)
- Me.Constraints.Add(New Global.System.Data.UniqueConstraint("Constraint1", New Global.System.Data.DataColumn() {Me.columnGUID}, true))
- Me.columnGUID.AutoIncrement = true
+ Me.Constraints.Add(New Global.System.Data.UniqueConstraint("Constraint1", New Global.System.Data.DataColumn() {Me.columnGUID}, True))
+ Me.columnGUID.AutoIncrement = True
Me.columnGUID.AutoIncrementSeed = -1
Me.columnGUID.AutoIncrementStep = -1
- Me.columnGUID.AllowDBNull = false
- Me.columnGUID.ReadOnly = true
- Me.columnGUID.Unique = true
- Me.columnPROFILE_ID.AllowDBNull = false
- Me.columnCONN_ID.AllowDBNull = false
- Me.columnSQL_COMMAND.AllowDBNull = false
+ Me.columnGUID.AllowDBNull = False
+ Me.columnGUID.ReadOnly = True
+ Me.columnGUID.Unique = True
+ Me.columnPROFILE_ID.AllowDBNull = False
+ Me.columnCONN_ID.AllowDBNull = False
+ Me.columnSQL_COMMAND.AllowDBNull = False
Me.columnSQL_COMMAND.MaxLength = 2147483647
- Me.columnTAB_INDEX.AllowDBNull = false
- Me.columnACTIVE.AllowDBNull = false
- Me.columnTAB_TITLE.AllowDBNull = false
+ Me.columnTAB_INDEX.AllowDBNull = False
+ Me.columnACTIVE.AllowDBNull = False
+ Me.columnTAB_TITLE.AllowDBNull = False
Me.columnTAB_TITLE.MaxLength = 100
Me.columnADDED_WHO.MaxLength = 50
Me.columnCHANGED_WHO.MaxLength = 50
- Me.columnCOUNT_COMMAND.AllowDBNull = false
+ Me.columnCOUNT_COMMAND.AllowDBNull = False
Me.columnCOUNT_COMMAND.MaxLength = 2147483647
End Sub
-
- _
+
+
Public Function NewTBCW_PROF_DATA_SEARCHRow() As TBCW_PROF_DATA_SEARCHRow
- Return CType(Me.NewRow,TBCW_PROF_DATA_SEARCHRow)
+ Return CType(Me.NewRow, TBCW_PROF_DATA_SEARCHRow)
End Function
-
- _
+
+
Protected Overrides Function NewRowFromBuilder(ByVal builder As Global.System.Data.DataRowBuilder) As Global.System.Data.DataRow
Return New TBCW_PROF_DATA_SEARCHRow(builder)
End Function
-
- _
+
+
Protected Overrides Function GetRowType() As Global.System.Type
Return GetType(TBCW_PROF_DATA_SEARCHRow)
End Function
-
- _
+
+
Protected Overrides Sub OnRowChanged(ByVal e As Global.System.Data.DataRowChangeEventArgs)
MyBase.OnRowChanged(e)
If (Not (Me.TBCW_PROF_DATA_SEARCHRowChangedEvent) Is Nothing) Then
- RaiseEvent TBCW_PROF_DATA_SEARCHRowChanged(Me, New TBCW_PROF_DATA_SEARCHRowChangeEvent(CType(e.Row,TBCW_PROF_DATA_SEARCHRow), e.Action))
+ RaiseEvent TBCW_PROF_DATA_SEARCHRowChanged(Me, New TBCW_PROF_DATA_SEARCHRowChangeEvent(CType(e.Row, TBCW_PROF_DATA_SEARCHRow), e.Action))
End If
End Sub
-
- _
+
+
Protected Overrides Sub OnRowChanging(ByVal e As Global.System.Data.DataRowChangeEventArgs)
MyBase.OnRowChanging(e)
If (Not (Me.TBCW_PROF_DATA_SEARCHRowChangingEvent) Is Nothing) Then
- RaiseEvent TBCW_PROF_DATA_SEARCHRowChanging(Me, New TBCW_PROF_DATA_SEARCHRowChangeEvent(CType(e.Row,TBCW_PROF_DATA_SEARCHRow), e.Action))
+ RaiseEvent TBCW_PROF_DATA_SEARCHRowChanging(Me, New TBCW_PROF_DATA_SEARCHRowChangeEvent(CType(e.Row, TBCW_PROF_DATA_SEARCHRow), e.Action))
End If
End Sub
-
- _
+
+
Protected Overrides Sub OnRowDeleted(ByVal e As Global.System.Data.DataRowChangeEventArgs)
MyBase.OnRowDeleted(e)
If (Not (Me.TBCW_PROF_DATA_SEARCHRowDeletedEvent) Is Nothing) Then
- RaiseEvent TBCW_PROF_DATA_SEARCHRowDeleted(Me, New TBCW_PROF_DATA_SEARCHRowChangeEvent(CType(e.Row,TBCW_PROF_DATA_SEARCHRow), e.Action))
+ RaiseEvent TBCW_PROF_DATA_SEARCHRowDeleted(Me, New TBCW_PROF_DATA_SEARCHRowChangeEvent(CType(e.Row, TBCW_PROF_DATA_SEARCHRow), e.Action))
End If
End Sub
-
- _
+
+
Protected Overrides Sub OnRowDeleting(ByVal e As Global.System.Data.DataRowChangeEventArgs)
MyBase.OnRowDeleting(e)
If (Not (Me.TBCW_PROF_DATA_SEARCHRowDeletingEvent) Is Nothing) Then
- RaiseEvent TBCW_PROF_DATA_SEARCHRowDeleting(Me, New TBCW_PROF_DATA_SEARCHRowChangeEvent(CType(e.Row,TBCW_PROF_DATA_SEARCHRow), e.Action))
+ RaiseEvent TBCW_PROF_DATA_SEARCHRowDeleting(Me, New TBCW_PROF_DATA_SEARCHRowChangeEvent(CType(e.Row, TBCW_PROF_DATA_SEARCHRow), e.Action))
End If
End Sub
-
- _
+
+
Public Sub RemoveTBCW_PROF_DATA_SEARCHRow(ByVal row As TBCW_PROF_DATA_SEARCHRow)
Me.Rows.Remove(row)
End Sub
-
- _
+
+
Public Shared Function GetTypedTableSchema(ByVal xs As Global.System.Xml.Schema.XmlSchemaSet) As Global.System.Xml.Schema.XmlSchemaComplexType
Dim type As Global.System.Xml.Schema.XmlSchemaComplexType = New Global.System.Xml.Schema.XmlSchemaComplexType()
Dim sequence As Global.System.Xml.Schema.XmlSchemaSequence = New Global.System.Xml.Schema.XmlSchemaSequence()
@@ -1626,35 +1625,35 @@ Partial Public Class DBCW_Stammdaten
If xs.Contains(dsSchema.TargetNamespace) Then
Dim s1 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
Dim s2 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
- Try
+ Try
Dim schema As Global.System.Xml.Schema.XmlSchema = Nothing
dsSchema.Write(s1)
Dim schemas As Global.System.Collections.IEnumerator = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator
Do While schemas.MoveNext
- schema = CType(schemas.Current,Global.System.Xml.Schema.XmlSchema)
+ schema = CType(schemas.Current, Global.System.Xml.Schema.XmlSchema)
s2.SetLength(0)
schema.Write(s2)
If (s1.Length = s2.Length) Then
s1.Position = 0
s2.Position = 0
-
- Do While ((s1.Position <> s1.Length) _
+
+ Do While ((s1.Position <> s1.Length) _
AndAlso (s1.ReadByte = s2.ReadByte))
-
-
+
+
Loop
If (s1.Position = s1.Length) Then
Return type
End If
End If
-
+
Loop
Finally
If (Not (s1) Is Nothing) Then
- s1.Close
+ s1.Close()
End If
If (Not (s2) Is Nothing) Then
- s2.Close
+ s2.Close()
End If
End Try
End If
@@ -1662,31 +1661,31 @@ Partial Public Class DBCW_Stammdaten
Return type
End Function
End Class
-
+
'''
'''Represents the strongly named DataTable class.
'''
- _
+
Partial Public Class TBLOCAL_SEARCH_POSITIONDataTable
Inherits Global.System.Data.TypedTableBase(Of TBLOCAL_SEARCH_POSITIONRow)
-
+
Private columnID As Global.System.Data.DataColumn
-
+
Private columnNAME As Global.System.Data.DataColumn
-
- _
+
+
Public Sub New()
MyBase.New
Me.TableName = "TBLOCAL_SEARCH_POSITION"
- Me.BeginInit
- Me.InitClass
- Me.EndInit
+ Me.BeginInit()
+ Me.InitClass()
+ Me.EndInit()
End Sub
-
- _
+
+
Friend Sub New(ByVal table As Global.System.Data.DataTable)
MyBase.New
Me.TableName = table.TableName
@@ -1702,167 +1701,167 @@ Partial Public Class DBCW_Stammdaten
Me.Prefix = table.Prefix
Me.MinimumCapacity = table.MinimumCapacity
End Sub
-
- _
+
+
Protected Sub New(ByVal info As Global.System.Runtime.Serialization.SerializationInfo, ByVal context As Global.System.Runtime.Serialization.StreamingContext)
MyBase.New(info, context)
- Me.InitVars
+ Me.InitVars()
End Sub
-
- _
+
+
Public ReadOnly Property IDColumn() As Global.System.Data.DataColumn
Get
Return Me.columnID
End Get
End Property
-
- _
+
+
Public ReadOnly Property NAMEColumn() As Global.System.Data.DataColumn
Get
Return Me.columnNAME
End Get
End Property
-
- _
+
+
Public ReadOnly Property Count() As Integer
Get
Return Me.Rows.Count
End Get
End Property
-
- _
- Public Default ReadOnly Property Item(ByVal index As Integer) As TBLOCAL_SEARCH_POSITIONRow
+
+
+ Default Public ReadOnly Property Item(ByVal index As Integer) As TBLOCAL_SEARCH_POSITIONRow
Get
- Return CType(Me.Rows(index),TBLOCAL_SEARCH_POSITIONRow)
+ Return CType(Me.Rows(index), TBLOCAL_SEARCH_POSITIONRow)
End Get
End Property
-
- _
+
+
Public Event TBLOCAL_SEARCH_POSITIONRowChanging As TBLOCAL_SEARCH_POSITIONRowChangeEventHandler
-
- _
+
+
Public Event TBLOCAL_SEARCH_POSITIONRowChanged As TBLOCAL_SEARCH_POSITIONRowChangeEventHandler
-
- _
+
+
Public Event TBLOCAL_SEARCH_POSITIONRowDeleting As TBLOCAL_SEARCH_POSITIONRowChangeEventHandler
-
- _
+
+
Public Event TBLOCAL_SEARCH_POSITIONRowDeleted As TBLOCAL_SEARCH_POSITIONRowChangeEventHandler
-
- _
+
+
Public Overloads Sub AddTBLOCAL_SEARCH_POSITIONRow(ByVal row As TBLOCAL_SEARCH_POSITIONRow)
Me.Rows.Add(row)
End Sub
-
- _
+
+
Public Overloads Function AddTBLOCAL_SEARCH_POSITIONRow(ByVal ID As String, ByVal NAME As String) As TBLOCAL_SEARCH_POSITIONRow
- Dim rowTBLOCAL_SEARCH_POSITIONRow As TBLOCAL_SEARCH_POSITIONRow = CType(Me.NewRow,TBLOCAL_SEARCH_POSITIONRow)
+ Dim rowTBLOCAL_SEARCH_POSITIONRow As TBLOCAL_SEARCH_POSITIONRow = CType(Me.NewRow, TBLOCAL_SEARCH_POSITIONRow)
Dim columnValuesArray() As Object = New Object() {ID, NAME}
rowTBLOCAL_SEARCH_POSITIONRow.ItemArray = columnValuesArray
Me.Rows.Add(rowTBLOCAL_SEARCH_POSITIONRow)
Return rowTBLOCAL_SEARCH_POSITIONRow
End Function
-
- _
+
+
Public Overrides Function Clone() As Global.System.Data.DataTable
- Dim cln As TBLOCAL_SEARCH_POSITIONDataTable = CType(MyBase.Clone,TBLOCAL_SEARCH_POSITIONDataTable)
- cln.InitVars
+ Dim cln As TBLOCAL_SEARCH_POSITIONDataTable = CType(MyBase.Clone, TBLOCAL_SEARCH_POSITIONDataTable)
+ cln.InitVars()
Return cln
End Function
-
- _
+
+
Protected Overrides Function CreateInstance() As Global.System.Data.DataTable
Return New TBLOCAL_SEARCH_POSITIONDataTable()
End Function
-
- _
+
+
Friend Sub InitVars()
Me.columnID = MyBase.Columns("ID")
Me.columnNAME = MyBase.Columns("NAME")
End Sub
-
- _
+
+
Private Sub InitClass()
Me.columnID = New Global.System.Data.DataColumn("ID", GetType(String), Nothing, Global.System.Data.MappingType.Element)
MyBase.Columns.Add(Me.columnID)
Me.columnNAME = New Global.System.Data.DataColumn("NAME", GetType(String), Nothing, Global.System.Data.MappingType.Element)
MyBase.Columns.Add(Me.columnNAME)
End Sub
-
- _
+
+
Public Function NewTBLOCAL_SEARCH_POSITIONRow() As TBLOCAL_SEARCH_POSITIONRow
- Return CType(Me.NewRow,TBLOCAL_SEARCH_POSITIONRow)
+ Return CType(Me.NewRow, TBLOCAL_SEARCH_POSITIONRow)
End Function
-
- _
+
+
Protected Overrides Function NewRowFromBuilder(ByVal builder As Global.System.Data.DataRowBuilder) As Global.System.Data.DataRow
Return New TBLOCAL_SEARCH_POSITIONRow(builder)
End Function
-
- _
+
+
Protected Overrides Function GetRowType() As Global.System.Type
Return GetType(TBLOCAL_SEARCH_POSITIONRow)
End Function
-
- _
+
+
Protected Overrides Sub OnRowChanged(ByVal e As Global.System.Data.DataRowChangeEventArgs)
MyBase.OnRowChanged(e)
If (Not (Me.TBLOCAL_SEARCH_POSITIONRowChangedEvent) Is Nothing) Then
- RaiseEvent TBLOCAL_SEARCH_POSITIONRowChanged(Me, New TBLOCAL_SEARCH_POSITIONRowChangeEvent(CType(e.Row,TBLOCAL_SEARCH_POSITIONRow), e.Action))
+ RaiseEvent TBLOCAL_SEARCH_POSITIONRowChanged(Me, New TBLOCAL_SEARCH_POSITIONRowChangeEvent(CType(e.Row, TBLOCAL_SEARCH_POSITIONRow), e.Action))
End If
End Sub
-
- _
+
+
Protected Overrides Sub OnRowChanging(ByVal e As Global.System.Data.DataRowChangeEventArgs)
MyBase.OnRowChanging(e)
If (Not (Me.TBLOCAL_SEARCH_POSITIONRowChangingEvent) Is Nothing) Then
- RaiseEvent TBLOCAL_SEARCH_POSITIONRowChanging(Me, New TBLOCAL_SEARCH_POSITIONRowChangeEvent(CType(e.Row,TBLOCAL_SEARCH_POSITIONRow), e.Action))
+ RaiseEvent TBLOCAL_SEARCH_POSITIONRowChanging(Me, New TBLOCAL_SEARCH_POSITIONRowChangeEvent(CType(e.Row, TBLOCAL_SEARCH_POSITIONRow), e.Action))
End If
End Sub
-
- _
+
+
Protected Overrides Sub OnRowDeleted(ByVal e As Global.System.Data.DataRowChangeEventArgs)
MyBase.OnRowDeleted(e)
If (Not (Me.TBLOCAL_SEARCH_POSITIONRowDeletedEvent) Is Nothing) Then
- RaiseEvent TBLOCAL_SEARCH_POSITIONRowDeleted(Me, New TBLOCAL_SEARCH_POSITIONRowChangeEvent(CType(e.Row,TBLOCAL_SEARCH_POSITIONRow), e.Action))
+ RaiseEvent TBLOCAL_SEARCH_POSITIONRowDeleted(Me, New TBLOCAL_SEARCH_POSITIONRowChangeEvent(CType(e.Row, TBLOCAL_SEARCH_POSITIONRow), e.Action))
End If
End Sub
-
- _
+
+
Protected Overrides Sub OnRowDeleting(ByVal e As Global.System.Data.DataRowChangeEventArgs)
MyBase.OnRowDeleting(e)
If (Not (Me.TBLOCAL_SEARCH_POSITIONRowDeletingEvent) Is Nothing) Then
- RaiseEvent TBLOCAL_SEARCH_POSITIONRowDeleting(Me, New TBLOCAL_SEARCH_POSITIONRowChangeEvent(CType(e.Row,TBLOCAL_SEARCH_POSITIONRow), e.Action))
+ RaiseEvent TBLOCAL_SEARCH_POSITIONRowDeleting(Me, New TBLOCAL_SEARCH_POSITIONRowChangeEvent(CType(e.Row, TBLOCAL_SEARCH_POSITIONRow), e.Action))
End If
End Sub
-
- _
+
+
Public Sub RemoveTBLOCAL_SEARCH_POSITIONRow(ByVal row As TBLOCAL_SEARCH_POSITIONRow)
Me.Rows.Remove(row)
End Sub
-
- _
+
+
Public Shared Function GetTypedTableSchema(ByVal xs As Global.System.Xml.Schema.XmlSchemaSet) As Global.System.Xml.Schema.XmlSchemaComplexType
Dim type As Global.System.Xml.Schema.XmlSchemaComplexType = New Global.System.Xml.Schema.XmlSchemaComplexType()
Dim sequence As Global.System.Xml.Schema.XmlSchemaSequence = New Global.System.Xml.Schema.XmlSchemaSequence()
@@ -1891,35 +1890,35 @@ Partial Public Class DBCW_Stammdaten
If xs.Contains(dsSchema.TargetNamespace) Then
Dim s1 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
Dim s2 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
- Try
+ Try
Dim schema As Global.System.Xml.Schema.XmlSchema = Nothing
dsSchema.Write(s1)
Dim schemas As Global.System.Collections.IEnumerator = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator
Do While schemas.MoveNext
- schema = CType(schemas.Current,Global.System.Xml.Schema.XmlSchema)
+ schema = CType(schemas.Current, Global.System.Xml.Schema.XmlSchema)
s2.SetLength(0)
schema.Write(s2)
If (s1.Length = s2.Length) Then
s1.Position = 0
s2.Position = 0
-
- Do While ((s1.Position <> s1.Length) _
+
+ Do While ((s1.Position <> s1.Length) _
AndAlso (s1.ReadByte = s2.ReadByte))
-
-
+
+
Loop
If (s1.Position = s1.Length) Then
Return type
End If
End If
-
+
Loop
Finally
If (Not (s1) Is Nothing) Then
- s1.Close
+ s1.Close()
End If
If (Not (s2) Is Nothing) Then
- s2.Close
+ s2.Close()
End If
End Try
End If
@@ -1927,31 +1926,31 @@ Partial Public Class DBCW_Stammdaten
Return type
End Function
End Class
-
+
'''
'''Represents the strongly named DataTable class.
'''
- _
+
Partial Public Class TBLOCAL_PROFILE_TYPEDataTable
Inherits Global.System.Data.TypedTableBase(Of TBLOCAL_PROFILE_TYPERow)
-
+
Private columnID As Global.System.Data.DataColumn
-
+
Private columnNAME As Global.System.Data.DataColumn
-
- _
+
+
Public Sub New()
MyBase.New
Me.TableName = "TBLOCAL_PROFILE_TYPE"
- Me.BeginInit
- Me.InitClass
- Me.EndInit
+ Me.BeginInit()
+ Me.InitClass()
+ Me.EndInit()
End Sub
-
- _
+
+
Friend Sub New(ByVal table As Global.System.Data.DataTable)
MyBase.New
Me.TableName = table.TableName
@@ -1967,167 +1966,167 @@ Partial Public Class DBCW_Stammdaten
Me.Prefix = table.Prefix
Me.MinimumCapacity = table.MinimumCapacity
End Sub
-
- _
+
+
Protected Sub New(ByVal info As Global.System.Runtime.Serialization.SerializationInfo, ByVal context As Global.System.Runtime.Serialization.StreamingContext)
MyBase.New(info, context)
- Me.InitVars
+ Me.InitVars()
End Sub
-
- _
+
+
Public ReadOnly Property IDColumn() As Global.System.Data.DataColumn
Get
Return Me.columnID
End Get
End Property
-
- _
+
+
Public ReadOnly Property NAMEColumn() As Global.System.Data.DataColumn
Get
Return Me.columnNAME
End Get
End Property
-
- _
+
+
Public ReadOnly Property Count() As Integer
Get
Return Me.Rows.Count
End Get
End Property
-
- _
- Public Default ReadOnly Property Item(ByVal index As Integer) As TBLOCAL_PROFILE_TYPERow
+
+
+ Default Public ReadOnly Property Item(ByVal index As Integer) As TBLOCAL_PROFILE_TYPERow
Get
- Return CType(Me.Rows(index),TBLOCAL_PROFILE_TYPERow)
+ Return CType(Me.Rows(index), TBLOCAL_PROFILE_TYPERow)
End Get
End Property
-
- _
+
+
Public Event TBLOCAL_PROFILE_TYPERowChanging As TBLOCAL_PROFILE_TYPERowChangeEventHandler
-
- _
+
+
Public Event TBLOCAL_PROFILE_TYPERowChanged As TBLOCAL_PROFILE_TYPERowChangeEventHandler
-
- _
+
+
Public Event TBLOCAL_PROFILE_TYPERowDeleting As TBLOCAL_PROFILE_TYPERowChangeEventHandler
-
- _
+
+
Public Event TBLOCAL_PROFILE_TYPERowDeleted As TBLOCAL_PROFILE_TYPERowChangeEventHandler
-
- _
+
+
Public Overloads Sub AddTBLOCAL_PROFILE_TYPERow(ByVal row As TBLOCAL_PROFILE_TYPERow)
Me.Rows.Add(row)
End Sub
-
- _
+
+