Initial commit

This commit is contained in:
2021-04-20 07:44:06 +02:00
commit 1cc7ed8893
1562 changed files with 496306 additions and 0 deletions

View File

@@ -0,0 +1,392 @@
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class BEA_FunktionDetail
Inherits System.Windows.Forms.UserControl
'UserControl1 überschreibt den Löschvorgang, um die Komponentenliste zu bereinigen.
<System.Diagnostics.DebuggerNonUserCode()> _
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.
<System.Diagnostics.DebuggerStepThrough()> _
Private Sub InitializeComponent()
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(BEA_FunktionDetail))
Me.ToolStrip1 = New System.Windows.Forms.ToolStrip()
Me.ToolStripButton1 = New System.Windows.Forms.ToolStripButton()
Me.lblFunktionsnummer = New System.Windows.Forms.Label()
Me.txtFunktionsnummer = New System.Windows.Forms.TextBox()
Me.txtFunktionsstelle = New System.Windows.Forms.TextBox()
Me.lblFunktionsstelle = New System.Windows.Forms.Label()
Me.txtBezeichnung = New System.Windows.Forms.TextBox()
Me.lblBeschreibung = New System.Windows.Forms.Label()
Me.txtBeschreibung = New System.Windows.Forms.TextBox()
Me.lblBemerkung = New System.Windows.Forms.Label()
Me.Label1 = New System.Windows.Forms.Label()
Me.Label2 = New System.Windows.Forms.Label()
Me.lblErstelltam = New System.Windows.Forms.Label()
Me.txtErstelltam = New System.Windows.Forms.TextBox()
Me.txtMutiertam = New System.Windows.Forms.TextBox()
Me.txtMutierer = New System.Windows.Forms.TextBox()
Me.cbAktiv = New System.Windows.Forms.CheckBox()
Me.lblAktiv = New System.Windows.Forms.Label()
Me.lblParent = New System.Windows.Forms.Label()
Me.txtParent = New System.Windows.Forms.TextBox()
Me.GroupBox2 = New System.Windows.Forms.GroupBox()
Me.GroupBox1 = New System.Windows.Forms.GroupBox()
Me.C1Mitarbeiter = New C1.Win.C1TrueDBGrid.C1TrueDBGrid()
Me.SplitContainer1 = New System.Windows.Forms.SplitContainer()
Me.Beziehungen1 = New _MyBeziehungen.Beziehungen()
Me.lblCID = New System.Windows.Forms.Label()
Me.cbCID = New System.Windows.Forms.CheckBox()
Me.ToolStrip1.SuspendLayout()
Me.GroupBox2.SuspendLayout()
Me.GroupBox1.SuspendLayout()
CType(Me.C1Mitarbeiter, System.ComponentModel.ISupportInitialize).BeginInit()
Me.SplitContainer1.Panel1.SuspendLayout()
Me.SplitContainer1.Panel2.SuspendLayout()
Me.SplitContainer1.SuspendLayout()
Me.SuspendLayout()
'
'ToolStrip1
'
Me.ToolStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.ToolStripButton1})
Me.ToolStrip1.Location = New System.Drawing.Point(3, 16)
Me.ToolStrip1.Name = "ToolStrip1"
Me.ToolStrip1.Size = New System.Drawing.Size(625, 25)
Me.ToolStrip1.TabIndex = 0
Me.ToolStrip1.Text = "ToolStrip1"
'
'ToolStripButton1
'
Me.ToolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
Me.ToolStripButton1.Image = CType(resources.GetObject("ToolStripButton1.Image"), System.Drawing.Image)
Me.ToolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta
Me.ToolStripButton1.Name = "ToolStripButton1"
Me.ToolStripButton1.Size = New System.Drawing.Size(23, 22)
Me.ToolStripButton1.Text = "ToolStripButton1"
'
'lblFunktionsnummer
'
Me.lblFunktionsnummer.AutoSize = True
Me.lblFunktionsnummer.Location = New System.Drawing.Point(9, 151)
Me.lblFunktionsnummer.Name = "lblFunktionsnummer"
Me.lblFunktionsnummer.Size = New System.Drawing.Size(90, 13)
Me.lblFunktionsnummer.TabIndex = 1
Me.lblFunktionsnummer.Text = "Funktionsnummer"
'
'txtFunktionsnummer
'
Me.txtFunktionsnummer.Location = New System.Drawing.Point(105, 148)
Me.txtFunktionsnummer.Name = "txtFunktionsnummer"
Me.txtFunktionsnummer.Size = New System.Drawing.Size(65, 20)
Me.txtFunktionsnummer.TabIndex = 2
'
'txtFunktionsstelle
'
Me.txtFunktionsstelle.Location = New System.Drawing.Point(105, 174)
Me.txtFunktionsstelle.Name = "txtFunktionsstelle"
Me.txtFunktionsstelle.Size = New System.Drawing.Size(65, 20)
Me.txtFunktionsstelle.TabIndex = 4
'
'lblFunktionsstelle
'
Me.lblFunktionsstelle.AutoSize = True
Me.lblFunktionsstelle.Location = New System.Drawing.Point(9, 177)
Me.lblFunktionsstelle.Name = "lblFunktionsstelle"
Me.lblFunktionsstelle.Size = New System.Drawing.Size(77, 13)
Me.lblFunktionsstelle.TabIndex = 3
Me.lblFunktionsstelle.Text = "Funktionsstelle"
'
'txtBezeichnung
'
Me.txtBezeichnung.Location = New System.Drawing.Point(105, 44)
Me.txtBezeichnung.Name = "txtBezeichnung"
Me.txtBezeichnung.Size = New System.Drawing.Size(274, 20)
Me.txtBezeichnung.TabIndex = 6
'
'lblBeschreibung
'
Me.lblBeschreibung.AutoSize = True
Me.lblBeschreibung.Location = New System.Drawing.Point(9, 47)
Me.lblBeschreibung.Name = "lblBeschreibung"
Me.lblBeschreibung.Size = New System.Drawing.Size(72, 13)
Me.lblBeschreibung.TabIndex = 5
Me.lblBeschreibung.Text = "Beschreibung"
'
'txtBeschreibung
'
Me.txtBeschreibung.Location = New System.Drawing.Point(105, 69)
Me.txtBeschreibung.Multiline = True
Me.txtBeschreibung.Name = "txtBeschreibung"
Me.txtBeschreibung.Size = New System.Drawing.Size(274, 61)
Me.txtBeschreibung.TabIndex = 8
'
'lblBemerkung
'
Me.lblBemerkung.AutoSize = True
Me.lblBemerkung.Location = New System.Drawing.Point(9, 72)
Me.lblBemerkung.Name = "lblBemerkung"
Me.lblBemerkung.Size = New System.Drawing.Size(72, 13)
Me.lblBemerkung.TabIndex = 7
Me.lblBemerkung.Text = "Beschreibung"
'
'Label1
'
Me.Label1.AutoSize = True
Me.Label1.Location = New System.Drawing.Point(394, 98)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(45, 13)
Me.Label1.TabIndex = 11
Me.Label1.Text = "Mutierer"
'
'Label2
'
Me.Label2.AutoSize = True
Me.Label2.Location = New System.Drawing.Point(394, 73)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(56, 13)
Me.Label2.TabIndex = 10
Me.Label2.Text = "Mutiert am"
'
'lblErstelltam
'
Me.lblErstelltam.AutoSize = True
Me.lblErstelltam.Location = New System.Drawing.Point(394, 47)
Me.lblErstelltam.Name = "lblErstelltam"
Me.lblErstelltam.Size = New System.Drawing.Size(55, 13)
Me.lblErstelltam.TabIndex = 9
Me.lblErstelltam.Text = "Erstellt am"
'
'txtErstelltam
'
Me.txtErstelltam.Location = New System.Drawing.Point(455, 44)
Me.txtErstelltam.Name = "txtErstelltam"
Me.txtErstelltam.ReadOnly = True
Me.txtErstelltam.Size = New System.Drawing.Size(159, 20)
Me.txtErstelltam.TabIndex = 12
'
'txtMutiertam
'
Me.txtMutiertam.Location = New System.Drawing.Point(455, 70)
Me.txtMutiertam.Name = "txtMutiertam"
Me.txtMutiertam.ReadOnly = True
Me.txtMutiertam.Size = New System.Drawing.Size(159, 20)
Me.txtMutiertam.TabIndex = 13
'
'txtMutierer
'
Me.txtMutierer.Location = New System.Drawing.Point(455, 95)
Me.txtMutierer.Name = "txtMutierer"
Me.txtMutierer.ReadOnly = True
Me.txtMutierer.Size = New System.Drawing.Size(159, 20)
Me.txtMutierer.TabIndex = 14
'
'cbAktiv
'
Me.cbAktiv.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
Me.cbAktiv.AutoSize = True
Me.cbAktiv.Location = New System.Drawing.Point(455, 123)
Me.cbAktiv.Name = "cbAktiv"
Me.cbAktiv.Size = New System.Drawing.Size(15, 14)
Me.cbAktiv.TabIndex = 15
Me.cbAktiv.UseVisualStyleBackColor = True
'
'lblAktiv
'
Me.lblAktiv.AutoSize = True
Me.lblAktiv.Location = New System.Drawing.Point(394, 123)
Me.lblAktiv.Name = "lblAktiv"
Me.lblAktiv.Size = New System.Drawing.Size(31, 13)
Me.lblAktiv.TabIndex = 16
Me.lblAktiv.Text = "Aktiv"
'
'lblParent
'
Me.lblParent.AutoSize = True
Me.lblParent.Location = New System.Drawing.Point(176, 151)
Me.lblParent.Name = "lblParent"
Me.lblParent.Size = New System.Drawing.Size(38, 13)
Me.lblParent.TabIndex = 17
Me.lblParent.Text = "Parent"
'
'txtParent
'
Me.txtParent.Location = New System.Drawing.Point(218, 148)
Me.txtParent.Name = "txtParent"
Me.txtParent.ReadOnly = True
Me.txtParent.Size = New System.Drawing.Size(161, 20)
Me.txtParent.TabIndex = 18
'
'GroupBox2
'
Me.GroupBox2.Controls.Add(Me.cbCID)
Me.GroupBox2.Controls.Add(Me.lblCID)
Me.GroupBox2.Controls.Add(Me.ToolStrip1)
Me.GroupBox2.Controls.Add(Me.txtBezeichnung)
Me.GroupBox2.Controls.Add(Me.txtParent)
Me.GroupBox2.Controls.Add(Me.lblFunktionsnummer)
Me.GroupBox2.Controls.Add(Me.lblParent)
Me.GroupBox2.Controls.Add(Me.txtFunktionsnummer)
Me.GroupBox2.Controls.Add(Me.lblAktiv)
Me.GroupBox2.Controls.Add(Me.lblFunktionsstelle)
Me.GroupBox2.Controls.Add(Me.cbAktiv)
Me.GroupBox2.Controls.Add(Me.txtFunktionsstelle)
Me.GroupBox2.Controls.Add(Me.txtMutierer)
Me.GroupBox2.Controls.Add(Me.lblBeschreibung)
Me.GroupBox2.Controls.Add(Me.txtMutiertam)
Me.GroupBox2.Controls.Add(Me.lblBemerkung)
Me.GroupBox2.Controls.Add(Me.txtErstelltam)
Me.GroupBox2.Controls.Add(Me.txtBeschreibung)
Me.GroupBox2.Controls.Add(Me.Label1)
Me.GroupBox2.Controls.Add(Me.lblErstelltam)
Me.GroupBox2.Controls.Add(Me.Label2)
Me.GroupBox2.Dock = System.Windows.Forms.DockStyle.Top
Me.GroupBox2.Location = New System.Drawing.Point(0, 0)
Me.GroupBox2.Name = "GroupBox2"
Me.GroupBox2.Size = New System.Drawing.Size(631, 203)
Me.GroupBox2.TabIndex = 20
Me.GroupBox2.TabStop = False
Me.GroupBox2.Text = "Allgemein"
'
'GroupBox1
'
Me.GroupBox1.Controls.Add(Me.C1Mitarbeiter)
Me.GroupBox1.Dock = System.Windows.Forms.DockStyle.Fill
Me.GroupBox1.Location = New System.Drawing.Point(0, 0)
Me.GroupBox1.Name = "GroupBox1"
Me.GroupBox1.Size = New System.Drawing.Size(631, 267)
Me.GroupBox1.TabIndex = 22
Me.GroupBox1.TabStop = False
Me.GroupBox1.Text = "Mitarbeiter"
'
'C1Mitarbeiter
'
Me.C1Mitarbeiter.AllowDrop = True
Me.C1Mitarbeiter.AlternatingRows = True
Me.C1Mitarbeiter.Dock = System.Windows.Forms.DockStyle.Fill
Me.C1Mitarbeiter.FetchRowStyles = True
Me.C1Mitarbeiter.FilterBar = True
Me.C1Mitarbeiter.GroupByCaption = "Drag a column header here to group by that column"
Me.C1Mitarbeiter.Images.Add(CType(resources.GetObject("C1Mitarbeiter.Images"), System.Drawing.Image))
Me.C1Mitarbeiter.Location = New System.Drawing.Point(3, 16)
Me.C1Mitarbeiter.Name = "C1Mitarbeiter"
Me.C1Mitarbeiter.PreviewInfo.Location = New System.Drawing.Point(0, 0)
Me.C1Mitarbeiter.PreviewInfo.Size = New System.Drawing.Size(0, 0)
Me.C1Mitarbeiter.PreviewInfo.ZoomFactor = 75.0R
Me.C1Mitarbeiter.PrintInfo.PageSettings = CType(resources.GetObject("C1Mitarbeiter.PrintInfo.PageSettings"), System.Drawing.Printing.PageSettings)
Me.C1Mitarbeiter.Size = New System.Drawing.Size(625, 248)
Me.C1Mitarbeiter.TabAction = C1.Win.C1TrueDBGrid.TabActionEnum.ColumnNavigation
Me.C1Mitarbeiter.TabIndex = 10
Me.C1Mitarbeiter.Text = "C1TrueDBGrid1"
Me.C1Mitarbeiter.PropBag = resources.GetString("C1Mitarbeiter.PropBag")
'
'SplitContainer1
'
Me.SplitContainer1.Dock = System.Windows.Forms.DockStyle.Fill
Me.SplitContainer1.Location = New System.Drawing.Point(0, 203)
Me.SplitContainer1.Name = "SplitContainer1"
Me.SplitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal
'
'SplitContainer1.Panel1
'
Me.SplitContainer1.Panel1.Controls.Add(Me.Beziehungen1)
'
'SplitContainer1.Panel2
'
Me.SplitContainer1.Panel2.Controls.Add(Me.GroupBox1)
Me.SplitContainer1.Size = New System.Drawing.Size(631, 481)
Me.SplitContainer1.SplitterDistance = 210
Me.SplitContainer1.TabIndex = 21
'
'Beziehungen1
'
Me.Beziehungen1.ConnectionString = Nothing
Me.Beziehungen1.Dock = System.Windows.Forms.DockStyle.Fill
Me.Beziehungen1.KeyValue = 0
Me.Beziehungen1.Location = New System.Drawing.Point(0, 0)
Me.Beziehungen1.Mitarbeiternr = 0
Me.Beziehungen1.Name = "Beziehungen1"
Me.Beziehungen1.Size = New System.Drawing.Size(631, 210)
Me.Beziehungen1.TabIndex = 0
Me.Beziehungen1.TempFilePath = Nothing
Me.Beziehungen1.Type = Nothing
'
'lblCID
'
Me.lblCID.AutoSize = True
Me.lblCID.Location = New System.Drawing.Point(176, 177)
Me.lblCID.Name = "lblCID"
Me.lblCID.Size = New System.Drawing.Size(66, 13)
Me.lblCID.TabIndex = 19
Me.lblCID.Text = "CID-relevant"
'
'cbCID
'
Me.cbCID.AutoSize = True
Me.cbCID.Location = New System.Drawing.Point(248, 177)
Me.cbCID.Name = "cbCID"
Me.cbCID.Size = New System.Drawing.Size(15, 14)
Me.cbCID.TabIndex = 20
Me.cbCID.UseVisualStyleBackColor = True
'
'BEA_FunktionDetail
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.Controls.Add(Me.SplitContainer1)
Me.Controls.Add(Me.GroupBox2)
Me.Name = "BEA_FunktionDetail"
Me.Size = New System.Drawing.Size(631, 684)
Me.ToolStrip1.ResumeLayout(False)
Me.ToolStrip1.PerformLayout()
Me.GroupBox2.ResumeLayout(False)
Me.GroupBox2.PerformLayout()
Me.GroupBox1.ResumeLayout(False)
CType(Me.C1Mitarbeiter, System.ComponentModel.ISupportInitialize).EndInit()
Me.SplitContainer1.Panel1.ResumeLayout(False)
Me.SplitContainer1.Panel2.ResumeLayout(False)
Me.SplitContainer1.ResumeLayout(False)
Me.ResumeLayout(False)
End Sub
Friend WithEvents ToolStrip1 As System.Windows.Forms.ToolStrip
Friend WithEvents ToolStripButton1 As System.Windows.Forms.ToolStripButton
Friend WithEvents lblFunktionsnummer As System.Windows.Forms.Label
Friend WithEvents txtFunktionsnummer As System.Windows.Forms.TextBox
Friend WithEvents txtFunktionsstelle As System.Windows.Forms.TextBox
Friend WithEvents lblFunktionsstelle As System.Windows.Forms.Label
Friend WithEvents txtBezeichnung As System.Windows.Forms.TextBox
Friend WithEvents lblBeschreibung As System.Windows.Forms.Label
Friend WithEvents txtBeschreibung As System.Windows.Forms.TextBox
Friend WithEvents lblBemerkung As System.Windows.Forms.Label
Friend WithEvents Label1 As System.Windows.Forms.Label
Friend WithEvents Label2 As System.Windows.Forms.Label
Friend WithEvents lblErstelltam As System.Windows.Forms.Label
Friend WithEvents txtErstelltam As System.Windows.Forms.TextBox
Friend WithEvents txtMutiertam As System.Windows.Forms.TextBox
Friend WithEvents txtMutierer As System.Windows.Forms.TextBox
Friend WithEvents cbAktiv As System.Windows.Forms.CheckBox
Friend WithEvents lblAktiv As System.Windows.Forms.Label
Friend WithEvents lblParent As System.Windows.Forms.Label
Friend WithEvents txtParent As System.Windows.Forms.TextBox
Friend WithEvents GroupBox2 As System.Windows.Forms.GroupBox
Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
Friend WithEvents C1Mitarbeiter As C1.Win.C1TrueDBGrid.C1TrueDBGrid
Friend WithEvents SplitContainer1 As System.Windows.Forms.SplitContainer
Friend WithEvents Beziehungen1 As _MyBeziehungen.Beziehungen
Friend WithEvents cbCID As System.Windows.Forms.CheckBox
Friend WithEvents lblCID As System.Windows.Forms.Label
End Class

View File

