DataSet1.vb

 '------------------------------------------------------------------------------
' <autogenerated>
'     This code was generated by a tool.
'     Runtime Version: 1.0.3705.288
'
'     Changes to this file may cause incorrect behavior and will be lost if
'     the code is regenerated.
' </autogenerated>
'------------------------------------------------------------------------------

Option Strict Off
Option Explicit On

Imports System
Imports System.Data
Imports System.Runtime.Serialization
Imports System.Xml


<Serializable(),  _
System.ComponentModel.DesignerCategoryAttribute("code"),  _
System.Diagnostics.DebuggerStepThrough(),  _
System.ComponentModel.ToolboxItem(true)>  _
Public Class DataSet1
    Inherits DataSet
   
    Private tableAD As ADDataTable
   
    Public Sub New()
        MyBase.New
        Me.InitClass
        Dim schemaChangedHandler As System.ComponentModel.CollectionChangeEventHandler = AddressOf Me.SchemaChanged
        AddHandler Me.Tables.CollectionChanged, schemaChangedHandler
        AddHandler Me.Relations.CollectionChanged, schemaChangedHandler
    End Sub
   
    Protected Sub New(ByVal info As SerializationInfo, ByVal context As StreamingContext)
        MyBase.New
        Dim strSchema As String = CType(info.GetValue("XmlSchema", GetType(System.String)),String)
        If (Not (strSchema) Is Nothing) Then
            Dim ds As DataSet = New DataSet
            ds.ReadXmlSchema(New XmlTextReader(New System.IO.StringReader(strSchema)))
            If (Not (ds.Tables("AD")) Is Nothing) Then
                Me.Tables.Add(New ADDataTable(ds.Tables("AD")))
            End If
            Me.DataSetName = ds.DataSetName
            Me.Prefix = ds.Prefix
            Me.Namespace = ds.Namespace
            Me.Locale = ds.Locale
            Me.CaseSensitive = ds.CaseSensitive
            Me.EnforceConstraints = ds.EnforceConstraints
            Me.Merge(ds, false, System.Data.MissingSchemaAction.Add)
            Me.InitVars
        Else
            Me.InitClass
        End If
        Me.GetSerializationData(info, context)
        Dim schemaChangedHandler As System.ComponentModel.CollectionChangeEventHandler = AddressOf Me.SchemaChanged
        AddHandler Me.Tables.CollectionChanged, schemaChangedHandler
        AddHandler Me.Relations.CollectionChanged, schemaChangedHandler
    End Sub
   
    <System.ComponentModel.Browsable(false),  _
     System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)>  _
    Public ReadOnly Property AD As ADDataTable
        Get
            Return Me.tableAD
        End Get
    End Property
   
    Public Overrides Function Clone() As DataSet
        Dim cln As DataSet1 = CType(MyBase.Clone,DataSet1)
        cln.InitVars
        Return cln
    End Function
   
    Protected Overrides Function ShouldSerializeTables() As Boolean
        Return false
    End Function
   
    Protected Overrides Function ShouldSerializeRelations() As Boolean
        Return false
    End Function
   
    Protected Overrides Sub ReadXmlSerializable(ByVal reader As XmlReader)
        Me.Reset
        Dim ds As DataSet = New DataSet
        ds.ReadXml(reader)
        If (Not (ds.Tables("AD")) Is Nothing) Then
            Me.Tables.Add(New ADDataTable(ds.Tables("AD")))
        End If
        Me.DataSetName = ds.DataSetName
        Me.Prefix = ds.Prefix
        Me.Namespace = ds.Namespace
        Me.Locale = ds.Locale
        Me.CaseSensitive = ds.CaseSensitive
        Me.EnforceConstraints = ds.EnforceConstraints
        Me.Merge(ds, false, System.Data.MissingSchemaAction.Add)
        Me.InitVars
    End Sub
   
    Protected Overrides Function GetSchemaSerializable() As System.Xml.Schema.XmlSchema
        Dim stream As System.IO.MemoryStream = New System.IO.MemoryStream
        Me.WriteXmlSchema(New XmlTextWriter(stream, Nothing))
        stream.Position = 0
        Return System.Xml.Schema.XmlSchema.Read(New XmlTextReader(stream), Nothing)
    End Function
   
    Friend Sub InitVars()
        Me.tableAD = CType(Me.Tables("AD"),ADDataTable)
        If (Not (Me.tableAD) Is Nothing) Then
            Me.tableAD.InitVars
        End If
    End Sub
   
    Private Sub InitClass()
        Me.DataSetName = "DataSet1"
        Me.Prefix = ""
        Me.Namespace = "http://www.tempuri.org/DataSet1.xsd"
        Me.Locale = New System.Globalization.CultureInfo("id-ID")
        Me.CaseSensitive = false
        Me.EnforceConstraints = true
        Me.tableAD = New ADDataTable
        Me.Tables.Add(Me.tableAD)
    End Sub
   
    Private Function ShouldSerializeAD() As Boolean
        Return false
    End Function
   
    Private Sub SchemaChanged(ByVal sender As Object, ByVal e As System.ComponentModel.CollectionChangeEventArgs)
        If (e.Action = System.ComponentModel.CollectionChangeAction.Remove) Then
            Me.InitVars
        End If
    End Sub
   
    Public Delegate Sub ADRowChangeEventHandler(ByVal sender As Object, ByVal e As ADRowChangeEvent)
   
    <System.Diagnostics.DebuggerStepThrough()>  _
    Public Class ADDataTable
        Inherits DataTable
        Implements System.Collections.IEnumerable
       
        Private columnAddress1 As DataColumn
       
        Private columnAge As DataColumn
       
        Private columnCity As DataColumn
       
        Private columnComments As DataColumn
       
        Private columnEmail As DataColumn
       
        Private columnFirstName As DataColumn
       
        Private columnHomepage As DataColumn
       
        Private columnID As DataColumn
       
        Private columnLastName As DataColumn
       
        Private columnPhone As DataColumn
       
        Private columnRelation As DataColumn
       
        Private columnSex As DataColumn
       
        Private columnState As DataColumn
       
        Private columnZipCode As DataColumn
       
        Friend Sub New()
            MyBase.New("AD")
            Me.InitClass
        End Sub
       
        Friend Sub New(ByVal table As DataTable)
            MyBase.New(table.TableName)
            If (table.CaseSensitive <> table.DataSet.CaseSensitive) Then
                Me.CaseSensitive = table.CaseSensitive
            End If
            If (table.Locale.ToString <> table.DataSet.Locale.ToString) Then
                Me.Locale = table.Locale
            End If
            If (table.Namespace <> table.DataSet.Namespace) Then
                Me.Namespace = table.Namespace
            End If
            Me.Prefix = table.Prefix
            Me.MinimumCapacity = table.MinimumCapacity
            Me.DisplayExpression = table.DisplayExpression
        End Sub
       
        <System.ComponentModel.Browsable(false)>  _
        Public ReadOnly Property Count As Integer
            Get
                Return Me.Rows.Count
            End Get
        End Property
       
        Friend ReadOnly Property Address1Column As DataColumn
            Get
                Return Me.columnAddress1
            End Get
        End Property
       
        Friend ReadOnly Property AgeColumn As DataColumn
            Get
                Return Me.columnAge
            End Get
        End Property
       
        Friend ReadOnly Property CityColumn As DataColumn
            Get
                Return Me.columnCity
            End Get
        End Property
       
        Friend ReadOnly Property CommentsColumn As DataColumn
            Get
                Return Me.columnComments
            End Get
        End Property
       
        Friend ReadOnly Property EmailColumn As DataColumn
            Get
                Return Me.columnEmail
            End Get
        End Property
       
        Friend ReadOnly Property FirstNameColumn As DataColumn
            Get
                Return Me.columnFirstName
            End Get
        End Property
       
        Friend ReadOnly Property HomepageColumn As DataColumn
            Get
                Return Me.columnHomepage
            End Get
        End Property
       
        Friend ReadOnly Property IDColumn As DataColumn
            Get
                Return Me.columnID
            End Get
        End Property
       
        Friend ReadOnly Property LastNameColumn As DataColumn
            Get
                Return Me.columnLastName
            End Get
        End Property
       
        Friend ReadOnly Property PhoneColumn As DataColumn
            Get
                Return Me.columnPhone
            End Get
        End Property
       
        Friend ReadOnly Property RelationColumn As DataColumn
            Get
                Return Me.columnRelation
            End Get
        End Property
       
        Friend ReadOnly Property SexColumn As DataColumn
            Get
                Return Me.columnSex
            End Get
        End Property
       
        Friend ReadOnly Property StateColumn As DataColumn
            Get
                Return Me.columnState
            End Get
        End Property
       
        Friend ReadOnly Property ZipCodeColumn As DataColumn
            Get
                Return Me.columnZipCode
            End Get
        End Property
       
        Public Default ReadOnly Property Item(ByVal index As Integer) As ADRow
            Get
                Return CType(Me.Rows(index),ADRow)
            End Get
        End Property
       
        Public Event ADRowChanged As ADRowChangeEventHandler
       
        Public Event ADRowChanging As ADRowChangeEventHandler
       
        Public Event ADRowDeleted As ADRowChangeEventHandler
       
        Public Event ADRowDeleting As ADRowChangeEventHandler
       
        Public Overloads Sub AddADRow(ByVal row As ADRow)
            Me.Rows.Add(row)
        End Sub
       
        Public Overloads Function AddADRow(ByVal Address1 As String, ByVal Age As Integer, ByVal City As String, ByVal Comments As String, ByVal Email As String, ByVal FirstName As String, ByVal Homepage As String, ByVal ID As Integer, ByVal LastName As String, ByVal Phone As String, ByVal Relation As String, ByVal Sex As String, ByVal State As String, ByVal ZipCode As String) As ADRow
            Dim rowADRow As ADRow = CType(Me.NewRow,ADRow)
            rowADRow.ItemArray = New Object() {Address1, Age, City, Comments, Email, FirstName, Homepage, ID, LastName, Phone, Relation, Sex, State, ZipCode}
            Me.Rows.Add(rowADRow)
            Return rowADRow
        End Function
       
        Public Function FindByID(ByVal ID As Integer) As ADRow
            Return CType(Me.Rows.Find(New Object() {ID}),ADRow)
        End Function
       
        Public Function GetEnumerator() As System.Collections.IEnumerator Implements System.Collections.IEnumerable.GetEnumerator
            Return Me.Rows.GetEnumerator
        End Function
       
        Public Overrides Function Clone() As DataTable
            Dim cln As ADDataTable = CType(MyBase.Clone,ADDataTable)
            cln.InitVars
            Return cln
        End Function
       
        Protected Overrides Function CreateInstance() As DataTable
            Return New ADDataTable
        End Function
       
        Friend Sub InitVars()
            Me.columnAddress1 = Me.Columns("Address1")
            Me.columnAge = Me.Columns("Age")
            Me.columnCity = Me.Columns("City")
            Me.columnComments = Me.Columns("Comments")
            Me.columnEmail = Me.Columns("Email")
            Me.columnFirstName = Me.Columns("FirstName")
            Me.columnHomepage = Me.Columns("Homepage")
            Me.columnID = Me.Columns("ID")
            Me.columnLastName = Me.Columns("LastName")
            Me.columnPhone = Me.Columns("Phone")
            Me.columnRelation = Me.Columns("Relation")
            Me.columnSex = Me.Columns("Sex")
            Me.columnState = Me.Columns("State")
            Me.columnZipCode = Me.Columns("ZipCode")
        End Sub
       
        Private Sub InitClass()
            Me.columnAddress1 = New DataColumn("Address1", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnAddress1)
            Me.columnAge = New DataColumn("Age", GetType(System.Int32), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnAge)
            Me.columnCity = New DataColumn("City", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnCity)
            Me.columnComments = New DataColumn("Comments", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnComments)
            Me.columnEmail = New DataColumn("Email", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnEmail)
            Me.columnFirstName = New DataColumn("FirstName", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnFirstName)
            Me.columnHomepage = New DataColumn("Homepage", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnHomepage)
            Me.columnID = New DataColumn("ID", GetType(System.Int32), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnID)
            Me.columnLastName = New DataColumn("LastName", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnLastName)
            Me.columnPhone = New DataColumn("Phone", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnPhone)
            Me.columnRelation = New DataColumn("Relation", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnRelation)
            Me.columnSex = New DataColumn("Sex", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnSex)
            Me.columnState = New DataColumn("State", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnState)
            Me.columnZipCode = New DataColumn("ZipCode", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnZipCode)
            Me.Constraints.Add(New UniqueConstraint("Constraint1", New DataColumn() {Me.columnID}, true))
            Me.columnID.AllowDBNull = false
            Me.columnID.Unique = true
        End Sub
       
        Public Function NewADRow() As ADRow
            Return CType(Me.NewRow,ADRow)
        End Function
       
        Protected Overrides Function NewRowFromBuilder(ByVal builder As DataRowBuilder) As DataRow
            Return New ADRow(builder)
        End Function
       
        Protected Overrides Function GetRowType() As System.Type
            Return GetType(ADRow)
        End Function
       
        Protected Overrides Sub OnRowChanged(ByVal e As DataRowChangeEventArgs)
            MyBase.OnRowChanged(e)
            If (Not (Me.ADRowChangedEvent) Is Nothing) Then
                RaiseEvent ADRowChanged(Me, New ADRowChangeEvent(CType(e.Row,ADRow), e.Action))
            End If
        End Sub
       
        Protected Overrides Sub OnRowChanging(ByVal e As DataRowChangeEventArgs)
            MyBase.OnRowChanging(e)
            If (Not (Me.ADRowChangingEvent) Is Nothing) Then
                RaiseEvent ADRowChanging(Me, New ADRowChangeEvent(CType(e.Row,ADRow), e.Action))
            End If
        End Sub
       
        Protected Overrides Sub OnRowDeleted(ByVal e As DataRowChangeEventArgs)
            MyBase.OnRowDeleted(e)
            If (Not (Me.ADRowDeletedEvent) Is Nothing) Then
                RaiseEvent ADRowDeleted(Me, New ADRowChangeEvent(CType(e.Row,ADRow), e.Action))
            End If
        End Sub
       
        Protected Overrides Sub OnRowDeleting(ByVal e As DataRowChangeEventArgs)
            MyBase.OnRowDeleting(e)
            If (Not (Me.ADRowDeletingEvent) Is Nothing) Then
                RaiseEvent ADRowDeleting(Me, New ADRowChangeEvent(CType(e.Row,ADRow), e.Action))
            End If
        End Sub
       
        Public Sub RemoveADRow(ByVal row As ADRow)
            Me.Rows.Remove(row)
        End Sub
    End Class
   
    <System.Diagnostics.DebuggerStepThrough()>  _
    Public Class ADRow
        Inherits DataRow
       
        Private tableAD As ADDataTable
       
        Friend Sub New(ByVal rb As DataRowBuilder)
            MyBase.New(rb)
            Me.tableAD = CType(Me.Table,ADDataTable)
        End Sub
       
        Public Property Address1 As String
            Get
                Try
                    Return CType(Me(Me.tableAD.Address1Column),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableAD.Address1Column) = value
            End Set
        End Property
       
        Public Property Age As Integer
            Get
                Try
                    Return CType(Me(Me.tableAD.AgeColumn),Integer)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableAD.AgeColumn) = value
            End Set
        End Property
       
        Public Property City As String
            Get
                Try
                    Return CType(Me(Me.tableAD.CityColumn),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableAD.CityColumn) = value
            End Set
        End Property
       
        Public Property Comments As String
            Get
                Try
                    Return CType(Me(Me.tableAD.CommentsColumn),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableAD.CommentsColumn) = value
            End Set
        End Property
       
        Public Property Email As String
            Get
                Try
                    Return CType(Me(Me.tableAD.EmailColumn),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableAD.EmailColumn) = value
            End Set
        End Property
       
        Public Property FirstName As String
            Get
                Try
                    Return CType(Me(Me.tableAD.FirstNameColumn),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableAD.FirstNameColumn) = value
            End Set
        End Property
       
        Public Property Homepage As String
            Get
                Try
                    Return CType(Me(Me.tableAD.HomepageColumn),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableAD.HomepageColumn) = value
            End Set
        End Property
       
        Public Property ID As Integer
            Get
                Return CType(Me(Me.tableAD.IDColumn),Integer)
            End Get
            Set
                Me(Me.tableAD.IDColumn) = value
            End Set
        End Property
       
        Public Property LastName As String
            Get
                Try
                    Return CType(Me(Me.tableAD.LastNameColumn),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableAD.LastNameColumn) = value
            End Set
        End Property
       
        Public Property Phone As String
            Get
                Try
                    Return CType(Me(Me.tableAD.PhoneColumn),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableAD.PhoneColumn) = value
            End Set
        End Property
       
        Public Property Relation As String
            Get
                Try
                    Return CType(Me(Me.tableAD.RelationColumn),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableAD.RelationColumn) = value
            End Set
        End Property
       
        Public Property Sex As String
            Get
                Try
                    Return CType(Me(Me.tableAD.SexColumn),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableAD.SexColumn) = value
            End Set
        End Property
       
        Public Property State As String
            Get
                Try
                    Return CType(Me(Me.tableAD.StateColumn),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableAD.StateColumn) = value
            End Set
        End Property
       
        Public Property ZipCode As String
            Get
                Try
                    Return CType(Me(Me.tableAD.ZipCodeColumn),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableAD.ZipCodeColumn) = value
            End Set
        End Property
       
        Public Function IsAddress1Null() As Boolean
            Return Me.IsNull(Me.tableAD.Address1Column)
        End Function
       
        Public Sub SetAddress1Null()
            Me(Me.tableAD.Address1Column) = System.Convert.DBNull
        End Sub
       
        Public Function IsAgeNull() As Boolean
            Return Me.IsNull(Me.tableAD.AgeColumn)
        End Function
       
        Public Sub SetAgeNull()
            Me(Me.tableAD.AgeColumn) = System.Convert.DBNull
        End Sub
       
        Public Function IsCityNull() As Boolean
            Return Me.IsNull(Me.tableAD.CityColumn)
        End Function
       
        Public Sub SetCityNull()
            Me(Me.tableAD.CityColumn) = System.Convert.DBNull
        End Sub
       
        Public Function IsCommentsNull() As Boolean
            Return Me.IsNull(Me.tableAD.CommentsColumn)
        End Function
       
        Public Sub SetCommentsNull()
            Me(Me.tableAD.CommentsColumn) = System.Convert.DBNull
        End Sub
       
        Public Function IsEmailNull() As Boolean
            Return Me.IsNull(Me.tableAD.EmailColumn)
        End Function
       
        Public Sub SetEmailNull()
            Me(Me.tableAD.EmailColumn) = System.Convert.DBNull
        End Sub
       
        Public Function IsFirstNameNull() As Boolean
            Return Me.IsNull(Me.tableAD.FirstNameColumn)
        End Function
       
        Public Sub SetFirstNameNull()
            Me(Me.tableAD.FirstNameColumn) = System.Convert.DBNull
        End Sub
       
        Public Function IsHomepageNull() As Boolean
            Return Me.IsNull(Me.tableAD.HomepageColumn)
        End Function
       
        Public Sub SetHomepageNull()
            Me(Me.tableAD.HomepageColumn) = System.Convert.DBNull
        End Sub
       
        Public Function IsLastNameNull() As Boolean
            Return Me.IsNull(Me.tableAD.LastNameColumn)
        End Function
       
        Public Sub SetLastNameNull()
            Me(Me.tableAD.LastNameColumn) = System.Convert.DBNull
        End Sub
       
        Public Function IsPhoneNull() As Boolean
            Return Me.IsNull(Me.tableAD.PhoneColumn)
        End Function
       
        Public Sub SetPhoneNull()
            Me(Me.tableAD.PhoneColumn) = System.Convert.DBNull
        End Sub
       
        Public Function IsRelationNull() As Boolean
            Return Me.IsNull(Me.tableAD.RelationColumn)
        End Function
       
        Public Sub SetRelationNull()
            Me(Me.tableAD.RelationColumn) = System.Convert.DBNull
        End Sub
       
        Public Function IsSexNull() As Boolean
            Return Me.IsNull(Me.tableAD.SexColumn)
        End Function
       
        Public Sub SetSexNull()
            Me(Me.tableAD.SexColumn) = System.Convert.DBNull
        End Sub
       
        Public Function IsStateNull() As Boolean
            Return Me.IsNull(Me.tableAD.StateColumn)
        End Function
       
        Public Sub SetStateNull()
            Me(Me.tableAD.StateColumn) = System.Convert.DBNull
        End Sub
       
        Public Function IsZipCodeNull() As Boolean
            Return Me.IsNull(Me.tableAD.ZipCodeColumn)
        End Function
       
        Public Sub SetZipCodeNull()
            Me(Me.tableAD.ZipCodeColumn) = System.Convert.DBNull
        End Sub
    End Class
   
    <System.Diagnostics.DebuggerStepThrough()>  _
    Public Class ADRowChangeEvent
        Inherits EventArgs
       
        Private eventRow As ADRow
       
        Private eventAction As DataRowAction
       
        Public Sub New(ByVal row As ADRow, ByVal action As DataRowAction)
            MyBase.New
            Me.eventRow = row
            Me.eventAction = action
        End Sub
       
        Public ReadOnly Property Row As ADRow
            Get
                Return Me.eventRow
            End Get
        End Property
       
        Public ReadOnly Property Action As DataRowAction
            Get
                Return Me.eventAction
            End Get
        End Property
    End Class
End Class

Project Homepage: