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.
851 lines
38 KiB
851 lines
38 KiB
' ///////////////////////////////////////////////////////////////////////////
|
|
' // Description: Data Access class for the table 'office_vorlage'
|
|
' // Generated by LLBLGen v1.2.1045.38210 Final on: Donnerstag, 26. Februar 2004, 22:30:42
|
|
' // 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 edokadb
|
|
' /// <summary>
|
|
' /// Purpose: Data Access class for the table 'office_vorlage'.
|
|
' /// </summary>
|
|
Public Class clsOffice_vorlage
|
|
Inherits clsDBInteractionBase
|
|
|
|
#Region " Class Member Declarations "
|
|
|
|
Private m_bDokument_geschuetzt, m_bIdv_nativ, m_bAbsender_ersteller, m_bAktiv, m_bBchorizontal, m_bKopfzeile_generieren, m_bIdv_vorlage As SqlBoolean
|
|
Private m_daMutiert_am, m_daErstellt_am As SqlDateTime
|
|
Private m_iMandantnr, m_iBch, m_iBcw, m_iOffice_vorlagenr, m_iMutierer, m_iAnwendungnr, m_iOwner, m_iKlassifizierung, m_iVorlageid, m_iBcpl, m_iBcpt As SqlInt32
|
|
Private m_sPrefix_dokumentname, m_sIdv_id, m_sOffice_vorlage, m_sBezeichnung, m_sBeschreibung, m_sVorlagename 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>iOffice_vorlagenr</LI>
|
|
' /// <LI>sBezeichnung. May be SqlString.Null</LI>
|
|
' /// <LI>sBeschreibung. May be SqlString.Null</LI>
|
|
' /// <LI>iVorlageid. May be SqlInt32.Null</LI>
|
|
' /// <LI>sVorlagename. May be SqlString.Null</LI>
|
|
' /// <LI>sPrefix_dokumentname. May be SqlString.Null</LI>
|
|
' /// <LI>bIdv_vorlage</LI>
|
|
' /// <LI>sIdv_id. May be SqlString.Null</LI>
|
|
' /// <LI>sOffice_vorlage. May be SqlString.Null</LI>
|
|
' /// <LI>bAbsender_ersteller. May be SqlBoolean.Null</LI>
|
|
' /// <LI>bIdv_nativ</LI>
|
|
' /// <LI>bDokument_geschuetzt. May be SqlBoolean.Null</LI>
|
|
' /// <LI>bKopfzeile_generieren</LI>
|
|
' /// <LI>iKlassifizierung. May be SqlInt32.Null</LI>
|
|
' /// <LI>iBcpt</LI>
|
|
' /// <LI>iBcpl. May be SqlInt32.Null</LI>
|
|
' /// <LI>iBcw</LI>
|
|
' /// <LI>iBch</LI>
|
|
' /// <LI>bBchorizontal. May be SqlBoolean.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>
|
|
' /// <LI>iAnwendungnr. May be SqlInt32.Null</LI>
|
|
' /// <LI>iOwner. 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_office_vorlage_Insert]"
|
|
scmCmdToExecute.CommandType = CommandType.StoredProcedure
|
|
|
|
' // Use base class' connection object
|
|
scmCmdToExecute.Connection = m_scoMainConnection
|
|
|
|
Try
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@ioffice_vorlagenr", SqlDbType.Int, 4, ParameterDirection.Input, False, 10, 0, "", DataRowVersion.Proposed, m_iOffice_vorlagenr))
|
|
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("@ivorlageid", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iVorlageid))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@svorlagename", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sVorlagename))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@sprefix_dokumentname", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sPrefix_dokumentname))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@bidv_vorlage", SqlDbType.Bit, 1, ParameterDirection.Input, False, 1, 0, "", DataRowVersion.Proposed, m_bIdv_vorlage))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@sidv_id", SqlDbType.VarChar, 50, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sIdv_id))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@soffice_vorlage", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sOffice_vorlage))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@babsender_ersteller", SqlDbType.Bit, 1, ParameterDirection.Input, True, 1, 0, "", DataRowVersion.Proposed, m_bAbsender_ersteller))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@bidv_nativ", SqlDbType.Bit, 1, ParameterDirection.Input, False, 1, 0, "", DataRowVersion.Proposed, m_bIdv_nativ))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@bdokument_geschuetzt", SqlDbType.Bit, 1, ParameterDirection.Input, True, 1, 0, "", DataRowVersion.Proposed, m_bDokument_geschuetzt))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@bkopfzeile_generieren", SqlDbType.Bit, 1, ParameterDirection.Input, False, 1, 0, "", DataRowVersion.Proposed, m_bKopfzeile_generieren))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@iklassifizierung", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iKlassifizierung))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@ibcpt", SqlDbType.Int, 4, ParameterDirection.Input, False, 10, 0, "", DataRowVersion.Proposed, m_iBcpt))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@ibcpl", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iBcpl))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@ibcw", SqlDbType.Int, 4, ParameterDirection.Input, False, 10, 0, "", DataRowVersion.Proposed, m_iBcw))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@ibch", SqlDbType.Int, 4, ParameterDirection.Input, False, 10, 0, "", DataRowVersion.Proposed, m_iBch))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@bbchorizontal", SqlDbType.Bit, 1, ParameterDirection.Input, True, 1, 0, "", DataRowVersion.Proposed, m_bBchorizontal))
|
|
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, 1, 0, "", DataRowVersion.Proposed, m_bAktiv))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@daerstellt_am", SqlDbType.DateTime, 8, ParameterDirection.Input, True, 23, 3, "", DataRowVersion.Proposed, m_daErstellt_am))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@damutiert_am", SqlDbType.DateTime, 8, ParameterDirection.Input, True, 23, 3, "", 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("@ianwendungnr", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iAnwendungnr))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@iowner", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iOwner))
|
|
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.
|
|
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_office_vorlage_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("clsOffice_vorlage::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>iOffice_vorlagenr</LI>
|
|
' /// <LI>sBezeichnung. May be SqlString.Null</LI>
|
|
' /// <LI>sBeschreibung. May be SqlString.Null</LI>
|
|
' /// <LI>iVorlageid. May be SqlInt32.Null</LI>
|
|
' /// <LI>sVorlagename. May be SqlString.Null</LI>
|
|
' /// <LI>sPrefix_dokumentname. May be SqlString.Null</LI>
|
|
' /// <LI>bIdv_vorlage</LI>
|
|
' /// <LI>sIdv_id. May be SqlString.Null</LI>
|
|
' /// <LI>sOffice_vorlage. May be SqlString.Null</LI>
|
|
' /// <LI>bAbsender_ersteller. May be SqlBoolean.Null</LI>
|
|
' /// <LI>bIdv_nativ</LI>
|
|
' /// <LI>bDokument_geschuetzt. May be SqlBoolean.Null</LI>
|
|
' /// <LI>bKopfzeile_generieren</LI>
|
|
' /// <LI>iKlassifizierung. May be SqlInt32.Null</LI>
|
|
' /// <LI>iBcpt</LI>
|
|
' /// <LI>iBcpl. May be SqlInt32.Null</LI>
|
|
' /// <LI>iBcw</LI>
|
|
' /// <LI>iBch</LI>
|
|
' /// <LI>bBchorizontal. May be SqlBoolean.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>
|
|
' /// <LI>iAnwendungnr. May be SqlInt32.Null</LI>
|
|
' /// <LI>iOwner. 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_office_vorlage_Update]"
|
|
scmCmdToExecute.CommandType = CommandType.StoredProcedure
|
|
|
|
' // Use base class' connection object
|
|
scmCmdToExecute.Connection = m_scoMainConnection
|
|
|
|
Try
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@ioffice_vorlagenr", SqlDbType.Int, 4, ParameterDirection.Input, False, 10, 0, "", DataRowVersion.Proposed, m_iOffice_vorlagenr))
|
|
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("@ivorlageid", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iVorlageid))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@svorlagename", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sVorlagename))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@sprefix_dokumentname", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sPrefix_dokumentname))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@bidv_vorlage", SqlDbType.Bit, 1, ParameterDirection.Input, False, 1, 0, "", DataRowVersion.Proposed, m_bIdv_vorlage))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@sidv_id", SqlDbType.VarChar, 50, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sIdv_id))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@soffice_vorlage", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sOffice_vorlage))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@babsender_ersteller", SqlDbType.Bit, 1, ParameterDirection.Input, True, 1, 0, "", DataRowVersion.Proposed, m_bAbsender_ersteller))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@bidv_nativ", SqlDbType.Bit, 1, ParameterDirection.Input, False, 1, 0, "", DataRowVersion.Proposed, m_bIdv_nativ))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@bdokument_geschuetzt", SqlDbType.Bit, 1, ParameterDirection.Input, True, 1, 0, "", DataRowVersion.Proposed, m_bDokument_geschuetzt))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@bkopfzeile_generieren", SqlDbType.Bit, 1, ParameterDirection.Input, False, 1, 0, "", DataRowVersion.Proposed, m_bKopfzeile_generieren))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@iklassifizierung", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iKlassifizierung))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@ibcpt", SqlDbType.Int, 4, ParameterDirection.Input, False, 10, 0, "", DataRowVersion.Proposed, m_iBcpt))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@ibcpl", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iBcpl))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@ibcw", SqlDbType.Int, 4, ParameterDirection.Input, False, 10, 0, "", DataRowVersion.Proposed, m_iBcw))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@ibch", SqlDbType.Int, 4, ParameterDirection.Input, False, 10, 0, "", DataRowVersion.Proposed, m_iBch))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@bbchorizontal", SqlDbType.Bit, 1, ParameterDirection.Input, True, 1, 0, "", DataRowVersion.Proposed, m_bBchorizontal))
|
|
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, 1, 0, "", DataRowVersion.Proposed, m_bAktiv))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@daerstellt_am", SqlDbType.DateTime, 8, ParameterDirection.Input, True, 23, 3, "", DataRowVersion.Proposed, m_daErstellt_am))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@damutiert_am", SqlDbType.DateTime, 8, ParameterDirection.Input, True, 23, 3, "", 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("@ianwendungnr", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iAnwendungnr))
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@iowner", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iOwner))
|
|
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.
|
|
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_office_vorlage_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("clsOffice_vorlage::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>iOffice_vorlagenr</LI>
|
|
' /// </UL>
|
|
' /// Properties set after a succesful call of this method:
|
|
' /// <UL>
|
|
' /// <LI>iErrorCode</LI>
|
|
' /// </UL>
|
|
' /// </remarks>
|
|
Public Overrides Function Delete() As Boolean
|
|
Dim scmCmdToExecute As SqlCommand = New SqlCommand()
|
|
scmCmdToExecute.CommandText = "dbo.[pr_office_vorlage_Delete]"
|
|
scmCmdToExecute.CommandType = CommandType.StoredProcedure
|
|
|
|
' // Use base class' connection object
|
|
scmCmdToExecute.Connection = m_scoMainConnection
|
|
|
|
Try
|
|
scmCmdToExecute.Parameters.Add(New SqlParameter("@ioffice_vorlagenr", SqlDbType.Int, 4, ParameterDirection.Input, False, 10, 0, "", DataRowVersion.Proposed, m_iOffice_vorlagenr))
|
|
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.
|
|
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_office_vorlage_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("clsOffice_vorlage::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>iOffice_vorlagenr</LI>
|
|
' /// </UL>
|
|
' /// Properties set after a succesful call of this method:
|
|
' /// <UL>
|
|
' /// <LI>iErrorCode</LI>
|
|
' /// <LI>iOffice_vorlagenr</LI>
|
|
' /// <LI>sBezeichnung</LI>
|
|
' /// <LI>sBeschreibung</LI>
|
|
' /// <LI>iVorlageid</LI>
|
|
' /// <LI>sVorlagename</LI>
|
|
' /// <LI>sPrefix_dokumentname</LI>
|
|
' /// <LI>bIdv_vorlage</LI>
|
|
' /// <LI>sIdv_id</LI>
|
|
' /// <LI>sOffice_vorlage</LI>
|
|
' /// <LI>bAbsender_ersteller</LI>
|
|
' /// <LI>bIdv_nativ</LI>
|
|
' /// <LI>bDokument_geschuetzt</LI>
|
|
' /// <LI>bKopfzeile_generieren</LI>
|
|
' /// <LI>iKlassifizierung</LI>
|
|
' /// <LI>iBcpt</LI>
|
|
' /// <LI>iBcpl</LI>
|
|
' /// <LI>iBcw</LI>
|
|
' /// <LI>iBch</LI>
|
|
' /// <LI>bBchorizontal</LI>
|
|
' /// <LI>iMandantnr</LI>
|
|
' /// <LI>bAktiv</LI>
|
|
' /// <LI>daErstellt_am</LI>
|
|
' /// <LI>daMutiert_am</LI>
|
|
' /// <LI>iMutierer</LI>
|
|
' /// <LI>iAnwendungnr</LI>
|
|
' /// <LI>iOwner</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_office_vorlage_SelectOne]"
|
|
scmCmdToExecute.CommandType = CommandType.StoredProcedure
|
|
Dim dtToReturn As DataTable = new DataTable("office_vorlage")
|
|
Dim sdaAdapter As SqlDataAdapter = new SqlDataAdapter(scmCmdToExecute)
|
|
|
|
' // Use base class' connection object
|
|
scmCmdToExecute.Connection = m_scoMainConnection
|
|
|
|
Try
|
|
scmCmdToExecute.Parameters.Add(new SqlParameter("@ioffice_vorlagenr", SqlDbType.Int, 4, ParameterDirection.Input, False, 10, 0, "", DataRowVersion.Proposed, m_iOffice_vorlagenr))
|
|
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_office_vorlage_SelectOne' reported the ErrorCode: " & m_iErrorCode.ToString())
|
|
End If
|
|
|
|
If dtToReturn.Rows.Count > 0 Then
|
|
m_iOffice_vorlagenr = New SqlInt32(CType(dtToReturn.Rows(0)("office_vorlagenr"), Integer))
|
|
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)("vorlageid") Is System.DBNull.Value Then
|
|
m_iVorlageid = SqlInt32.Null
|
|
Else
|
|
m_iVorlageid = New SqlInt32(CType(dtToReturn.Rows(0)("vorlageid"), Integer))
|
|
End If
|
|
If dtToReturn.Rows(0)("vorlagename") Is System.DBNull.Value Then
|
|
m_sVorlagename = SqlString.Null
|
|
Else
|
|
m_sVorlagename = New SqlString(CType(dtToReturn.Rows(0)("vorlagename"), String))
|
|
End If
|
|
If dtToReturn.Rows(0)("prefix_dokumentname") Is System.DBNull.Value Then
|
|
m_sPrefix_dokumentname = SqlString.Null
|
|
Else
|
|
m_sPrefix_dokumentname = New SqlString(CType(dtToReturn.Rows(0)("prefix_dokumentname"), String))
|
|
End If
|
|
m_bIdv_vorlage = New SqlBoolean(CType(dtToReturn.Rows(0)("idv_vorlage"), Boolean))
|
|
If dtToReturn.Rows(0)("idv_id") Is System.DBNull.Value Then
|
|
m_sIdv_id = SqlString.Null
|
|
Else
|
|
m_sIdv_id = New SqlString(CType(dtToReturn.Rows(0)("idv_id"), String))
|
|
End If
|
|
If dtToReturn.Rows(0)("office_vorlage") Is System.DBNull.Value Then
|
|
m_sOffice_vorlage = SqlString.Null
|
|
Else
|
|
m_sOffice_vorlage = New SqlString(CType(dtToReturn.Rows(0)("office_vorlage"), String))
|
|
End If
|
|
If dtToReturn.Rows(0)("absender_ersteller") Is System.DBNull.Value Then
|
|
m_bAbsender_ersteller = SqlBoolean.Null
|
|
Else
|
|
m_bAbsender_ersteller = New SqlBoolean(CType(dtToReturn.Rows(0)("absender_ersteller"), Boolean))
|
|
End If
|
|
m_bIdv_nativ = New SqlBoolean(CType(dtToReturn.Rows(0)("idv_nativ"), Boolean))
|
|
If dtToReturn.Rows(0)("dokument_geschuetzt") Is System.DBNull.Value Then
|
|
m_bDokument_geschuetzt = SqlBoolean.Null
|
|
Else
|
|
m_bDokument_geschuetzt = New SqlBoolean(CType(dtToReturn.Rows(0)("dokument_geschuetzt"), Boolean))
|
|
End If
|
|
m_bKopfzeile_generieren = New SqlBoolean(CType(dtToReturn.Rows(0)("kopfzeile_generieren"), Boolean))
|
|
If dtToReturn.Rows(0)("klassifizierung") Is System.DBNull.Value Then
|
|
m_iKlassifizierung = SqlInt32.Null
|
|
Else
|
|
m_iKlassifizierung = New SqlInt32(CType(dtToReturn.Rows(0)("klassifizierung"), Integer))
|
|
End If
|
|
m_iBcpt = New SqlInt32(CType(dtToReturn.Rows(0)("bcpt"), Integer))
|
|
If dtToReturn.Rows(0)("bcpl") Is System.DBNull.Value Then
|
|
m_iBcpl = SqlInt32.Null
|
|
Else
|
|
m_iBcpl = New SqlInt32(CType(dtToReturn.Rows(0)("bcpl"), Integer))
|
|
End If
|
|
m_iBcw = New SqlInt32(CType(dtToReturn.Rows(0)("bcw"), Integer))
|
|
m_iBch = New SqlInt32(CType(dtToReturn.Rows(0)("bch"), Integer))
|
|
If dtToReturn.Rows(0)("bchorizontal") Is System.DBNull.Value Then
|
|
m_bBchorizontal = SqlBoolean.Null
|
|
Else
|
|
m_bBchorizontal = New SqlBoolean(CType(dtToReturn.Rows(0)("bchorizontal"), Boolean))
|
|
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
|
|
If dtToReturn.Rows(0)("anwendungnr") Is System.DBNull.Value Then
|
|
m_iAnwendungnr = SqlInt32.Null
|
|
Else
|
|
m_iAnwendungnr = New SqlInt32(CType(dtToReturn.Rows(0)("anwendungnr"), Integer))
|
|
End If
|
|
If dtToReturn.Rows(0)("owner") Is System.DBNull.Value Then
|
|
m_iOwner = SqlInt32.Null
|
|
Else
|
|
m_iOwner = New SqlInt32(CType(dtToReturn.Rows(0)("owner"), 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("clsOffice_vorlage::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>
|
|
Public Overrides Function SelectAll() As DataTable
|
|
Dim scmCmdToExecute As SqlCommand = New SqlCommand()
|
|
scmCmdToExecute.CommandText = "dbo.[pr_office_vorlage_SelectAll]"
|
|
scmCmdToExecute.CommandType = CommandType.StoredProcedure
|
|
Dim dtToReturn As DataTable = New DataTable("office_vorlage")
|
|
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_office_vorlage_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("clsOffice_vorlage::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 [iOffice_vorlagenr]() As SqlInt32
|
|
Get
|
|
Return m_iOffice_vorlagenr
|
|
End Get
|
|
Set(ByVal Value As SqlInt32)
|
|
Dim iOffice_vorlagenrTmp As SqlInt32 = Value
|
|
If iOffice_vorlagenrTmp.IsNull Then
|
|
Throw New ArgumentOutOfRangeException("iOffice_vorlagenr", "iOffice_vorlagenr can't be NULL")
|
|
End If
|
|
m_iOffice_vorlagenr = 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 [iVorlageid]() As SqlInt32
|
|
Get
|
|
Return m_iVorlageid
|
|
End Get
|
|
Set(ByVal Value As SqlInt32)
|
|
m_iVorlageid = Value
|
|
End Set
|
|
End Property
|
|
|
|
|
|
Public Property [sVorlagename]() As SqlString
|
|
Get
|
|
Return m_sVorlagename
|
|
End Get
|
|
Set(ByVal Value As SqlString)
|
|
m_sVorlagename = Value
|
|
End Set
|
|
End Property
|
|
|
|
|
|
Public Property [sPrefix_dokumentname]() As SqlString
|
|
Get
|
|
Return m_sPrefix_dokumentname
|
|
End Get
|
|
Set(ByVal Value As SqlString)
|
|
m_sPrefix_dokumentname = Value
|
|
End Set
|
|
End Property
|
|
|
|
|
|
Public Property [bIdv_vorlage]() As SqlBoolean
|
|
Get
|
|
Return m_bIdv_vorlage
|
|
End Get
|
|
Set(ByVal Value As SqlBoolean)
|
|
Dim bIdv_vorlageTmp As SqlBoolean = Value
|
|
If bIdv_vorlageTmp.IsNull Then
|
|
Throw New ArgumentOutOfRangeException("bIdv_vorlage", "bIdv_vorlage can't be NULL")
|
|
End If
|
|
m_bIdv_vorlage = Value
|
|
End Set
|
|
End Property
|
|
|
|
|
|
Public Property [sIdv_id]() As SqlString
|
|
Get
|
|
Return m_sIdv_id
|
|
End Get
|
|
Set(ByVal Value As SqlString)
|
|
m_sIdv_id = Value
|
|
End Set
|
|
End Property
|
|
|
|
|
|
Public Property [sOffice_vorlage]() As SqlString
|
|
Get
|
|
Return m_sOffice_vorlage
|
|
End Get
|
|
Set(ByVal Value As SqlString)
|
|
m_sOffice_vorlage = Value
|
|
End Set
|
|
End Property
|
|
|
|
|
|
Public Property [bAbsender_ersteller]() As SqlBoolean
|
|
Get
|
|
Return m_bAbsender_ersteller
|
|
End Get
|
|
Set(ByVal Value As SqlBoolean)
|
|
m_bAbsender_ersteller = Value
|
|
End Set
|
|
End Property
|
|
|
|
|
|
Public Property [bIdv_nativ]() As SqlBoolean
|
|
Get
|
|
Return m_bIdv_nativ
|
|
End Get
|
|
Set(ByVal Value As SqlBoolean)
|
|
Dim bIdv_nativTmp As SqlBoolean = Value
|
|
If bIdv_nativTmp.IsNull Then
|
|
Throw New ArgumentOutOfRangeException("bIdv_nativ", "bIdv_nativ can't be NULL")
|
|
End If
|
|
m_bIdv_nativ = Value
|
|
End Set
|
|
End Property
|
|
|
|
|
|
Public Property [bDokument_geschuetzt]() As SqlBoolean
|
|
Get
|
|
Return m_bDokument_geschuetzt
|
|
End Get
|
|
Set(ByVal Value As SqlBoolean)
|
|
m_bDokument_geschuetzt = Value
|
|
End Set
|
|
End Property
|
|
|
|
|
|
Public Property [bKopfzeile_generieren]() As SqlBoolean
|
|
Get
|
|
Return m_bKopfzeile_generieren
|
|
End Get
|
|
Set(ByVal Value As SqlBoolean)
|
|
Dim bKopfzeile_generierenTmp As SqlBoolean = Value
|
|
If bKopfzeile_generierenTmp.IsNull Then
|
|
Throw New ArgumentOutOfRangeException("bKopfzeile_generieren", "bKopfzeile_generieren can't be NULL")
|
|
End If
|
|
m_bKopfzeile_generieren = Value
|
|
End Set
|
|
End Property
|
|
|
|
|
|
Public Property [iKlassifizierung]() As SqlInt32
|
|
Get
|
|
Return m_iKlassifizierung
|
|
End Get
|
|
Set(ByVal Value As SqlInt32)
|
|
m_iKlassifizierung = Value
|
|
End Set
|
|
End Property
|
|
|
|
|
|
Public Property [iBcpt]() As SqlInt32
|
|
Get
|
|
Return m_iBcpt
|
|
End Get
|
|
Set(ByVal Value As SqlInt32)
|
|
Dim iBcptTmp As SqlInt32 = Value
|
|
If iBcptTmp.IsNull Then
|
|
Throw New ArgumentOutOfRangeException("iBcpt", "iBcpt can't be NULL")
|
|
End If
|
|
m_iBcpt = Value
|
|
End Set
|
|
End Property
|
|
|
|
|
|
Public Property [iBcpl]() As SqlInt32
|
|
Get
|
|
Return m_iBcpl
|
|
End Get
|
|
Set(ByVal Value As SqlInt32)
|
|
m_iBcpl = Value
|
|
End Set
|
|
End Property
|
|
|
|
|
|
Public Property [iBcw]() As SqlInt32
|
|
Get
|
|
Return m_iBcw
|
|
End Get
|
|
Set(ByVal Value As SqlInt32)
|
|
Dim iBcwTmp As SqlInt32 = Value
|
|
If iBcwTmp.IsNull Then
|
|
Throw New ArgumentOutOfRangeException("iBcw", "iBcw can't be NULL")
|
|
End If
|
|
m_iBcw = Value
|
|
End Set
|
|
End Property
|
|
|
|
|
|
Public Property [iBch]() As SqlInt32
|
|
Get
|
|
Return m_iBch
|
|
End Get
|
|
Set(ByVal Value As SqlInt32)
|
|
Dim iBchTmp As SqlInt32 = Value
|
|
If iBchTmp.IsNull Then
|
|
Throw New ArgumentOutOfRangeException("iBch", "iBch can't be NULL")
|
|
End If
|
|
m_iBch = Value
|
|
End Set
|
|
End Property
|
|
|
|
|
|
Public Property [bBchorizontal]() As SqlBoolean
|
|
Get
|
|
Return m_bBchorizontal
|
|
End Get
|
|
Set(ByVal Value As SqlBoolean)
|
|
m_bBchorizontal = 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
|
|
|
|
|
|
Public Property [iAnwendungnr]() As SqlInt32
|
|
Get
|
|
Return m_iAnwendungnr
|
|
End Get
|
|
Set(ByVal Value As SqlInt32)
|
|
m_iAnwendungnr = Value
|
|
End Set
|
|
End Property
|
|
|
|
|
|
Public Property [iOwner]() As SqlInt32
|
|
Get
|
|
Return m_iOwner
|
|
End Get
|
|
Set(ByVal Value As SqlInt32)
|
|
m_iOwner = Value
|
|
End Set
|
|
End Property
|
|
|
|
#End Region
|
|
|
|
End Class
|
|
End Namespace
|