@@ -0,0 +1,180 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="ToolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="ToolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKRSURBVDhPrZDLT1NBHIUnaaILE0NcmLAiKL4oCAVKy9tC
UAKUlocKKKCADzBB3LDgHyBpQoiYYFygCTviopUUQ2m1YAsXWsra9wv6oBRoqSQilOPMcKFKXHqTL7mT
Oef7zQz5L199Xf1Ga3MLzBPTWPCuYtG3BvfSGjz+ILzLIfgCIfgDQSyvBDFhE9De1o4H9zs3xDohjQ2N
aKLYZ1xY8K//xeJyGO5AGJ6VMHyrPzDjnAcbdvf2HYh1Qm423QBDcMxjO7JzgAi2tiP4tbWNn5tbdMgc
z95qaY0KGq5dB+ON4MS3peAuviC+Ur7Q63z2ruGTZxUf3Suw2md5lknEOn2D2jowzJMCvPSoe3gC6/T4
7BohfPeHuHDMOsWzTCLWCblScxmMUYsNrg9ezFNc7xkezFGc7yhv3ZilvDBN8mz91dqooLqyCoxHT55B
PzaJEbMdxlfTGH0twEgZsUzBYLLh+UsrHj5+yrNMItYJ0aor8E8qNFEO7FVrK6MCdWkZ/kRTrkaVRstD
NXQag61ZUV1Wvp8R64SUFF8Eo/RSCaxWK5xOJ8fhcHDYvyAIyFYooZDL97NinZDC/AIwiguLYLFYUJCX
D2WmAna7HTabjUvHx8dRkJuHnKxsqGi26IIqKshRZoGRn50DMw2mp8qQLJXCZDLBaDRCr9djeHgYWVSq
yJAjl0noELFOSIYsbVMuS+MBg8GA0ycTcCI+npeGhoYwODiIgYEBpCQlI0WahMy0dCipSKwTEnM05l7y
ucRIekoqD++V+vv70dvbC51Oh56eHpyh4rMJp3A+UcpEO7R6ZNdAyDGJRFIaFxdX1d3d3UwLbX19fR2U
TiroYOuurq6m2OOx2kMSiYZB8ypCyOHfLUMVhzELikEAAAAASUVORK5CYII=
</value>
</data>
<data name="C1Mitarbeiter.Images" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAA0SURBVChTdYkBCgAgDAL9/6eLIsd0eSCKhw/r9aCLtC88
vAdHMEIXKUIUhMK76EfagglgA6CqHOQpL6GyAAAAAElFTkSuQmCC
</value>
</data>
<data name="C1Mitarbeiter.PrintInfo.PageSettings" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFFTeXN0ZW0uRHJhd2luZywgVmVyc2lvbj0yLjAuMC4wLCBDdWx0
dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWIwM2Y1ZjdmMTFkNTBhM2EFAQAAACRTeXN0ZW0uRHJh
d2luZy5QcmludGluZy5QYWdlU2V0dGluZ3MHAAAAD3ByaW50ZXJTZXR0aW5ncwVjb2xvcglwYXBlclNp
emULcGFwZXJTb3VyY2URcHJpbnRlclJlc29sdXRpb24JbGFuZHNjYXBlB21hcmdpbnMEBAQEBAQEJ1N5
c3RlbS5EcmF3aW5nLlByaW50aW5nLlByaW50ZXJTZXR0aW5ncwIAAAAgU3lzdGVtLkRyYXdpbmcuUHJp
bnRpbmcuVHJpU3RhdGUCAAAAIVN5c3RlbS5EcmF3aW5nLlByaW50aW5nLlBhcGVyU2l6ZQIAAAAjU3lz
dGVtLkRyYXdpbmcuUHJpbnRpbmcuUGFwZXJTb3VyY2UCAAAAKVN5c3RlbS5EcmF3aW5nLlByaW50aW5n
LlByaW50ZXJSZXNvbHV0aW9uAgAAACBTeXN0ZW0uRHJhd2luZy5QcmludGluZy5UcmlTdGF0ZQIAAAAf
U3lzdGVtLkRyYXdpbmcuUHJpbnRpbmcuTWFyZ2lucwIAAAACAAAACQMAAAAF/P///yBTeXN0ZW0uRHJh
d2luZy5QcmludGluZy5UcmlTdGF0ZQEAAAAFdmFsdWUAAgIAAAAACgoKAfv////8////AAkGAAAABQMA
AAAnU3lzdGVtLkRyYXdpbmcuUHJpbnRpbmcuUHJpbnRlclNldHRpbmdzEgAAAAtwcmludGVyTmFtZQpk
cml2ZXJOYW1lCm91dHB1dFBvcnQLcHJpbnRUb0ZpbGUUcHJpbnREaWFsb2dEaXNwbGF5ZWQKZXh0cmFi
eXRlcwlleHRyYWluZm8GY29waWVzBmR1cGxleAdjb2xsYXRlE2RlZmF1bHRQYWdlU2V0dGluZ3MIZnJv
bVBhZ2UGdG9QYWdlB21heFBhZ2UHbWluUGFnZQpwcmludFJhbmdlDGRldm1vZGVieXRlcw1jYWNoZWRE
ZXZtb2RlAQEBAAAABwAEBAQAAAAABAAHAQEHAgceU3lzdGVtLkRyYXdpbmcuUHJpbnRpbmcuRHVwbGV4
AgAAACBTeXN0ZW0uRHJhd2luZy5QcmludGluZy5UcmlTdGF0ZQIAAAAkU3lzdGVtLkRyYXdpbmcuUHJp
bnRpbmcuUGFnZVNldHRpbmdzAgAAAAgICAgiU3lzdGVtLkRyYXdpbmcuUHJpbnRpbmcuUHJpbnRSYW5n
ZQIAAAAHAgIAAAAKBgcAAAAACQcAAAAAAAAACv//Bfj///8eU3lzdGVtLkRyYXdpbmcuUHJpbnRpbmcu
RHVwbGV4AQAAAAd2YWx1ZV9fAAgCAAAA/////wH3/////P///wAJCgAAAAAAAAAAAAAADycAAAAAAAAF
9f///yJTeXN0ZW0uRHJhd2luZy5QcmludGluZy5QcmludFJhbmdlAQAAAAd2YWx1ZV9fAAgCAAAAAAAA
AAAACgUGAAAAH1N5c3RlbS5EcmF3aW5nLlByaW50aW5nLk1hcmdpbnMIAAAABGxlZnQFcmlnaHQDdG9w
BmJvdHRvbQpkb3VibGVMZWZ0C2RvdWJsZVJpZ2h0CWRvdWJsZVRvcAxkb3VibGVCb3R0b20AAAAAAAAA
AAgICAgGBgYGAgAAAGQAAABkAAAAZAAAAGQAAAAAAAAAAABZQAAAAAAAAFlAAAAAAAAAWUAAAAAAAABZ
QAEKAAAAAQAAAAkDAAAAAfP////8////AAoKCgHy/////P///wAJDwAAAAEPAAAABgAAAGQAAABkAAAA
ZAAAAGQAAAAAAAAAAABZQAAAAAAAAFlAAAAAAAAAWUAAAAAAAABZQAs=
</value>
</data>
<data name="C1Mitarbeiter.PropBag" xml:space="preserve">
<value>&lt;?xml version="1.0"?&gt;&lt;Blob&gt;&lt;Styles type="C1.Win.C1TrueDBGrid.Design.ContextWrapper"&gt;&lt;Data&gt;HighlightRow{ForeColor:HighlightText;BackColor:Highlight;}Style8{}Style7{}Style2{}EvenRow{BackColor:White;}Normal{}RecordSelector{AlignImage:Center;}Style4{}OddRow{BackColor:224, 224, 224;}Style3{}Footer{}Style14{}FilterBar{BackColor:255, 255, 192;}Heading{AlignVert:Center;Border:Flat,ControlDark,0, 1, 0, 1;ForeColor:ControlText;BackColor:Control;Wrap:True;}Style5{}Editor{}Style10{AlignHorz:Near;}Style16{}Selected{ForeColor:HighlightText;BackColor:Highlight;}Style15{}Style13{}Style12{}Style11{}Group{Border:None,,0, 0, 0, 0;AlignVert:Center;BackColor:ControlDark;}Style9{}FilterWatermark{ForeColor:InfoText;BackColor:Info;}Style1{}Caption{AlignHorz:Center;}Style6{}Inactive{ForeColor:InactiveCaptionText;BackColor:InactiveCaption;}&lt;/Data&gt;&lt;/Styles&gt;&lt;Splits&gt;&lt;C1.Win.C1TrueDBGrid.MergeView Name="" AlternatingRowStyle="True" CaptionHeight="17" ColumnCaptionHeight="17" ColumnFooterHeight="17" FetchRowStyles="True" FilterBar="True" MarqueeStyle="DottedCellBorder" RecordSelectorWidth="17" DefRecSelWidth="17" VerticalScrollGroup="1" HorizontalScrollGroup="1"&gt;&lt;CaptionStyle parent="Style2" me="Style10" /&gt;&lt;EditorStyle parent="Editor" me="Style5" /&gt;&lt;EvenRowStyle parent="EvenRow" me="Style8" /&gt;&lt;FilterBarStyle parent="FilterBar" me="Style13" /&gt;&lt;FilterWatermarkStyle parent="FilterWatermark" me="Style14" /&gt;&lt;FooterStyle parent="Footer" me="Style3" /&gt;&lt;GroupStyle parent="Group" me="Style12" /&gt;&lt;HeadingStyle parent="Heading" me="Style2" /&gt;&lt;HighLightRowStyle parent="HighlightRow" me="Style7" /&gt;&lt;InactiveStyle parent="Inactive" me="Style4" /&gt;&lt;OddRowStyle parent="OddRow" me="Style9" /&gt;&lt;RecordSelectorStyle parent="RecordSelector" me="Style11" /&gt;&lt;SelectedStyle parent="Selected" me="Style6" /&gt;&lt;Style parent="Normal" me="Style1" /&gt;&lt;ClientRect&gt;0, 0, 623, 246&lt;/ClientRect&gt;&lt;BorderSide&gt;0&lt;/BorderSide&gt;&lt;/C1.Win.C1TrueDBGrid.MergeView&gt;&lt;/Splits&gt;&lt;NamedStyles&gt;&lt;Style parent="" me="Normal" /&gt;&lt;Style parent="Normal" me="Heading" /&gt;&lt;Style parent="Heading" me="Footer" /&gt;&lt;Style parent="Heading" me="Caption" /&gt;&lt;Style parent="Heading" me="Inactive" /&gt;&lt;Style parent="Normal" me="Selected" /&gt;&lt;Style parent="Normal" me="Editor" /&gt;&lt;Style parent="Normal" me="HighlightRow" /&gt;&lt;Style parent="Normal" me="EvenRow" /&gt;&lt;Style parent="Normal" me="OddRow" /&gt;&lt;Style parent="Heading" me="RecordSelector" /&gt;&lt;Style parent="Normal" me="FilterBar" /&gt;&lt;Style parent="FilterBar" me="FilterWatermark" /&gt;&lt;Style parent="Caption" me="Group" /&gt;&lt;/NamedStyles&gt;&lt;vertSplits&gt;1&lt;/vertSplits&gt;&lt;horzSplits&gt;1&lt;/horzSplits&gt;&lt;Layout&gt;None&lt;/Layout&gt;&lt;DefaultRecSelWidth&gt;17&lt;/DefaultRecSelWidth&gt;&lt;ClientArea&gt;0, 0, 623, 246&lt;/ClientArea&gt;&lt;PrintPageHeaderStyle parent="" me="Style15" /&gt;&lt;PrintPageFooterStyle parent="" me="Style16" /&gt;&lt;/Blob&gt;</value>
</data>
</root>

View File

@@ -0,0 +1,202 @@
Imports System.ComponentModel
Imports System.Data.SqlClient
Imports System.Data.SqlTypes
Public Class BEA_FunktionDetail
#Region "Properties"
Dim m_ConnectionString As String
<DefaultValue("data source=shu00;initial catalog=BEA;persist security info=False;workstation id=SHU;packet size=4096;user id=sa;password=*shu29"), Description("ConnectionString"), Category("Options")> _
Public Property ConnectionString() As String
Get
ConnectionString = m_ConnectionString
End Get
Set(ByVal Value As String)
If m_ConnectionString <> Value Then
m_ConnectionString = Value
Globals.conn.sConnectionString = m_ConnectionString
End If
End Set
End Property
Dim m_FunktionNr As Integer
<DefaultValue(1), Description("ThemaNr"), Category("Options")> _
Public Property FunktionNr As Integer
Get
FunktionNr = m_FunktionNr
End Get
Set(value As Integer)
If m_FunktionNr <> value Then
m_FunktionNr = value
Try
Refresh_Details()
Catch ex As Exception
MsgBox(ex.Message)
End Try
End If
End Set
End Property
Dim m_Mitarbeiternr As Integer
<DefaultValue(1), Description("Mitarbeiternr"), Category("Options")> _
Public Property Mitarbeiternr As Integer
Get
Mitarbeiternr = m_Mitarbeiternr
End Get
Set(value As Integer)
If m_Mitarbeiternr <> value Then
m_Mitarbeiternr = value
Globals.Mitarbeiternr = m_Mitarbeiternr
End If
End Set
End Property
Dim m_TempFilePath As String
<DefaultValue("h:\tssettings\themenmgmt"), Description("Temp Filepath"), Category("Options")> _
Public Property TempFilePath As String
Get
TempFilePath = m_TempFilePath
End Get
Set(value As String)
If m_TempFilePath <> value Then
m_TempFilePath = value
Globals.TmpFilepath = m_TempFilePath
End If
End Set
End Property
Dim m_Show_Toolbar As Boolean = True
<DefaultValue(True), Description("Dateimenu anzeigen"), Category("Options")> _
Public Property Show_Toolbar() As Boolean
Get
Show_Toolbar = m_Show_Toolbar
End Get
Set(ByVal Value As Boolean)
If m_Show_Toolbar <> Value Then
m_Show_Toolbar = Value
Set_ShowToolbar()
End If
End Set
End Property
Dim m_Show_Editfunctions As Boolean = True
<DefaultValue(True), Description("Editfunktionen anzeigen"), Category("Options")> _
Public Property Show_Editfunctions() As Boolean
Get
Show_Editfunctions = m_Show_Editfunctions
End Get
Set(ByVal Value As Boolean)
If m_Show_Editfunctions <> Value Then
m_Show_Editfunctions = Value
Set_EditFunctions()
End If
End Set
End Property
#End Region
#Region "Deklarationen"
Dim FS As New DB.clsMyFunktionsstelle
Event Beziehungen_DoubleClicked(ByVal keyvalue As Integer, ByVal Typ As String, ByVal NewWindows As Boolean)
#End Region
Sub Refresh_Details()
get_data()
End Sub
Sub Set_EditFunctions()
End Sub
Sub Set_ShowToolbar()
End Sub
Sub New()
InitializeComponent()
Me.ConnectionString = "data source=shu00;initial catalog=BEA;persist security info=False;workstation id=SHU;packet size=4096;user id=sa;password=*shu29"
Me.Mitarbeiternr = 1
Me.FunktionNr = -1
Me.TempFilePath = "h:\tssettings\bea"
Globals.conn.sConnectionString = Me.ConnectionString
Globals.sConnectionString = Me.ConnectionString
Globals.Mitarbeiternr = Mitarbeiternr
Globals.TmpFilepath = TempFilePath
Set_ShowToolbar()
Set_EditFunctions()
Me.Beziehungen1.ConnectionString = Me.ConnectionString
Me.Beziehungen1.Mitarbeiternr = Me.Mitarbeiternr
Me.Beziehungen1.TempFilePath = Me.TempFilePath
End Sub
#Region "Daten"
Sub get_data()
FS.Get_Data(Me.FunktionNr)
If FS.sFunktionsnummer.IsNull Then Me.txtFunktionsnummer.Text = "" Else Me.txtFunktionsnummer.Text = FS.sFunktionsnummer.Value
If FS.sFunktionsstelle.IsNull Then Me.txtFunktionsstelle.Text = "" Else Me.txtFunktionsstelle.Text = FS.sFunktionsstelle.Value
If FS.sBezeichnung.IsNull Then Me.txtBezeichnung.Text = "" Else Me.txtBezeichnung.Text = FS.sBezeichnung.Value
If FS.sBeschreibung.IsNull Then Me.txtBeschreibung.Text = "" Else Me.txtBeschreibung.Text = FS.sBeschreibung.Value
Me.txtMutiertam.Text = FS.daMutiert_am.ToString
Me.txtErstelltam.Text = FS.daErstellt_am.ToString
Me.txtMutierer.Text = FS.MutiererText
Me.cbAktiv.Checked = FS.bAktiv.Value = True
Me.txtParent.Text = FS.Get_Parent
Dim dt As New DataTable
dt = FS.Get_Mitarbeiterdaten()
Me.C1Mitarbeiter.DataSource = Nothing
Me.C1Mitarbeiter.DataSource = dt
Me.C1Mitarbeiter.DataMember = dt.TableName
Me.Beziehungen1.Type = "Funktionstelle"
Me.Beziehungen1.KeyValue = FS.iFunktionstelleNr.Value
End Sub
Sub Save_Data()
FS.sBezeichnung = New SqlString(CType(Me.txtBezeichnung.Text, String))
FS.sBeschreibung = New SqlString(CType(Me.txtBeschreibung.Text, String))
FS.sFunktionsnummer = New SqlString(CType(Me.txtFunktionsnummer.Text, String))
FS.sFunktionsstelle = New SqlString(CType(Me.txtFunktionsstelle.Text, String))
FS.bAktiv = New SqlBoolean(CType(Me.cbAktiv.Checked, Boolean))
FS.Save_Data()
End Sub
#End Region
Private Sub ToolStripButton1_Click(sender As Object, e As EventArgs) Handles ToolStripButton1.Click
Save_Data()
End Sub
Private Sub BEA_FunktionDetail_Load(sender As Object, e As EventArgs) Handles MyBase.Load
End Sub
Private Sub GroupBox2_Enter(sender As Object, e As EventArgs) Handles GroupBox2.Enter
End Sub
Private Sub C1Beziehungen_Click(sender As Object, e As EventArgs)
End Sub
Private Sub Beziehungen1_C1Bezeihungen_DoubleClicked(keyvalue As Integer, Typ As String, NewWindows As Boolean) Handles Beziehungen1.C1Beziehungen_DoubleClicked
RaiseEvent Beziehungen_DoubleClicked(keyvalue, Typ, NewWindows)
End Sub
End Class

View File

@@ -0,0 +1,289 @@
' ///////////////////////////////////////////////////////////////////////////
' // Description: Connection Provider class for Database connection sharing
' // Generated by LLBLGen v1.21.2003.712 Final on: Dienstag, 1. Januar 2013, 19:36:38
' // This class implements IDisposable.
' ///////////////////////////////////////////////////////////////////////////
Imports System
Imports System.Configuration
Imports System.Data
Imports System.Data.SqlClient
Imports System.Collections
Namespace DB
' /// <summary>
' /// Purpose: provides a SqlConnection object which can be shared among data-access tier objects
' /// to provide a way to do ADO.NET transaction coding without the hassling with SqlConnection objects
' /// on a high level.
' /// </summary>
Public Class clsConnectionProvider
Implements IDisposable
#Region " Class Member Declarations "
Private m_scoDBConnection As SqlConnection
Private m_bIsTransactionPending, m_bIsDisposed As Boolean
Private m_stCurrentTransaction As SqlTransaction
Private m_alSavePoints As ArrayList
#End Region
Public Sub New()
' // Init the class
InitClass()
End Sub
' /// <summary>
' /// Purpose: Implements the IDispose' method Dispose.
' /// </summary>
Overloads Public Sub Dispose() Implements IDisposable.Dispose
Dispose(True)
GC.SuppressFinalize(Me)
End Sub
' /// <summary>
' /// Purpose: Implements the Dispose functionality.
' /// </summary>
Overridable Overloads Protected Sub Dispose(ByVal bIsDisposing As Boolean)
' // Check to see if Dispose has already been called.
If Not m_bIsDisposed Then
If bIsDisposing Then
' // Dispose managed resources.
If Not (m_stCurrentTransaction Is Nothing) Then
m_stCurrentTransaction.Dispose()
m_stCurrentTransaction = Nothing
End If
If Not (m_scoDBConnection Is Nothing) Then
' // closing the connection will abort (rollback) any pending transactions
m_scoDBConnection.Close()
m_scoDBConnection.Dispose()
m_scoDBConnection = Nothing
End If
End If
End If
m_bIsDisposed = True
End Sub
' /// <summary>
' /// Purpose: Initializes class members.
' /// </summary>
Private Sub InitClass()
' // Create all the objects and initialize other members.
m_scoDBConnection = new SqlConnection()
m_bIsDisposed = False
m_stCurrentTransaction = Nothing
m_bIsTransactionPending = False
m_alSavePoints = new ArrayList()
End Sub
' /// <summary>
' /// Purpose: Opens the connection object.
' /// </summary>
' /// <returns>True, if succeeded, otherwise an Exception exception is thrown.</returns>
Public Function OpenConnection() As Boolean
Try
If (m_scoDBConnection.State And ConnectionState.Open) > 0 Then
' // It's already open.
Throw New Exception("OpenConnection::Connection is already open.")
End If
m_scoDBConnection.Open()
m_bIsTransactionPending = False
m_alSavePoints.Clear()
Return True
Catch ex As Exception
' // bubble exception
Throw ex
End Try
End Function
' /// <summary>
' /// Purpose: Starts a new ADO.NET transaction using the open connection object of this class.
' /// </summary>
' /// <param name="sTransactionName">Name of the transaction to start</param>
' /// <returns>True, if transaction is started correctly, otherwise an Exception exception is thrown</returns>
Public Function BeginTransaction(sTransactionName As String) As Boolean
Try
If m_bIsTransactionPending Then
' // no nested transactions allowed.
Throw New Exception("BeginTransaction::Already transaction pending. Nesting not allowed")
End If
If (m_scoDBConnection.State And ConnectionState.Open) = 0 Then
' // no open connection
Throw New Exception("BeginTransaction::Connection is not open.")
End If
' // begin the transaction and store the transaction object.
m_stCurrentTransaction = m_scoDBConnection.BeginTransaction(IsolationLevel.ReadCommitted, sTransactionName)
m_bIsTransactionPending = True
Return True
Catch ex As Exception
' // bubble exception
Throw ex
End Try
End Function
' /// <summary>
' /// Purpose: Commits a pending transaction on the open connection object of this class.
' /// </summary>
' /// <returns>True, if commit was succesful, or an Exception exception is thrown</returns>
Public Function CommitTransaction() As Boolean
Try
If Not m_bIsTransactionPending Then
' // no transaction pending
Throw New Exception("CommitTransaction::No transaction pending.")
End If
If (m_scoDBConnection.State And ConnectionState.Open) = 0 Then
' // no open connection
Throw New Exception("CommitTransaction::Connection is not open.")
End if
' // commit the transaction
m_stCurrentTransaction.Commit()
m_bIsTransactionPending = False
m_stCurrentTransaction.Dispose()
m_stCurrentTransaction = Nothing
m_alSavePoints.Clear()
Return True
Catch ex As Exception
' // bubble exception
Throw ex
End Try
End Function
' /// <summary>
' /// Purpose: Rolls back a pending transaction on the open connection object of this class,
' /// or rolls back to the savepoint with the given name. Savepoints are created with SaveTransaction().
' /// </summary>
' /// <param name="sTransactionToRollback">Name of transaction to roll back. Can be name of savepoint</param>
' /// <returns>True, if rollback was succesful, or an Exception exception is thrown</returns>
Public Function RollbackTransaction(sTransactionToRollback As String) As Boolean
Try
If Not m_bIsTransactionPending Then
' // no transaction pending
Throw New Exception("RollbackTransaction::No transaction pending.")
End If
If (m_scoDBConnection.State And ConnectionState.Open) = 0 Then
' // no open connection
Throw New Exception("RollbackTransaction::Connection is not open.")
End If
' // rollback the transaction
m_stCurrentTransaction.Rollback(sTransactionToRollback)
' // if this wasn't a savepoint, we've rolled back the complete transaction, so we
' // can clean it up.
If Not m_alSavePoints.Contains(sTransactionToRollback) Then
' // it's not a savepoint
m_bIsTransactionPending = False
m_stCurrentTransaction.Dispose()
m_stCurrentTransaction = Nothing
m_alSavePoints.Clear()
End If
Return True
Catch ex As Exception
' // bubble exception
Throw ex
End Try
End Function
' /// <summary>
' /// Purpose: Saves a pending transaction on the open connection object of this class to a 'savepoint'
' /// with the given name.
' /// When a rollback is issued, the caller can rollback to this savepoint or roll back the complete transaction.
' /// </summary>
' /// <param name="sSavePointName">Name of the savepoint to store the current transaction under.</param>
' /// <returns>True, if save was succesful, or an Exception exception is thrown</returns>
Public Function SaveTransaction(sSavePointName As String) As Boolean
Try
If Not m_bIsTransactionPending Then
' // no transaction pending
Throw New Exception("SaveTransaction::No transaction pending.")
End If
If (m_scoDBConnection.State And ConnectionState.Open) = 0 Then
' // no open connection
Throw New Exception("SaveTransaction::Connection is not open.")
End If
' // save the transaction
m_stCurrentTransaction.Save(sSavePointName)
' // Store the savepoint in the list.
m_alSavePoints.Add(sSavePointName)
Return True
Catch ex As Exception
' // bubble exception
Throw ex
End Try
End Function
' /// <summary>
' /// Purpose: Closes the open connection. Depending on bCommitPendingTransactions, a pending
' /// transaction is commited, or aborted.
' /// </summary>
' /// <param name="bCommitPendingTransaction">Flag for what to do when a transaction is still pending. True
' /// will commit the current transaction, False will abort (rollback) the complete current transaction.</param>
' /// <returns>True, if close was succesful, False if connection was already closed, or an Exception exception is thrown when
' /// an error occurs</returns>
Public Function CloseConnection(bCommitPendingTransaction As Boolean) As Boolean
Try
If (m_scoDBConnection.State And ConnectionState.Open) = 0 Then
' // No open connection
Return False
End If
If m_bIsTransactionPending Then
If bCommitPendingTransaction Then
' // Commit the pending transaction
m_stCurrentTransaction.Commit()
Else
' // Rollback the pending transaction
m_stCurrentTransaction.Rollback()
End If
m_bIsTransactionPending = False
m_stCurrentTransaction.Dispose()
m_stCurrentTransaction = Nothing
m_alSavePoints.Clear()
End If
' // close the connection
m_scoDBConnection.Close()
Return True
Catch ex As Exception
' // bubble exception
Throw ex
End Try
End Function
#Region " Class Property Declarations "
Public ReadOnly Property stCurrentTransaction() As SqlTransaction
Get
Return m_stCurrentTransaction
End Get
End Property
Public ReadOnly Property bIsTransactionPending() As Boolean
Get
Return m_bIsTransactionPending
End Get
End Property
Public ReadOnly Property scoDBConnection() As SqlConnection
Get
Return m_scoDBConnection
End Get
End Property
Public WriteOnly Property sConnectionString() As String
Set (ByVal Value As String)
m_scoDBConnection.ConnectionString = Value
End Set
End Property
#End Region
End Class
End Namespace

