' ///////////////////////////////////////////////////////////////////////////
' // Description: Data Access class for the table 'ApplikationKontakt'
' // Generated by LLBLGen v1.21.2003.712 Final on: Donnerstag, 22. Januar 2009, 20:16:50
' // 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
'''
''' Purpose: Data Access class for the table 'ApplikationKontakt'.
'''
Public Class clsApplikationKontakt
Inherits clsDBInteractionBase
#Region " Class Member Declarations "
Private m_bIntern, m_bAktiv As SqlBoolean
Private m_daErstellt_am, m_daMutiert_am As SqlDateTime
Private m_iMandantnr, m_iMutierer, m_iApplikationnr, m_iApplikationKontaktnr, m_iPersonNr, m_iSecurityLevelNr, m_iKontakttypNr As SqlInt32
Private m_sBemerkung As SqlString
#End Region
'''
''' Purpose: Class constructor.
'''
Public Sub New()
' // Nothing for now.
End Sub
'''
''' Purpose: Insert method. This method will insert one new row into the database.
'''
''' True if succeeded, otherwise an Exception is thrown.
'''
''' Properties needed for this method:
'''
''' - iApplikationKontaktnr
''' - iApplikationnr. May be SqlInt32.Null
''' - iPersonNr. May be SqlInt32.Null
''' - iKontakttypNr. May be SqlInt32.Null
''' - bIntern. May be SqlBoolean.Null
''' - sBemerkung. May be SqlString.Null
''' - bAktiv. May be SqlBoolean.Null
''' - daErstellt_am. May be SqlDateTime.Null
''' - daMutiert_am. May be SqlDateTime.Null
''' - iMutierer. May be SqlInt32.Null
''' - iMandantnr. May be SqlInt32.Null
''' - iSecurityLevelNr. May be SqlInt32.Null
'''
''' Properties set after a succesful call of this method:
'''
'''
Overrides Public Function Insert() As Boolean
Dim scmCmdToExecute As SqlCommand = New SqlCommand()
scmCmdToExecute.CommandText = "dbo.[pr_ApplikationKontakt_Insert]"
scmCmdToExecute.CommandType = CommandType.StoredProcedure
' // Use base class' connection object
scmCmdToExecute.Connection = m_scoMainConnection
Try
scmCmdToExecute.Parameters.Add(New SqlParameter("@iApplikationKontaktnr", SqlDbType.Int, 4, ParameterDirection.Input, False, 10, 0, "", DataRowVersion.Proposed, m_iApplikationKontaktnr))
scmCmdToExecute.Parameters.Add(New SqlParameter("@iApplikationnr", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iApplikationnr))
scmCmdToExecute.Parameters.Add(New SqlParameter("@iPersonNr", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iPersonNr))
scmCmdToExecute.Parameters.Add(New SqlParameter("@iKontakttypNr", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iKontakttypNr))
scmCmdToExecute.Parameters.Add(New SqlParameter("@bIntern", SqlDbType.Bit, 1, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_bIntern))
scmCmdToExecute.Parameters.Add(New SqlParameter("@sBemerkung", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sBemerkung))
scmCmdToExecute.Parameters.Add(New SqlParameter("@bAktiv", SqlDbType.Bit, 1, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_bAktiv))
scmCmdToExecute.Parameters.Add(New SqlParameter("@daErstellt_am", SqlDbType.DateTime, 8, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_daErstellt_am))
scmCmdToExecute.Parameters.Add(New SqlParameter("@daMutiert_am", SqlDbType.DateTime, 8, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_daMutiert_am))
scmCmdToExecute.Parameters.Add(New SqlParameter("@iMutierer", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iMutierer))
scmCmdToExecute.Parameters.Add(New SqlParameter("@iMandantnr", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iMandantnr))
scmCmdToExecute.Parameters.Add(New SqlParameter("@iSecurityLevelNr", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iSecurityLevelNr))
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_ApplikationKontakt_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("clsApplikationKontakt::Insert::Error occured.", ex)
Finally
If m_bMainConnectionIsCreatedLocal Then
' // Close connection.
m_scoMainConnection.Close()
End If
scmCmdToExecute.Dispose()
End Try
End Function
'''
''' Purpose: Update method. This method will Update one existing row in the database.
'''
''' True if succeeded, otherwise an Exception is thrown.
'''
''' Properties needed for this method:
'''
''' - iApplikationKontaktnr
''' - iApplikationnr. May be SqlInt32.Null
''' - iPersonNr. May be SqlInt32.Null
''' - iKontakttypNr. May be SqlInt32.Null
''' - bIntern. May be SqlBoolean.Null
''' - sBemerkung. May be SqlString.Null
''' - bAktiv. May be SqlBoolean.Null
''' - daErstellt_am. May be SqlDateTime.Null
''' - daMutiert_am. May be SqlDateTime.Null
''' - iMutierer. May be SqlInt32.Null
''' - iMandantnr. May be SqlInt32.Null
''' - iSecurityLevelNr. May be SqlInt32.Null
'''
''' Properties set after a succesful call of this method:
'''
'''
Overrides Public Function Update() As Boolean
Dim scmCmdToExecute As SqlCommand = New SqlCommand()
scmCmdToExecute.CommandText = "dbo.[pr_ApplikationKontakt_Update]"
scmCmdToExecute.CommandType = CommandType.StoredProcedure
' // Use base class' connection object
scmCmdToExecute.Connection = m_scoMainConnection
Try
scmCmdToExecute.Parameters.Add(New SqlParameter("@iApplikationKontaktnr", SqlDbType.Int, 4, ParameterDirection.Input, False, 10, 0, "", DataRowVersion.Proposed, m_iApplikationKontaktnr))
scmCmdToExecute.Parameters.Add(New SqlParameter("@iApplikationnr", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iApplikationnr))
scmCmdToExecute.Parameters.Add(New SqlParameter("@iPersonNr", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iPersonNr))
scmCmdToExecute.Parameters.Add(New SqlParameter("@iKontakttypNr", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iKontakttypNr))
scmCmdToExecute.Parameters.Add(New SqlParameter("@bIntern", SqlDbType.Bit, 1, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_bIntern))
scmCmdToExecute.Parameters.Add(New SqlParameter("@sBemerkung", SqlDbType.VarChar, 255, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_sBemerkung))
scmCmdToExecute.Parameters.Add(New SqlParameter("@bAktiv", SqlDbType.Bit, 1, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_bAktiv))
scmCmdToExecute.Parameters.Add(New SqlParameter("@daErstellt_am", SqlDbType.DateTime, 8, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_daErstellt_am))
scmCmdToExecute.Parameters.Add(New SqlParameter("@daMutiert_am", SqlDbType.DateTime, 8, ParameterDirection.Input, True, 0, 0, "", DataRowVersion.Proposed, m_daMutiert_am))
scmCmdToExecute.Parameters.Add(New SqlParameter("@iMutierer", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iMutierer))
scmCmdToExecute.Parameters.Add(New SqlParameter("@iMandantnr", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iMandantnr))
scmCmdToExecute.Parameters.Add(New SqlParameter("@iSecurityLevelNr", SqlDbType.Int, 4, ParameterDirection.Input, True, 10, 0, "", DataRowVersion.Proposed, m_iSecurityLevelNr))
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_ApplikationKontakt_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("clsApplikationKontakt::Update::Error occured.", ex)
Finally
If m_bMainConnectionIsCreatedLocal Then
' // Close connection.
m_scoMainConnection.Close()
End If
scmCmdToExecute.Dispose()
End Try
End Function
'''
''' Purpose: Delete method. This method will Delete one existing row in the database, based on the Primary Key.
'''
''' True if succeeded, otherwise an Exception is thrown.
'''
''' Properties needed for this method:
'''
''' - iApplikationKontaktnr
'''
''' Properties set after a succesful call of this method:
'''
'''
Overrides Public Function Delete() As Boolean
Dim scmCmdToExecute As SqlCommand = New SqlCommand()
scmCmdToExecute.CommandText = "dbo.[pr_ApplikationKontakt_Delete]"
scmCmdToExecute.CommandType = CommandType.StoredProcedure
' // Use base class' connection object
scmCmdToExecute.Connection = m_scoMainConnection
Try
scmCmdToExecute.Parameters.Add(New SqlParameter("@iApplikationKontaktnr", SqlDbType.Int, 4, ParameterDirection.Input, False, 10, 0, "", DataRowVersion.Proposed, m_iApplikationKontaktnr))
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_ApplikationKontakt_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("clsApplikationKontakt::Delete::Error occured.", ex)
Finally
If m_bMainConnectionIsCreatedLocal Then
' // Close connection.
m_scoMainConnection.Close()
End If
scmCmdToExecute.Dispose()
End Try
End Function
'''
''' Purpose: Select method. This method will Select one existing row from the database, based on the Primary Key.
'''
''' DataTable object if succeeded, otherwise an Exception is thrown.
'''
''' Properties needed for this method:
'''
''' - iApplikationKontaktnr
'''
''' Properties set after a succesful call of this method:
'''
''' - iErrorCode
''' - iApplikationKontaktnr
''' - iApplikationnr
''' - iPersonNr
''' - iKontakttypNr
''' - bIntern
''' - sBemerkung
''' - bAktiv
''' - daErstellt_am
''' - daMutiert_am
''' - iMutierer
''' - iMandantnr
''' - iSecurityLevelNr
'''
''' Will fill all properties corresponding with a field in the table with the value of the row selected.
'''
Overrides Public Function SelectOne() As DataTable
Dim scmCmdToExecute As SqlCommand = New SqlCommand()
scmCmdToExecute.CommandText = "dbo.[pr_ApplikationKontakt_SelectOne]"
scmCmdToExecute.CommandType = CommandType.StoredProcedure
Dim dtToReturn As DataTable = new DataTable("ApplikationKontakt")
Dim sdaAdapter As SqlDataAdapter = new SqlDataAdapter(scmCmdToExecute)
' // Use base class' connection object
scmCmdToExecute.Connection = m_scoMainConnection
Try
scmCmdToExecute.Parameters.Add(new SqlParameter("@iApplikationKontaktnr", SqlDbType.Int, 4, ParameterDirection.Input, False, 10, 0, "", DataRowVersion.Proposed, m_iApplikationKontaktnr))
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_ApplikationKontakt_SelectOne' reported the ErrorCode: " & m_iErrorCode.ToString())
End If
If dtToReturn.Rows.Count > 0 Then
m_iApplikationKontaktnr = New SqlInt32(CType(dtToReturn.Rows(0)("ApplikationKontaktnr"), Integer))
If dtToReturn.Rows(0)("Applikationnr") Is System.DBNull.Value Then
m_iApplikationnr = SqlInt32.Null
Else
m_iApplikationnr = New SqlInt32(CType(dtToReturn.Rows(0)("Applikationnr"), Integer))
End If
If dtToReturn.Rows(0)("PersonNr") Is System.DBNull.Value Then
m_iPersonNr = SqlInt32.Null
Else
m_iPersonNr = New SqlInt32(CType(dtToReturn.Rows(0)("PersonNr"), Integer))
End If
If dtToReturn.Rows(0)("KontakttypNr") Is System.DBNull.Value Then
m_iKontakttypNr = SqlInt32.Null
Else
m_iKontakttypNr = New SqlInt32(CType(dtToReturn.Rows(0)("KontakttypNr"), Integer))
End If
If dtToReturn.Rows(0)("Intern") Is System.DBNull.Value Then
m_bIntern = SqlBoolean.Null
Else
m_bIntern = New SqlBoolean(CType(dtToReturn.Rows(0)("Intern"), Boolean))
End If
If dtToReturn.Rows(0)("Bemerkung") Is System.DBNull.Value Then
m_sBemerkung = SqlString.Null
Else
m_sBemerkung = New SqlString(CType(dtToReturn.Rows(0)("Bemerkung"), String))
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)("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)("SecurityLevelNr") Is System.DBNull.Value Then
m_iSecurityLevelNr = SqlInt32.Null
Else
m_iSecurityLevelNr = New SqlInt32(CType(dtToReturn.Rows(0)("SecurityLevelNr"), 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("clsApplikationKontakt::SelectOne::Error occured.", ex)
Finally
If m_bMainConnectionIsCreatedLocal Then
' // Close connection.
m_scoMainConnection.Close()
End If
scmCmdToExecute.Dispose()
sdaAdapter.Dispose()
End Try
End Function
'''
''' Purpose: SelectAll method. This method will Select all rows from the table.
'''
''' DataTable object if succeeded, otherwise an Exception is thrown.
'''
''' Properties set after a succesful call of this method:
'''
'''
Overrides Public Function SelectAll() As DataTable
Dim scmCmdToExecute As SqlCommand = New SqlCommand()
scmCmdToExecute.CommandText = "dbo.[pr_ApplikationKontakt_SelectAll]"
scmCmdToExecute.CommandType = CommandType.StoredProcedure
Dim dtToReturn As DataTable = new DataTable("ApplikationKontakt")
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_ApplikationKontakt_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("clsApplikationKontakt::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 [iApplikationKontaktnr]() As SqlInt32
Get
Return m_iApplikationKontaktnr
End Get
Set(ByVal Value As SqlInt32)
Dim iApplikationKontaktnrTmp As SqlInt32 = Value
If iApplikationKontaktnrTmp.IsNull Then
Throw New ArgumentOutOfRangeException("iApplikationKontaktnr", "iApplikationKontaktnr can't be NULL")
End If
m_iApplikationKontaktnr = Value
End Set
End Property
Public Property [iApplikationnr]() As SqlInt32
Get
Return m_iApplikationnr
End Get
Set(ByVal Value As SqlInt32)
m_iApplikationnr = Value
End Set
End Property
Public Property [iPersonNr]() As SqlInt32
Get
Return m_iPersonNr
End Get
Set(ByVal Value As SqlInt32)
m_iPersonNr = Value
End Set
End Property
Public Property [iKontakttypNr]() As SqlInt32
Get
Return m_iKontakttypNr
End Get
Set(ByVal Value As SqlInt32)
m_iKontakttypNr = Value
End Set
End Property
Public Property [bIntern]() As SqlBoolean
Get
Return m_bIntern
End Get
Set(ByVal Value As SqlBoolean)
m_bIntern = Value
End Set
End Property
Public Property [sBemerkung]() As SqlString
Get
Return m_sBemerkung
End Get
Set(ByVal Value As SqlString)
m_sBemerkung = 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 [iMandantnr]() As SqlInt32
Get
Return m_iMandantnr
End Get
Set(ByVal Value As SqlInt32)
m_iMandantnr = Value
End Set
End Property
Public Property [iSecurityLevelNr]() As SqlInt32
Get
Return m_iSecurityLevelNr
End Get
Set(ByVal Value As SqlInt32)
m_iSecurityLevelNr = Value
End Set
End Property
#End Region
End Class
End Namespace