Initial commit
This commit is contained in:
@@ -0,0 +1,183 @@
|
||||
|
||||
#Region "Includes"
|
||||
|
||||
Imports System.Data.SqlClient
|
||||
Imports Common.Common
|
||||
Imports System.Runtime.InteropServices
|
||||
|
||||
#End Region
|
||||
|
||||
'Class used 4 common Logging
|
||||
<ClassInterface(ClassInterfaceType.AutoDual)> _
|
||||
Public Class Logging
|
||||
|
||||
#Region "Members"
|
||||
|
||||
Dim m_JournalId As Integer
|
||||
Dim m_JobId As Integer
|
||||
Dim m_ProgrammId As Integer
|
||||
Dim m_DbConnection As SqlConnection
|
||||
Dim m_Common As Common.Common
|
||||
Dim m_JobTyp As JobType
|
||||
Dim m_IsNachLetzterAusfuerung As Boolean
|
||||
Dim m_RunJob As Boolean
|
||||
|
||||
#End Region
|
||||
|
||||
#Region "Constructor"
|
||||
|
||||
'Gets a new JournalId for a new logging instance
|
||||
'TODO: jobtype muss nicht bekannt sein, wenn ein tool als start UND watch läuft...
|
||||
'Wird aber benötigt, um LastRunEnde auf Job zu setzen. Dies wiederum wird in GetFailedStartJobs
|
||||
'verwendet um zu überprüfen, ob der JOB(und ebe nicht das programm) gestartet wurde
|
||||
Public Sub New(ByVal programId As Integer, ByVal jobType As JobType)
|
||||
Try
|
||||
Dim sqlCom As New SqlCommand
|
||||
Dim da As New SqlDataAdapter
|
||||
Dim ds As New DataSet
|
||||
|
||||
m_ProgrammId = programId
|
||||
m_Common = New Common.Common
|
||||
|
||||
m_DbConnection = New SqlConnection(m_Common.DSN)
|
||||
m_DbConnection.Open()
|
||||
|
||||
sqlCom.CommandType = CommandType.StoredProcedure
|
||||
sqlCom.Connection = m_DbConnection
|
||||
sqlCom.CommandText = "CreateJournal"
|
||||
|
||||
sqlCom.Parameters.Add(New SqlParameter("@ProgrammId", m_ProgrammId))
|
||||
sqlCom.Parameters.Add(New SqlParameter("@JobTypId", jobType))
|
||||
|
||||
da.SelectCommand = sqlCom
|
||||
da.Fill(ds)
|
||||
|
||||
'One table and one row are required
|
||||
If ds.Tables.Count > 0 Then
|
||||
If ds.Tables(0).Rows.Count > 0 Then
|
||||
m_JournalId = ds.Tables(0).Rows(0).Item("JournalId")
|
||||
m_JobId = ds.Tables(0).Rows(0).Item("JobId")
|
||||
m_IsNachLetzterAusfuerung = ds.Tables(0).Rows(0).Item("NachLetzterAusfuerung")
|
||||
m_RunJob = ds.Tables(0).Rows(0)("RunJob")
|
||||
Else
|
||||
Throw New Exception("Neues Journal konnte nicht erzeugt werden oder zugehöriger Job wurde nicht gefunden")
|
||||
End If
|
||||
Else
|
||||
Throw New Exception("Neues Journal konnte nicht erzeugt werden oder zugehöriger Job wurde nicht gefunden")
|
||||
End If
|
||||
|
||||
If jobType = jobType.WatchJob Then
|
||||
'needed for validating correct start and maximal durations
|
||||
DataAccess.Job.SetJobLastRun(m_Common.DSN, m_JobId, LastRun.Start)
|
||||
m_Common.Log(Common.Common.DLL_DISPLAY_NAME, "DLL Library setted LastRunStart to " + DateTime.Now.ToString("G") + " for JobId " + m_JobId.ToString)
|
||||
End If
|
||||
|
||||
|
||||
m_DbConnection.Close()
|
||||
|
||||
Catch ex As Exception
|
||||
If m_DbConnection.State = ConnectionState.Open Then
|
||||
m_DbConnection.Close()
|
||||
End If
|
||||
WriteEventLog(ex.Source, ex.Message, EventLogEntryType.Error)
|
||||
End Try
|
||||
End Sub
|
||||
|
||||
#End Region
|
||||
|
||||
#Region "Public Methods"
|
||||
|
||||
'Note: This Sub is necessary, because VB cannot handle constructors with parameters
|
||||
'so we have to do all the "constuctor" stuff in a method...
|
||||
'Public Sub InitLogging(ByVal programId As Integer, ByVal jobTyp As Integer)
|
||||
'End Sub
|
||||
|
||||
'Writes a message with a journalEntryType to the journal
|
||||
Public Sub Log(ByVal message As String, ByVal journalEintragTyp As JournalEntryType)
|
||||
Try
|
||||
WriteJournalEntry(message, CType(journalEintragTyp, JournalEntryType))
|
||||
|
||||
'in an error case, service should do something
|
||||
If journalEintragTyp = JournalEntryType.Error Then
|
||||
Dim ds As New DataSet
|
||||
DataAccess.Job.GetNotifications(m_Common, m_ProgrammId, ds)
|
||||
DataAccess.Job.SendNotification(m_Common, m_ProgrammId, ds, message, m_JobId, JobType.WatchJob)
|
||||
End If
|
||||
Catch ex As Exception
|
||||
WriteEventLog(ex.Source, ex.Message, EventLogEntryType.Error)
|
||||
End Try
|
||||
End Sub
|
||||
|
||||
'Writes a message to the journal
|
||||
Public Sub Log(ByVal message As String)
|
||||
Try
|
||||
Log(message, JournalEntryType.Information)
|
||||
Catch ex As Exception
|
||||
WriteEventLog(ex.Source, ex.Message, EventLogEntryType.Error)
|
||||
End Try
|
||||
End Sub
|
||||
|
||||
'Writes to journal, that the program has started
|
||||
Public Sub Start()
|
||||
Try
|
||||
DataAccess.Job.SetIsRunning(m_Common.DSN, m_ProgrammId, True)
|
||||
WriteJournalEntry("Start", JournalEntryType.Information)
|
||||
Catch ex As Exception
|
||||
DataAccess.Job.SetIsRunning(m_Common.DSN, m_ProgrammId, False)
|
||||
WriteEventLog(ex.Source, ex.Message, EventLogEntryType.Error)
|
||||
End Try
|
||||
End Sub
|
||||
|
||||
'Writes to journal, that the program has ended
|
||||
Public Sub Ende()
|
||||
Try
|
||||
DataAccess.Job.SetIsRunning(m_Common.DSN, m_ProgrammId, False)
|
||||
DataAccess.Job.SetJobLastRun(m_Common.DSN, m_JobId, LastRun.End)
|
||||
|
||||
'calc next start time JUST if its a "NachLetzterAusfuerung" Job
|
||||
If m_IsNachLetzterAusfuerung Then
|
||||
DataAccess.Job.SetNextExecDateTime(m_Common.DSN, m_JobId)
|
||||
End If
|
||||
WriteJournalEntry("Ende", JournalEntryType.Information)
|
||||
Catch ex As Exception
|
||||
WriteEventLog(ex.Source, ex.Message, EventLogEntryType.Error)
|
||||
End Try
|
||||
End Sub
|
||||
|
||||
#End Region
|
||||
|
||||
#Region "Private Methods"
|
||||
|
||||
'Writes an nice formatted error message to windows eventlog
|
||||
Private Sub WriteEventLog(ByVal source As String, ByVal errorMessage As String, ByVal eventLogType As EventLogEntryType)
|
||||
m_Common.Log(source, "Quelle: " & source & Environment.NewLine & "Meldung: " & errorMessage, eventLogType)
|
||||
End Sub
|
||||
|
||||
'Writes an entry to the BMS journal
|
||||
Private Sub WriteJournalEntry(ByVal message As String, ByVal journalEntryType As JournalEntryType)
|
||||
Try
|
||||
Dim sqlCom As New SqlCommand
|
||||
|
||||
m_DbConnection.Open()
|
||||
|
||||
sqlCom.CommandType = CommandType.StoredProcedure
|
||||
sqlCom.Connection = m_DbConnection
|
||||
sqlCom.CommandText = "CreateJournalEntry"
|
||||
|
||||
sqlCom.Parameters.Add(New SqlParameter("@JournalId", m_JournalId))
|
||||
sqlCom.Parameters.Add(New SqlParameter("@EintragDesc", message))
|
||||
sqlCom.Parameters.Add(New SqlParameter("@JournalEintragTypId", CInt(journalEntryType)))
|
||||
sqlCom.ExecuteNonQuery()
|
||||
|
||||
m_DbConnection.Close()
|
||||
Catch
|
||||
If m_DbConnection.State = ConnectionState.Open Then
|
||||
m_DbConnection.Close()
|
||||
End If
|
||||
Throw
|
||||
End Try
|
||||
End Sub
|
||||
|
||||
#End Region
|
||||
|
||||
End Class
|
||||
Binary file not shown.
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>
|
||||
DataAccess
|
||||
</name>
|
||||
</assembly>
|
||||
<members>
|
||||
|
||||
</members>
|
||||
</doc>
|
||||
@@ -0,0 +1,495 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>
|
||||
DokSA
|
||||
</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="P:DokSA.My.Resources.Resources.ResourceManager">
|
||||
<summary>
|
||||
Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
|
||||
</summary>
|
||||
</member><member name="P:DokSA.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:DokSA.My.Resources.Resources">
|
||||
<summary>
|
||||
Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
|
||||
</summary>
|
||||
</member><member name="M:DokSA.edokadb.clsPartner_Hauptadresse.#ctor">
|
||||
<summary>
|
||||
Purpose: Class constructor.
|
||||
</summary>
|
||||
</member><member name="M:DokSA.edokadb.clsPartner_Hauptadresse.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>iNRPAR00</LI>
|
||||
<LI>siNRADR00. May be SqlInt16.Null</LI>
|
||||
<LI>siNRVRN00. May be SqlInt16.Null</LI>
|
||||
<LI>siNRAAT00. May be SqlInt16.Null</LI>
|
||||
<LI>sNRPARVO. May be SqlString.Null</LI>
|
||||
<LI>siNRVAZ00. May be SqlInt16.Null</LI>
|
||||
<LI>siNRARD00. May be SqlInt16.Null</LI>
|
||||
<LI>siNRTTV00. May be SqlInt16.Null</LI>
|
||||
<LI>sBEVNM01. May be SqlString.Null</LI>
|
||||
<LI>sBEVNM02. May be SqlString.Null</LI>
|
||||
<LI>sBEVNM03. May be SqlString.Null</LI>
|
||||
<LI>sBEVNM04. May be SqlString.Null</LI>
|
||||
<LI>siNRTTZ00. May be SqlInt16.Null</LI>
|
||||
<LI>sBENNM01. May be SqlString.Null</LI>
|
||||
<LI>sBETRZNN. May be SqlString.Null</LI>
|
||||
<LI>sBENNM02. May be SqlString.Null</LI>
|
||||
<LI>siNRNZU00. May be SqlInt16.Null</LI>
|
||||
<LI>sBETTN00. May be SqlString.Null</LI>
|
||||
<LI>sBENAM01. May be SqlString.Null</LI>
|
||||
<LI>sBENAM02. May be SqlString.Null</LI>
|
||||
<LI>sBENAM03. May be SqlString.Null</LI>
|
||||
<LI>sBECOT01. May be SqlString.Null</LI>
|
||||
<LI>sBECOT02. May be SqlString.Null</LI>
|
||||
<LI>siNRZHK00. May be SqlInt16.Null</LI>
|
||||
<LI>siNRARDZH. May be SqlInt16.Null</LI>
|
||||
<LI>siNRTTVZH. May be SqlInt16.Null</LI>
|
||||
<LI>sBEVNMZH. May be SqlString.Null</LI>
|
||||
<LI>siNRTTZZH. May be SqlInt16.Null</LI>
|
||||
<LI>sBENNMZ1. May be SqlString.Null</LI>
|
||||
<LI>sBETRZZH. May be SqlString.Null</LI>
|
||||
<LI>sBENNMZ2. May be SqlString.Null</LI>
|
||||
<LI>siNRNZUZH. May be SqlInt16.Null</LI>
|
||||
<LI>sBEORTZS. May be SqlString.Null</LI>
|
||||
<LI>sBEWEI00. May be SqlString.Null</LI>
|
||||
<LI>sBEFCHPT. May be SqlString.Null</LI>
|
||||
<LI>sNRFCHPT. May be SqlString.Null</LI>
|
||||
<LI>sBESTR00. May be SqlString.Null</LI>
|
||||
<LI>sNRHAU00. May be SqlString.Null</LI>
|
||||
<LI>sNRSTC00. May be SqlString.Null</LI>
|
||||
<LI>siNRLND00. May be SqlInt16.Null</LI>
|
||||
<LI>sCDPLZ00. May be SqlString.Null</LI>
|
||||
<LI>sBEORTPT. May be SqlString.Null</LI>
|
||||
<LI>sBEDIS00. May be SqlString.Null</LI>
|
||||
<LI>iCDORTPT. May be SqlInt32.Null</LI>
|
||||
<LI>iCDSTRPT. May be SqlInt32.Null</LI>
|
||||
<LI>sSAVRS00. May be SqlString.Null</LI>
|
||||
<LI>siNRUZG00. May be SqlInt16.Null</LI>
|
||||
<LI>siNRNGR00. May be SqlInt16.Null</LI>
|
||||
<LI>siNRFOG01. May be SqlInt16.Null</LI>
|
||||
<LI>sBEBAN01. May be SqlString.Null</LI>
|
||||
<LI>siNRFOG02. May be SqlInt16.Null</LI>
|
||||
<LI>sBEBAN02. May be SqlString.Null</LI>
|
||||
<LI>siNRVRNRI. May be SqlInt16.Null</LI>
|
||||
<LI>sCDMUTER. May be SqlString.Null</LI>
|
||||
<LI>daTSMUT00. May be SqlDateTime.Null</LI>
|
||||
<LI>dcAZVRNHI. May be SqlDecimal.Null</LI>
|
||||
<LI>daDMERF00. May be SqlDateTime.Null</LI>
|
||||
<LI>sSAREC00. May be SqlString.Null</LI>
|
||||
<LI>daDMKTRNA. May be SqlDateTime.Null</LI>
|
||||
<LI>sCDKTRNA. May be SqlString.Null</LI>
|
||||
<LI>sSAKTRNA. May be SqlString.Null</LI>
|
||||
<LI>sCDPAW00. May be SqlString.Null</LI>
|
||||
<LI>sSAREC01. May be SqlString.Null</LI>
|
||||
<LI>daValidto. May be SqlDateTime.Null</LI>
|
||||
</UL>
|
||||
Properties set after a succesful call of this method:
|
||||
<UL>
|
||||
<LI>iErrorCode</LI>
|
||||
</UL>
|
||||
</remarks>
|
||||
</member><member name="M:DokSA.edokadb.clsPartner_Hauptadresse.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>iNRPAR00</LI>
|
||||
<LI>siNRADR00. May be SqlInt16.Null</LI>
|
||||
<LI>siNRVRN00. May be SqlInt16.Null</LI>
|
||||
<LI>siNRAAT00. May be SqlInt16.Null</LI>
|
||||
<LI>sNRPARVO. May be SqlString.Null</LI>
|
||||
<LI>siNRVAZ00. May be SqlInt16.Null</LI>
|
||||
<LI>siNRARD00. May be SqlInt16.Null</LI>
|
||||
<LI>siNRTTV00. May be SqlInt16.Null</LI>
|
||||
<LI>sBEVNM01. May be SqlString.Null</LI>
|
||||
<LI>sBEVNM02. May be SqlString.Null</LI>
|
||||
<LI>sBEVNM03. May be SqlString.Null</LI>
|
||||
<LI>sBEVNM04. May be SqlString.Null</LI>
|
||||
<LI>siNRTTZ00. May be SqlInt16.Null</LI>
|
||||
<LI>sBENNM01. May be SqlString.Null</LI>
|
||||
<LI>sBETRZNN. May be SqlString.Null</LI>
|
||||
<LI>sBENNM02. May be SqlString.Null</LI>
|
||||
<LI>siNRNZU00. May be SqlInt16.Null</LI>
|
||||
<LI>sBETTN00. May be SqlString.Null</LI>
|
||||
<LI>sBENAM01. May be SqlString.Null</LI>
|
||||
<LI>sBENAM02. May be SqlString.Null</LI>
|
||||
<LI>sBENAM03. May be SqlString.Null</LI>
|
||||
<LI>sBECOT01. May be SqlString.Null</LI>
|
||||
<LI>sBECOT02. May be SqlString.Null</LI>
|
||||
<LI>siNRZHK00. May be SqlInt16.Null</LI>
|
||||
<LI>siNRARDZH. May be SqlInt16.Null</LI>
|
||||
<LI>siNRTTVZH. May be SqlInt16.Null</LI>
|
||||
<LI>sBEVNMZH. May be SqlString.Null</LI>
|
||||
<LI>siNRTTZZH. May be SqlInt16.Null</LI>
|
||||
<LI>sBENNMZ1. May be SqlString.Null</LI>
|
||||
<LI>sBETRZZH. May be SqlString.Null</LI>
|
||||
<LI>sBENNMZ2. May be SqlString.Null</LI>
|
||||
<LI>siNRNZUZH. May be SqlInt16.Null</LI>
|
||||
<LI>sBEORTZS. May be SqlString.Null</LI>
|
||||
<LI>sBEWEI00. May be SqlString.Null</LI>
|
||||
<LI>sBEFCHPT. May be SqlString.Null</LI>
|
||||
<LI>sNRFCHPT. May be SqlString.Null</LI>
|
||||
<LI>sBESTR00. May be SqlString.Null</LI>
|
||||
<LI>sNRHAU00. May be SqlString.Null</LI>
|
||||
<LI>sNRSTC00. May be SqlString.Null</LI>
|
||||
<LI>siNRLND00. May be SqlInt16.Null</LI>
|
||||
<LI>sCDPLZ00. May be SqlString.Null</LI>
|
||||
<LI>sBEORTPT. May be SqlString.Null</LI>
|
||||
<LI>sBEDIS00. May be SqlString.Null</LI>
|
||||
<LI>iCDORTPT. May be SqlInt32.Null</LI>
|
||||
<LI>iCDSTRPT. May be SqlInt32.Null</LI>
|
||||
<LI>sSAVRS00. May be SqlString.Null</LI>
|
||||
<LI>siNRUZG00. May be SqlInt16.Null</LI>
|
||||
<LI>siNRNGR00. May be SqlInt16.Null</LI>
|
||||
<LI>siNRFOG01. May be SqlInt16.Null</LI>
|
||||
<LI>sBEBAN01. May be SqlString.Null</LI>
|
||||
<LI>siNRFOG02. May be SqlInt16.Null</LI>
|
||||
<LI>sBEBAN02. May be SqlString.Null</LI>
|
||||
<LI>siNRVRNRI. May be SqlInt16.Null</LI>
|
||||
<LI>sCDMUTER. May be SqlString.Null</LI>
|
||||
<LI>daTSMUT00. May be SqlDateTime.Null</LI>
|
||||
<LI>dcAZVRNHI. May be SqlDecimal.Null</LI>
|
||||
<LI>daDMERF00. May be SqlDateTime.Null</LI>
|
||||
<LI>sSAREC00. May be SqlString.Null</LI>
|
||||
<LI>daDMKTRNA. May be SqlDateTime.Null</LI>
|
||||
<LI>sCDKTRNA. May be SqlString.Null</LI>
|
||||
<LI>sSAKTRNA. May be SqlString.Null</LI>
|
||||
<LI>sCDPAW00. May be SqlString.Null</LI>
|
||||
<LI>sSAREC01. May be SqlString.Null</LI>
|
||||
<LI>daValidto. May be SqlDateTime.Null</LI>
|
||||
</UL>
|
||||
Properties set after a succesful call of this method:
|
||||
<UL>
|
||||
<LI>iErrorCode</LI>
|
||||
</UL>
|
||||
</remarks>
|
||||
</member><member name="M:DokSA.edokadb.clsPartner_Hauptadresse.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>iNRPAR00</LI>
|
||||
</UL>
|
||||
Properties set after a succesful call of this method:
|
||||
<UL>
|
||||
<LI>iErrorCode</LI>
|
||||
</UL>
|
||||
</remarks>
|
||||
</member><member name="M:DokSA.edokadb.clsPartner_Hauptadresse.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>iNRPAR00</LI>
|
||||
</UL>
|
||||
Properties set after a succesful call of this method:
|
||||
<UL>
|
||||
<LI>iErrorCode</LI>
|
||||
<LI>iNRPAR00</LI>
|
||||
<LI>siNRADR00</LI>
|
||||
<LI>siNRVRN00</LI>
|
||||
<LI>siNRAAT00</LI>
|
||||
<LI>sNRPARVO</LI>
|
||||
<LI>siNRVAZ00</LI>
|
||||
<LI>siNRARD00</LI>
|
||||
<LI>siNRTTV00</LI>
|
||||
<LI>sBEVNM01</LI>
|
||||
<LI>sBEVNM02</LI>
|
||||
<LI>sBEVNM03</LI>
|
||||
<LI>sBEVNM04</LI>
|
||||
<LI>siNRTTZ00</LI>
|
||||
<LI>sBENNM01</LI>
|
||||
<LI>sBETRZNN</LI>
|
||||
<LI>sBENNM02</LI>
|
||||
<LI>siNRNZU00</LI>
|
||||
<LI>sBETTN00</LI>
|
||||
<LI>sBENAM01</LI>
|
||||
<LI>sBENAM02</LI>
|
||||
<LI>sBENAM03</LI>
|
||||
<LI>sBECOT01</LI>
|
||||
<LI>sBECOT02</LI>
|
||||
<LI>siNRZHK00</LI>
|
||||
<LI>siNRARDZH</LI>
|
||||
<LI>siNRTTVZH</LI>
|
||||
<LI>sBEVNMZH</LI>
|
||||
<LI>siNRTTZZH</LI>
|
||||
<LI>sBENNMZ1</LI>
|
||||
<LI>sBETRZZH</LI>
|
||||
<LI>sBENNMZ2</LI>
|
||||
<LI>siNRNZUZH</LI>
|
||||
<LI>sBEORTZS</LI>
|
||||
<LI>sBEWEI00</LI>
|
||||
<LI>sBEFCHPT</LI>
|
||||
<LI>sNRFCHPT</LI>
|
||||
<LI>sBESTR00</LI>
|
||||
<LI>sNRHAU00</LI>
|
||||
<LI>sNRSTC00</LI>
|
||||
<LI>siNRLND00</LI>
|
||||
<LI>sCDPLZ00</LI>
|
||||
<LI>sBEORTPT</LI>
|
||||
<LI>sBEDIS00</LI>
|
||||
<LI>iCDORTPT</LI>
|
||||
<LI>iCDSTRPT</LI>
|
||||
<LI>sSAVRS00</LI>
|
||||
<LI>siNRUZG00</LI>
|
||||
<LI>siNRNGR00</LI>
|
||||
<LI>siNRFOG01</LI>
|
||||
<LI>sBEBAN01</LI>
|
||||
<LI>siNRFOG02</LI>
|
||||
<LI>sBEBAN02</LI>
|
||||
<LI>siNRVRNRI</LI>
|
||||
<LI>sCDMUTER</LI>
|
||||
<LI>daTSMUT00</LI>
|
||||
<LI>dcAZVRNHI</LI>
|
||||
<LI>daDMERF00</LI>
|
||||
<LI>sSAREC00</LI>
|
||||
<LI>daDMKTRNA</LI>
|
||||
<LI>sCDKTRNA</LI>
|
||||
<LI>sSAKTRNA</LI>
|
||||
<LI>sCDPAW00</LI>
|
||||
<LI>sSAREC01</LI>
|
||||
<LI>daValidto</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:DokSA.edokadb.clsPartner_Hauptadresse.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:DokSA.edokadb.clsPartner_Hauptadresse">
|
||||
<summary>
|
||||
Purpose: Data Access class for the table 'Partner_Hauptadresse'.
|
||||
</summary>
|
||||
</member><member name="M:DokSA.edokadb.clsPartner.#ctor">
|
||||
<summary>
|
||||
Purpose: Class constructor.
|
||||
</summary>
|
||||
</member><member name="M:DokSA.edokadb.clsPartner.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>sIDMSG00. May be SqlString.Null</LI>
|
||||
<LI>sDMMSG00. May be SqlString.Null</LI>
|
||||
<LI>sZTMSG00. May be SqlString.Null</LI>
|
||||
<LI>sBEPGM00. May be SqlString.Null</LI>
|
||||
<LI>sCDBNK00. May be SqlString.Null</LI>
|
||||
<LI>iNRPAR00</LI>
|
||||
<LI>sBKPAR00. May be SqlString.Null</LI>
|
||||
<LI>iNRFOG012. May be SqlInt32.Null</LI>
|
||||
<LI>sBEBAN012. May be SqlString.Null</LI>
|
||||
<LI>sNRFOG022. May be SqlString.Null</LI>
|
||||
<LI>sBEBAN022. May be SqlString.Null</LI>
|
||||
<LI>sTXADZ012. May be SqlString.Null</LI>
|
||||
<LI>sTXADZ022. May be SqlString.Null</LI>
|
||||
<LI>sTXADZ032. May be SqlString.Null</LI>
|
||||
<LI>sTXADZ042. May be SqlString.Null</LI>
|
||||
<LI>sTXADZ052. May be SqlString.Null</LI>
|
||||
<LI>sTXADZ062. May be SqlString.Null</LI>
|
||||
<LI>sTXADZ072. May be SqlString.Null</LI>
|
||||
<LI>sNRPARAD. May be SqlString.Null</LI>
|
||||
<LI>sNRADR00. May be SqlString.Null</LI>
|
||||
<LI>sNRFOG011. May be SqlString.Null</LI>
|
||||
<LI>sBEBAN011. May be SqlString.Null</LI>
|
||||
<LI>sNRFOG21. May be SqlString.Null</LI>
|
||||
<LI>sBEBAN21. May be SqlString.Null</LI>
|
||||
<LI>sTXADZ011. May be SqlString.Null</LI>
|
||||
<LI>sTXADZ021. May be SqlString.Null</LI>
|
||||
<LI>sTXADZ031. May be SqlString.Null</LI>
|
||||
<LI>sTXADZ041. May be SqlString.Null</LI>
|
||||
<LI>sTXADZ051. May be SqlString.Null</LI>
|
||||
<LI>sTXADZ061. May be SqlString.Null</LI>
|
||||
<LI>sTXADZ071. May be SqlString.Null</LI>
|
||||
<LI>sCDBAL00. May be SqlString.Null</LI>
|
||||
<LI>sCDVIG00. May be SqlString.Null</LI>
|
||||
<LI>sSAVRS00. May be SqlString.Null</LI>
|
||||
<LI>sTSMUT00. May be SqlString.Null</LI>
|
||||
<LI>sVDMUTER. May be SqlString.Null</LI>
|
||||
<LI>sTXRes00. May be SqlString.Null</LI>
|
||||
<LI>bSaldiert</LI>
|
||||
<LI>iAZEPL00. May be SqlInt32.Null</LI>
|
||||
<LI>bCDVSA00</LI>
|
||||
<LI>daValidto. May be SqlDateTime.Null</LI>
|
||||
</UL>
|
||||
Properties set after a succesful call of this method:
|
||||
<UL>
|
||||
<LI>iErrorCode</LI>
|
||||
</UL>
|
||||
</remarks>
|
||||
</member><member name="M:DokSA.edokadb.clsPartner.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>sIDMSG00. May be SqlString.Null</LI>
|
||||
<LI>sDMMSG00. May be SqlString.Null</LI>
|
||||
<LI>sZTMSG00. May be SqlString.Null</LI>
|
||||
<LI>sBEPGM00. May be SqlString.Null</LI>
|
||||
<LI>sCDBNK00. May be SqlString.Null</LI>
|
||||
<LI>iNRPAR00</LI>
|
||||
<LI>sBKPAR00. May be SqlString.Null</LI>
|
||||
<LI>iNRFOG012. May be SqlInt32.Null</LI>
|
||||
<LI>sBEBAN012. May be SqlString.Null</LI>
|
||||
<LI>sNRFOG022. May be SqlString.Null</LI>
|
||||
<LI>sBEBAN022. May be SqlString.Null</LI>
|
||||
<LI>sTXADZ012. May be SqlString.Null</LI>
|
||||
<LI>sTXADZ022. May be SqlString.Null</LI>
|
||||
<LI>sTXADZ032. May be SqlString.Null</LI>
|
||||
<LI>sTXADZ042. May be SqlString.Null</LI>
|
||||
<LI>sTXADZ052. May be SqlString.Null</LI>
|
||||
<LI>sTXADZ062. May be SqlString.Null</LI>
|
||||
<LI>sTXADZ072. May be SqlString.Null</LI>
|
||||
<LI>sNRPARAD. May be SqlString.Null</LI>
|
||||
<LI>sNRADR00. May be SqlString.Null</LI>
|
||||
<LI>sNRFOG011. May be SqlString.Null</LI>
|
||||
<LI>sBEBAN011. May be SqlString.Null</LI>
|
||||
<LI>sNRFOG21. May be SqlString.Null</LI>
|
||||
<LI>sBEBAN21. May be SqlString.Null</LI>
|
||||
<LI>sTXADZ011. May be SqlString.Null</LI>
|
||||
<LI>sTXADZ021. May be SqlString.Null</LI>
|
||||
<LI>sTXADZ031. May be SqlString.Null</LI>
|
||||
<LI>sTXADZ041. May be SqlString.Null</LI>
|
||||
<LI>sTXADZ051. May be SqlString.Null</LI>
|
||||
<LI>sTXADZ061. May be SqlString.Null</LI>
|
||||
<LI>sTXADZ071. May be SqlString.Null</LI>
|
||||
<LI>sCDBAL00. May be SqlString.Null</LI>
|
||||
<LI>sCDVIG00. May be SqlString.Null</LI>
|
||||
<LI>sSAVRS00. May be SqlString.Null</LI>
|
||||
<LI>sTSMUT00. May be SqlString.Null</LI>
|
||||
<LI>sVDMUTER. May be SqlString.Null</LI>
|
||||
<LI>sTXRes00. May be SqlString.Null</LI>
|
||||
<LI>bSaldiert</LI>
|
||||
<LI>iAZEPL00. May be SqlInt32.Null</LI>
|
||||
<LI>bCDVSA00</LI>
|
||||
<LI>daValidto. May be SqlDateTime.Null</LI>
|
||||
</UL>
|
||||
Properties set after a succesful call of this method:
|
||||
<UL>
|
||||
<LI>iErrorCode</LI>
|
||||
</UL>
|
||||
</remarks>
|
||||
</member><member name="M:DokSA.edokadb.clsPartner.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>iNRPAR00</LI>
|
||||
</UL>
|
||||
Properties set after a succesful call of this method:
|
||||
<UL>
|
||||
<LI>iErrorCode</LI>
|
||||
</UL>
|
||||
</remarks>
|
||||
</member><member name="M:DokSA.edokadb.clsPartner.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>iNRPAR00</LI>
|
||||
</UL>
|
||||
Properties set after a succesful call of this method:
|
||||
<UL>
|
||||
<LI>iErrorCode</LI>
|
||||
<LI>sIDMSG00</LI>
|
||||
<LI>sDMMSG00</LI>
|
||||
<LI>sZTMSG00</LI>
|
||||
<LI>sBEPGM00</LI>
|
||||
<LI>sCDBNK00</LI>
|
||||
<LI>iNRPAR00</LI>
|
||||
<LI>sBKPAR00</LI>
|
||||
<LI>iNRFOG012</LI>
|
||||
<LI>sBEBAN012</LI>
|
||||
<LI>sNRFOG022</LI>
|
||||
<LI>sBEBAN022</LI>
|
||||
<LI>sTXADZ012</LI>
|
||||
<LI>sTXADZ022</LI>
|
||||
<LI>sTXADZ032</LI>
|
||||
<LI>sTXADZ042</LI>
|
||||
<LI>sTXADZ052</LI>
|
||||
<LI>sTXADZ062</LI>
|
||||
<LI>sTXADZ072</LI>
|
||||
<LI>sNRPARAD</LI>
|
||||
<LI>sNRADR00</LI>
|
||||
<LI>sNRFOG011</LI>
|
||||
<LI>sBEBAN011</LI>
|
||||
<LI>sNRFOG21</LI>
|
||||
<LI>sBEBAN21</LI>
|
||||
<LI>sTXADZ011</LI>
|
||||
<LI>sTXADZ021</LI>
|
||||
<LI>sTXADZ031</LI>
|
||||
<LI>sTXADZ041</LI>
|
||||
<LI>sTXADZ051</LI>
|
||||
<LI>sTXADZ061</LI>
|
||||
<LI>sTXADZ071</LI>
|
||||
<LI>sCDBAL00</LI>
|
||||
<LI>sCDVIG00</LI>
|
||||
<LI>sSAVRS00</LI>
|
||||
<LI>sTSMUT00</LI>
|
||||
<LI>sVDMUTER</LI>
|
||||
<LI>sTXRes00</LI>
|
||||
<LI>bSaldiert</LI>
|
||||
<LI>iAZEPL00</LI>
|
||||
<LI>bCDVSA00</LI>
|
||||
<LI>daValidto</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:DokSA.edokadb.clsPartner.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:DokSA.edokadb.clsPartner">
|
||||
<summary>
|
||||
Purpose: Data Access class for the table 'Partner'.
|
||||
</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
Binary file not shown.
Reference in New Issue
Block a user