View File

@@ -0,0 +1,208 @@
' //////////////////////////////////////////////////////////////////////////////////////////
' // Description: Base class for Database Interaction.
' // Generated by LLBLGen v1.21.2003.712 Final on: Dienstag, 1. Januar 2013, 19:36:38
' // Because this class implements IDisposable, derived classes shouldn't do so.
' //////////////////////////////////////////////////////////////////////////////////////////
Imports System
Imports System.Configuration
Imports System.Data
Imports System.Data.SqlClient
Imports System.Data.SqlTypes
Namespace DB
' /// <summary>
' /// Purpose: Error Enums used by this LLBL library.
' /// </summary>
Public Enum LLBLError
AllOk
' // Add more here (check the comma's!)
End Enum
' /// <summary>
' /// Purpose: General interface of the API generated. Contains only common methods of all classes.
' /// </summary>
Public Interface ICommonDBAccess
Function Insert() As Boolean
Function Update() As Boolean
Function Delete() As Boolean
Function SelectOne() As DataTable
Function SelectAll() As DataTable
End Interface
' /// <summary>
' /// Purpose: Abstract base class for Database Interaction classes.
' /// </summary>
Public MustInherit Class clsDBInteractionBase
Implements IDisposable
Implements ICommonDBAccess
#Region " Class Member Declarations "
Protected m_scoMainConnection As SqlConnection
Protected m_iRowsAffected As Integer
Protected m_iErrorCode As SqlInt32
Protected m_bMainConnectionIsCreatedLocal As Boolean
Protected m_cpMainConnectionProvider As clsConnectionProvider
Private m_sConnectionString As String
Private m_bIsDisposed As Boolean
#End Region
' /// <summary>
' /// Purpose: Class constructor.
' /// </summary>
Public Sub New()
' // Initialize the class' members.
InitClass()
End Sub
' /// <summary>
' /// Purpose: Initializes class members.
' /// </summary>
Private Sub InitClass()
' // create all the objects and initialize other members.
m_scoMainConnection = new SqlConnection()
m_bMainConnectionIsCreatedLocal = True
m_cpMainConnectionProvider = Nothing
m_iErrorCode = New SqlInt32(LLBLError.AllOk)
m_bIsDisposed = False
End Sub
' /// <summary>
' /// Purpose: Implements the IDispose' method Dispose.
' /// </summary>
Overloads Public Sub Dispose() Implements IDisposable.Dispose
Dispose(True)
GC.SuppressFinalize(Me)
End Sub
' /// <summary>
' /// Purpose: Implements the Dispose functionality.
' /// </summary>
Overridable Overloads Protected Sub Dispose(ByVal bIsDisposing As Boolean)
' // Check to see if Dispose has already been called.
If Not m_bIsDisposed Then
If bIsDisposing Then
' // Dispose managed resources.
If m_bMainConnectionIsCreatedLocal Then
' // Object is created in this class, so destroy it here.
m_scoMainConnection.Close()
m_scoMainConnection.Dispose()
m_bMainConnectionIsCreatedLocal = True
End If
m_cpMainConnectionProvider = Nothing
m_scoMainConnection = Nothing
End If
End If
m_bIsDisposed = True
End Sub
' /// <summary>
' /// Purpose: Implements the ICommonDBAccess.Insert() method.
' /// </summary>
Public Overridable Function Insert() As Boolean Implements ICommonDBAccess.Insert
' // No implementation, throw exception
Throw New NotImplementedException()
End Function
' /// <summary>
' /// Purpose: Implements the ICommonDBAccess.Delete() method.
' /// </summary>
Public Overridable Function Delete() As Boolean Implements ICommonDBAccess.Delete
' // No implementation, throw exception
Throw New NotImplementedException()
End Function
' /// <summary>
' /// Purpose: Implements the ICommonDBAccess.Update() method.
' /// </summary>
Public Overridable Function Update() As Boolean Implements ICommonDBAccess.Update
' // No implementation, throw exception
Throw New NotImplementedException()
End Function
' /// <summary>
' /// Purpose: Implements the ICommonDBAccess.SelectOne() method.
' /// </summary>
Public Overridable Function SelectOne() As DataTable Implements ICommonDBAccess.SelectOne
' // No implementation, throw exception
Throw New NotImplementedException()
End Function
' /// <summary>
' /// Purpose: Implements the ICommonDBAccess.SelectAll() method.
' /// </summary>
Public Overridable Function SelectAll() As DataTable Implements ICommonDBAccess.SelectAll
' // No implementation, throw exception
Throw New NotImplementedException()
End Function
#Region " Class Property Declarations "
Public WriteOnly Property cpMainConnectionProvider() As clsConnectionProvider
Set(ByVal Value As clsConnectionProvider)
If Value Is Nothing Then
' // Invalid value
Throw New ArgumentNullException("cpMainConnectionProvider", "Nothing passed as value to this property which is not allowed.")
End If
' // A connection provider object is passed to this class.
' // Retrieve the SqlConnection object, if present and create a
' // reference to it. If there is already a MainConnection object
' // referenced by the membervar, destroy that one or simply
' // remove the reference, based on the flag.
If Not (m_scoMainConnection Is Nothing) Then
' // First get rid of current connection object. Caller is responsible
If m_bMainConnectionIsCreatedLocal Then
' // Is local created object, close it and dispose it.
m_scoMainConnection.Close()
m_scoMainConnection.Dispose()
End If
' // Remove reference.
m_scoMainConnection = Nothing
End If
m_cpMainConnectionProvider = CType(Value, clsConnectionProvider)
m_scoMainConnection = m_cpMainConnectionProvider.scoDBConnection
m_bMainConnectionIsCreatedLocal = False
End Set
End Property
Public ReadOnly Property iErrorCode() As SqlInt32
Get
Return m_iErrorCode
End Get
End Property
Public Property sConnectionString() As String
Get
Return m_sConnectionString
End Get
Set (ByVal Value As String)
m_sConnectionString = Value
m_scoMainConnection.ConnectionString = m_sConnectionString
End Set
End Property
Public Readonly Property iRowsAffected() As Integer
Get
Return m_iRowsAffected
End Get
End Property
#End Region
End Class
End Namespace

View File

@@ -0,0 +1,458 @@
Imports System
Imports System.Data
Imports System.Data.SqlTypes
Imports System.Data.SqlClient
Namespace DB
Public Class clsFunktionstelle
Inherits clsDBInteractionBase
#Region " Class Member Declarations "
Private m_bAktiv As SqlBoolean
Private m_daErstellt_am, m_daMutiert_am As SqlDateTime
Private m_iSequenz, m_iMutierer, m_iCID, m_iParentID, m_iFunktionstelleNr As SqlInt32
Private m_sFunktionsstelle, m_sFunktionsnummer, m_sBeschreibung, m_sBezeichnung As SqlString
#End Region
Public Sub New()
' // Nothing for now.
End Sub
Overrides Public Function Insert() As Boolean
Dim scmCmdToExecute As SqlCommand = New SqlCommand()
scmCmdToExecute.CommandText = "dbo.[pr_Funktionstelle_Insert]"
scmCmdToExecute.CommandType = CommandType.StoredProcedure
' // Use base class' connection object
scmCmdToExecute.Connection = m_scoMainConnection
Try
scmCmdToExecute.Parameters.Add(New SqlParameter("@iFunktionstelleNr", SqlDbType.Int, 4, ParameterDirection.Input, False, 10, 0, "", DataRowVersion.Proposed, m_iFunktionstelleNr))
scmCmdToExecute.Parameters.Add(New SqlParameter("@iParentID", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iParentID))
scmCmdToExecute.Parameters.Add(New SqlParameter("@sBezeichnung", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sBezeichnung))
scmCmdToExecute.Parameters.Add(New SqlParameter("@sBeschreibung", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sBeschreibung))
scmCmdToExecute.Parameters.Add(New SqlParameter("@sFunktionsnummer", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sFunktionsnummer))
scmCmdToExecute.Parameters.Add(New SqlParameter("@sFunktionsstelle", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sFunktionsstelle))
scmCmdToExecute.Parameters.Add(New SqlParameter("@iSequenz", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iSequenz))
scmCmdToExecute.Parameters.Add(New SqlParameter("@bAktiv", SqlDbType.Bit, 1, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_bAktiv))
scmCmdToExecute.Parameters.Add(New SqlParameter("@daErstellt_am", SqlDbType.DateTime, 8, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_daErstellt_am))
scmCmdToExecute.Parameters.Add(New SqlParameter("@daMutiert_am", SqlDbType.DateTime, 8, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_daMutiert_am))
scmCmdToExecute.Parameters.Add(New SqlParameter("@iMutierer", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iMutierer))
scmCmdToExecute.Parameters.Add(New SqlParameter("@iCID", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iCID))
scmCmdToExecute.Parameters.Add(new SqlParameter("@iErrorCode", SqlDbType.Int, 4, ParameterDirection.Output, True, 10, 0, "", DataRowVersion.Proposed, m_iErrorCode))
If m_bMainConnectionIsCreatedLocal Then
' // Open connection.
m_scoMainConnection.Open()
Else
If m_cpMainConnectionProvider.bIsTransactionPending Then
scmCmdToExecute.Transaction = m_cpMainConnectionProvider.stCurrentTransaction
End If
End If
' // Execute query.
m_iRowsAffected = scmCmdToExecute.ExecuteNonQuery()
m_iErrorCode = New SqlInt32(CType(scmCmdToExecute.Parameters.Item("@iErrorCode").Value, SqlInt32))
If Not m_iErrorCode.Equals(New SqlInt32(LLBLError.AllOk)) Then
' // Throw error.
Throw New Exception("Stored Procedure 'pr_Funktionstelle_Insert' reported the ErrorCode: " & m_iErrorCode.ToString())
End If
Return True
Catch ex As Exception
' // some error occured. Bubble it to caller and encapsulate Exception object
Throw New Exception("clsFunktionstelle::Insert::Error occured.", ex)
Finally
If m_bMainConnectionIsCreatedLocal Then
' // Close connection.
m_scoMainConnection.Close()
End If
scmCmdToExecute.Dispose()
End Try
End Function
Overrides Public Function Update() As Boolean
Dim scmCmdToExecute As SqlCommand = New SqlCommand()
scmCmdToExecute.CommandText = "dbo.[pr_Funktionstelle_Update]"
scmCmdToExecute.CommandType = CommandType.StoredProcedure
' // Use base class' connection object
scmCmdToExecute.Connection = m_scoMainConnection
Try
scmCmdToExecute.Parameters.Add(New SqlParameter("@iFunktionstelleNr", SqlDbType.Int, 4, ParameterDirection.Input, False, 10, 0, "", DataRowVersion.Proposed, m_iFunktionstelleNr))
scmCmdToExecute.Parameters.Add(New SqlParameter("@iParentID", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iParentID))
scmCmdToExecute.Parameters.Add(New SqlParameter("@sBezeichnung", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sBezeichnung))
scmCmdToExecute.Parameters.Add(New SqlParameter("@sBeschreibung", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sBeschreibung))
scmCmdToExecute.Parameters.Add(New SqlParameter("@sFunktionsnummer", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sFunktionsnummer))
scmCmdToExecute.Parameters.Add(New SqlParameter("@sFunktionsstelle", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sFunktionsstelle))
scmCmdToExecute.Parameters.Add(New SqlParameter("@iSequenz", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iSequenz))
scmCmdToExecute.Parameters.Add(New SqlParameter("@bAktiv", SqlDbType.Bit, 1, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_bAktiv))
scmCmdToExecute.Parameters.Add(New SqlParameter("@daErstellt_am", SqlDbType.DateTime, 8, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_daErstellt_am))
scmCmdToExecute.Parameters.Add(New SqlParameter("@daMutiert_am", SqlDbType.DateTime, 8, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_daMutiert_am))
scmCmdToExecute.Parameters.Add(New SqlParameter("@iMutierer", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iMutierer))
scmCmdToExecute.Parameters.Add(New SqlParameter("@iCID", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iCID))
scmCmdToExecute.Parameters.Add(new SqlParameter("@iErrorCode", SqlDbType.Int, 4, ParameterDirection.Output, True, 10, 0, "", DataRowVersion.Proposed, m_iErrorCode))
If m_bMainConnectionIsCreatedLocal Then
' // Open connection.
m_scoMainConnection.Open()
Else
If m_cpMainConnectionProvider.bIsTransactionPending Then
scmCmdToExecute.Transaction = m_cpMainConnectionProvider.stCurrentTransaction
End If
End If
' // Execute query.
m_iRowsAffected = scmCmdToExecute.ExecuteNonQuery()
m_iErrorCode = New SqlInt32(CType(scmCmdToExecute.Parameters.Item("@iErrorCode").Value, SqlInt32))
If Not m_iErrorCode.Equals(New SqlInt32(LLBLError.AllOk)) Then
' // Throw error.
Throw New Exception("Stored Procedure 'pr_Funktionstelle_Update' reported the ErrorCode: " & m_iErrorCode.ToString())
End If
Return True
Catch ex As Exception
' // some error occured. Bubble it to caller and encapsulate Exception object
Throw New Exception("clsFunktionstelle::Update::Error occured.", ex)
Finally
If m_bMainConnectionIsCreatedLocal Then
' // Close connection.
m_scoMainConnection.Close()
End If
scmCmdToExecute.Dispose()
End Try
End Function
Overrides Public Function Delete() As Boolean
Dim scmCmdToExecute As SqlCommand = New SqlCommand()
scmCmdToExecute.CommandText = "dbo.[pr_Funktionstelle_Delete]"
scmCmdToExecute.CommandType = CommandType.StoredProcedure
' // Use base class' connection object
scmCmdToExecute.Connection = m_scoMainConnection
Try
scmCmdToExecute.Parameters.Add(New SqlParameter("@iFunktionstelleNr", SqlDbType.Int, 4, ParameterDirection.Input, False, 10, 0, "", DataRowVersion.Proposed, m_iFunktionstelleNr))
scmCmdToExecute.Parameters.Add(new SqlParameter("@iErrorCode", SqlDbType.Int, 4, ParameterDirection.Output, True, 10, 0, "", DataRowVersion.Proposed, m_iErrorCode))
If m_bMainConnectionIsCreatedLocal Then
' // Open connection.
m_scoMainConnection.Open()
Else
If m_cpMainConnectionProvider.bIsTransactionPending Then
scmCmdToExecute.Transaction = m_cpMainConnectionProvider.stCurrentTransaction
End If
End If
' // Execute query.
m_iRowsAffected = scmCmdToExecute.ExecuteNonQuery()
m_iErrorCode = New SqlInt32(CType(scmCmdToExecute.Parameters.Item("@iErrorCode").Value, SqlInt32))
If Not m_iErrorCode.Equals(New SqlInt32(LLBLError.AllOk)) Then
' // Throw error.
Throw New Exception("Stored Procedure 'pr_Funktionstelle_Delete' reported the ErrorCode: " & m_iErrorCode.ToString())
End If
Return True
Catch ex As Exception
' // some error occured. Bubble it to caller and encapsulate Exception object
Throw New Exception("clsFunktionstelle::Delete::Error occured.", ex)
Finally
If m_bMainConnectionIsCreatedLocal Then
' // Close connection.
m_scoMainConnection.Close()
End If
scmCmdToExecute.Dispose()
End Try
End Function
Overrides Public Function SelectOne() As DataTable
Dim scmCmdToExecute As SqlCommand = New SqlCommand()
scmCmdToExecute.CommandText = "dbo.[pr_Funktionstelle_SelectOne]"
scmCmdToExecute.CommandType = CommandType.StoredProcedure
Dim dtToReturn As DataTable = new DataTable("Funktionstelle")
Dim sdaAdapter As SqlDataAdapter = new SqlDataAdapter(scmCmdToExecute)
' // Use base class' connection object
scmCmdToExecute.Connection = m_scoMainConnection
Try
scmCmdToExecute.Parameters.Add(new SqlParameter("@iFunktionstelleNr", SqlDbType.Int, 4, ParameterDirection.Input, False, 10, 0, "", DataRowVersion.Proposed, m_iFunktionstelleNr))
scmCmdToExecute.Parameters.Add(new SqlParameter("@iErrorCode", SqlDbType.Int, 4, ParameterDirection.Output, True, 10, 0, "", DataRowVersion.Proposed, m_iErrorCode))
If m_bMainConnectionIsCreatedLocal Then
' // Open connection.
m_scoMainConnection.Open()
Else
If m_cpMainConnectionProvider.bIsTransactionPending Then
scmCmdToExecute.Transaction = m_cpMainConnectionProvider.stCurrentTransaction
End If
End If
' // Execute query.
sdaAdapter.Fill(dtToReturn)
m_iErrorCode = New SqlInt32(CType(scmCmdToExecute.Parameters.Item("@iErrorCode").Value, SqlInt32))
If Not m_iErrorCode.Equals(New SqlInt32(LLBLError.AllOk)) Then
' // Throw error.
Throw New Exception("Stored Procedure 'pr_Funktionstelle_SelectOne' reported the ErrorCode: " & m_iErrorCode.ToString())
End If
If dtToReturn.Rows.Count > 0 Then
m_iFunktionstelleNr = New SqlInt32(CType(dtToReturn.Rows(0)("FunktionstelleNr"), Integer))
If dtToReturn.Rows(0)("ParentID") Is System.DBNull.Value Then
m_iParentID = SqlInt32.Null
Else
m_iParentID = New SqlInt32(CType(dtToReturn.Rows(0)("ParentID"), Integer))
End If
If dtToReturn.Rows(0)("Bezeichnung") Is System.DBNull.Value Then
m_sBezeichnung = SqlString.Null
Else
m_sBezeichnung = New SqlString(CType(dtToReturn.Rows(0)("Bezeichnung"), String))
End If
If dtToReturn.Rows(0)("Beschreibung") Is System.DBNull.Value Then
m_sBeschreibung = SqlString.Null
Else
m_sBeschreibung = New SqlString(CType(dtToReturn.Rows(0)("Beschreibung"), String))
End If
If dtToReturn.Rows(0)("Funktionsnummer") Is System.DBNull.Value Then
m_sFunktionsnummer = SqlString.Null
Else
m_sFunktionsnummer = New SqlString(CType(dtToReturn.Rows(0)("Funktionsnummer"), String))
End If
If dtToReturn.Rows(0)("Funktionsstelle") Is System.DBNull.Value Then
m_sFunktionsstelle = SqlString.Null
Else
m_sFunktionsstelle = New SqlString(CType(dtToReturn.Rows(0)("Funktionsstelle"), String))
End If
If dtToReturn.Rows(0)("Sequenz") Is System.DBNull.Value Then
m_iSequenz = SqlInt32.Null
Else
m_iSequenz = New SqlInt32(CType(dtToReturn.Rows(0)("Sequenz"), Integer))
End If
If dtToReturn.Rows(0)("Aktiv") Is System.DBNull.Value Then
m_bAktiv = SqlBoolean.Null
Else
m_bAktiv = New SqlBoolean(CType(dtToReturn.Rows(0)("Aktiv"), Boolean))
End If
If dtToReturn.Rows(0)("Erstellt_am") Is System.DBNull.Value Then
m_daErstellt_am = SqlDateTime.Null
Else
m_daErstellt_am = New SqlDateTime(CType(dtToReturn.Rows(0)("Erstellt_am"), Date))
End If
If dtToReturn.Rows(0)("Mutiert_am") Is System.DBNull.Value Then
m_daMutiert_am = SqlDateTime.Null
Else
m_daMutiert_am = New SqlDateTime(CType(dtToReturn.Rows(0)("Mutiert_am"), Date))
End If
If dtToReturn.Rows(0)("Mutierer") Is System.DBNull.Value Then
m_iMutierer = SqlInt32.Null
Else
m_iMutierer = New SqlInt32(CType(dtToReturn.Rows(0)("Mutierer"), Integer))
End If
If dtToReturn.Rows(0)("CID") Is System.DBNull.Value Then
m_iCID = SqlInt32.Null
Else
m_iCID = New SqlInt32(CType(dtToReturn.Rows(0)("CID"), Integer))
End If
End If
Return dtToReturn
Catch ex As Exception
' // some error occured. Bubble it to caller and encapsulate Exception object
Throw New Exception("clsFunktionstelle::SelectOne::Error occured.", ex)
Finally
If m_bMainConnectionIsCreatedLocal Then
' // Close connection.
m_scoMainConnection.Close()
End If
scmCmdToExecute.Dispose()
sdaAdapter.Dispose()
End Try
End Function
Overrides Public Function SelectAll() As DataTable
Dim scmCmdToExecute As SqlCommand = New SqlCommand()
scmCmdToExecute.CommandText = "dbo.[pr_Funktionstelle_SelectAll]"
scmCmdToExecute.CommandType = CommandType.StoredProcedure
Dim dtToReturn As DataTable = new DataTable("Funktionstelle")
Dim sdaAdapter As SqlDataAdapter = new SqlDataAdapter(scmCmdToExecute)
' // Use base class' connection object
scmCmdToExecute.Connection = m_scoMainConnection
Try
scmCmdToExecute.Parameters.Add(new SqlParameter("@iErrorCode", SqlDbType.Int, 4, ParameterDirection.Output, True, 10, 0, "", DataRowVersion.Proposed, m_iErrorCode))
If m_bMainConnectionIsCreatedLocal Then
' // Open connection.
m_scoMainConnection.Open()
Else
If m_cpMainConnectionProvider.bIsTransactionPending Then
scmCmdToExecute.Transaction = m_cpMainConnectionProvider.stCurrentTransaction
End If
End If
' // Execute query.
sdaAdapter.Fill(dtToReturn)
m_iErrorCode = New SqlInt32(CType(scmCmdToExecute.Parameters.Item("@iErrorCode").Value, SqlInt32))
If Not m_iErrorCode.Equals(New SqlInt32(LLBLError.AllOk)) Then
' // Throw error.
Throw New Exception("Stored Procedure 'pr_Funktionstelle_SelectAll' reported the ErrorCode: " & m_iErrorCode.ToString())
End If
Return dtToReturn
Catch ex As Exception
' // some error occured. Bubble it to caller and encapsulate Exception object
Throw New Exception("clsFunktionstelle::SelectAll::Error occured.", ex)
Finally
If m_bMainConnectionIsCreatedLocal Then
' // Close connection.
m_scoMainConnection.Close()
End If
scmCmdToExecute.Dispose()
sdaAdapter.Dispose()
End Try
End Function
#Region " Class Property Declarations "
Public Property [iFunktionstelleNr]() As SqlInt32
Get
Return m_iFunktionstelleNr
End Get
Set(ByVal Value As SqlInt32)
Dim iFunktionstelleNrTmp As SqlInt32 = Value
If iFunktionstelleNrTmp.IsNull Then
Throw New ArgumentOutOfRangeException("iFunktionstelleNr", "iFunktionstelleNr can't be NULL")
End If
m_iFunktionstelleNr = Value
End Set
End Property
Public Property [iParentID]() As SqlInt32
Get
Return m_iParentID
End Get
Set(ByVal Value As SqlInt32)
m_iParentID = Value
End Set
End Property
Public Property [sBezeichnung]() As SqlString
Get
Return m_sBezeichnung
End Get
Set(ByVal Value As SqlString)
m_sBezeichnung = Value
End Set
End Property
Public Property [sBeschreibung]() As SqlString
Get
Return m_sBeschreibung
End Get
Set(ByVal Value As SqlString)
m_sBeschreibung = Value
End Set
End Property
Public Property [sFunktionsnummer]() As SqlString
Get
Return m_sFunktionsnummer
End Get
Set(ByVal Value As SqlString)
m_sFunktionsnummer = Value
End Set
End Property
Public Property [sFunktionsstelle]() As SqlString
Get
Return m_sFunktionsstelle
End Get
Set(ByVal Value As SqlString)
m_sFunktionsstelle = Value
End Set
End Property
Public Property [iSequenz]() As SqlInt32
Get
Return m_iSequenz
End Get
Set(ByVal Value As SqlInt32)
m_iSequenz = Value
End Set
End Property
Public Property [bAktiv]() As SqlBoolean
Get
Return m_bAktiv
End Get
Set(ByVal Value As SqlBoolean)
m_bAktiv = Value
End Set
End Property
Public Property [daErstellt_am]() As SqlDateTime
Get
Return m_daErstellt_am
End Get
Set(ByVal Value As SqlDateTime)
m_daErstellt_am = Value
End Set
End Property
Public Property [daMutiert_am]() As SqlDateTime
Get
Return m_daMutiert_am
End Get
Set(ByVal Value As SqlDateTime)
m_daMutiert_am = Value
End Set
End Property
Public Property [iMutierer]() As SqlInt32
Get
Return m_iMutierer
End Get
Set(ByVal Value As SqlInt32)
m_iMutierer = Value
End Set
End Property
Public Property [iCID]() As SqlInt32
Get
Return m_iCID
End Get
Set(ByVal Value As SqlInt32)
m_iCID = Value
End Set
End Property
#End Region
End Class
End Namespace

