You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
921 lines
37 KiB
921 lines
37 KiB
' ///////////////////////////////////////////////////////////////////////////
|
|
' // Description: Data Access class for the table 'Mitarbeitereinstellung'
|
|
' // Generated by LLBLGen v1.21.2003.712 Final on: Mittwoch, 25. April 2012, 15:27:10
|
|
' // 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 TKB.VV.DB
|
|
''' <summary>
|
|
''' Purpose: Data Access class for the table 'Mitarbeitereinstellung'.
|
|
''' </summary>
|
|
Public Class clsMitarbeitereinstellung
|
|
Inherits clsDBInteractionBase
|
|
|
|
#Region " Class Member Declarations "
|
|
|
|
Private m_bApplikationsuebersicht, m_bReporting, m_bLizenzmanagement, m_bPendenzen, m_bAktivitaeten, m_bVertragsuebersicht As SqlBoolean
|
|
Private m_iWPos4, m_iWPos3, m_iWPos5, m_iWPos6, m_iMitarbeiternr, m_iMitarbeiternrOld, m_iMitarbeitereinstellungnr, m_iWPos2, m_iWPos1 As SqlInt32
|
|
Private m_sWParam4, m_sWParam5, m_sWParam6, m_sWParam1, m_sWParam2, m_sWParam3 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. May be SqlInt32.Null</LI>
|
|
''' <LI>bVertragsuebersicht. May be SqlBoolean.Null</LI>
|
|
''' <LI>bPendenzen. May be SqlBoolean.Null</LI>
|
|
''' <LI>bAktivitaeten. May be SqlBoolean.Null</LI>
|
|
''' <LI>bApplikationsuebersicht. May be SqlBoolean.Null</LI>
|
|
''' <LI>bReporting. May be SqlBoolean.Null</LI>
|
|
''' <LI>bLizenzmanagement. May be SqlBoolean.Null</LI>
|
|
''' <LI>iWPos1. May be SqlInt32.Null</LI>
|
|
''' <LI>iWPos2. May be SqlInt32.Null</LI>
|
|
''' <LI>iWPos3. May be SqlInt32.Null</LI>
|
|
''' <LI>iWPos4. May be SqlInt32.Null</LI>
|
|
''' <LI>iWPos5. May be SqlInt32.Null</LI>
|
|
''' <LI>iWPos6. May be SqlInt32.Null</LI>
|
|
''' <LI>sWParam1. May be SqlString.Null</LI>
|
|
''' <LI>sWParam2. May be SqlString.Null</LI>
|
|
''' <LI>sWParam3. May be SqlString.Null</LI>
|
|
''' <LI>sWParam4. May be SqlString.Null</LI>
|
|
''' <LI>sWParam5. May be SqlString.Null</LI>
|
|
''' <LI>sWParam6. May be SqlString.Null</LI>
|
|
''' </UL>
|
|
''' Properties set after a succesful call of this method:
|
|
''' <UL>
|
|
''' <LI>iMitarbeitereinstellungnr</LI>
|
|
''' <LI>iErrorCode</LI>
|
|
'''</UL>
|
|
''' </remarks>
|
|
Overrides Public Function Insert() As Boolean
|
|
Dim scmCmdToExecute As SqlCommand = New SqlCommand()
|
|
scmCmdToExecute.CommandText = "dbo.[pr_Mitarbeitereinstellung_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, True, 10, 0, "", DataRowVersion.Proposed, m_iMitarbeiternr))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@bVertragsuebersicht", SqlDbType.Bit, 1, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_bVertragsuebersicht))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@bPendenzen", SqlDbType.Bit, 1, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_bPendenzen))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@bAktivitaeten", SqlDbType.Bit, 1, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_bAktivitaeten))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@bApplikationsuebersicht", SqlDbType.Bit, 1, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_bApplikationsuebersicht))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@bReporting", SqlDbType.Bit, 1, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_bReporting))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@bLizenzmanagement", SqlDbType.Bit, 1, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_bLizenzmanagement))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@iWPos1", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iWPos1))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@iWPos2", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iWPos2))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@iWPos3", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iWPos3))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@iWPos4", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iWPos4))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@iWPos5", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iWPos5))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@iWPos6", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iWPos6))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@sWParam1", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sWParam1))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@sWParam2", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sWParam2))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@sWParam3", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sWParam3))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@sWParam4", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sWParam4))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@sWParam5", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sWParam5))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@sWParam6", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sWParam6))
|
|
scmCmdToExecute.Parameters.Add(new SqlParameter("@iMitarbeitereinstellungnr", SqlDbType.Int, 4, ParameterDirection.Output, True, 10, 0, "", DataRowVersion.Proposed, m_iMitarbeitereinstellungnr))
|
|
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_iMitarbeitereinstellungnr = New SqlInt32(CType(scmCmdToExecute.Parameters.Item("@iMitarbeitereinstellungnr").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_Mitarbeitereinstellung_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("clsMitarbeitereinstellung::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>iMitarbeitereinstellungnr</LI>
|
|
''' <LI>iMitarbeiternr. May be SqlInt32.Null</LI>
|
|
''' <LI>bVertragsuebersicht. May be SqlBoolean.Null</LI>
|
|
''' <LI>bPendenzen. May be SqlBoolean.Null</LI>
|
|
''' <LI>bAktivitaeten. May be SqlBoolean.Null</LI>
|
|
''' <LI>bApplikationsuebersicht. May be SqlBoolean.Null</LI>
|
|
''' <LI>bReporting. May be SqlBoolean.Null</LI>
|
|
''' <LI>bLizenzmanagement. May be SqlBoolean.Null</LI>
|
|
''' <LI>iWPos1. May be SqlInt32.Null</LI>
|
|
''' <LI>iWPos2. May be SqlInt32.Null</LI>
|
|
''' <LI>iWPos3. May be SqlInt32.Null</LI>
|
|
''' <LI>iWPos4. May be SqlInt32.Null</LI>
|
|
''' <LI>iWPos5. May be SqlInt32.Null</LI>
|
|
''' <LI>iWPos6. May be SqlInt32.Null</LI>
|
|
''' <LI>sWParam1. May be SqlString.Null</LI>
|
|
''' <LI>sWParam2. May be SqlString.Null</LI>
|
|
''' <LI>sWParam3. May be SqlString.Null</LI>
|
|
''' <LI>sWParam4. May be SqlString.Null</LI>
|
|
''' <LI>sWParam5. May be SqlString.Null</LI>
|
|
''' <LI>sWParam6. May be SqlString.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_Mitarbeitereinstellung_Update]"
|
|
scmCmdToExecute.CommandType = CommandType.StoredProcedure
|
|
|
|
' // Use base class' connection object
|
|
scmCmdToExecute.Connection = m_scoMainConnection
|
|
|
|
Try
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@iMitarbeitereinstellungnr", SqlDbType.Int, 4, ParameterDirection.Input, False, 10, 0, "", DataRowVersion.Proposed, m_iMitarbeitereinstellungnr))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@iMitarbeiternr", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iMitarbeiternr))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@bVertragsuebersicht", SqlDbType.Bit, 1, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_bVertragsuebersicht))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@bPendenzen", SqlDbType.Bit, 1, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_bPendenzen))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@bAktivitaeten", SqlDbType.Bit, 1, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_bAktivitaeten))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@bApplikationsuebersicht", SqlDbType.Bit, 1, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_bApplikationsuebersicht))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@bReporting", SqlDbType.Bit, 1, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_bReporting))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@bLizenzmanagement", SqlDbType.Bit, 1, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_bLizenzmanagement))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@iWPos1", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iWPos1))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@iWPos2", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iWPos2))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@iWPos3", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iWPos3))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@iWPos4", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iWPos4))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@iWPos5", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iWPos5))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@iWPos6", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iWPos6))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@sWParam1", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sWParam1))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@sWParam2", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sWParam2))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@sWParam3", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sWParam3))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@sWParam4", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sWParam4))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@sWParam5", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sWParam5))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@sWParam6", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sWParam6))
|
|
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_Mitarbeitereinstellung_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("clsMitarbeitereinstellung::Update::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 for updating one or more rows using the Foreign Key 'Mitarbeiternr.
|
|
''' This method will Update one or more existing rows in the database. It will reset the field 'Mitarbeiternr' in
|
|
''' all rows which have as value for this field the value as set in property 'iMitarbeiternrOld' to
|
|
''' the value as set in property 'iMitarbeiternr'.
|
|
''' </summary>
|
|
''' <returns>True if succeeded, otherwise an Exception is thrown. </returns>
|
|
''' <remarks>
|
|
''' Properties needed for this method:
|
|
''' <UL>
|
|
''' <LI>iMitarbeiternr. May be SqlInt32.Null</LI>
|
|
''' <LI>iMitarbeiternrOld. May be SqlInt32.Null</LI>
|
|
''' </UL>
|
|
''' Properties set after a succesful call of this method:
|
|
''' <UL>
|
|
''' <LI>iErrorCode</LI>
|
|
''' </UL>
|
|
''' </remarks>
|
|
Public Function UpdateAllWMitarbeiternrLogic() As Boolean
|
|
Dim scmCmdToExecute As SqlCommand = New SqlCommand()
|
|
scmCmdToExecute.CommandText = "dbo.[pr_Mitarbeitereinstellung_UpdateAllWMitarbeiternrLogic]"
|
|
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("@iMitarbeiternrOld", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iMitarbeiternrOld))
|
|
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_iMitarbeiternr = New SqlInt32(CType(scmCmdToExecute.Parameters.Item("@iMitarbeiternr").Value, Integer))
|
|
|
|
If Not m_iErrorCode.Equals(New SqlInt32(LLBLError.AllOk)) Then
|
|
' // Throw error.
|
|
Throw New Exception("Stored Procedure 'pr_Mitarbeitereinstellung_UpdateAllWMitarbeiternrLogic' 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("clsMitarbeitereinstellung::UpdateAllWMitarbeiternrLogic::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>iMitarbeitereinstellungnr</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_Mitarbeitereinstellung_Delete]"
|
|
scmCmdToExecute.CommandType = CommandType.StoredProcedure
|
|
|
|
' // Use base class' connection object
|
|
scmCmdToExecute.Connection = m_scoMainConnection
|
|
|
|
Try
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@iMitarbeitereinstellungnr", SqlDbType.Int, 4, ParameterDirection.Input, False, 10, 0, "", DataRowVersion.Proposed, m_iMitarbeitereinstellungnr))
|
|
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_Mitarbeitereinstellung_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("clsMitarbeitereinstellung::Delete::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 for a foreign key. This method will Delete one or more rows from the database, based on the Foreign Key 'Mitarbeiternr'
|
|
''' </summary>
|
|
''' <returns>true if succeeded, false otherwise </returns>
|
|
''' <remarks>
|
|
''' Properties needed for this method:
|
|
''' <UL>
|
|
''' <LI>iMitarbeiternr. May be SqlInt32.Null</LI>
|
|
''' </UL>
|
|
''' Properties set after a succesful call of this method:
|
|
''' <UL>
|
|
''' <LI>iErrorCode</LI>
|
|
''' </UL>
|
|
''' </remarks>
|
|
Public Function DeleteAllWMitarbeiternrLogic() As Boolean
|
|
Dim scmCmdToExecute As SqlCommand = New SqlCommand()
|
|
scmCmdToExecute.CommandText = "dbo.[pr_Mitarbeitereinstellung_DeleteAllWMitarbeiternrLogic]"
|
|
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_iMitarbeiternr = New SqlInt32(CType(scmCmdToExecute.Parameters.Item("@iMitarbeiternr").Value, Integer))
|
|
|
|
If Not m_iErrorCode.Equals(New SqlInt32(LLBLError.AllOk)) Then
|
|
' // Throw error.
|
|
Throw New Exception("Stored Procedure 'pr_Mitarbeitereinstellung_DeleteAllWMitarbeiternrLogic' 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("clsMitarbeitereinstellung::DeleteAllWMitarbeiternrLogic::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>iMitarbeitereinstellungnr</LI>
|
|
''' </UL>
|
|
''' Properties set after a succesful call of this method:
|
|
''' <UL>
|
|
''' <LI>iErrorCode</LI>
|
|
''' <LI>iMitarbeitereinstellungnr</LI>
|
|
''' <LI>iMitarbeiternr</LI>
|
|
''' <LI>bVertragsuebersicht</LI>
|
|
''' <LI>bPendenzen</LI>
|
|
''' <LI>bAktivitaeten</LI>
|
|
''' <LI>bApplikationsuebersicht</LI>
|
|
''' <LI>bReporting</LI>
|
|
''' <LI>bLizenzmanagement</LI>
|
|
''' <LI>iWPos1</LI>
|
|
''' <LI>iWPos2</LI>
|
|
''' <LI>iWPos3</LI>
|
|
''' <LI>iWPos4</LI>
|
|
''' <LI>iWPos5</LI>
|
|
''' <LI>iWPos6</LI>
|
|
''' <LI>sWParam1</LI>
|
|
''' <LI>sWParam2</LI>
|
|
''' <LI>sWParam3</LI>
|
|
''' <LI>sWParam4</LI>
|
|
''' <LI>sWParam5</LI>
|
|
''' <LI>sWParam6</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_Mitarbeitereinstellung_SelectOne]"
|
|
scmCmdToExecute.CommandType = CommandType.StoredProcedure
|
|
Dim dtToReturn As DataTable = new DataTable("Mitarbeitereinstellung")
|
|
Dim sdaAdapter As SqlDataAdapter = new SqlDataAdapter(scmCmdToExecute)
|
|
|
|
' // Use base class' connection object
|
|
scmCmdToExecute.Connection = m_scoMainConnection
|
|
|
|
Try
|
|
scmCmdToExecute.Parameters.Add(new SqlParameter("@iMitarbeitereinstellungnr", SqlDbType.Int, 4, ParameterDirection.Input, False, 10, 0, "", DataRowVersion.Proposed, m_iMitarbeitereinstellungnr))
|
|
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_Mitarbeitereinstellung_SelectOne' reported the ErrorCode: " & m_iErrorCode.ToString())
|
|
End If
|
|
|
|
If dtToReturn.Rows.Count > 0 Then
|
|
m_iMitarbeitereinstellungnr = New SqlInt32(CType(dtToReturn.Rows(0)("Mitarbeitereinstellungnr"), Integer))
|
|
If dtToReturn.Rows(0)("Mitarbeiternr") Is System.DBNull.Value Then
|
|
m_iMitarbeiternr = SqlInt32.Null
|
|
Else
|
|
m_iMitarbeiternr = New SqlInt32(CType(dtToReturn.Rows(0)("Mitarbeiternr"), Integer))
|
|
End If
|
|
If dtToReturn.Rows(0)("Vertragsuebersicht") Is System.DBNull.Value Then
|
|
m_bVertragsuebersicht = SqlBoolean.Null
|
|
Else
|
|
m_bVertragsuebersicht = New SqlBoolean(CType(dtToReturn.Rows(0)("Vertragsuebersicht"), Boolean))
|
|
End If
|
|
If dtToReturn.Rows(0)("Pendenzen") Is System.DBNull.Value Then
|
|
m_bPendenzen = SqlBoolean.Null
|
|
Else
|
|
m_bPendenzen = New SqlBoolean(CType(dtToReturn.Rows(0)("Pendenzen"), Boolean))
|
|
End If
|
|
If dtToReturn.Rows(0)("Aktivitaeten") Is System.DBNull.Value Then
|
|
m_bAktivitaeten = SqlBoolean.Null
|
|
Else
|
|
m_bAktivitaeten = New SqlBoolean(CType(dtToReturn.Rows(0)("Aktivitaeten"), Boolean))
|
|
End If
|
|
If dtToReturn.Rows(0)("Applikationsuebersicht") Is System.DBNull.Value Then
|
|
m_bApplikationsuebersicht = SqlBoolean.Null
|
|
Else
|
|
m_bApplikationsuebersicht = New SqlBoolean(CType(dtToReturn.Rows(0)("Applikationsuebersicht"), Boolean))
|
|
End If
|
|
If dtToReturn.Rows(0)("Reporting") Is System.DBNull.Value Then
|
|
m_bReporting = SqlBoolean.Null
|
|
Else
|
|
m_bReporting = New SqlBoolean(CType(dtToReturn.Rows(0)("Reporting"), Boolean))
|
|
End If
|
|
If dtToReturn.Rows(0)("Lizenzmanagement") Is System.DBNull.Value Then
|
|
m_bLizenzmanagement = SqlBoolean.Null
|
|
Else
|
|
m_bLizenzmanagement = New SqlBoolean(CType(dtToReturn.Rows(0)("Lizenzmanagement"), Boolean))
|
|
End If
|
|
If dtToReturn.Rows(0)("WPos1") Is System.DBNull.Value Then
|
|
m_iWPos1 = SqlInt32.Null
|
|
Else
|
|
m_iWPos1 = New SqlInt32(CType(dtToReturn.Rows(0)("WPos1"), Integer))
|
|
End If
|
|
If dtToReturn.Rows(0)("WPos2") Is System.DBNull.Value Then
|
|
m_iWPos2 = SqlInt32.Null
|
|
Else
|
|
m_iWPos2 = New SqlInt32(CType(dtToReturn.Rows(0)("WPos2"), Integer))
|
|
End If
|
|
If dtToReturn.Rows(0)("WPos3") Is System.DBNull.Value Then
|
|
m_iWPos3 = SqlInt32.Null
|
|
Else
|
|
m_iWPos3 = New SqlInt32(CType(dtToReturn.Rows(0)("WPos3"), Integer))
|
|
End If
|
|
If dtToReturn.Rows(0)("WPos4") Is System.DBNull.Value Then
|
|
m_iWPos4 = SqlInt32.Null
|
|
Else
|
|
m_iWPos4 = New SqlInt32(CType(dtToReturn.Rows(0)("WPos4"), Integer))
|
|
End If
|
|
If dtToReturn.Rows(0)("WPos5") Is System.DBNull.Value Then
|
|
m_iWPos5 = SqlInt32.Null
|
|
Else
|
|
m_iWPos5 = New SqlInt32(CType(dtToReturn.Rows(0)("WPos5"), Integer))
|
|
End If
|
|
If dtToReturn.Rows(0)("WPos6") Is System.DBNull.Value Then
|
|
m_iWPos6 = SqlInt32.Null
|
|
Else
|
|
m_iWPos6 = New SqlInt32(CType(dtToReturn.Rows(0)("WPos6"), Integer))
|
|
End If
|
|
If dtToReturn.Rows(0)("WParam1") Is System.DBNull.Value Then
|
|
m_sWParam1 = SqlString.Null
|
|
Else
|
|
m_sWParam1 = New SqlString(CType(dtToReturn.Rows(0)("WParam1"), String))
|
|
End If
|
|
If dtToReturn.Rows(0)("WParam2") Is System.DBNull.Value Then
|
|
m_sWParam2 = SqlString.Null
|
|
Else
|
|
m_sWParam2 = New SqlString(CType(dtToReturn.Rows(0)("WParam2"), String))
|
|
End If
|
|
If dtToReturn.Rows(0)("WParam3") Is System.DBNull.Value Then
|
|
m_sWParam3 = SqlString.Null
|
|
Else
|
|
m_sWParam3 = New SqlString(CType(dtToReturn.Rows(0)("WParam3"), String))
|
|
End If
|
|
If dtToReturn.Rows(0)("WParam4") Is System.DBNull.Value Then
|
|
m_sWParam4 = SqlString.Null
|
|
Else
|
|
m_sWParam4 = New SqlString(CType(dtToReturn.Rows(0)("WParam4"), String))
|
|
End If
|
|
If dtToReturn.Rows(0)("WParam5") Is System.DBNull.Value Then
|
|
m_sWParam5 = SqlString.Null
|
|
Else
|
|
m_sWParam5 = New SqlString(CType(dtToReturn.Rows(0)("WParam5"), String))
|
|
End If
|
|
If dtToReturn.Rows(0)("WParam6") Is System.DBNull.Value Then
|
|
m_sWParam6 = SqlString.Null
|
|
Else
|
|
m_sWParam6 = New SqlString(CType(dtToReturn.Rows(0)("WParam6"), String))
|
|
End If
|
|
End If
|
|
Return dtToReturn
|
|
Catch ex As Exception
|
|
' // some error occured. Bubble it to caller and encapsulate Exception object
|
|
Throw New Exception("clsMitarbeitereinstellung::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_Mitarbeitereinstellung_SelectAll]"
|
|
scmCmdToExecute.CommandType = CommandType.StoredProcedure
|
|
Dim dtToReturn As DataTable = new DataTable("Mitarbeitereinstellung")
|
|
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_Mitarbeitereinstellung_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("clsMitarbeitereinstellung::SelectAll::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: Select method for a foreign key. This method will Select one or more rows from the database, based on the Foreign Key 'Mitarbeiternr'
|
|
''' </summary>
|
|
''' <returns>DataTable object if succeeded, otherwise an Exception is thrown. </returns>
|
|
''' <remarks>
|
|
''' Properties needed for this method:
|
|
''' <UL>
|
|
''' <LI>iMitarbeiternr. May be SqlInt32.Null</LI>
|
|
''' </UL>
|
|
''' Properties set after a succesful call of this method:
|
|
''' <UL>
|
|
''' <LI>iErrorCode</LI>
|
|
''' </UL>
|
|
''' </remarks>
|
|
Public Function SelectAllWMitarbeiternrLogic() As DataTable
|
|
Dim scmCmdToExecute As SqlCommand = New SqlCommand()
|
|
scmCmdToExecute.CommandText = "dbo.[pr_Mitarbeitereinstellung_SelectAllWMitarbeiternrLogic]"
|
|
scmCmdToExecute.CommandType = CommandType.StoredProcedure
|
|
Dim dtToReturn As DataTable = new DataTable("Mitarbeitereinstellung")
|
|
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, True, 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_iMitarbeiternr = New SqlInt32(CType(scmCmdToExecute.Parameters.Item("@iMitarbeiternr").Value, Integer))
|
|
|
|
If Not m_iErrorCode.Equals(New SqlInt32(LLBLError.AllOk)) Then
|
|
' // Throw error.
|
|
Throw New Exception("Stored Procedure 'pr_Mitarbeitereinstellung_SelectAllWMitarbeiternrLogic' 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("clsMitarbeitereinstellung::SelectAllWMitarbeiternrLogic::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 [iMitarbeitereinstellungnr]() As SqlInt32
|
|
Get
|
|
Return m_iMitarbeitereinstellungnr
|
|
End Get
|
|
Set(ByVal Value As SqlInt32)
|
|
Dim iMitarbeitereinstellungnrTmp As SqlInt32 = Value
|
|
If iMitarbeitereinstellungnrTmp.IsNull Then
|
|
Throw New ArgumentOutOfRangeException("iMitarbeitereinstellungnr", "iMitarbeitereinstellungnr can't be NULL")
|
|
End If
|
|
m_iMitarbeitereinstellungnr = Value
|
|
End Set
|
|
End Property
|
|
|
|
|
|
Public Property [iMitarbeiternr]() As SqlInt32
|
|
Get
|
|
Return m_iMitarbeiternr
|
|
End Get
|
|
Set(ByVal Value As SqlInt32)
|
|
m_iMitarbeiternr = Value
|
|
End Set
|
|
End Property
|
|
Public Property [iMitarbeiternrOld]() As SqlInt32
|
|
Get
|
|
Return m_iMitarbeiternrOld
|
|
End Get
|
|
Set(ByVal Value As SqlInt32)
|
|
m_iMitarbeiternrOld = Value
|
|
End Set
|
|
End Property
|
|
|
|
|
|
Public Property [bVertragsuebersicht]() As SqlBoolean
|
|
Get
|
|
Return m_bVertragsuebersicht
|
|
End Get
|
|
Set(ByVal Value As SqlBoolean)
|
|
m_bVertragsuebersicht = Value
|
|
End Set
|
|
End Property
|
|
|
|
|
|
Public Property [bPendenzen]() As SqlBoolean
|
|
Get
|
|
Return m_bPendenzen
|
|
End Get
|
|
Set(ByVal Value As SqlBoolean)
|
|
m_bPendenzen = Value
|
|
End Set
|
|
End Property
|
|
|
|
|
|
Public Property [bAktivitaeten]() As SqlBoolean
|
|
Get
|
|
Return m_bAktivitaeten
|
|
End Get
|
|
Set(ByVal Value As SqlBoolean)
|
|
m_bAktivitaeten = Value
|
|
End Set
|
|
End Property
|
|
|
|
|
|
Public Property [bApplikationsuebersicht]() As SqlBoolean
|
|
Get
|
|
Return m_bApplikationsuebersicht
|
|
End Get
|
|
Set(ByVal Value As SqlBoolean)
|
|
m_bApplikationsuebersicht = Value
|
|
End Set
|
|
End Property
|
|
|
|
|
|
Public Property [bReporting]() As SqlBoolean
|
|
Get
|
|
Return m_bReporting
|
|
End Get
|
|
Set(ByVal Value As SqlBoolean)
|
|
m_bReporting = Value
|
|
End Set
|
|
End Property
|
|
|
|
|
|
Public Property [bLizenzmanagement]() As SqlBoolean
|
|
Get
|
|
Return m_bLizenzmanagement
|
|
End Get
|
|
Set(ByVal Value As SqlBoolean)
|
|
m_bLizenzmanagement = Value
|
|
End Set
|
|
End Property
|
|
|
|
|
|
Public Property [iWPos1]() As SqlInt32
|
|
Get
|
|
Return m_iWPos1
|
|
End Get
|
|
Set(ByVal Value As SqlInt32)
|
|
m_iWPos1 = Value
|
|
End Set
|
|
End Property
|
|
|
|
|
|
Public Property [iWPos2]() As SqlInt32
|
|
Get
|
|
Return m_iWPos2
|
|
End Get
|
|
Set(ByVal Value As SqlInt32)
|
|
m_iWPos2 = Value
|
|
End Set
|
|
End Property
|
|
|
|
|
|
Public Property [iWPos3]() As SqlInt32
|
|
Get
|
|
Return m_iWPos3
|
|
End Get
|
|
Set(ByVal Value As SqlInt32)
|
|
m_iWPos3 = Value
|
|
End Set
|
|
End Property
|
|
|
|
|
|
Public Property [iWPos4]() As SqlInt32
|
|
Get
|
|
Return m_iWPos4
|
|
End Get
|
|
Set(ByVal Value As SqlInt32)
|
|
m_iWPos4 = Value
|
|
End Set
|
|
End Property
|
|
|
|
|
|
Public Property [iWPos5]() As SqlInt32
|
|
Get
|
|
Return m_iWPos5
|
|
End Get
|
|
Set(ByVal Value As SqlInt32)
|
|
m_iWPos5 = Value
|
|
End Set
|
|
End Property
|
|
|
|
|
|
Public Property [iWPos6]() As SqlInt32
|
|
Get
|
|
Return m_iWPos6
|
|
End Get
|
|
Set(ByVal Value As SqlInt32)
|
|
m_iWPos6 = Value
|
|
End Set
|
|
End Property
|
|
|
|
|
|
Public Property [sWParam1]() As SqlString
|
|
Get
|
|
Return m_sWParam1
|
|
End Get
|
|
Set(ByVal Value As SqlString)
|
|
m_sWParam1 = Value
|
|
End Set
|
|
End Property
|
|
|
|
|
|
Public Property [sWParam2]() As SqlString
|
|
Get
|
|
Return m_sWParam2
|
|
End Get
|
|
Set(ByVal Value As SqlString)
|
|
m_sWParam2 = Value
|
|
End Set
|
|
End Property
|
|
|
|
|
|
Public Property [sWParam3]() As SqlString
|
|
Get
|
|
Return m_sWParam3
|
|
End Get
|
|
Set(ByVal Value As SqlString)
|
|
m_sWParam3 = Value
|
|
End Set
|
|
End Property
|
|
|
|
|
|
Public Property [sWParam4]() As SqlString
|
|
Get
|
|
Return m_sWParam4
|
|
End Get
|
|
Set(ByVal Value As SqlString)
|
|
m_sWParam4 = Value
|
|
End Set
|
|
End Property
|
|
|
|
|
|
Public Property [sWParam5]() As SqlString
|
|
Get
|
|
Return m_sWParam5
|
|
End Get
|
|
Set(ByVal Value As SqlString)
|
|
m_sWParam5 = Value
|
|
End Set
|
|
End Property
|
|
|
|
|
|
Public Property [sWParam6]() As SqlString
|
|
Get
|
|
Return m_sWParam6
|
|
End Get
|
|
Set(ByVal Value As SqlString)
|
|
m_sWParam6 = Value
|
|
End Set
|
|
End Property
|
|
|
|
#End Region
|
|
|
|
End Class
|
|
End Namespace
|