View File

@@ -0,0 +1,491 @@
' ///////////////////////////////////////////////////////////////////////////
' // Description: Data Access class for the table 'key_tabelle'
' // Generated by LLBLGen v1.21.2003.712 Final on: Freitag, 4. Januar 2013, 17:02:51
' // Because the Base Class already implements IDispose, this class doesn't.
' ///////////////////////////////////////////////////////////////////////////
Imports System
Imports System.Data
Imports System.Data.SqlTypes
Imports System.Data.SqlClient
Namespace DB
''' <summary>
''' Purpose: Data Access class for the table 'key_tabelle'.
''' </summary>
Public Class clsKey_tabelle
Inherits clsDBInteractionBase
#Region " Class Member Declarations "
Private m_bAktiv As SqlBoolean
Private m_daErstellt_am, m_daMutiert_am As SqlDateTime
Private m_iMutierer, m_iKeynr, m_iKey_wert, m_iMandantnr As SqlInt32
Private m_sBeschreibung As SqlString
#End Region
''' <summary>
''' Purpose: Class constructor.
''' </summary>
Public Sub New()
' // Nothing for now.
End Sub
''' <summary>
''' Purpose: Insert method. This method will insert one new row into the database.
''' </summary>
''' <returns>True if succeeded, otherwise an Exception is thrown. </returns>
''' <remarks>
''' Properties needed for this method:
''' <UL>
''' <LI>sBeschreibung</LI>
''' <LI>iKey_wert</LI>
''' <LI>iMandantnr. May be SqlInt32.Null</LI>
''' <LI>bAktiv. May be SqlBoolean.Null</LI>
''' <LI>daErstellt_am. May be SqlDateTime.Null</LI>
''' <LI>daMutiert_am. May be SqlDateTime.Null</LI>
''' <LI>iMutierer. May be SqlInt32.Null</LI>
''' </UL>
''' Properties set after a succesful call of this method:
''' <UL>
''' <LI>iKeynr</LI>
''' <LI>iErrorCode</LI>
'''</UL>
''' </remarks>
Overrides Public Function Insert() As Boolean
Dim scmCmdToExecute As SqlCommand = New SqlCommand()
scmCmdToExecute.CommandText = "dbo.[pr_key_tabelle_Insert]"
scmCmdToExecute.CommandType = CommandType.StoredProcedure
' // Use base class' connection object
scmCmdToExecute.Connection = m_scoMainConnection
Try
scmCmdToExecute.Parameters.Add(New SqlParameter("@sbeschreibung", SqlDbType.VarChar, 255, ParameterDirection.Input, False, 0, 0, "", DataRowVersion.Proposed, m_sBeschreibung))
scmCmdToExecute.Parameters.Add(New SqlParameter("@ikey_wert", SqlDbType.Int, 4, ParameterDirection.Input, False, 10, 0, "", DataRowVersion.Proposed, m_iKey_wert))
scmCmdToExecute.Parameters.Add(New SqlParameter("@imandantnr", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iMandantnr))
scmCmdToExecute.Parameters.Add(New SqlParameter("@baktiv", SqlDbType.Bit, 1, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_bAktiv))
scmCmdToExecute.Parameters.Add(New SqlParameter("@daerstellt_am", SqlDbType.DateTime, 8, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_daErstellt_am))
scmCmdToExecute.Parameters.Add(New SqlParameter("@damutiert_am", SqlDbType.DateTime, 8, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_daMutiert_am))
scmCmdToExecute.Parameters.Add(New SqlParameter("@imutierer", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iMutierer))
scmCmdToExecute.Parameters.Add(new SqlParameter("@ikeynr", SqlDbType.Int, 4, ParameterDirection.Output, True, 10, 0, "", DataRowVersion.Proposed, m_iKeynr))
scmCmdToExecute.Parameters.Add(new SqlParameter("@iErrorCode", SqlDbType.Int, 4, ParameterDirection.Output, True, 10, 0, "", DataRowVersion.Proposed, m_iErrorCode))
If m_bMainConnectionIsCreatedLocal Then
' // Open connection.
m_scoMainConnection.Open()
Else
If m_cpMainConnectionProvider.bIsTransactionPending Then
scmCmdToExecute.Transaction = m_cpMainConnectionProvider.stCurrentTransaction
End If
End If
' // Execute query.
m_iRowsAffected = scmCmdToExecute.ExecuteNonQuery()
m_iKeynr = New SqlInt32(CType(scmCmdToExecute.Parameters.Item("@ikeynr").Value, Integer))
m_iErrorCode = New SqlInt32(CType(scmCmdToExecute.Parameters.Item("@iErrorCode").Value, SqlInt32))
If Not m_iErrorCode.Equals(New SqlInt32(LLBLError.AllOk)) Then
' // Throw error.
Throw New Exception("Stored Procedure 'pr_key_tabelle_Insert' reported the ErrorCode: " & m_iErrorCode.ToString())
End If
Return True
Catch ex As Exception
' // some error occured. Bubble it to caller and encapsulate Exception object
Throw New Exception("clsKey_tabelle::Insert::Error occured.", ex)
Finally
If m_bMainConnectionIsCreatedLocal Then
' // Close connection.
m_scoMainConnection.Close()
End If
scmCmdToExecute.Dispose()
End Try
End Function
''' <summary>
''' Purpose: Update method. This method will Update one existing row in the database.
''' </summary>
''' <returns>True if succeeded, otherwise an Exception is thrown. </returns>
''' <remarks>
''' Properties needed for this method:
''' <UL>
''' <LI>iKeynr</LI>
''' <LI>sBeschreibung</LI>
''' <LI>iKey_wert</LI>
''' <LI>iMandantnr. May be SqlInt32.Null</LI>
''' <LI>bAktiv. May be SqlBoolean.Null</LI>
''' <LI>daErstellt_am. May be SqlDateTime.Null</LI>
''' <LI>daMutiert_am. May be SqlDateTime.Null</LI>
''' <LI>iMutierer. May be SqlInt32.Null</LI>
''' </UL>
''' Properties set after a succesful call of this method:
''' <UL>
''' <LI>iErrorCode</LI>
'''</UL>
''' </remarks>
Overrides Public Function Update() As Boolean
Dim scmCmdToExecute As SqlCommand = New SqlCommand()
scmCmdToExecute.CommandText = "dbo.[pr_key_tabelle_Update]"
scmCmdToExecute.CommandType = CommandType.StoredProcedure
' // Use base class' connection object
scmCmdToExecute.Connection = m_scoMainConnection
Try
scmCmdToExecute.Parameters.Add(New SqlParameter("@ikeynr", SqlDbType.Int, 4, ParameterDirection.Input, False, 10, 0, "", DataRowVersion.Proposed, m_iKeynr))
scmCmdToExecute.Parameters.Add(New SqlParameter("@sbeschreibung", SqlDbType.VarChar, 255, ParameterDirection.Input, False, 0, 0, "", DataRowVersion.Proposed, m_sBeschreibung))
scmCmdToExecute.Parameters.Add(New SqlParameter("@ikey_wert", SqlDbType.Int, 4, ParameterDirection.Input, False, 10, 0, "", DataRowVersion.Proposed, m_iKey_wert))
scmCmdToExecute.Parameters.Add(New SqlParameter("@imandantnr", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iMandantnr))
scmCmdToExecute.Parameters.Add(New SqlParameter("@baktiv", SqlDbType.Bit, 1, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_bAktiv))
scmCmdToExecute.Parameters.Add(New SqlParameter("@daerstellt_am", SqlDbType.DateTime, 8, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_daErstellt_am))
scmCmdToExecute.Parameters.Add(New SqlParameter("@damutiert_am", SqlDbType.DateTime, 8, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_daMutiert_am))
scmCmdToExecute.Parameters.Add(New SqlParameter("@imutierer", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iMutierer))
scmCmdToExecute.Parameters.Add(new SqlParameter("@iErrorCode", SqlDbType.Int, 4, ParameterDirection.Output, True, 10, 0, "", DataRowVersion.Proposed, m_iErrorCode))
If m_bMainConnectionIsCreatedLocal Then
' // Open connection.
m_scoMainConnection.Open()
Else
If m_cpMainConnectionProvider.bIsTransactionPending Then
scmCmdToExecute.Transaction = m_cpMainConnectionProvider.stCurrentTransaction
End If
End If
' // Execute query.
m_iRowsAffected = scmCmdToExecute.ExecuteNonQuery()
m_iErrorCode = New SqlInt32(CType(scmCmdToExecute.Parameters.Item("@iErrorCode").Value, SqlInt32))
If Not m_iErrorCode.Equals(New SqlInt32(LLBLError.AllOk)) Then
' // Throw error.
Throw New Exception("Stored Procedure 'pr_key_tabelle_Update' reported the ErrorCode: " & m_iErrorCode.ToString())
End If
Return True
Catch ex As Exception
' // some error occured. Bubble it to caller and encapsulate Exception object
Throw New Exception("clsKey_tabelle::Update::Error occured.", ex)
Finally
If m_bMainConnectionIsCreatedLocal Then
' // Close connection.
m_scoMainConnection.Close()
End If
scmCmdToExecute.Dispose()
End Try
End Function
''' <summary>
''' Purpose: Delete method. This method will Delete one existing row in the database, based on the Primary Key.
''' </summary>
''' <returns>True if succeeded, otherwise an Exception is thrown. </returns>
''' <remarks>
''' Properties needed for this method:
''' <UL>
''' <LI>iKeynr</LI>
''' </UL>
''' Properties set after a succesful call of this method:
''' <UL>
''' <LI>iErrorCode</LI>
'''</UL>
''' </remarks>
Overrides Public Function Delete() As Boolean
Dim scmCmdToExecute As SqlCommand = New SqlCommand()
scmCmdToExecute.CommandText = "dbo.[pr_key_tabelle_Delete]"
scmCmdToExecute.CommandType = CommandType.StoredProcedure
' // Use base class' connection object
scmCmdToExecute.Connection = m_scoMainConnection
Try
scmCmdToExecute.Parameters.Add(New SqlParameter("@ikeynr", SqlDbType.Int, 4, ParameterDirection.Input, False, 10, 0, "", DataRowVersion.Proposed, m_iKeynr))
scmCmdToExecute.Parameters.Add(new SqlParameter("@iErrorCode", SqlDbType.Int, 4, ParameterDirection.Output, True, 10, 0, "", DataRowVersion.Proposed, m_iErrorCode))
If m_bMainConnectionIsCreatedLocal Then
' // Open connection.
m_scoMainConnection.Open()
Else
If m_cpMainConnectionProvider.bIsTransactionPending Then
scmCmdToExecute.Transaction = m_cpMainConnectionProvider.stCurrentTransaction
End If
End If
' // Execute query.
m_iRowsAffected = scmCmdToExecute.ExecuteNonQuery()
m_iErrorCode = New SqlInt32(CType(scmCmdToExecute.Parameters.Item("@iErrorCode").Value, SqlInt32))
If Not m_iErrorCode.Equals(New SqlInt32(LLBLError.AllOk)) Then
' // Throw error.
Throw New Exception("Stored Procedure 'pr_key_tabelle_Delete' reported the ErrorCode: " & m_iErrorCode.ToString())
End If
Return True
Catch ex As Exception
' // some error occured. Bubble it to caller and encapsulate Exception object
Throw New Exception("clsKey_tabelle::Delete::Error occured.", ex)
Finally
If m_bMainConnectionIsCreatedLocal Then
' // Close connection.
m_scoMainConnection.Close()
End If
scmCmdToExecute.Dispose()
End Try
End Function
''' <summary>
''' Purpose: Select method. This method will Select one existing row from the database, based on the Primary Key.
''' </summary>
''' <returns>DataTable object if succeeded, otherwise an Exception is thrown. </returns>
''' <remarks>
''' Properties needed for this method:
''' <UL>
''' <LI>iKeynr</LI>
''' </UL>
''' Properties set after a succesful call of this method:
''' <UL>
''' <LI>iErrorCode</LI>
''' <LI>iKeynr</LI>
''' <LI>sBeschreibung</LI>
''' <LI>iKey_wert</LI>
''' <LI>iMandantnr</LI>
''' <LI>bAktiv</LI>
''' <LI>daErstellt_am</LI>
''' <LI>daMutiert_am</LI>
''' <LI>iMutierer</LI>
'''</UL>
''' Will fill all properties corresponding with a field in the table with the value of the row selected.
''' </remarks>
Overrides Public Function SelectOne() As DataTable
Dim scmCmdToExecute As SqlCommand = New SqlCommand()
scmCmdToExecute.CommandText = "dbo.[pr_key_tabelle_SelectOne]"
scmCmdToExecute.CommandType = CommandType.StoredProcedure
Dim dtToReturn As DataTable = new DataTable("key_tabelle")
Dim sdaAdapter As SqlDataAdapter = new SqlDataAdapter(scmCmdToExecute)
' // Use base class' connection object
scmCmdToExecute.Connection = m_scoMainConnection
Try
scmCmdToExecute.Parameters.Add(new SqlParameter("@ikeynr", SqlDbType.Int, 4, ParameterDirection.Input, False, 10, 0, "", DataRowVersion.Proposed, m_iKeynr))
scmCmdToExecute.Parameters.Add(new SqlParameter("@iErrorCode", SqlDbType.Int, 4, ParameterDirection.Output, True, 10, 0, "", DataRowVersion.Proposed, m_iErrorCode))
If m_bMainConnectionIsCreatedLocal Then
' // Open connection.
m_scoMainConnection.Open()
Else
If m_cpMainConnectionProvider.bIsTransactionPending Then
scmCmdToExecute.Transaction = m_cpMainConnectionProvider.stCurrentTransaction
End If
End If
' // Execute query.
sdaAdapter.Fill(dtToReturn)
m_iErrorCode = New SqlInt32(CType(scmCmdToExecute.Parameters.Item("@iErrorCode").Value, SqlInt32))
If Not m_iErrorCode.Equals(New SqlInt32(LLBLError.AllOk)) Then
' // Throw error.
Throw New Exception("Stored Procedure 'pr_key_tabelle_SelectOne' reported the ErrorCode: " & m_iErrorCode.ToString())
End If
If dtToReturn.Rows.Count > 0 Then
m_iKeynr = New SqlInt32(CType(dtToReturn.Rows(0)("keynr"), Integer))
m_sBeschreibung = New SqlString(CType(dtToReturn.Rows(0)("beschreibung"), String))
m_iKey_wert = New SqlInt32(CType(dtToReturn.Rows(0)("key_wert"), Integer))
If dtToReturn.Rows(0)("mandantnr") Is System.DBNull.Value Then
m_iMandantnr = SqlInt32.Null
Else
m_iMandantnr = New SqlInt32(CType(dtToReturn.Rows(0)("mandantnr"), Integer))
End If
If dtToReturn.Rows(0)("aktiv") Is System.DBNull.Value Then
m_bAktiv = SqlBoolean.Null
Else
m_bAktiv = New SqlBoolean(CType(dtToReturn.Rows(0)("aktiv"), Boolean))
End If
If dtToReturn.Rows(0)("erstellt_am") Is System.DBNull.Value Then
m_daErstellt_am = SqlDateTime.Null
Else
m_daErstellt_am = New SqlDateTime(CType(dtToReturn.Rows(0)("erstellt_am"), Date))
End If
If dtToReturn.Rows(0)("mutiert_am") Is System.DBNull.Value Then
m_daMutiert_am = SqlDateTime.Null
Else
m_daMutiert_am = New SqlDateTime(CType(dtToReturn.Rows(0)("mutiert_am"), Date))
End If
If dtToReturn.Rows(0)("mutierer") Is System.DBNull.Value Then
m_iMutierer = SqlInt32.Null
Else
m_iMutierer = New SqlInt32(CType(dtToReturn.Rows(0)("mutierer"), Integer))
End If
End If
Return dtToReturn
Catch ex As Exception
' // some error occured. Bubble it to caller and encapsulate Exception object
Throw New Exception("clsKey_tabelle::SelectOne::Error occured.", ex)
Finally
If m_bMainConnectionIsCreatedLocal Then
' // Close connection.
m_scoMainConnection.Close()
End If
scmCmdToExecute.Dispose()
sdaAdapter.Dispose()
End Try
End Function
''' <summary>
''' Purpose: SelectAll method. This method will Select all rows from the table.
''' </summary>
''' <returns>DataTable object if succeeded, otherwise an Exception is thrown. </returns>
''' <remarks>
''' Properties set after a succesful call of this method:
''' <UL>
''' <LI>iErrorCode</LI>
'''</UL>
''' </remarks>
Overrides Public Function SelectAll() As DataTable
Dim scmCmdToExecute As SqlCommand = New SqlCommand()
scmCmdToExecute.CommandText = "dbo.[pr_key_tabelle_SelectAll]"
scmCmdToExecute.CommandType = CommandType.StoredProcedure
Dim dtToReturn As DataTable = new DataTable("key_tabelle")
Dim sdaAdapter As SqlDataAdapter = new SqlDataAdapter(scmCmdToExecute)
' // Use base class' connection object
scmCmdToExecute.Connection = m_scoMainConnection
Try
scmCmdToExecute.Parameters.Add(new SqlParameter("@iErrorCode", SqlDbType.Int, 4, ParameterDirection.Output, True, 10, 0, "", DataRowVersion.Proposed, m_iErrorCode))
If m_bMainConnectionIsCreatedLocal Then
' // Open connection.
m_scoMainConnection.Open()
Else
If m_cpMainConnectionProvider.bIsTransactionPending Then
scmCmdToExecute.Transaction = m_cpMainConnectionProvider.stCurrentTransaction
End If
End If
' // Execute query.
sdaAdapter.Fill(dtToReturn)
m_iErrorCode = New SqlInt32(CType(scmCmdToExecute.Parameters.Item("@iErrorCode").Value, SqlInt32))
If Not m_iErrorCode.Equals(New SqlInt32(LLBLError.AllOk)) Then
' // Throw error.
Throw New Exception("Stored Procedure 'pr_key_tabelle_SelectAll' reported the ErrorCode: " & m_iErrorCode.ToString())
End If
Return dtToReturn
Catch ex As Exception
' // some error occured. Bubble it to caller and encapsulate Exception object
Throw New Exception("clsKey_tabelle::SelectAll::Error occured.", ex)
Finally
If m_bMainConnectionIsCreatedLocal Then
' // Close connection.
m_scoMainConnection.Close()
End If
scmCmdToExecute.Dispose()
sdaAdapter.Dispose()
End Try
End Function
#Region " Class Property Declarations "
Public Property [iKeynr]() As SqlInt32
Get
Return m_iKeynr
End Get
Set(ByVal Value As SqlInt32)
Dim iKeynrTmp As SqlInt32 = Value
If iKeynrTmp.IsNull Then
Throw New ArgumentOutOfRangeException("iKeynr", "iKeynr can't be NULL")
End If
m_iKeynr = Value
End Set
End Property
Public Property [sBeschreibung]() As SqlString
Get
Return m_sBeschreibung
End Get
Set(ByVal Value As SqlString)
Dim sBeschreibungTmp As SqlString = Value
If sBeschreibungTmp.IsNull Then
Throw New ArgumentOutOfRangeException("sBeschreibung", "sBeschreibung can't be NULL")
End If
m_sBeschreibung = Value
End Set
End Property
Public Property [iKey_wert]() As SqlInt32
Get
Return m_iKey_wert
End Get
Set(ByVal Value As SqlInt32)
Dim iKey_wertTmp As SqlInt32 = Value
If iKey_wertTmp.IsNull Then
Throw New ArgumentOutOfRangeException("iKey_wert", "iKey_wert can't be NULL")
End If
m_iKey_wert = Value
End Set
End Property
Public Property [iMandantnr]() As SqlInt32
Get
Return m_iMandantnr
End Get
Set(ByVal Value As SqlInt32)
m_iMandantnr = Value
End Set
End Property
Public Property [bAktiv]() As SqlBoolean
Get
Return m_bAktiv
End Get
Set(ByVal Value As SqlBoolean)
m_bAktiv = Value
End Set
End Property
Public Property [daErstellt_am]() As SqlDateTime
Get
Return m_daErstellt_am
End Get
Set(ByVal Value As SqlDateTime)
m_daErstellt_am = Value
End Set
End Property
Public Property [daMutiert_am]() As SqlDateTime
Get
Return m_daMutiert_am
End Get
Set(ByVal Value As SqlDateTime)
m_daMutiert_am = Value
End Set
End Property
Public Property [iMutierer]() As SqlInt32
Get
Return m_iMutierer
End Get
Set(ByVal Value As SqlInt32)
m_iMutierer = Value
End Set
End Property
#End Region
End Class
End Namespace

View File

@@ -0,0 +1,530 @@
' ///////////////////////////////////////////////////////////////////////////
' // Description: Data Access class for the table 'mitarbeiter'
' // Generated by LLBLGen v1.21.2003.712 Final on: Montag, 14. Januar 2013, 14:47:17
' // Because the Base Class already implements IDispose, this class doesn't.
' ///////////////////////////////////////////////////////////////////////////
Imports System
Imports System.Data
Imports System.Data.SqlTypes
Imports System.Data.SqlClient
Namespace DB
''' <summary>
''' Purpose: Data Access class for the table 'mitarbeiter'.
''' </summary>
Public Class clsMitarbeiter
Inherits clsDBInteractionBase
#Region " Class Member Declarations "
Private m_bAktiv As SqlBoolean
Private m_daErstellt_am, m_daMutiert_am As SqlDateTime
Private m_iMandantnr, m_iMutierer, m_iMitarbeiternr As SqlInt32
Private m_sEmail, m_sVorname, m_sTgnummer, m_sName As SqlString
#End Region
''' <summary>
''' Purpose: Class constructor.
''' </summary>
Public Sub New()
' // Nothing for now.
End Sub
''' <summary>
''' Purpose: Insert method. This method will insert one new row into the database.
''' </summary>
''' <returns>True if succeeded, otherwise an Exception is thrown. </returns>
''' <remarks>
''' Properties needed for this method:
''' <UL>
''' <LI>iMitarbeiternr</LI>
''' <LI>sVorname. May be SqlString.Null</LI>
''' <LI>sName. May be SqlString.Null</LI>
''' <LI>sTgnummer. May be SqlString.Null</LI>
''' <LI>sEmail. May be SqlString.Null</LI>
''' <LI>iMandantnr. May be SqlInt32.Null</LI>
''' <LI>bAktiv. May be SqlBoolean.Null</LI>
''' <LI>daErstellt_am. May be SqlDateTime.Null</LI>
''' <LI>daMutiert_am. May be SqlDateTime.Null</LI>
''' <LI>iMutierer. May be SqlInt32.Null</LI>
''' </UL>
''' Properties set after a succesful call of this method:
''' <UL>
''' <LI>iErrorCode</LI>
'''</UL>
''' </remarks>
Overrides Public Function Insert() As Boolean
Dim scmCmdToExecute As SqlCommand = New SqlCommand()
scmCmdToExecute.CommandText = "dbo.[pr_mitarbeiter_Insert]"
scmCmdToExecute.CommandType = CommandType.StoredProcedure
' // Use base class' connection object
scmCmdToExecute.Connection = m_scoMainConnection
Try
scmCmdToExecute.Parameters.Add(New SqlParameter("@imitarbeiternr", SqlDbType.Int, 4, ParameterDirection.Input, False, 10, 0, "", DataRowVersion.Proposed, m_iMitarbeiternr))
scmCmdToExecute.Parameters.Add(New SqlParameter("@svorname", SqlDbType.VarChar, 50, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sVorname))
scmCmdToExecute.Parameters.Add(New SqlParameter("@sname", SqlDbType.VarChar, 50, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sName))
scmCmdToExecute.Parameters.Add(New SqlParameter("@stgnummer", SqlDbType.VarChar, 50, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sTgnummer))
scmCmdToExecute.Parameters.Add(New SqlParameter("@semail", SqlDbType.VarChar, 50, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sEmail))
scmCmdToExecute.Parameters.Add(New SqlParameter("@imandantnr", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iMandantnr))
scmCmdToExecute.Parameters.Add(New SqlParameter("@baktiv", SqlDbType.Bit, 1, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_bAktiv))
scmCmdToExecute.Parameters.Add(New SqlParameter("@daerstellt_am", SqlDbType.DateTime, 8, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_daErstellt_am))
scmCmdToExecute.Parameters.Add(New SqlParameter("@damutiert_am", SqlDbType.DateTime, 8, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_daMutiert_am))
scmCmdToExecute.Parameters.Add(New SqlParameter("@imutierer", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iMutierer))
scmCmdToExecute.Parameters.Add(new SqlParameter("@iErrorCode", SqlDbType.Int, 4, ParameterDirection.Output, True, 10, 0, "", DataRowVersion.Proposed, m_iErrorCode))
If m_bMainConnectionIsCreatedLocal Then
' // Open connection.
m_scoMainConnection.Open()
Else
If m_cpMainConnectionProvider.bIsTransactionPending Then
scmCmdToExecute.Transaction = m_cpMainConnectionProvider.stCurrentTransaction
End If
End If
' // Execute query.
m_iRowsAffected = scmCmdToExecute.ExecuteNonQuery()
m_iErrorCode = New SqlInt32(CType(scmCmdToExecute.Parameters.Item("@iErrorCode").Value, SqlInt32))
If Not m_iErrorCode.Equals(New SqlInt32(LLBLError.AllOk)) Then
' // Throw error.
Throw New Exception("Stored Procedure 'pr_mitarbeiter_Insert' reported the ErrorCode: " & m_iErrorCode.ToString())
End If
Return True
Catch ex As Exception
' // some error occured. Bubble it to caller and encapsulate Exception object
Throw New Exception("clsMitarbeiter::Insert::Error occured.", ex)
Finally
If m_bMainConnectionIsCreatedLocal Then
' // Close connection.
m_scoMainConnection.Close()
End If
scmCmdToExecute.Dispose()
End Try
End Function
''' <summary>
''' Purpose: Update method. This method will Update one existing row in the database.
''' </summary>
''' <returns>True if succeeded, otherwise an Exception is thrown. </returns>
''' <remarks>
''' Properties needed for this method:
''' <UL>
''' <LI>iMitarbeiternr</LI>
''' <LI>sVorname. May be SqlString.Null</LI>
''' <LI>sName. May be SqlString.Null</LI>
''' <LI>sTgnummer. May be SqlString.Null</LI>
''' <LI>sEmail. May be SqlString.Null</LI>
''' <LI>iMandantnr. May be SqlInt32.Null</LI>
''' <LI>bAktiv. May be SqlBoolean.Null</LI>
''' <LI>daErstellt_am. May be SqlDateTime.Null</LI>
''' <LI>daMutiert_am. May be SqlDateTime.Null</LI>
''' <LI>iMutierer. May be SqlInt32.Null</LI>
''' </UL>
''' Properties set after a succesful call of this method:
''' <UL>
''' <LI>iErrorCode</LI>
'''</UL>
''' </remarks>
Overrides Public Function Update() As Boolean
Dim scmCmdToExecute As SqlCommand = New SqlCommand()
scmCmdToExecute.CommandText = "dbo.[pr_mitarbeiter_Update]"
scmCmdToExecute.CommandType = CommandType.StoredProcedure
' // Use base class' connection object
scmCmdToExecute.Connection = m_scoMainConnection
Try
scmCmdToExecute.Parameters.Add(New SqlParameter("@imitarbeiternr", SqlDbType.Int, 4, ParameterDirection.Input, False, 10, 0, "", DataRowVersion.Proposed, m_iMitarbeiternr))
scmCmdToExecute.Parameters.Add(New SqlParameter("@svorname", SqlDbType.VarChar, 50, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sVorname))
scmCmdToExecute.Parameters.Add(New SqlParameter("@sname", SqlDbType.VarChar, 50, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sName))
scmCmdToExecute.Parameters.Add(New SqlParameter("@stgnummer", SqlDbType.VarChar, 50, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sTgnummer))
scmCmdToExecute.Parameters.Add(New SqlParameter("@semail", SqlDbType.VarChar, 50, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sEmail))
scmCmdToExecute.Parameters.Add(New SqlParameter("@imandantnr", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iMandantnr))
scmCmdToExecute.Parameters.Add(New SqlParameter("@baktiv", SqlDbType.Bit, 1, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_bAktiv))
scmCmdToExecute.Parameters.Add(New SqlParameter("@daerstellt_am", SqlDbType.DateTime, 8, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_daErstellt_am))
scmCmdToExecute.Parameters.Add(New SqlParameter("@damutiert_am", SqlDbType.DateTime, 8, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_daMutiert_am))
scmCmdToExecute.Parameters.Add(New SqlParameter("@imutierer", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iMutierer))
scmCmdToExecute.Parameters.Add(new SqlParameter("@iErrorCode", SqlDbType.Int, 4, ParameterDirection.Output, True, 10, 0, "", DataRowVersion.Proposed, m_iErrorCode))
If m_bMainConnectionIsCreatedLocal Then
' // Open connection.
m_scoMainConnection.Open()
Else
If m_cpMainConnectionProvider.bIsTransactionPending Then
scmCmdToExecute.Transaction = m_cpMainConnectionProvider.stCurrentTransaction
End If
End If
' // Execute query.
m_iRowsAffected = scmCmdToExecute.ExecuteNonQuery()
m_iErrorCode = New SqlInt32(CType(scmCmdToExecute.Parameters.Item("@iErrorCode").Value, SqlInt32))
If Not m_iErrorCode.Equals(New SqlInt32(LLBLError.AllOk)) Then
' // Throw error.
Throw New Exception("Stored Procedure 'pr_mitarbeiter_Update' reported the ErrorCode: " & m_iErrorCode.ToString())
End If
Return True
Catch ex As Exception
' // some error occured. Bubble it to caller and encapsulate Exception object
Throw New Exception("clsMitarbeiter::Update::Error occured.", ex)
Finally
If m_bMainConnectionIsCreatedLocal Then
' // Close connection.
m_scoMainConnection.Close()
End If
scmCmdToExecute.Dispose()
End Try
End Function
''' <summary>
''' Purpose: Delete method. This method will Delete one existing row in the database, based on the Primary Key.
''' </summary>
''' <returns>True if succeeded, otherwise an Exception is thrown. </returns>
''' <remarks>
''' Properties needed for this method:
''' <UL>
''' <LI>iMitarbeiternr</LI>
''' </UL>
''' Properties set after a succesful call of this method:
''' <UL>
''' <LI>iErrorCode</LI>
'''</UL>
''' </remarks>
Overrides Public Function Delete() As Boolean
Dim scmCmdToExecute As SqlCommand = New SqlCommand()
scmCmdToExecute.CommandText = "dbo.[pr_mitarbeiter_Delete]"
scmCmdToExecute.CommandType = CommandType.StoredProcedure
' // Use base class' connection object
scmCmdToExecute.Connection = m_scoMainConnection
Try
scmCmdToExecute.Parameters.Add(New SqlParameter("@imitarbeiternr", SqlDbType.Int, 4, ParameterDirection.Input, False, 10, 0, "", DataRowVersion.Proposed, m_iMitarbeiternr))
scmCmdToExecute.Parameters.Add(new SqlParameter("@iErrorCode", SqlDbType.Int, 4, ParameterDirection.Output, True, 10, 0, "", DataRowVersion.Proposed, m_iErrorCode))
If m_bMainConnectionIsCreatedLocal Then
' // Open connection.
m_scoMainConnection.Open()
Else
If m_cpMainConnectionProvider.bIsTransactionPending Then
scmCmdToExecute.Transaction = m_cpMainConnectionProvider.stCurrentTransaction
End If
End If
' // Execute query.
m_iRowsAffected = scmCmdToExecute.ExecuteNonQuery()
m_iErrorCode = New SqlInt32(CType(scmCmdToExecute.Parameters.Item("@iErrorCode").Value, SqlInt32))
If Not m_iErrorCode.Equals(New SqlInt32(LLBLError.AllOk)) Then
' // Throw error.
Throw New Exception("Stored Procedure 'pr_mitarbeiter_Delete' reported the ErrorCode: " & m_iErrorCode.ToString())
End If
Return True
Catch ex As Exception
' // some error occured. Bubble it to caller and encapsulate Exception object
Throw New Exception("clsMitarbeiter::Delete::Error occured.", ex)
Finally
If m_bMainConnectionIsCreatedLocal Then
' // Close connection.
m_scoMainConnection.Close()
End If
scmCmdToExecute.Dispose()
End Try
End Function
''' <summary>
''' Purpose: Select method. This method will Select one existing row from the database, based on the Primary Key.
''' </summary>
''' <returns>DataTable object if succeeded, otherwise an Exception is thrown. </returns>
''' <remarks>
''' Properties needed for this method:
''' <UL>
''' <LI>iMitarbeiternr</LI>
''' </UL>
''' Properties set after a succesful call of this method:
''' <UL>
''' <LI>iErrorCode</LI>
''' <LI>iMitarbeiternr</LI>
''' <LI>sVorname</LI>
''' <LI>sName</LI>
''' <LI>sTgnummer</LI>
''' <LI>sEmail</LI>
''' <LI>iMandantnr</LI>
''' <LI>bAktiv</LI>
''' <LI>daErstellt_am</LI>
''' <LI>daMutiert_am</LI>
''' <LI>iMutierer</LI>
'''</UL>
''' Will fill all properties corresponding with a field in the table with the value of the row selected.
''' </remarks>
Overrides Public Function SelectOne() As DataTable
Dim scmCmdToExecute As SqlCommand = New SqlCommand()
scmCmdToExecute.CommandText = "dbo.[pr_mitarbeiter_SelectOne]"
scmCmdToExecute.CommandType = CommandType.StoredProcedure
Dim dtToReturn As DataTable = new DataTable("mitarbeiter")
Dim sdaAdapter As SqlDataAdapter = new SqlDataAdapter(scmCmdToExecute)
' // Use base class' connection object
scmCmdToExecute.Connection = m_scoMainConnection
Try
scmCmdToExecute.Parameters.Add(new SqlParameter("@imitarbeiternr", SqlDbType.Int, 4, ParameterDirection.Input, False, 10, 0, "", DataRowVersion.Proposed, m_iMitarbeiternr))
scmCmdToExecute.Parameters.Add(new SqlParameter("@iErrorCode", SqlDbType.Int, 4, ParameterDirection.Output, True, 10, 0, "", DataRowVersion.Proposed, m_iErrorCode))
If m_bMainConnectionIsCreatedLocal Then
' // Open connection.
m_scoMainConnection.Open()
Else
If m_cpMainConnectionProvider.bIsTransactionPending Then
scmCmdToExecute.Transaction = m_cpMainConnectionProvider.stCurrentTransaction
End If
End If
' // Execute query.
sdaAdapter.Fill(dtToReturn)
m_iErrorCode = New SqlInt32(CType(scmCmdToExecute.Parameters.Item("@iErrorCode").Value, SqlInt32))
If Not m_iErrorCode.Equals(New SqlInt32(LLBLError.AllOk)) Then
' // Throw error.
Throw New Exception("Stored Procedure 'pr_mitarbeiter_SelectOne' reported the ErrorCode: " & m_iErrorCode.ToString())
End If
If dtToReturn.Rows.Count > 0 Then
m_iMitarbeiternr = New SqlInt32(CType(dtToReturn.Rows(0)("mitarbeiternr"), Integer))
If dtToReturn.Rows(0)("vorname") Is System.DBNull.Value Then
m_sVorname = SqlString.Null
Else
m_sVorname = New SqlString(CType(dtToReturn.Rows(0)("vorname"), String))
End If
If dtToReturn.Rows(0)("name") Is System.DBNull.Value Then
m_sName = SqlString.Null
Else
m_sName = New SqlString(CType(dtToReturn.Rows(0)("name"), String))
End If
If dtToReturn.Rows(0)("tgnummer") Is System.DBNull.Value Then
m_sTgnummer = SqlString.Null
Else
m_sTgnummer = New SqlString(CType(dtToReturn.Rows(0)("tgnummer"), String))
End If
If dtToReturn.Rows(0)("email") Is System.DBNull.Value Then
m_sEmail = SqlString.Null
Else
m_sEmail = New SqlString(CType(dtToReturn.Rows(0)("email"), String))
End If
If dtToReturn.Rows(0)("mandantnr") Is System.DBNull.Value Then
m_iMandantnr = SqlInt32.Null
Else
m_iMandantnr = New SqlInt32(CType(dtToReturn.Rows(0)("mandantnr"), Integer))
End If
If dtToReturn.Rows(0)("aktiv") Is System.DBNull.Value Then
m_bAktiv = SqlBoolean.Null
Else
m_bAktiv = New SqlBoolean(CType(dtToReturn.Rows(0)("aktiv"), Boolean))
End If
If dtToReturn.Rows(0)("erstellt_am") Is System.DBNull.Value Then
m_daErstellt_am = SqlDateTime.Null
Else
m_daErstellt_am = New SqlDateTime(CType(dtToReturn.Rows(0)("erstellt_am"), Date))
End If
If dtToReturn.Rows(0)("mutiert_am") Is System.DBNull.Value Then
m_daMutiert_am = SqlDateTime.Null
Else
m_daMutiert_am = New SqlDateTime(CType(dtToReturn.Rows(0)("mutiert_am"), Date))
End If
If dtToReturn.Rows(0)("mutierer") Is System.DBNull.Value Then
m_iMutierer = SqlInt32.Null
Else
m_iMutierer = New SqlInt32(CType(dtToReturn.Rows(0)("mutierer"), Integer))
End If
End If
Return dtToReturn
Catch ex As Exception
' // some error occured. Bubble it to caller and encapsulate Exception object
Throw New Exception("clsMitarbeiter::SelectOne::Error occured.", ex)
Finally
If m_bMainConnectionIsCreatedLocal Then
' // Close connection.
m_scoMainConnection.Close()
End If
scmCmdToExecute.Dispose()
sdaAdapter.Dispose()
End Try
End Function
''' <summary>
''' Purpose: SelectAll method. This method will Select all rows from the table.
''' </summary>
''' <returns>DataTable object if succeeded, otherwise an Exception is thrown. </returns>
''' <remarks>
''' Properties set after a succesful call of this method:
''' <UL>
''' <LI>iErrorCode</LI>
'''</UL>
''' </remarks>
Overrides Public Function SelectAll() As DataTable
Dim scmCmdToExecute As SqlCommand = New SqlCommand()
scmCmdToExecute.CommandText = "dbo.[pr_mitarbeiter_SelectAll]"
scmCmdToExecute.CommandType = CommandType.StoredProcedure
Dim dtToReturn As DataTable = new DataTable("mitarbeiter")
Dim sdaAdapter As SqlDataAdapter = new SqlDataAdapter(scmCmdToExecute)
' // Use base class' connection object
scmCmdToExecute.Connection = m_scoMainConnection
Try
scmCmdToExecute.Parameters.Add(new SqlParameter("@iErrorCode", SqlDbType.Int, 4, ParameterDirection.Output, True, 10, 0, "", DataRowVersion.Proposed, m_iErrorCode))
If m_bMainConnectionIsCreatedLocal Then
' // Open connection.
m_scoMainConnection.Open()
Else
If m_cpMainConnectionProvider.bIsTransactionPending Then
scmCmdToExecute.Transaction = m_cpMainConnectionProvider.stCurrentTransaction
End If
End If
' // Execute query.
sdaAdapter.Fill(dtToReturn)
m_iErrorCode = New SqlInt32(CType(scmCmdToExecute.Parameters.Item("@iErrorCode").Value, SqlInt32))
If Not m_iErrorCode.Equals(New SqlInt32(LLBLError.AllOk)) Then
' // Throw error.
Throw New Exception("Stored Procedure 'pr_mitarbeiter_SelectAll' reported the ErrorCode: " & m_iErrorCode.ToString())
End If
Return dtToReturn
Catch ex As Exception
' // some error occured. Bubble it to caller and encapsulate Exception object
Throw New Exception("clsMitarbeiter::SelectAll::Error occured.", ex)
Finally
If m_bMainConnectionIsCreatedLocal Then
' // Close connection.
m_scoMainConnection.Close()
End If
scmCmdToExecute.Dispose()
sdaAdapter.Dispose()
End Try
End Function
#Region " Class Property Declarations "
Public Property [iMitarbeiternr]() As SqlInt32
Get
Return m_iMitarbeiternr
End Get
Set(ByVal Value As SqlInt32)
Dim iMitarbeiternrTmp As SqlInt32 = Value
If iMitarbeiternrTmp.IsNull Then
Throw New ArgumentOutOfRangeException("iMitarbeiternr", "iMitarbeiternr can't be NULL")
End If
m_iMitarbeiternr = Value
End Set
End Property
Public Property [sVorname]() As SqlString
Get
Return m_sVorname
End Get
Set(ByVal Value As SqlString)
m_sVorname = Value
End Set
End Property
Public Property [sName]() As SqlString
Get
Return m_sName
End Get
Set(ByVal Value As SqlString)
m_sName = Value
End Set
End Property
Public Property [sTgnummer]() As SqlString
Get
Return m_sTgnummer
End Get
Set(ByVal Value As SqlString)
m_sTgnummer = Value
End Set
End Property
Public Property [sEmail]() As SqlString
Get
Return m_sEmail
End Get
Set(ByVal Value As SqlString)
m_sEmail = Value
End Set
End Property
Public Property [iMandantnr]() As SqlInt32
Get
Return m_iMandantnr
End Get
Set(ByVal Value As SqlInt32)
m_iMandantnr = Value
End Set
End Property
Public Property [bAktiv]() As SqlBoolean
Get
Return m_bAktiv
End Get
Set(ByVal Value As SqlBoolean)
m_bAktiv = Value
End Set
End Property
Public Property [daErstellt_am]() As SqlDateTime
Get
Return m_daErstellt_am
End Get
Set(ByVal Value As SqlDateTime)
m_daErstellt_am = Value
End Set
End Property
Public Property [daMutiert_am]() As SqlDateTime
Get
Return m_daMutiert_am
End Get
Set(ByVal Value As SqlDateTime)
m_daMutiert_am = Value
End Set
End Property
Public Property [iMutierer]() As SqlInt32
Get
Return m_iMutierer
End Get
Set(ByVal Value As SqlInt32)
m_iMutierer = Value
End Set
End Property
#End Region
End Class
End Namespace

View File

@@ -0,0 +1,61 @@
Imports System
Imports System.Data
Imports System.Data.SqlTypes
Imports System.Data.SqlClient
Namespace DB
Public Class clsMyKey_Tabelle
Inherits db.clsKey_tabelle
Public Function get_dbkey(ByVal Tablename As String) As Long
Dim m_dbkey As Long
Dim scmCmdToExecute As SqlCommand = New SqlCommand()
scmCmdToExecute.CommandText = "dbo.[sp_get_dbkey]"
scmCmdToExecute.CommandType = CommandType.StoredProcedure
' // Use base class' connection object
scmCmdToExecute.Connection = m_scoMainConnection
Try
scmCmdToExecute.Parameters.Add(New SqlParameter("@Tablename", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, Tablename))
scmCmdToExecute.Parameters.Add(New SqlParameter("@dbkey", SqlDbType.Int, 4, ParameterDirection.Output, True, 10, 0, "", DataRowVersion.Proposed, m_dbkey))
scmCmdToExecute.Parameters.Add(New SqlParameter("@iErrorCode", SqlDbType.Int, 4, ParameterDirection.Output, True, 10, 0, "", DataRowVersion.Proposed, m_iErrorCode))
If m_bMainConnectionIsCreatedLocal Then
' // Open connection.
m_scoMainConnection.Open()
Else
If m_cpMainConnectionProvider.bIsTransactionPending Then
scmCmdToExecute.Transaction = m_cpMainConnectionProvider.stCurrentTransaction
End If
End If
' // Execute query.
Try
scmCmdToExecute.Connection.Open()
Catch ex As Exception
Finally
End Try
scmCmdToExecute.ExecuteNonQuery()
m_dbkey = scmCmdToExecute.Parameters.Item("@dbkey").Value
m_iErrorCode = New SqlInt32(CType(scmCmdToExecute.Parameters.Item("@iErrorCode").Value, SqlInt32))
scmCmdToExecute.Connection.Close()
If Not m_iErrorCode.Equals(New SqlInt32(LLBLError.AllOk)) Then
' // Throw error.
Throw New Exception("Stored Procedure 'sp_get_dbkey' reported the ErrorCode: " & m_iErrorCode.ToString())
End If
Return m_dbkey
Catch ex As Exception
' // some error occured. Bubble it to caller and encapsulate Exception object
Throw New Exception("clsKey_tabelle::get_dbkey::Error occured." + ex.Message, ex)
Finally
If m_bMainConnectionIsCreatedLocal Then
' // Close connection.
m_scoMainConnection.Close()
End If
scmCmdToExecute.Dispose()
End Try
End Function
End Class
End Namespace

View File

@@ -0,0 +1,8 @@
Module Globals
Public Spaltendaten As New DataTable
Public sConnectionString As String
Public conn As New DB.clsConnectionProvider
Public ConnectionFileName As String = ""
Public Mitarbeiternr As Integer
Public TmpFilepath As String
End Module

View File

@@ -0,0 +1,243 @@
Imports System.Data.SqlClient
Imports System.Data.SqlTypes
Namespace DB
Public Class clsMyFunktionsstelle
Inherits DB.clsFunktionstelle
#Region "Deklarationen"
Public daten As New DataTable
Public Neuer_Datensatz As Boolean = False
Public Mitarbeiterdaten As New DataTable
Dim mMutierer As String
Property MutiererText() As String
Get
Return mMutierer
End Get
Set(ByVal value As String)
mMutierer = value
End Set
End Property
#End Region
Sub New()
End Sub
Public Overloads Sub dispose()
MyBase.Dispose()
Try
Catch
End Try
End Sub
''' <summary>
''' Mutierer auslesen
''' </summary>
''' <returns></returns>
''' <remarks></remarks>
Public Function Get_Mutierer(ByVal nr As Integer) As String
Dim ma As New DB.clsMitarbeiter
Dim dt As New DataTable
Dim Retvalue As String
ma.cpMainConnectionProvider = Globals.conn
ma.iMitarbeiternr = New SqlInt32(CType(nr, Int32))
dt = ma.SelectOne()
If dt.Rows.Count = 0 Then
Retvalue = ("{" + nr.ToString + "}")
Else
Retvalue = ma.sName.ToString + " " + ma.sVorname.ToString + ", " + ma.sTgnummer.ToString
End If
ma.Dispose()
dt.Dispose()
Return Retvalue
End Function
Public Function Get_Parent() As String
Dim f As New clsFunktionstelle
Try
f.cpMainConnectionProvider = Globals.conn
f.iFunktionstelleNr = New SqlInt32(CType(Me.iParentID.Value, String))
f.SelectOne()
Return f.sBezeichnung.Value
Catch
Return ""
Finally
f.Dispose()
End Try
End Function
Public Function Get_Mitarbeiterdaten()
Dim scmCmdToExecute As SqlCommand = New SqlCommand()
scmCmdToExecute.CommandText = "dbo.sp_get_FunktionstelleMitarbeiter"
scmCmdToExecute.CommandType = CommandType.StoredProcedure
Dim dtToReturn As DataTable = New DataTable
Dim sdaAdapter As SqlDataAdapter = New SqlDataAdapter(scmCmdToExecute)
' // Use base class' connection object
scmCmdToExecute.Connection = m_scoMainConnection
Try
scmCmdToExecute.Parameters.Add(New SqlParameter("@Funktionstellenr", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, Me.iFunktionstelleNr.Value))
If m_bMainConnectionIsCreatedLocal Then
m_scoMainConnection.Open()
Else
If m_cpMainConnectionProvider.bIsTransactionPending Then
scmCmdToExecute.Transaction = m_cpMainConnectionProvider.stCurrentTransaction
End If
End If
sdaAdapter.Fill(dtToReturn)
Return dtToReturn
Catch ex As Exception
Throw New Exception("_FunktionenDetail::sp_get_FunktionstelleMitarbeiter::Error occured.", ex)
Finally
If m_bMainConnectionIsCreatedLocal Then
m_scoMainConnection.Close()
End If
scmCmdToExecute.Dispose()
sdaAdapter.Dispose()
End Try
End Function
Public Function Get_Beziehungen()
Dim scmCmdToExecute As SqlCommand = New SqlCommand()
scmCmdToExecute.CommandText = "dbo.sp_get_funktionstelle_beziehungen"
scmCmdToExecute.CommandType = CommandType.StoredProcedure
Dim dtToReturn As DataTable = New DataTable
Dim sdaAdapter As SqlDataAdapter = New SqlDataAdapter(scmCmdToExecute)
' // Use base class' connection object
scmCmdToExecute.Connection = m_scoMainConnection
Try
scmCmdToExecute.Parameters.Add(New SqlParameter("@Funktionstellenr", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, Me.iFunktionstelleNr.Value))
If m_bMainConnectionIsCreatedLocal Then
m_scoMainConnection.Open()
Else
If m_cpMainConnectionProvider.bIsTransactionPending Then
scmCmdToExecute.Transaction = m_cpMainConnectionProvider.stCurrentTransaction
End If
End If
sdaAdapter.Fill(dtToReturn)
Return dtToReturn
Catch ex As Exception
Throw New Exception("_FunktionenDetail::sp_get_funktionstelle_beziehungen::Error occured.", ex)
Finally
If m_bMainConnectionIsCreatedLocal Then
m_scoMainConnection.Close()
End If
scmCmdToExecute.Dispose()
sdaAdapter.Dispose()
End Try
End Function
Public Function Get_Data(ByVal Nr As Integer)
Me.cpMainConnectionProvider = Globals.conn
Me.iFunktionstelleNr = New SqlInt32(CType(Nr, Int32))
Globals.conn.OpenConnection()
Me.daten = Me.SelectOne()
Globals.conn.CloseConnection(True)
Try
Catch ex As Exception
End Try
Me.MutiererText = Get_Mutierer(Me.iMutierer.Value)
End Function
Public Function Save_Data() As Integer
Me.cpMainConnectionProvider = Globals.conn
Me.iMutierer = New SqlInt32(CType(Globals.Mitarbeiternr, Int32))
Me.daMutiert_am = New SqlDateTime(CType(Now, DateTime))
Globals.conn.OpenConnection()
Me.Update()
Globals.conn.CloseConnection(True)
Me.Neuer_Datensatz = False
End Function
Public Function Create_Copy(Optional ByVal Basenr As Integer = 0) As Integer
If Basenr <> 0 Then
Get_Data(Basenr)
End If
Dim db As New DB.clsMyKey_Tabelle
db.cpMainConnectionProvider = Globals.conn
Dim newkey = db.get_dbkey("Funktionstelle")
db.Dispose()
Me.cpMainConnectionProvider = Globals.conn
Me.iFunktionstelleNr = New SqlInt32(CType(newkey, Int32))
Me.daErstellt_am = New SqlDateTime(CType(Now, DateTime))
Me.daMutiert_am = New SqlDateTime(CType(Now, DateTime))
Me.iMutierer = New SqlInt32(CType(Globals.Mitarbeiternr, Int32))
Globals.conn.OpenConnection()
Me.Insert()
Globals.conn.CloseConnection(True)
Me.Neuer_Datensatz = True
Return newkey
End Function
''' <summary>
''' Löschen eines Datensatzes erstellen.
''' </summary>
''' <param name="Basenr">Ursprungs-Person: Ist dieser Wert nicht 0, werden die Daten mit BaseNr zuerst gelesen</param>
''' <returns></returns>
''' <remarks></remarks>
Public Function Delete_Thema(Optional ByVal Basenr As Integer = 0) As Integer
If Basenr <> 0 Then
Get_Data(Basenr)
End If
Me.cpMainConnectionProvider = Globals.conn
Me.bAktiv = New SqlBoolean(CType(False, Boolean))
Me.daMutiert_am = New SqlDateTime(CType(Now, DateTime))
Me.iMutierer = New SqlInt32(CType(Globals.Mitarbeiternr, Int32))
Globals.conn.OpenConnection()
Me.Update()
Globals.conn.CloseConnection(True)
Me.Neuer_Datensatz = False
End Function
Public Overloads Function Delete(Optional ByVal Basenr As Integer = 0) As Integer
If Basenr <> 0 Then
Get_Data(Basenr)
End If
Me.cpMainConnectionProvider = Globals.conn
Globals.conn.OpenConnection()
MyBase.Delete()
Globals.conn.CloseConnection(True)
Me.Neuer_Datensatz = False
End Function
''' <summary>
''' Neue Person einfügen
''' </summary>
''' <returns></returns>
''' <remarks></remarks>
Public Function Add_New() As Integer
Dim db As New DB.clsMyKey_Tabelle
db.cpMainConnectionProvider = Globals.conn
Dim newkey = db.get_dbkey("Funktionstelle")
db.Dispose()
Me.iFunktionstelleNr = New SqlInt32(CType(newkey, Int32))
Me.sBeschreibung = New SqlString(CType("", String))
Me.sBezeichnung = New SqlString(CType("", String))
Me.sFunktionsnummer = New SqlInt32(CType(1, Int32))
Me.sFunktionsstelle = New SqlString(CType(0, String))
Me.bAktiv = New SqlBoolean(CType(True, Boolean))
Me.daErstellt_am = New SqlDateTime(CType(Now, DateTime))
Me.daMutiert_am = New SqlDateTime(CType(Now, DateTime))
Me.iMutierer = New SqlInt32(CType(Globals.Mitarbeiternr, Int32))
Me.iCID = New SqlInt32(CType(0, Integer))
Me.cpMainConnectionProvider = Globals.conn
Globals.conn.OpenConnection()
Me.Insert()
Globals.conn.CloseConnection(True)
Me.Neuer_Datensatz = True
Return newkey
End Function
End Class
End Namespace

View File

@@ -0,0 +1,13 @@
'------------------------------------------------------------------------------
' <auto-generated>
' 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.
' </auto-generated>
'------------------------------------------------------------------------------
Option Strict On
Option Explicit On

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<MyApplicationData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<MySubMain>false</MySubMain>
<SingleInstance>false</SingleInstance>
<ShutdownMode>0</ShutdownMode>
<EnableVisualStyles>true</EnableVisualStyles>
<AuthenticationMode>0</AuthenticationMode>
<ApplicationType>1</ApplicationType>
<SaveMySettingsOnExit>true</SaveMySettingsOnExit>
</MyApplicationData>

View File

@@ -0,0 +1,34 @@
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 mit einer Assembly verknüpft sind.
' Die Werte der Assemblyattribute überprüfen
<Assembly: AssemblyTitle("_FunktionDetail")>
<Assembly: AssemblyDescription("")>
<Assembly: AssemblyCompany("")>
<Assembly: AssemblyProduct("_FunktionDetail")>
<Assembly: AssemblyCopyright("Copyright © 2013")>
<Assembly: AssemblyTrademark("")>
<Assembly: ComVisible(False)>
'Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
<Assembly: Guid("2fac4cdf-6989-4477-91ac-7bf98865511b")>
' Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
'
' Hauptversion
' Nebenversion
' Buildnummer
' Revision
'
' Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
' übernehmen, indem Sie "*" eingeben:
<Assembly: AssemblyVersion("1.0.*")>
<Assembly: AssemblyFileVersion("1.0.0.0")>

View File

@@ -0,0 +1,63 @@
'------------------------------------------------------------------------------
' <auto-generated>
' 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.
' </auto-generated>
'------------------------------------------------------------------------------
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.
'''<summary>
''' Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
'''</summary>
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0"), _
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
Global.Microsoft.VisualBasic.HideModuleNameAttribute()> _
Friend Module Resources
Private resourceMan As Global.System.Resources.ResourceManager
Private resourceCulture As Global.System.Globalization.CultureInfo
'''<summary>
''' Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
'''</summary>
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
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("_FunktionDetail.Resources", GetType(Resources).Assembly)
resourceMan = temp
End If
Return resourceMan
End Get
End Property
'''<summary>
''' Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
''' Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
'''</summary>
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
Friend Property Culture() As Global.System.Globalization.CultureInfo
Get
Return resourceCulture
End Get
Set
resourceCulture = value
End Set
End Property
End Module
End Namespace

View File

@@ -0,0 +1,117 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@@ -0,0 +1,73 @@
'------------------------------------------------------------------------------
' <auto-generated>
' 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.
' </auto-generated>
'------------------------------------------------------------------------------
Option Strict On
Option Explicit On
Namespace My
<Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.8.1.0"), _
Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
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
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
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
<Global.Microsoft.VisualBasic.HideModuleNameAttribute(), _
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _
Friend Module MySettingsProperty
<Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")> _
Friend ReadOnly Property Settings() As Global._FunktionDetail.My.MySettings
Get
Return Global._FunktionDetail.My.MySettings.Default
End Get
End Property
End Module
End Namespace

View File

@@ -0,0 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" UseMySettingsClassName="true">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>

View File

@@ -0,0 +1 @@
C1.Win.C1TrueDBGrid.C1TrueDBGrid, C1.Win.C1TrueDBGrid.2, Version=2.0.20123.61277, Culture=neutral, PublicKeyToken=75ae3fb0e2b1e0da

View File

@@ -0,0 +1,146 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{C08BD3F2-8DC9-4CE9-9F34-1CCBC7F429EC}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>_FunktionDetail</RootNamespace>
<AssemblyName>_FunktionDetail</AssemblyName>
<FileAlignment>512</FileAlignment>
<MyType>Windows</MyType>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<DefineDebug>true</DefineDebug>
<DefineTrace>true</DefineTrace>
<OutputPath>bin\Debug\</OutputPath>
<DocumentationFile>_FunktionDetail.xml</DocumentationFile>
<DefineConstants>_MYFORMS=True</DefineConstants>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<DefineDebug>false</DefineDebug>
<DefineTrace>true</DefineTrace>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DocumentationFile>_FunktionDetail.xml</DocumentationFile>
<DefineConstants>_MYFORMS=True</DefineConstants>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup>
<OptionExplicit>On</OptionExplicit>
</PropertyGroup>
<PropertyGroup>
<OptionCompare>Binary</OptionCompare>
</PropertyGroup>
<PropertyGroup>
<OptionStrict>Off</OptionStrict>
</PropertyGroup>
<PropertyGroup>
<OptionInfer>On</OptionInfer>
</PropertyGroup>
<ItemGroup>
<Reference Include="C1.Win.C1TrueDBGrid.2, Version=2.0.20123.61277, Culture=neutral, PublicKeyToken=75ae3fb0e2b1e0da, processorArchitecture=MSIL" />
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Design" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
</ItemGroup>
<ItemGroup>
<Import Include="Microsoft.VisualBasic" />
<Import Include="System" />
<Import Include="System.Collections" />
<Import Include="System.Collections.Generic" />
<Import Include="System.Data" />
<Import Include="System.Drawing" />
<Import Include="System.Diagnostics" />
<Import Include="System.Windows.Forms" />
<Import Include="System.Linq" />
<Import Include="System.Xml.Linq" />
</ItemGroup>
<ItemGroup>
<Compile Include="DB\clsConnectionProvider.vb" />
<Compile Include="DB\clsDBInteractionBase.vb" />
<Compile Include="DB\clsFunktionstelle.vb" />
<Compile Include="DB\clsKey_tabelle.vb" />
<Compile Include="DB\clsMitarbeiter.vb" />
<Compile Include="DB\clsMyKey_Tabelle.vb" />
<Compile Include="Klassen\clsMyFunktionsstelle.vb" />
<Compile Include="Klassen\Globals.vb" />
<Compile Include="My Project\Application.Designer.vb">
<AutoGen>True</AutoGen>
<DependentUpon>Application.myapp</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<Compile Include="BEA_FunktionDetail.vb">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="BEA_FunktionDetail.Designer.vb">
<DependentUpon>BEA_FunktionDetail.vb</DependentUpon>
</Compile>
<Compile Include="My Project\AssemblyInfo.vb" />
<Compile Include="My Project\Resources.Designer.vb">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="My Project\Settings.Designer.vb">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="My Project\licenses.licx" />
<EmbeddedResource Include="My Project\Resources.resx">
<Generator>VbMyResourcesResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.vb</LastGenOutput>
<CustomToolNamespace>My.Resources</CustomToolNamespace>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="BEA_FunktionDetail.resx">
<DependentUpon>BEA_FunktionDetail.vb</DependentUpon>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<None Include="My Project\Application.myapp">
<Generator>MyApplicationCodeGenerator</Generator>
<LastGenOutput>Application.Designer.vb</LastGenOutput>
</None>
<None Include="My Project\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<CustomToolNamespace>My</CustomToolNamespace>
<LastGenOutput>Settings.Designer.vb</LastGenOutput>
</None>
</ItemGroup>
<ItemGroup>
<Service Include="{94E38DFF-614B-4cbd-B67C-F211BB35CE8B}" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\_MyBeziehungen\_MyBeziehungen.vbproj">
<Project>{83B9F004-F673-4610-AEA7-290A2E43A6EC}</Project>
<Name>_MyBeziehungen</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,272 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>
_FunktionDetail
</name>
</assembly>
<members>
<member name="T:_FunktionDetail.My.Resources.Resources">
<summary>
Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
</summary>
</member>
<member name="P:_FunktionDetail.My.Resources.Resources.ResourceManager">
<summary>
Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
</summary>
</member>
<member name="P:_FunktionDetail.My.Resources.Resources.Culture">
<summary>
Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
</summary>
</member>
<member name="T:_FunktionDetail.DB.clsKey_tabelle">
<summary>
Purpose: Data Access class for the table 'key_tabelle'.
</summary>
</member>
<member name="M:_FunktionDetail.DB.clsKey_tabelle.#ctor">
<summary>
Purpose: Class constructor.
</summary>
</member>
<member name="M:_FunktionDetail.DB.clsKey_tabelle.Insert">
<summary>
Purpose: Insert method. This method will insert one new row into the database.
</summary>
<returns>True if succeeded, otherwise an Exception is thrown. </returns>
<remarks>
Properties needed for this method:
<UL>
<LI>sBeschreibung</LI>
<LI>iKey_wert</LI>
<LI>iMandantnr. May be SqlInt32.Null</LI>
<LI>bAktiv. May be SqlBoolean.Null</LI>
<LI>daErstellt_am. May be SqlDateTime.Null</LI>
<LI>daMutiert_am. May be SqlDateTime.Null</LI>
<LI>iMutierer. May be SqlInt32.Null</LI>
</UL>
Properties set after a succesful call of this method:
<UL>
<LI>iKeynr</LI>
<LI>iErrorCode</LI>
</UL>
</remarks>
</member>
<member name="M:_FunktionDetail.DB.clsKey_tabelle.Update">
<summary>
Purpose: Update method. This method will Update one existing row in the database.
</summary>
<returns>True if succeeded, otherwise an Exception is thrown. </returns>
<remarks>
Properties needed for this method:
<UL>
<LI>iKeynr</LI>
<LI>sBeschreibung</LI>
<LI>iKey_wert</LI>
<LI>iMandantnr. May be SqlInt32.Null</LI>
<LI>bAktiv. May be SqlBoolean.Null</LI>
<LI>daErstellt_am. May be SqlDateTime.Null</LI>
<LI>daMutiert_am. May be SqlDateTime.Null</LI>
<LI>iMutierer. May be SqlInt32.Null</LI>
</UL>
Properties set after a succesful call of this method:
<UL>
<LI>iErrorCode</LI>
</UL>
</remarks>
</member>
<member name="M:_FunktionDetail.DB.clsKey_tabelle.Delete">
<summary>
Purpose: Delete method. This method will Delete one existing row in the database, based on the Primary Key.
</summary>
<returns>True if succeeded, otherwise an Exception is thrown. </returns>
<remarks>
Properties needed for this method:
<UL>
<LI>iKeynr</LI>
</UL>
Properties set after a succesful call of this method:
<UL>
<LI>iErrorCode</LI>
</UL>
</remarks>
</member>
<member name="M:_FunktionDetail.DB.clsKey_tabelle.SelectOne">
<summary>
Purpose: Select method. This method will Select one existing row from the database, based on the Primary Key.
</summary>
<returns>DataTable object if succeeded, otherwise an Exception is thrown. </returns>
<remarks>
Properties needed for this method:
<UL>
<LI>iKeynr</LI>
</UL>
Properties set after a succesful call of this method:
<UL>
<LI>iErrorCode</LI>
<LI>iKeynr</LI>
<LI>sBeschreibung</LI>
<LI>iKey_wert</LI>
<LI>iMandantnr</LI>
<LI>bAktiv</LI>
<LI>daErstellt_am</LI>
<LI>daMutiert_am</LI>
<LI>iMutierer</LI>
</UL>
Will fill all properties corresponding with a field in the table with the value of the row selected.
</remarks>
</member>
<member name="M:_FunktionDetail.DB.clsKey_tabelle.SelectAll">
<summary>
Purpose: SelectAll method. This method will Select all rows from the table.
</summary>
<returns>DataTable object if succeeded, otherwise an Exception is thrown. </returns>
<remarks>
Properties set after a succesful call of this method:
<UL>
<LI>iErrorCode</LI>
</UL>
</remarks>
</member>
<member name="T:_FunktionDetail.DB.clsMitarbeiter">
<summary>
Purpose: Data Access class for the table 'mitarbeiter'.
</summary>
</member>
<member name="M:_FunktionDetail.DB.clsMitarbeiter.#ctor">
<summary>
Purpose: Class constructor.
</summary>
</member>
<member name="M:_FunktionDetail.DB.clsMitarbeiter.Insert">
<summary>
Purpose: Insert method. This method will insert one new row into the database.
</summary>
<returns>True if succeeded, otherwise an Exception is thrown. </returns>
<remarks>
Properties needed for this method:
<UL>
<LI>iMitarbeiternr</LI>
<LI>sVorname. May be SqlString.Null</LI>
<LI>sName. May be SqlString.Null</LI>
<LI>sTgnummer. May be SqlString.Null</LI>
<LI>sEmail. May be SqlString.Null</LI>
<LI>iMandantnr. May be SqlInt32.Null</LI>
<LI>bAktiv. May be SqlBoolean.Null</LI>
<LI>daErstellt_am. May be SqlDateTime.Null</LI>
<LI>daMutiert_am. May be SqlDateTime.Null</LI>
<LI>iMutierer. May be SqlInt32.Null</LI>
</UL>
Properties set after a succesful call of this method:
<UL>
<LI>iErrorCode</LI>
</UL>
</remarks>
</member>
<member name="M:_FunktionDetail.DB.clsMitarbeiter.Update">
<summary>
Purpose: Update method. This method will Update one existing row in the database.
</summary>
<returns>True if succeeded, otherwise an Exception is thrown. </returns>
<remarks>
Properties needed for this method:
<UL>
<LI>iMitarbeiternr</LI>
<LI>sVorname. May be SqlString.Null</LI>
<LI>sName. May be SqlString.Null</LI>
<LI>sTgnummer. May be SqlString.Null</LI>
<LI>sEmail. May be SqlString.Null</LI>
<LI>iMandantnr. May be SqlInt32.Null</LI>
<LI>bAktiv. May be SqlBoolean.Null</LI>
<LI>daErstellt_am. May be SqlDateTime.Null</LI>
<LI>daMutiert_am. May be SqlDateTime.Null</LI>
<LI>iMutierer. May be SqlInt32.Null</LI>
</UL>
Properties set after a succesful call of this method:
<UL>
<LI>iErrorCode</LI>
</UL>
</remarks>
</member>
<member name="M:_FunktionDetail.DB.clsMitarbeiter.Delete">
<summary>
Purpose: Delete method. This method will Delete one existing row in the database, based on the Primary Key.
</summary>
<returns>True if succeeded, otherwise an Exception is thrown. </returns>
<remarks>
Properties needed for this method:
<UL>
<LI>iMitarbeiternr</LI>
</UL>
Properties set after a succesful call of this method:
<UL>
<LI>iErrorCode</LI>
</UL>
</remarks>
</member>
<member name="M:_FunktionDetail.DB.clsMitarbeiter.SelectOne">
<summary>
Purpose: Select method. This method will Select one existing row from the database, based on the Primary Key.
</summary>
<returns>DataTable object if succeeded, otherwise an Exception is thrown. </returns>
<remarks>
Properties needed for this method:
<UL>
<LI>iMitarbeiternr</LI>
</UL>
Properties set after a succesful call of this method:
<UL>
<LI>iErrorCode</LI>
<LI>iMitarbeiternr</LI>
<LI>sVorname</LI>
<LI>sName</LI>
<LI>sTgnummer</LI>
<LI>sEmail</LI>
<LI>iMandantnr</LI>
<LI>bAktiv</LI>
<LI>daErstellt_am</LI>
<LI>daMutiert_am</LI>
<LI>iMutierer</LI>
</UL>
Will fill all properties corresponding with a field in the table with the value of the row selected.
</remarks>
</member>
<member name="M:_FunktionDetail.DB.clsMitarbeiter.SelectAll">
<summary>
Purpose: SelectAll method. This method will Select all rows from the table.
</summary>
<returns>DataTable object if succeeded, otherwise an Exception is thrown. </returns>
<remarks>
Properties set after a succesful call of this method:
<UL>
<LI>iErrorCode</LI>
</UL>
</remarks>
</member>
<member name="M:_FunktionDetail.DB.clsMyFunktionsstelle.Get_Mutierer(System.Int32)">
<summary>
Mutierer auslesen
</summary>
<returns></returns>
<remarks></remarks>
</member>
<member name="M:_FunktionDetail.DB.clsMyFunktionsstelle.Delete_Thema(System.Int32)">
<summary>
Löschen eines Datensatzes erstellen.
</summary>
<param name="Basenr">Ursprungs-Person: Ist dieser Wert nicht 0, werden die Daten mit BaseNr zuerst gelesen</param>
<returns></returns>
<remarks></remarks>
</member>
<member name="M:_FunktionDetail.DB.clsMyFunktionsstelle.Add_New">
<summary>
Neue Person einfügen
</summary>
<returns></returns>
<remarks></remarks>
</member>
</members>
</doc>

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,24 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>
_Generic_Event_Handler
</name>
</assembly>
<members>
<member name="P:_Generic_Event_Handler.My.Resources.Resources.ResourceManager">
<summary>
Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
</summary>
</member><member name="P:_Generic_Event_Handler.My.Resources.Resources.Culture">
<summary>
Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
</summary>
</member><member name="T:_Generic_Event_Handler.My.Resources.Resources">
<summary>
Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
</summary>
</member>
</members>
</doc>

Binary file not shown.

View File

@@ -0,0 +1,50 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="_MyBeziehungen.My.MySettings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
</sectionGroup>
</configSections>
<system.diagnostics>
<sources>
<!-- Dieser Abschnitt definiert die Protokollierungskonfiguration für My.Application.Log -->
<source name="DefaultSource" switchName="DefaultSwitch">
<listeners>
<add name="FileLog"/>
<!-- Auskommentierung des nachfolgenden Abschnitts aufheben, um in das Anwendungsereignisprotokoll zu schreiben -->
<!--<add name="EventLog"/>-->
</listeners>
</source>
</sources>
<switches>
<add name="DefaultSwitch" value="Information"/>
</switches>
<sharedListeners>
<add name="FileLog" type="Microsoft.VisualBasic.Logging.FileLogTraceListener, Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" initializeData="FileLogWriter"/>
<!-- Auskommentierung des nachfolgenden Abschnitts aufheben und APPLICATION_NAME durch den Namen der Anwendung ersetzen, um in das Anwendungsereignisprotokoll zu schreiben -->
<!--<add name="EventLog" type="System.Diagnostics.EventLogTraceListener" initializeData="APPLICATION_NAME"/> -->
</sharedListeners>
</system.diagnostics>
<userSettings>
<_MyBeziehungen.My.MySettings>
<setting name="Tage" serializeAs="String">
<value>10</value>
</setting>
<setting name="Foreground_gueltig" serializeAs="String">
<value>#FF0000</value>
</setting>
<setting name="Foreground_vor_ablauf" serializeAs="String">
<value>#FF0000</value>
</setting>
<setting name="Background_vor_ablauf" serializeAs="String">
<value>#FFE5CC</value>
</setting>
<setting name="Foreground_abgelaufen" serializeAs="String">
<value>#FF0000</value>
</setting>
<setting name="Background_abgelaufen" serializeAs="String">
<value>#FFFF00</value>
</setting>
</_MyBeziehungen.My.MySettings>
</userSettings>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/></startup></configuration>

Binary file not shown.

View File

@@ -0,0 +1,642 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>
_MyBeziehungen
</name>
</assembly>
<members>
<member name="T:_MyBeziehungen.My.Resources.Resources">
<summary>
Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
</summary>
</member>
<member name="P:_MyBeziehungen.My.Resources.Resources.ResourceManager">
<summary>
Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
</summary>
</member>
<member name="P:_MyBeziehungen.My.Resources.Resources.Culture">
<summary>
Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
</summary>
</member>
<member name="T:_MyBeziehungen.DB.clsKey_tabelle">
<summary>
Purpose: Data Access class for the table 'key_tabelle'.
</summary>
</member>
<member name="M:_MyBeziehungen.DB.clsKey_tabelle.#ctor">
<summary>
Purpose: Class constructor.
</summary>
</member>
<member name="M:_MyBeziehungen.DB.clsKey_tabelle.Insert">
<summary>
Purpose: Insert method. This method will insert one new row into the database.
</summary>
<returns>True if succeeded, otherwise an Exception is thrown. </returns>
<remarks>
Properties needed for this method:
<UL>
<LI>sBeschreibung</LI>
<LI>iKey_wert</LI>
<LI>iMandantnr. May be SqlInt32.Null</LI>
<LI>bAktiv. May be SqlBoolean.Null</LI>
<LI>daErstellt_am. May be SqlDateTime.Null</LI>
<LI>daMutiert_am. May be SqlDateTime.Null</LI>
<LI>iMutierer. May be SqlInt32.Null</LI>
</UL>
Properties set after a succesful call of this method:
<UL>
<LI>iKeynr</LI>
<LI>iErrorCode</LI>
</UL>
</remarks>
</member>
<member name="M:_MyBeziehungen.DB.clsKey_tabelle.Update">
<summary>
Purpose: Update method. This method will Update one existing row in the database.
</summary>
<returns>True if succeeded, otherwise an Exception is thrown. </returns>
<remarks>
Properties needed for this method:
<UL>
<LI>iKeynr</LI>
<LI>sBeschreibung</LI>
<LI>iKey_wert</LI>
<LI>iMandantnr. May be SqlInt32.Null</LI>
<LI>bAktiv. May be SqlBoolean.Null</LI>
<LI>daErstellt_am. May be SqlDateTime.Null</LI>
<LI>daMutiert_am. May be SqlDateTime.Null</LI>
<LI>iMutierer. May be SqlInt32.Null</LI>
</UL>
Properties set after a succesful call of this method:
<UL>
<LI>iErrorCode</LI>
</UL>
</remarks>
</member>
<member name="M:_MyBeziehungen.DB.clsKey_tabelle.Delete">
<summary>
Purpose: Delete method. This method will Delete one existing row in the database, based on the Primary Key.
</summary>
<returns>True if succeeded, otherwise an Exception is thrown. </returns>
<remarks>
Properties needed for this method:
<UL>
<LI>iKeynr</LI>
</UL>
Properties set after a succesful call of this method:
<UL>
<LI>iErrorCode</LI>
</UL>
</remarks>
</member>
<member name="M:_MyBeziehungen.DB.clsKey_tabelle.SelectOne">
<summary>
Purpose: Select method. This method will Select one existing row from the database, based on the Primary Key.
</summary>
<returns>DataTable object if succeeded, otherwise an Exception is thrown. </returns>
<remarks>
Properties needed for this method:
<UL>
<LI>iKeynr</LI>
</UL>
Properties set after a succesful call of this method:
<UL>
<LI>iErrorCode</LI>
<LI>iKeynr</LI>
<LI>sBeschreibung</LI>
<LI>iKey_wert</LI>
<LI>iMandantnr</LI>
<LI>bAktiv</LI>
<LI>daErstellt_am</LI>
<LI>daMutiert_am</LI>
<LI>iMutierer</LI>
</UL>
Will fill all properties corresponding with a field in the table with the value of the row selected.
</remarks>
</member>
<member name="M:_MyBeziehungen.DB.clsKey_tabelle.SelectAll">
<summary>
Purpose: SelectAll method. This method will Select all rows from the table.
</summary>
<returns>DataTable object if succeeded, otherwise an Exception is thrown. </returns>
<remarks>
Properties set after a succesful call of this method:
<UL>
<LI>iErrorCode</LI>
</UL>
</remarks>
</member>
<member name="T:_MyBeziehungen.DB.clsMitarbeiter">
<summary>
Purpose: Data Access class for the table 'mitarbeiter'.
</summary>
</member>
<member name="M:_MyBeziehungen.DB.clsMitarbeiter.#ctor">
<summary>
Purpose: Class constructor.
</summary>
</member>
<member name="M:_MyBeziehungen.DB.clsMitarbeiter.Insert">
<summary>
Purpose: Insert method. This method will insert one new row into the database.
</summary>
<returns>True if succeeded, otherwise an Exception is thrown. </returns>
<remarks>
Properties needed for this method:
<UL>
<LI>iMitarbeiternr</LI>
<LI>sVorname. May be SqlString.Null</LI>
<LI>sName. May be SqlString.Null</LI>
<LI>sTgnummer. May be SqlString.Null</LI>
<LI>sEmail. May be SqlString.Null</LI>
<LI>iMandantnr. May be SqlInt32.Null</LI>
<LI>bAktiv. May be SqlBoolean.Null</LI>
<LI>daErstellt_am. May be SqlDateTime.Null</LI>
<LI>daMutiert_am. May be SqlDateTime.Null</LI>
<LI>iMutierer. May be SqlInt32.Null</LI>
</UL>
Properties set after a succesful call of this method:
<UL>
<LI>iErrorCode</LI>
</UL>
</remarks>
</member>
<member name="M:_MyBeziehungen.DB.clsMitarbeiter.Update">
<summary>
Purpose: Update method. This method will Update one existing row in the database.
</summary>
<returns>True if succeeded, otherwise an Exception is thrown. </returns>
<remarks>
Properties needed for this method:
<UL>
<LI>iMitarbeiternr</LI>
<LI>sVorname. May be SqlString.Null</LI>
<LI>sName. May be SqlString.Null</LI>
<LI>sTgnummer. May be SqlString.Null</LI>
<LI>sEmail. May be SqlString.Null</LI>
<LI>iMandantnr. May be SqlInt32.Null</LI>
<LI>bAktiv. May be SqlBoolean.Null</LI>
<LI>daErstellt_am. May be SqlDateTime.Null</LI>
<LI>daMutiert_am. May be SqlDateTime.Null</LI>
<LI>iMutierer. May be SqlInt32.Null</LI>
</UL>
Properties set after a succesful call of this method:
<UL>
<LI>iErrorCode</LI>
</UL>
</remarks>
</member>
<member name="M:_MyBeziehungen.DB.clsMitarbeiter.Delete">
<summary>
Purpose: Delete method. This method will Delete one existing row in the database, based on the Primary Key.
</summary>
<returns>True if succeeded, otherwise an Exception is thrown. </returns>
<remarks>
Properties needed for this method:
<UL>
<LI>iMitarbeiternr</LI>
</UL>
Properties set after a succesful call of this method:
<UL>
<LI>iErrorCode</LI>
</UL>
</remarks>
</member>
<member name="M:_MyBeziehungen.DB.clsMitarbeiter.SelectOne">
<summary>
Purpose: Select method. This method will Select one existing row from the database, based on the Primary Key.
</summary>
<returns>DataTable object if succeeded, otherwise an Exception is thrown. </returns>
<remarks>
Properties needed for this method:
<UL>
<LI>iMitarbeiternr</LI>
</UL>
Properties set after a succesful call of this method:
<UL>
<LI>iErrorCode</LI>
<LI>iMitarbeiternr</LI>
<LI>sVorname</LI>
<LI>sName</LI>
<LI>sTgnummer</LI>
<LI>sEmail</LI>
<LI>iMandantnr</LI>
<LI>bAktiv</LI>
<LI>daErstellt_am</LI>
<LI>daMutiert_am</LI>
<LI>iMutierer</LI>
</UL>
Will fill all properties corresponding with a field in the table with the value of the row selected.
</remarks>
</member>
<member name="M:_MyBeziehungen.DB.clsMitarbeiter.SelectAll">
<summary>
Purpose: SelectAll method. This method will Select all rows from the table.
</summary>
<returns>DataTable object if succeeded, otherwise an Exception is thrown. </returns>
<remarks>
Properties set after a succesful call of this method:
<UL>
<LI>iErrorCode</LI>
</UL>
</remarks>
</member>
<member name="T:_MyBeziehungen.DB.clsSecurityObject">
<summary>
Purpose: Data Access class for the table 'SecurityObject'.
</summary>
</member>
<member name="M:_MyBeziehungen.DB.clsSecurityObject.#ctor">
<summary>
Purpose: Class constructor.
</summary>
</member>
<member name="M:_MyBeziehungen.DB.clsSecurityObject.Insert">
<summary>
Purpose: Insert method. This method will insert one new row into the database.
</summary>
<returns>True if succeeded, otherwise an Exception is thrown. </returns>
<remarks>
Properties needed for this method:
<UL>
<LI>iSecurityObjectNr</LI>
<LI>sSecurityForm. May be SqlString.Null</LI>
<LI>sSecurityObjectType. May be SqlString.Null</LI>
<LI>sSecurityObject. May be SqlString.Null</LI>
<LI>sSecurityObjectItem. May be SqlString.Null</LI>
<LI>sSecurityObjectDescriotion. May be SqlString.Null</LI>
<LI>iLevel. May be SqlInt32.Null</LI>
<LI>bAktiv. May be SqlBoolean.Null</LI>
<LI>daErstellt_am. May be SqlDateTime.Null</LI>
<LI>daMutiert_am. May be SqlDateTime.Null</LI>
<LI>iMutierer. May be SqlInt32.Null</LI>
<LI>iMandantnr. May be SqlInt32.Null</LI>
</UL>
Properties set after a succesful call of this method:
<UL>
<LI>iErrorCode</LI>
</UL>
</remarks>
</member>
<member name="M:_MyBeziehungen.DB.clsSecurityObject.Update">
<summary>
Purpose: Update method. This method will Update one existing row in the database.
</summary>
<returns>True if succeeded, otherwise an Exception is thrown. </returns>
<remarks>
Properties needed for this method:
<UL>
<LI>iSecurityObjectNr</LI>
<LI>sSecurityForm. May be SqlString.Null</LI>
<LI>sSecurityObjectType. May be SqlString.Null</LI>
<LI>sSecurityObject. May be SqlString.Null</LI>
<LI>sSecurityObjectItem. May be SqlString.Null</LI>
<LI>sSecurityObjectDescriotion. May be SqlString.Null</LI>
<LI>iLevel. May be SqlInt32.Null</LI>
<LI>bAktiv. May be SqlBoolean.Null</LI>
<LI>daErstellt_am. May be SqlDateTime.Null</LI>
<LI>daMutiert_am. May be SqlDateTime.Null</LI>
<LI>iMutierer. May be SqlInt32.Null</LI>
<LI>iMandantnr. May be SqlInt32.Null</LI>
</UL>
Properties set after a succesful call of this method:
<UL>
<LI>iErrorCode</LI>
</UL>
</remarks>
</member>
<member name="M:_MyBeziehungen.DB.clsSecurityObject.Delete">
<summary>
Purpose: Delete method. This method will Delete one existing row in the database, based on the Primary Key.
</summary>
<returns>True if succeeded, otherwise an Exception is thrown. </returns>
<remarks>
Properties needed for this method:
<UL>
<LI>iSecurityObjectNr</LI>
</UL>
Properties set after a succesful call of this method:
<UL>
<LI>iErrorCode</LI>
</UL>
</remarks>
</member>
<member name="M:_MyBeziehungen.DB.clsSecurityObject.SelectOne">
<summary>
Purpose: Select method. This method will Select one existing row from the database, based on the Primary Key.
</summary>
<returns>DataTable object if succeeded, otherwise an Exception is thrown. </returns>
<remarks>
Properties needed for this method:
<UL>
<LI>iSecurityObjectNr</LI>
</UL>
Properties set after a succesful call of this method:
<UL>
<LI>iErrorCode</LI>
<LI>iSecurityObjectNr</LI>
<LI>sSecurityForm</LI>
<LI>sSecurityObjectType</LI>
<LI>sSecurityObject</LI>
<LI>sSecurityObjectItem</LI>
<LI>sSecurityObjectDescriotion</LI>
<LI>iLevel</LI>
<LI>bAktiv</LI>
<LI>daErstellt_am</LI>
<LI>daMutiert_am</LI>
<LI>iMutierer</LI>
<LI>iMandantnr</LI>
</UL>
Will fill all properties corresponding with a field in the table with the value of the row selected.
</remarks>
</member>
<member name="M:_MyBeziehungen.DB.clsSecurityObject.SelectAll">
<summary>
Purpose: SelectAll method. This method will Select all rows from the table.
</summary>
<returns>DataTable object if succeeded, otherwise an Exception is thrown. </returns>
<remarks>
Properties set after a succesful call of this method:
<UL>
<LI>iErrorCode</LI>
</UL>
</remarks>
</member>
<member name="T:_MyBeziehungen.DB.clsSpalten">
<summary>
Purpose: Data Access class for the table 'spalten'.
</summary>
</member>
<member name="M:_MyBeziehungen.DB.clsSpalten.#ctor">
<summary>
Purpose: Class constructor.
</summary>
</member>
<member name="M:_MyBeziehungen.DB.clsSpalten.Insert">
<summary>
Purpose: Insert method. This method will insert one new row into the database.
</summary>
<returns>True if succeeded, otherwise an Exception is thrown. </returns>
<remarks>
Properties needed for this method:
<UL>
<LI>iEintragnr</LI>
<LI>sTabelle. May be SqlString.Null</LI>
<LI>sTabellenspalte. May be SqlString.Null</LI>
<LI>sSpalte. May be SqlString.Null</LI>
<LI>bReadonly</LI>
<LI>bAlsHacken</LI>
<LI>iBreite. May be SqlInt32.Null</LI>
<LI>iReihenfolge. May be SqlInt32.Null</LI>
<LI>sTiptext. May be SqlString.Null</LI>
<LI>bAktiv</LI>
<LI>daErstellt_am. May be SqlDateTime.Null</LI>
<LI>daMutiert_am. May be SqlDateTime.Null</LI>
<LI>iMutierer. May be SqlInt32.Null</LI>
<LI>iMandantnr. May be SqlInt32.Null</LI>
<LI>sNumberFormat. May be SqlString.Null</LI>
</UL>
Properties set after a succesful call of this method:
<UL>
<LI>iErrorCode</LI>
</UL>
</remarks>
</member>
<member name="M:_MyBeziehungen.DB.clsSpalten.Update">
<summary>
Purpose: Update method. This method will Update one existing row in the database.
</summary>
<returns>True if succeeded, otherwise an Exception is thrown. </returns>
<remarks>
Properties needed for this method:
<UL>
<LI>iEintragnr</LI>
<LI>sTabelle. May be SqlString.Null</LI>
<LI>sTabellenspalte. May be SqlString.Null</LI>
<LI>sSpalte. May be SqlString.Null</LI>
<LI>bReadonly</LI>
<LI>bAlsHacken</LI>
<LI>iBreite. May be SqlInt32.Null</LI>
<LI>iReihenfolge. May be SqlInt32.Null</LI>
<LI>sTiptext. May be SqlString.Null</LI>
<LI>bAktiv</LI>
<LI>daErstellt_am. May be SqlDateTime.Null</LI>
<LI>daMutiert_am. May be SqlDateTime.Null</LI>
<LI>iMutierer. May be SqlInt32.Null</LI>
<LI>iMandantnr. May be SqlInt32.Null</LI>
<LI>sNumberFormat. May be SqlString.Null</LI>
</UL>
Properties set after a succesful call of this method:
<UL>
<LI>iErrorCode</LI>
</UL>
</remarks>
</member>
<member name="M:_MyBeziehungen.DB.clsSpalten.Delete">
<summary>
Purpose: Delete method. This method will Delete one existing row in the database, based on the Primary Key.
</summary>
<returns>True if succeeded, otherwise an Exception is thrown. </returns>
<remarks>
Properties needed for this method:
<UL>
<LI>iEintragnr</LI>
</UL>
Properties set after a succesful call of this method:
<UL>
<LI>iErrorCode</LI>
</UL>
</remarks>
</member>
<member name="M:_MyBeziehungen.DB.clsSpalten.SelectOne">
<summary>
Purpose: Select method. This method will Select one existing row from the database, based on the Primary Key.
</summary>
<returns>DataTable object if succeeded, otherwise an Exception is thrown. </returns>
<remarks>
Properties needed for this method:
<UL>
<LI>iEintragnr</LI>
</UL>
Properties set after a succesful call of this method:
<UL>
<LI>iErrorCode</LI>
<LI>iEintragnr</LI>
<LI>sTabelle</LI>
<LI>sTabellenspalte</LI>
<LI>sSpalte</LI>
<LI>bReadonly</LI>
<LI>bAlsHacken</LI>
<LI>iBreite</LI>
<LI>iReihenfolge</LI>
<LI>sTiptext</LI>
<LI>bAktiv</LI>
<LI>daErstellt_am</LI>
<LI>daMutiert_am</LI>
<LI>iMutierer</LI>
<LI>iMandantnr</LI>
<LI>sNumberFormat</LI>
</UL>
Will fill all properties corresponding with a field in the table with the value of the row selected.
</remarks>
</member>
<member name="M:_MyBeziehungen.DB.clsSpalten.SelectAll">
<summary>
Purpose: SelectAll method. This method will Select all rows from the table.
</summary>
<returns>DataTable object if succeeded, otherwise an Exception is thrown. </returns>
<remarks>
Properties set after a succesful call of this method:
<UL>
<LI>iErrorCode</LI>
</UL>
</remarks>
</member>
<member name="T:_MyBeziehungen.Utils.MySecurity">
<summary>
Formular-Security-Objekte auslesen und auf DB schreiben bzw. Formular-Security zur Laufzeit setzen
</summary>
<remarks></remarks>
</member>
<member name="M:_MyBeziehungen.Utils.MySecurity.Set_Form_Security(System.Object@)">
<summary>
Formularsecurity setzen
</summary>
<param name="f">Aktuelles Formular</param>
<returns></returns>
<remarks></remarks>
</member>
<member name="M:_MyBeziehungen.Utils.MySecurity.Load_Data(System.String)">
<summary>
Daten ab Datenbank laden
</summary>
<remarks></remarks>
</member>
<member name="M:_MyBeziehungen.Utils.MySecurity.Set_Security">
<summary>
Prüft die DB-Einträge mit den Formcontrols und bei Übereinstimmung werden die Security-Einstellungen gesetzt
</summary>
<remarks></remarks>
</member>
<member name="M:_MyBeziehungen.Utils.MySecurity.Set_Preferences(System.Object@,System.Boolean,System.Boolean,System.String)">
<summary>
Security-Einstellungen setzen
</summary>
<param name="obj">Betroffenes Objeckt (Menuitem, Conrol usw.)</param>
<param name="read_only">Readonly ja/nein</param>
<param name="invisible">Sichtbar ja/nein</param>
<param name="SecurityObjectItem">Name des Unterobjektes - wird für die Spalteneinstellungen von C1TruedbGrids verwendet</param>
<remarks></remarks>
</member>
<member name="M:_MyBeziehungen.Utils.MySecurity.List_Form_Controls(System.Object@)">
<summary>
Alle Controls des Formulars zusammensuchen und auf der DB speichern
</summary>
<param name="f">Betroffenes Formular</param>
<returns></returns>
<remarks></remarks>
</member>
<member name="M:_MyBeziehungen.Utils.MySecurity.Objectanalysis(System.Object@)">
<summary>
Sämtliche Controls vom Formular auslesen
</summary>
<param name="ctl"></param>
<returns></returns>
<remarks></remarks>
</member>
<member name="F:_MyBeziehungen.Utils.MySecurity.level">
<summary>
Auslesen von MenuItems
</summary>
<param name="x"></param>
<returns></returns>
<remarks></remarks>
</member>
<member name="M:_MyBeziehungen.Utils.MySecurity.ReadContextMenu(System.Object@)">
<summary>
Auslesen von ContextMenuItems
</summary>
<param name="x"></param>
<returns></returns>
<remarks></remarks>
</member>
<member name="M:_MyBeziehungen.Utils.MySecurity.get_all_menus(System.Windows.Forms.ToolStripMenuItem@)">
<summary>
Auslesen von Menu-Subitems
</summary>
<param name="xx"></param>
<returns></returns>
<remarks></remarks>
</member>
<member name="M:_MyBeziehungen.Utils.MySecurity.Objexists(System.String,System.String,System.String,System.String)">
<summary>
Prüft, ob das Security-Objekt bereits auf der DB vorhanden ist
</summary>
<param name="securityform">Formular</param>
<param name="securityobjecttype">Objekttyp</param>
<param name="securityobject">Objektname</param>
<param name="securityobjectitem">Objektitem</param>
<returns></returns>
<remarks></remarks>
</member>
<member name="T:_MyBeziehungen.Utils.MyFormControls">
<summary>
Klasse für ein Control-Objekt
</summary>
<remarks></remarks>
</member>
<member name="M:_MyBeziehungen.Utils.MyFormControls.#ctor(System.Object,System.String,System.String,System.String,System.String,System.Int32,System.String)">
<summary>
Neue Instanz erstellen
</summary>
<param name="ctl">Control-Objekt</param>
<param name="Formname">Betroffenes Formular</param>
<param name="securityobjecttype">Objekttyp</param>
<param name="Securityobject">Objektname</param>
<param name="SecurityObjectItem">Unterobjekt (z.B. bei Menus, Spalten von C1TrueDBGrids)</param>
<remarks></remarks>
</member>
<member name="M:_MyBeziehungen.Utils.MyFormControls.Write_Object_to_DB">
<summary>
Schreibt einen Datnsatz in die Tabelle SecurityObjects
</summary>
<returns></returns>
<remarks></remarks>
</member>
<member name="M:_MyBeziehungen.Utils.MyFormControls.Objexists">
<summary>
Prüft, ob das Security-Objekt bereits auf der DB vorhanden ist
</summary>
<returns></returns>
<remarks></remarks>
</member>
<member name="M:_MyBeziehungen.Utils.Tabellenspalte.ColumnOrder(System.String,C1.Win.C1TrueDBGrid.C1TrueDBGrid@)">
<summary>
Sortierung der in der DB-Tabelle Spalaten festgelegten Reihenfolge
</summary>
<param name="Tablename"></param>
<param name="Data"></param>
<returns></returns>
<remarks></remarks>
</member>
<member name="M:_MyBeziehungen.Utils.clsSpalten.Select_All_Aktiv">
<summary>
Purpose: SelectAll method. This method will Select all rows from the table.
</summary>
<returns>DataTable object if succeeded, otherwise an Exception is thrown. </returns>
<remarks>
Properties set after a succesful call of this method:
<UL>
<LI>iErrorCode</LI>
</UL>
</remarks>
</member>
</members>
</doc>

View File

@@ -0,0 +1,7 @@
' <autogenerated/>
Option Strict Off
Option Explicit On
Imports System
Imports System.Reflection
<Assembly: Global.System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.6.1", FrameworkDisplayName:=".NET Framework 4.6.1")>

View File

@@ -0,0 +1 @@
f0509d795b1f8d275ed206e0394c7079cfe42d2c

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1 @@
30a8771e442a3426a78897923a2fbf79105ede74

View File

@@ -0,0 +1,46 @@
E:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\bin\Debug\_FunktionDetail.dll
E:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\bin\Debug\_FunktionDetail.pdb
E:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\bin\Debug\_FunktionDetail.xml
E:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\bin\Debug\_MyBeziehungen.dll
E:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\bin\Debug\_Generic_Event_Handler.dll
E:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\bin\Debug\_DataClass.dll
E:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\bin\Debug\_MyBeziehungen.pdb
E:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\bin\Debug\_MyBeziehungen.xml
E:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\bin\Debug\_Generic_Event_Handler.pdb
E:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\bin\Debug\_Generic_Event_Handler.xml
E:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\bin\Debug\_DataClass.pdb
E:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\bin\Debug\_DataClass.xml
E:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\obj\Debug\_FunktionDetail.vbprojAssemblyReference.cache
E:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\obj\Debug\_FunktionDetail.Resources.resources
E:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\obj\Debug\_FunktionDetail.BEA_FunktionDetail.resources
E:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\obj\Debug\_FunktionDetail.vbproj.GenerateResource.cache
E:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\obj\Debug\_FunktionDetail.dll.licenses
E:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\obj\Debug\_FunktionDetail.vbproj.CopyComplete
E:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\obj\Debug\_FunktionDetail.dll
E:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\obj\Debug\_FunktionDetail.xml
E:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\obj\Debug\_FunktionDetail.pdb
E:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\bin\Debug\_MyBeziehungen.dll.config
E:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\obj\Debug\_FunktionDetail.vbproj.CoreCompileInputs.cache
I:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\bin\Debug\_FunktionDetail.dll
I:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\bin\Debug\_FunktionDetail.pdb
I:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\bin\Debug\_FunktionDetail.xml
I:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\bin\Debug\_MyBeziehungen.dll
I:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\bin\Debug\_Generic_Event_Handler.dll
I:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\bin\Debug\_DataClass.dll
I:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\bin\Debug\_MyBeziehungen.pdb
I:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\bin\Debug\_MyBeziehungen.xml
I:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\bin\Debug\_MyBeziehungen.dll.config
I:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\bin\Debug\_Generic_Event_Handler.pdb
I:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\bin\Debug\_Generic_Event_Handler.xml
I:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\bin\Debug\_DataClass.pdb
I:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\bin\Debug\_DataClass.xml
I:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\obj\Debug\_FunktionDetail.vbprojAssemblyReference.cache
I:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\obj\Debug\_FunktionDetail.Resources.resources
I:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\obj\Debug\_FunktionDetail.BEA_FunktionDetail.resources
I:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\obj\Debug\_FunktionDetail.vbproj.GenerateResource.cache
I:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\obj\Debug\_FunktionDetail.dll.licenses
I:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\obj\Debug\_FunktionDetail.vbproj.CoreCompileInputs.cache
I:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\obj\Debug\_FunktionDetail.vbproj.CopyComplete
I:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\obj\Debug\_FunktionDetail.dll
I:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\obj\Debug\_FunktionDetail.xml
I:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\obj\Debug\_FunktionDetail.pdb

View File

@@ -0,0 +1,272 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>
_FunktionDetail
</name>
</assembly>
<members>
<member name="T:_FunktionDetail.My.Resources.Resources">
<summary>
Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
</summary>
</member>
<member name="P:_FunktionDetail.My.Resources.Resources.ResourceManager">
<summary>
Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
</summary>
</member>
<member name="P:_FunktionDetail.My.Resources.Resources.Culture">
<summary>
Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
</summary>
</member>
<member name="T:_FunktionDetail.DB.clsKey_tabelle">
<summary>
Purpose: Data Access class for the table 'key_tabelle'.
</summary>
</member>
<member name="M:_FunktionDetail.DB.clsKey_tabelle.#ctor">
<summary>
Purpose: Class constructor.
</summary>
</member>
<member name="M:_FunktionDetail.DB.clsKey_tabelle.Insert">
<summary>
Purpose: Insert method. This method will insert one new row into the database.
</summary>
<returns>True if succeeded, otherwise an Exception is thrown. </returns>
<remarks>
Properties needed for this method:
<UL>
<LI>sBeschreibung</LI>
<LI>iKey_wert</LI>
<LI>iMandantnr. May be SqlInt32.Null</LI>
<LI>bAktiv. May be SqlBoolean.Null</LI>
<LI>daErstellt_am. May be SqlDateTime.Null</LI>
<LI>daMutiert_am. May be SqlDateTime.Null</LI>
<LI>iMutierer. May be SqlInt32.Null</LI>
</UL>
Properties set after a succesful call of this method:
<UL>
<LI>iKeynr</LI>
<LI>iErrorCode</LI>
</UL>
</remarks>
</member>
<member name="M:_FunktionDetail.DB.clsKey_tabelle.Update">
<summary>
Purpose: Update method. This method will Update one existing row in the database.
</summary>
<returns>True if succeeded, otherwise an Exception is thrown. </returns>
<remarks>
Properties needed for this method:
<UL>
<LI>iKeynr</LI>
<LI>sBeschreibung</LI>
<LI>iKey_wert</LI>
<LI>iMandantnr. May be SqlInt32.Null</LI>
<LI>bAktiv. May be SqlBoolean.Null</LI>
<LI>daErstellt_am. May be SqlDateTime.Null</LI>
<LI>daMutiert_am. May be SqlDateTime.Null</LI>
<LI>iMutierer. May be SqlInt32.Null</LI>
</UL>
Properties set after a succesful call of this method:
<UL>
<LI>iErrorCode</LI>
</UL>
</remarks>
</member>
<member name="M:_FunktionDetail.DB.clsKey_tabelle.Delete">
<summary>
Purpose: Delete method. This method will Delete one existing row in the database, based on the Primary Key.
</summary>
<returns>True if succeeded, otherwise an Exception is thrown. </returns>
<remarks>
Properties needed for this method:
<UL>
<LI>iKeynr</LI>
</UL>
Properties set after a succesful call of this method:
<UL>
<LI>iErrorCode</LI>
</UL>
</remarks>
</member>
<member name="M:_FunktionDetail.DB.clsKey_tabelle.SelectOne">
<summary>
Purpose: Select method. This method will Select one existing row from the database, based on the Primary Key.
</summary>
<returns>DataTable object if succeeded, otherwise an Exception is thrown. </returns>
<remarks>
Properties needed for this method:
<UL>
<LI>iKeynr</LI>
</UL>
Properties set after a succesful call of this method:
<UL>
<LI>iErrorCode</LI>
<LI>iKeynr</LI>
<LI>sBeschreibung</LI>
<LI>iKey_wert</LI>
<LI>iMandantnr</LI>
<LI>bAktiv</LI>
<LI>daErstellt_am</LI>
<LI>daMutiert_am</LI>
<LI>iMutierer</LI>
</UL>
Will fill all properties corresponding with a field in the table with the value of the row selected.
</remarks>
</member>
<member name="M:_FunktionDetail.DB.clsKey_tabelle.SelectAll">
<summary>
Purpose: SelectAll method. This method will Select all rows from the table.
</summary>
<returns>DataTable object if succeeded, otherwise an Exception is thrown. </returns>
<remarks>
Properties set after a succesful call of this method:
<UL>
<LI>iErrorCode</LI>
</UL>
</remarks>
</member>
<member name="T:_FunktionDetail.DB.clsMitarbeiter">
<summary>
Purpose: Data Access class for the table 'mitarbeiter'.
</summary>
</member>
<member name="M:_FunktionDetail.DB.clsMitarbeiter.#ctor">
<summary>
Purpose: Class constructor.
</summary>
</member>
<member name="M:_FunktionDetail.DB.clsMitarbeiter.Insert">
<summary>
Purpose: Insert method. This method will insert one new row into the database.
</summary>
<returns>True if succeeded, otherwise an Exception is thrown. </returns>
<remarks>
Properties needed for this method:
<UL>
<LI>iMitarbeiternr</LI>
<LI>sVorname. May be SqlString.Null</LI>
<LI>sName. May be SqlString.Null</LI>
<LI>sTgnummer. May be SqlString.Null</LI>
<LI>sEmail. May be SqlString.Null</LI>
<LI>iMandantnr. May be SqlInt32.Null</LI>
<LI>bAktiv. May be SqlBoolean.Null</LI>
<LI>daErstellt_am. May be SqlDateTime.Null</LI>
<LI>daMutiert_am. May be SqlDateTime.Null</LI>
<LI>iMutierer. May be SqlInt32.Null</LI>
</UL>
Properties set after a succesful call of this method:
<UL>
<LI>iErrorCode</LI>
</UL>
</remarks>
</member>
<member name="M:_FunktionDetail.DB.clsMitarbeiter.Update">
<summary>
Purpose: Update method. This method will Update one existing row in the database.
</summary>
<returns>True if succeeded, otherwise an Exception is thrown. </returns>
<remarks>
Properties needed for this method:
<UL>
<LI>iMitarbeiternr</LI>
<LI>sVorname. May be SqlString.Null</LI>
<LI>sName. May be SqlString.Null</LI>
<LI>sTgnummer. May be SqlString.Null</LI>
<LI>sEmail. May be SqlString.Null</LI>
<LI>iMandantnr. May be SqlInt32.Null</LI>
<LI>bAktiv. May be SqlBoolean.Null</LI>
<LI>daErstellt_am. May be SqlDateTime.Null</LI>
<LI>daMutiert_am. May be SqlDateTime.Null</LI>
<LI>iMutierer. May be SqlInt32.Null</LI>
</UL>
Properties set after a succesful call of this method:
<UL>
<LI>iErrorCode</LI>
</UL>
</remarks>
</member>
<member name="M:_FunktionDetail.DB.clsMitarbeiter.Delete">
<summary>
Purpose: Delete method. This method will Delete one existing row in the database, based on the Primary Key.
</summary>
<returns>True if succeeded, otherwise an Exception is thrown. </returns>
<remarks>
Properties needed for this method:
<UL>
<LI>iMitarbeiternr</LI>
</UL>
Properties set after a succesful call of this method:
<UL>
<LI>iErrorCode</LI>
</UL>
</remarks>
</member>
<member name="M:_FunktionDetail.DB.clsMitarbeiter.SelectOne">
<summary>
Purpose: Select method. This method will Select one existing row from the database, based on the Primary Key.
</summary>
<returns>DataTable object if succeeded, otherwise an Exception is thrown. </returns>
<remarks>
Properties needed for this method:
<UL>
<LI>iMitarbeiternr</LI>
</UL>
Properties set after a succesful call of this method:
<UL>
<LI>iErrorCode</LI>
<LI>iMitarbeiternr</LI>
<LI>sVorname</LI>
<LI>sName</LI>
<LI>sTgnummer</LI>
<LI>sEmail</LI>
<LI>iMandantnr</LI>
<LI>bAktiv</LI>
<LI>daErstellt_am</LI>
<LI>daMutiert_am</LI>
<LI>iMutierer</LI>
</UL>
Will fill all properties corresponding with a field in the table with the value of the row selected.
</remarks>
</member>
<member name="M:_FunktionDetail.DB.clsMitarbeiter.SelectAll">
<summary>
Purpose: SelectAll method. This method will Select all rows from the table.
</summary>
<returns>DataTable object if succeeded, otherwise an Exception is thrown. </returns>
<remarks>
Properties set after a succesful call of this method:
<UL>
<LI>iErrorCode</LI>
</UL>
</remarks>
</member>
<member name="M:_FunktionDetail.DB.clsMyFunktionsstelle.Get_Mutierer(System.Int32)">
<summary>
Mutierer auslesen
</summary>
<returns></returns>
<remarks></remarks>
</member>
<member name="M:_FunktionDetail.DB.clsMyFunktionsstelle.Delete_Thema(System.Int32)">
<summary>
Löschen eines Datensatzes erstellen.
</summary>
<param name="Basenr">Ursprungs-Person: Ist dieser Wert nicht 0, werden die Daten mit BaseNr zuerst gelesen</param>
<returns></returns>
<remarks></remarks>
</member>
<member name="M:_FunktionDetail.DB.clsMyFunktionsstelle.Add_New">
<summary>
Neue Person einfügen
</summary>
<returns></returns>
<remarks></remarks>
</member>
</members>
</doc>

Binary file not shown.

View File

@@ -0,0 +1,4 @@
E:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\obj\Release\_FunktionDetail.Resources.resources
E:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\obj\Release\_FunktionDetail.BEA_FunktionDetail.resources
E:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\obj\Release\_FunktionDetail.vbproj.GenerateResource.Cache
E:\Software-Projekte\TKBDiverse\BEA\_FunktionDetail\obj\Release\_FunktionDetail.dll.licenses

View File