'------------------------------------------------------------------------------
' <autogenerated>
'     This code was generated by a tool.
'     Runtime Version: 1.0.3705.0
'
'     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 DS_AllCensus
    Inherits DataSet
    
    Private tableGetAllCensus As GetAllCensusDataTable
    
    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("GetAllCensus")) Is Nothing) Then
                Me.Tables.Add(New GetAllCensusDataTable(ds.Tables("GetAllCensus")))
            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 GetAllCensus As GetAllCensusDataTable
        Get
            Return Me.tableGetAllCensus
        End Get
    End Property
    
    Public Overrides Function Clone() As DataSet
        Dim cln As DS_AllCensus = CType(MyBase.Clone,DS_AllCensus)
        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("GetAllCensus")) Is Nothing) Then
            Me.Tables.Add(New GetAllCensusDataTable(ds.Tables("GetAllCensus")))
        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.tableGetAllCensus = CType(Me.Tables("GetAllCensus"),GetAllCensusDataTable)
        If (Not (Me.tableGetAllCensus) Is Nothing) Then
            Me.tableGetAllCensus.InitVars
        End If
    End Sub
    
    Private Sub InitClass()
        Me.DataSetName = "DS_AllCensus"
        Me.Prefix = ""
        Me.Namespace = "http://www.tempuri.org/DS_AllCensus.xsd"
        Me.Locale = New System.Globalization.CultureInfo("en-US")
        Me.CaseSensitive = false
        Me.EnforceConstraints = true
        Me.tableGetAllCensus = New GetAllCensusDataTable
        Me.Tables.Add(Me.tableGetAllCensus)
    End Sub
    
    Private Function ShouldSerializeGetAllCensus() 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 GetAllCensusRowChangeEventHandler(ByVal sender As Object, ByVal e As GetAllCensusRowChangeEvent)
    
    <System.Diagnostics.DebuggerStepThrough()>  _
    Public Class GetAllCensusDataTable
        Inherits DataTable
        Implements System.Collections.IEnumerable
        
        Private columnID As DataColumn
        
        Private columnFName1 As DataColumn
        
        Private columnLName As DataColumn
        
        Private columnAddress1 As DataColumn
        
        Private columnPhone1 As DataColumn
        
        Private columnEmail1 As DataColumn
        
        Private columnPlaceofEmployment1 As DataColumn
        
        Private columnPlaceofEmployment2 As DataColumn
        
        Private columnPlacementTitle1 As DataColumn
        
        Private columnPlacementTitle2 As DataColumn
        
        Private columnTalents1 As DataColumn
        
        Private columnAllSaintsGraduate1 As DataColumn
        
        Private columnGraduateDate1 As DataColumn
        
        Private columnMaritalStatus1 As DataColumn
        
        Private columnMaritalStatus2 As DataColumn
        
        Private columnFName2 As DataColumn
        
        Private columnMaidenName As DataColumn
        
        Private columnAddress2 As DataColumn
        
        Private columnPhone2 As DataColumn
        
        Private columnEmail2 As DataColumn
        
        Private columnTalents2 As DataColumn
        
        Private columnAllSaintsGraduate2 As DataColumn
        
        Private columnGraduateDate2 As DataColumn
        
        Private columnIsArchive As DataColumn
        
        Private columnReasonToLeave As DataColumn
        
        Private columnIP As DataColumn
        
        Private columnPostDate As DataColumn
        
        Friend Sub New()
            MyBase.New("GetAllCensus")
            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 IDColumn As DataColumn
            Get
                Return Me.columnID
            End Get
        End Property
        
        Friend ReadOnly Property FName1Column As DataColumn
            Get
                Return Me.columnFName1
            End Get
        End Property
        
        Friend ReadOnly Property LNameColumn As DataColumn
            Get
                Return Me.columnLName
            End Get
        End Property
        
        Friend ReadOnly Property Address1Column As DataColumn
            Get
                Return Me.columnAddress1
            End Get
        End Property
        
        Friend ReadOnly Property Phone1Column As DataColumn
            Get
                Return Me.columnPhone1
            End Get
        End Property
        
        Friend ReadOnly Property Email1Column As DataColumn
            Get
                Return Me.columnEmail1
            End Get
        End Property
        
        Friend ReadOnly Property PlaceofEmployment1Column As DataColumn
            Get
                Return Me.columnPlaceofEmployment1
            End Get
        End Property
        
        Friend ReadOnly Property PlaceofEmployment2Column As DataColumn
            Get
                Return Me.columnPlaceofEmployment2
            End Get
        End Property
        
        Friend ReadOnly Property PlacementTitle1Column As DataColumn
            Get
                Return Me.columnPlacementTitle1
            End Get
        End Property
        
        Friend ReadOnly Property PlacementTitle2Column As DataColumn
            Get
                Return Me.columnPlacementTitle2
            End Get
        End Property
        
        Friend ReadOnly Property Talents1Column As DataColumn
            Get
                Return Me.columnTalents1
            End Get
        End Property
        
        Friend ReadOnly Property AllSaintsGraduate1Column As DataColumn
            Get
                Return Me.columnAllSaintsGraduate1
            End Get
        End Property
        
        Friend ReadOnly Property GraduateDate1Column As DataColumn
            Get
                Return Me.columnGraduateDate1
            End Get
        End Property
        
        Friend ReadOnly Property MaritalStatus1Column As DataColumn
            Get
                Return Me.columnMaritalStatus1
            End Get
        End Property
        
        Friend ReadOnly Property MaritalStatus2Column As DataColumn
            Get
                Return Me.columnMaritalStatus2
            End Get
        End Property
        
        Friend ReadOnly Property FName2Column As DataColumn
            Get
                Return Me.columnFName2
            End Get
        End Property
        
        Friend ReadOnly Property MaidenNameColumn As DataColumn
            Get
                Return Me.columnMaidenName
            End Get
        End Property
        
        Friend ReadOnly Property Address2Column As DataColumn
            Get
                Return Me.columnAddress2
            End Get
        End Property
        
        Friend ReadOnly Property Phone2Column As DataColumn
            Get
                Return Me.columnPhone2
            End Get
        End Property
        
        Friend ReadOnly Property Email2Column As DataColumn
            Get
                Return Me.columnEmail2
            End Get
        End Property
        
        Friend ReadOnly Property Talents2Column As DataColumn
            Get
                Return Me.columnTalents2
            End Get
        End Property
        
        Friend ReadOnly Property AllSaintsGraduate2Column As DataColumn
            Get
                Return Me.columnAllSaintsGraduate2
            End Get
        End Property
        
        Friend ReadOnly Property GraduateDate2Column As DataColumn
            Get
                Return Me.columnGraduateDate2
            End Get
        End Property
        
        Friend ReadOnly Property IsArchiveColumn As DataColumn
            Get
                Return Me.columnIsArchive
            End Get
        End Property
        
        Friend ReadOnly Property ReasonToLeaveColumn As DataColumn
            Get
                Return Me.columnReasonToLeave
            End Get
        End Property
        
        Friend ReadOnly Property IPColumn As DataColumn
            Get
                Return Me.columnIP
            End Get
        End Property
        
        Friend ReadOnly Property PostDateColumn As DataColumn
            Get
                Return Me.columnPostDate
            End Get
        End Property
        
        Public Default ReadOnly Property Item(ByVal index As Integer) As GetAllCensusRow
            Get
                Return CType(Me.Rows(index),GetAllCensusRow)
            End Get
        End Property
        
        Public Event GetAllCensusRowChanged As GetAllCensusRowChangeEventHandler
        
        Public Event GetAllCensusRowChanging As GetAllCensusRowChangeEventHandler
        
        Public Event GetAllCensusRowDeleted As GetAllCensusRowChangeEventHandler
        
        Public Event GetAllCensusRowDeleting As GetAllCensusRowChangeEventHandler
        
        Public Overloads Sub AddGetAllCensusRow(ByVal row As GetAllCensusRow)
            Me.Rows.Add(row)
        End Sub
        
        Public Overloads Function AddGetAllCensusRow( _
                    ByVal FName1 As String,  _
                    ByVal LName As String,  _
                    ByVal Address1 As String,  _
                    ByVal Phone1 As String,  _
                    ByVal Email1 As String,  _
                    ByVal PlaceofEmployment1 As String,  _
                    ByVal PlaceofEmployment2 As String,  _
                    ByVal PlacementTitle1 As String,  _
                    ByVal PlacementTitle2 As String,  _
                    ByVal Talents1 As String,  _
                    ByVal AllSaintsGraduate1 As Boolean,  _
                    ByVal GraduateDate1 As String,  _
                    ByVal MaritalStatus1 As String,  _
                    ByVal MaritalStatus2 As String,  _
                    ByVal FName2 As String,  _
                    ByVal MaidenName As String,  _
                    ByVal Address2 As String,  _
                    ByVal Phone2 As String,  _
                    ByVal Email2 As String,  _
                    ByVal Talents2 As String,  _
                    ByVal AllSaintsGraduate2 As Boolean,  _
                    ByVal GraduateDate2 As String,  _
                    ByVal IsArchive As Boolean,  _
                    ByVal ReasonToLeave As String,  _
                    ByVal IP As String,  _
                    ByVal PostDate As Date) As GetAllCensusRow
            Dim rowGetAllCensusRow As GetAllCensusRow = CType(Me.NewRow,GetAllCensusRow)
            rowGetAllCensusRow.ItemArray = New Object() {Nothing, FName1, LName, Address1, Phone1, Email1, PlaceofEmployment1, PlaceofEmployment2, PlacementTitle1, PlacementTitle2, Talents1, AllSaintsGraduate1, GraduateDate1, MaritalStatus1, MaritalStatus2, FName2, MaidenName, Address2, Phone2, Email2, Talents2, AllSaintsGraduate2, GraduateDate2, IsArchive, ReasonToLeave, IP, PostDate}
            Me.Rows.Add(rowGetAllCensusRow)
            Return rowGetAllCensusRow
        End Function
        
        Public Function FindByID(ByVal ID As Integer) As GetAllCensusRow
            Return CType(Me.Rows.Find(New Object() {ID}),GetAllCensusRow)
        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 GetAllCensusDataTable = CType(MyBase.Clone,GetAllCensusDataTable)
            cln.InitVars
            Return cln
        End Function
        
        Protected Overrides Function CreateInstance() As DataTable
            Return New GetAllCensusDataTable
        End Function
        
        Friend Sub InitVars()
            Me.columnID = Me.Columns("ID")
            Me.columnFName1 = Me.Columns("FName1")
            Me.columnLName = Me.Columns("LName")
            Me.columnAddress1 = Me.Columns("Address1")
            Me.columnPhone1 = Me.Columns("Phone1")
            Me.columnEmail1 = Me.Columns("Email1")
            Me.columnPlaceofEmployment1 = Me.Columns("PlaceofEmployment1")
            Me.columnPlaceofEmployment2 = Me.Columns("PlaceofEmployment2")
            Me.columnPlacementTitle1 = Me.Columns("PlacementTitle1")
            Me.columnPlacementTitle2 = Me.Columns("PlacementTitle2")
            Me.columnTalents1 = Me.Columns("Talents1")
            Me.columnAllSaintsGraduate1 = Me.Columns("AllSaintsGraduate1")
            Me.columnGraduateDate1 = Me.Columns("GraduateDate1")
            Me.columnMaritalStatus1 = Me.Columns("MaritalStatus1")
            Me.columnMaritalStatus2 = Me.Columns("MaritalStatus2")
            Me.columnFName2 = Me.Columns("FName2")
            Me.columnMaidenName = Me.Columns("MaidenName")
            Me.columnAddress2 = Me.Columns("Address2")
            Me.columnPhone2 = Me.Columns("Phone2")
            Me.columnEmail2 = Me.Columns("Email2")
            Me.columnTalents2 = Me.Columns("Talents2")
            Me.columnAllSaintsGraduate2 = Me.Columns("AllSaintsGraduate2")
            Me.columnGraduateDate2 = Me.Columns("GraduateDate2")
            Me.columnIsArchive = Me.Columns("IsArchive")
            Me.columnReasonToLeave = Me.Columns("ReasonToLeave")
            Me.columnIP = Me.Columns("IP")
            Me.columnPostDate = Me.Columns("PostDate")
        End Sub
        
        Private Sub InitClass()
            Me.columnID = New DataColumn("ID", GetType(System.Int32), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnID)
            Me.columnFName1 = New DataColumn("FName1", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnFName1)
            Me.columnLName = New DataColumn("LName", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnLName)
            Me.columnAddress1 = New DataColumn("Address1", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnAddress1)
            Me.columnPhone1 = New DataColumn("Phone1", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnPhone1)
            Me.columnEmail1 = New DataColumn("Email1", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnEmail1)
            Me.columnPlaceofEmployment1 = New DataColumn("PlaceofEmployment1", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnPlaceofEmployment1)
            Me.columnPlaceofEmployment2 = New DataColumn("PlaceofEmployment2", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnPlaceofEmployment2)
            Me.columnPlacementTitle1 = New DataColumn("PlacementTitle1", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnPlacementTitle1)
            Me.columnPlacementTitle2 = New DataColumn("PlacementTitle2", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnPlacementTitle2)
            Me.columnTalents1 = New DataColumn("Talents1", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnTalents1)
            Me.columnAllSaintsGraduate1 = New DataColumn("AllSaintsGraduate1", GetType(System.Boolean), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnAllSaintsGraduate1)
            Me.columnGraduateDate1 = New DataColumn("GraduateDate1", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnGraduateDate1)
            Me.columnMaritalStatus1 = New DataColumn("MaritalStatus1", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnMaritalStatus1)
            Me.columnMaritalStatus2 = New DataColumn("MaritalStatus2", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnMaritalStatus2)
            Me.columnFName2 = New DataColumn("FName2", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnFName2)
            Me.columnMaidenName = New DataColumn("MaidenName", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnMaidenName)
            Me.columnAddress2 = New DataColumn("Address2", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnAddress2)
            Me.columnPhone2 = New DataColumn("Phone2", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnPhone2)
            Me.columnEmail2 = New DataColumn("Email2", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnEmail2)
            Me.columnTalents2 = New DataColumn("Talents2", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnTalents2)
            Me.columnAllSaintsGraduate2 = New DataColumn("AllSaintsGraduate2", GetType(System.Boolean), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnAllSaintsGraduate2)
            Me.columnGraduateDate2 = New DataColumn("GraduateDate2", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnGraduateDate2)
            Me.columnIsArchive = New DataColumn("IsArchive", GetType(System.Boolean), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnIsArchive)
            Me.columnReasonToLeave = New DataColumn("ReasonToLeave", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnReasonToLeave)
            Me.columnIP = New DataColumn("IP", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnIP)
            Me.columnPostDate = New DataColumn("PostDate", GetType(System.DateTime), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnPostDate)
            Me.Constraints.Add(New UniqueConstraint("Constraint1", New DataColumn() {Me.columnID}, true))
            Me.columnID.AutoIncrement = true
            Me.columnID.AllowDBNull = false
            Me.columnID.ReadOnly = true
            Me.columnID.Unique = true
            Me.columnIsArchive.AllowDBNull = false
        End Sub
        
        Public Function NewGetAllCensusRow() As GetAllCensusRow
            Return CType(Me.NewRow,GetAllCensusRow)
        End Function
        
        Protected Overrides Function NewRowFromBuilder(ByVal builder As DataRowBuilder) As DataRow
            Return New GetAllCensusRow(builder)
        End Function
        
        Protected Overrides Function GetRowType() As System.Type
            Return GetType(GetAllCensusRow)
        End Function
        
        Protected Overrides Sub OnRowChanged(ByVal e As DataRowChangeEventArgs)
            MyBase.OnRowChanged(e)
            If (Not (Me.GetAllCensusRowChangedEvent) Is Nothing) Then
                RaiseEvent GetAllCensusRowChanged(Me, New GetAllCensusRowChangeEvent(CType(e.Row,GetAllCensusRow), e.Action))
            End If
        End Sub
        
        Protected Overrides Sub OnRowChanging(ByVal e As DataRowChangeEventArgs)
            MyBase.OnRowChanging(e)
            If (Not (Me.GetAllCensusRowChangingEvent) Is Nothing) Then
                RaiseEvent GetAllCensusRowChanging(Me, New GetAllCensusRowChangeEvent(CType(e.Row,GetAllCensusRow), e.Action))
            End If
        End Sub
        
        Protected Overrides Sub OnRowDeleted(ByVal e As DataRowChangeEventArgs)
            MyBase.OnRowDeleted(e)
            If (Not (Me.GetAllCensusRowDeletedEvent) Is Nothing) Then
                RaiseEvent GetAllCensusRowDeleted(Me, New GetAllCensusRowChangeEvent(CType(e.Row,GetAllCensusRow), e.Action))
            End If
        End Sub
        
        Protected Overrides Sub OnRowDeleting(ByVal e As DataRowChangeEventArgs)
            MyBase.OnRowDeleting(e)
            If (Not (Me.GetAllCensusRowDeletingEvent) Is Nothing) Then
                RaiseEvent GetAllCensusRowDeleting(Me, New GetAllCensusRowChangeEvent(CType(e.Row,GetAllCensusRow), e.Action))
            End If
        End Sub
        
        Public Sub RemoveGetAllCensusRow(ByVal row As GetAllCensusRow)
            Me.Rows.Remove(row)
        End Sub
    End Class
    
    <System.Diagnostics.DebuggerStepThrough()>  _
    Public Class GetAllCensusRow
        Inherits DataRow
        
        Private tableGetAllCensus As GetAllCensusDataTable
        
        Friend Sub New(ByVal rb As DataRowBuilder)
            MyBase.New(rb)
            Me.tableGetAllCensus = CType(Me.Table,GetAllCensusDataTable)
        End Sub
        
        Public Property ID As Integer
            Get
                Return CType(Me(Me.tableGetAllCensus.IDColumn),Integer)
            End Get
            Set
                Me(Me.tableGetAllCensus.IDColumn) = value
            End Set
        End Property
        
        Public Property FName1 As String
            Get
                Try 
                    Return CType(Me(Me.tableGetAllCensus.FName1Column),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetAllCensus.FName1Column) = value
            End Set
        End Property
        
        Public Property LName As String
            Get
                Try 
                    Return CType(Me(Me.tableGetAllCensus.LNameColumn),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetAllCensus.LNameColumn) = value
            End Set
        End Property
        
        Public Property Address1 As String
            Get
                Try 
                    Return CType(Me(Me.tableGetAllCensus.Address1Column),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetAllCensus.Address1Column) = value
            End Set
        End Property
        
        Public Property Phone1 As String
            Get
                Try 
                    Return CType(Me(Me.tableGetAllCensus.Phone1Column),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetAllCensus.Phone1Column) = value
            End Set
        End Property
        
        Public Property Email1 As String
            Get
                Try 
                    Return CType(Me(Me.tableGetAllCensus.Email1Column),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetAllCensus.Email1Column) = value
            End Set
        End Property
        
        Public Property PlaceofEmployment1 As String
            Get
                Try 
                    Return CType(Me(Me.tableGetAllCensus.PlaceofEmployment1Column),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetAllCensus.PlaceofEmployment1Column) = value
            End Set
        End Property
        
        Public Property PlaceofEmployment2 As String
            Get
                Try 
                    Return CType(Me(Me.tableGetAllCensus.PlaceofEmployment2Column),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetAllCensus.PlaceofEmployment2Column) = value
            End Set
        End Property
        
        Public Property PlacementTitle1 As String
            Get
                Try 
                    Return CType(Me(Me.tableGetAllCensus.PlacementTitle1Column),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetAllCensus.PlacementTitle1Column) = value
            End Set
        End Property
        
        Public Property PlacementTitle2 As String
            Get
                Try 
                    Return CType(Me(Me.tableGetAllCensus.PlacementTitle2Column),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetAllCensus.PlacementTitle2Column) = value
            End Set
        End Property
        
        Public Property Talents1 As String
            Get
                Try 
                    Return CType(Me(Me.tableGetAllCensus.Talents1Column),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetAllCensus.Talents1Column) = value
            End Set
        End Property
        
        Public Property AllSaintsGraduate1 As Boolean
            Get
                Try 
                    Return CType(Me(Me.tableGetAllCensus.AllSaintsGraduate1Column),Boolean)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetAllCensus.AllSaintsGraduate1Column) = value
            End Set
        End Property
        
        Public Property GraduateDate1 As String
            Get
                Try 
                    Return CType(Me(Me.tableGetAllCensus.GraduateDate1Column),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetAllCensus.GraduateDate1Column) = value
            End Set
        End Property
        
        Public Property MaritalStatus1 As String
            Get
                Try 
                    Return CType(Me(Me.tableGetAllCensus.MaritalStatus1Column),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetAllCensus.MaritalStatus1Column) = value
            End Set
        End Property
        
        Public Property MaritalStatus2 As String
            Get
                Try 
                    Return CType(Me(Me.tableGetAllCensus.MaritalStatus2Column),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetAllCensus.MaritalStatus2Column) = value
            End Set
        End Property
        
        Public Property FName2 As String
            Get
                Try 
                    Return CType(Me(Me.tableGetAllCensus.FName2Column),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetAllCensus.FName2Column) = value
            End Set
        End Property
        
        Public Property MaidenName As String
            Get
                Try 
                    Return CType(Me(Me.tableGetAllCensus.MaidenNameColumn),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetAllCensus.MaidenNameColumn) = value
            End Set
        End Property
        
        Public Property Address2 As String
            Get
                Try 
                    Return CType(Me(Me.tableGetAllCensus.Address2Column),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetAllCensus.Address2Column) = value
            End Set
        End Property
        
        Public Property Phone2 As String
            Get
                Try 
                    Return CType(Me(Me.tableGetAllCensus.Phone2Column),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetAllCensus.Phone2Column) = value
            End Set
        End Property
        
        Public Property Email2 As String
            Get
                Try 
                    Return CType(Me(Me.tableGetAllCensus.Email2Column),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetAllCensus.Email2Column) = value
            End Set
        End Property
        
        Public Property Talents2 As String
            Get
                Try 
                    Return CType(Me(Me.tableGetAllCensus.Talents2Column),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetAllCensus.Talents2Column) = value
            End Set
        End Property
        
        Public Property AllSaintsGraduate2 As Boolean
            Get
                Try 
                    Return CType(Me(Me.tableGetAllCensus.AllSaintsGraduate2Column),Boolean)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetAllCensus.AllSaintsGraduate2Column) = value
            End Set
        End Property
        
        Public Property GraduateDate2 As String
            Get
                Try 
                    Return CType(Me(Me.tableGetAllCensus.GraduateDate2Column),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetAllCensus.GraduateDate2Column) = value
            End Set
        End Property
        
        Public Property IsArchive As Boolean
            Get
                Return CType(Me(Me.tableGetAllCensus.IsArchiveColumn),Boolean)
            End Get
            Set
                Me(Me.tableGetAllCensus.IsArchiveColumn) = value
            End Set
        End Property
        
        Public Property ReasonToLeave As String
            Get
                Try 
                    Return CType(Me(Me.tableGetAllCensus.ReasonToLeaveColumn),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetAllCensus.ReasonToLeaveColumn) = value
            End Set
        End Property
        
        Public Property IP As String
            Get
                Try 
                    Return CType(Me(Me.tableGetAllCensus.IPColumn),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetAllCensus.IPColumn) = value
            End Set
        End Property
        
        Public Property PostDate As Date
            Get
                Try 
                    Return CType(Me(Me.tableGetAllCensus.PostDateColumn),Date)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetAllCensus.PostDateColumn) = value
            End Set
        End Property
        
        Public Function IsFName1Null() As Boolean
            Return Me.IsNull(Me.tableGetAllCensus.FName1Column)
        End Function
        
        Public Sub SetFName1Null()
            Me(Me.tableGetAllCensus.FName1Column) = System.Convert.DBNull
        End Sub
        
        Public Function IsLNameNull() As Boolean
            Return Me.IsNull(Me.tableGetAllCensus.LNameColumn)
        End Function
        
        Public Sub SetLNameNull()
            Me(Me.tableGetAllCensus.LNameColumn) = System.Convert.DBNull
        End Sub
        
        Public Function IsAddress1Null() As Boolean
            Return Me.IsNull(Me.tableGetAllCensus.Address1Column)
        End Function
        
        Public Sub SetAddress1Null()
            Me(Me.tableGetAllCensus.Address1Column) = System.Convert.DBNull
        End Sub
        
        Public Function IsPhone1Null() As Boolean
            Return Me.IsNull(Me.tableGetAllCensus.Phone1Column)
        End Function
        
        Public Sub SetPhone1Null()
            Me(Me.tableGetAllCensus.Phone1Column) = System.Convert.DBNull
        End Sub
        
        Public Function IsEmail1Null() As Boolean
            Return Me.IsNull(Me.tableGetAllCensus.Email1Column)
        End Function
        
        Public Sub SetEmail1Null()
            Me(Me.tableGetAllCensus.Email1Column) = System.Convert.DBNull
        End Sub
        
        Public Function IsPlaceofEmployment1Null() As Boolean
            Return Me.IsNull(Me.tableGetAllCensus.PlaceofEmployment1Column)
        End Function
        
        Public Sub SetPlaceofEmployment1Null()
            Me(Me.tableGetAllCensus.PlaceofEmployment1Column) = System.Convert.DBNull
        End Sub
        
        Public Function IsPlaceofEmployment2Null() As Boolean
            Return Me.IsNull(Me.tableGetAllCensus.PlaceofEmployment2Column)
        End Function
        
        Public Sub SetPlaceofEmployment2Null()
            Me(Me.tableGetAllCensus.PlaceofEmployment2Column) = System.Convert.DBNull
        End Sub
        
        Public Function IsPlacementTitle1Null() As Boolean
            Return Me.IsNull(Me.tableGetAllCensus.PlacementTitle1Column)
        End Function
        
        Public Sub SetPlacementTitle1Null()
            Me(Me.tableGetAllCensus.PlacementTitle1Column) = System.Convert.DBNull
        End Sub
        
        Public Function IsPlacementTitle2Null() As Boolean
            Return Me.IsNull(Me.tableGetAllCensus.PlacementTitle2Column)
        End Function
        
        Public Sub SetPlacementTitle2Null()
            Me(Me.tableGetAllCensus.PlacementTitle2Column) = System.Convert.DBNull
        End Sub
        
        Public Function IsTalents1Null() As Boolean
            Return Me.IsNull(Me.tableGetAllCensus.Talents1Column)
        End Function
        
        Public Sub SetTalents1Null()
            Me(Me.tableGetAllCensus.Talents1Column) = System.Convert.DBNull
        End Sub
        
        Public Function IsAllSaintsGraduate1Null() As Boolean
            Return Me.IsNull(Me.tableGetAllCensus.AllSaintsGraduate1Column)
        End Function
        
        Public Sub SetAllSaintsGraduate1Null()
            Me(Me.tableGetAllCensus.AllSaintsGraduate1Column) = System.Convert.DBNull
        End Sub
        
        Public Function IsGraduateDate1Null() As Boolean
            Return Me.IsNull(Me.tableGetAllCensus.GraduateDate1Column)
        End Function
        
        Public Sub SetGraduateDate1Null()
            Me(Me.tableGetAllCensus.GraduateDate1Column) = System.Convert.DBNull
        End Sub
        
        Public Function IsMaritalStatus1Null() As Boolean
            Return Me.IsNull(Me.tableGetAllCensus.MaritalStatus1Column)
        End Function
        
        Public Sub SetMaritalStatus1Null()
            Me(Me.tableGetAllCensus.MaritalStatus1Column) = System.Convert.DBNull
        End Sub
        
        Public Function IsMaritalStatus2Null() As Boolean
            Return Me.IsNull(Me.tableGetAllCensus.MaritalStatus2Column)
        End Function
        
        Public Sub SetMaritalStatus2Null()
            Me(Me.tableGetAllCensus.MaritalStatus2Column) = System.Convert.DBNull
        End Sub
        
        Public Function IsFName2Null() As Boolean
            Return Me.IsNull(Me.tableGetAllCensus.FName2Column)
        End Function
        
        Public Sub SetFName2Null()
            Me(Me.tableGetAllCensus.FName2Column) = System.Convert.DBNull
        End Sub
        
        Public Function IsMaidenNameNull() As Boolean
            Return Me.IsNull(Me.tableGetAllCensus.MaidenNameColumn)
        End Function
        
        Public Sub SetMaidenNameNull()
            Me(Me.tableGetAllCensus.MaidenNameColumn) = System.Convert.DBNull
        End Sub
        
        Public Function IsAddress2Null() As Boolean
            Return Me.IsNull(Me.tableGetAllCensus.Address2Column)
        End Function
        
        Public Sub SetAddress2Null()
            Me(Me.tableGetAllCensus.Address2Column) = System.Convert.DBNull
        End Sub
        
        Public Function IsPhone2Null() As Boolean
            Return Me.IsNull(Me.tableGetAllCensus.Phone2Column)
        End Function
        
        Public Sub SetPhone2Null()
            Me(Me.tableGetAllCensus.Phone2Column) = System.Convert.DBNull
        End Sub
        
        Public Function IsEmail2Null() As Boolean
            Return Me.IsNull(Me.tableGetAllCensus.Email2Column)
        End Function
        
        Public Sub SetEmail2Null()
            Me(Me.tableGetAllCensus.Email2Column) = System.Convert.DBNull
        End Sub
        
        Public Function IsTalents2Null() As Boolean
            Return Me.IsNull(Me.tableGetAllCensus.Talents2Column)
        End Function
        
        Public Sub SetTalents2Null()
            Me(Me.tableGetAllCensus.Talents2Column) = System.Convert.DBNull
        End Sub
        
        Public Function IsAllSaintsGraduate2Null() As Boolean
            Return Me.IsNull(Me.tableGetAllCensus.AllSaintsGraduate2Column)
        End Function
        
        Public Sub SetAllSaintsGraduate2Null()
            Me(Me.tableGetAllCensus.AllSaintsGraduate2Column) = System.Convert.DBNull
        End Sub
        
        Public Function IsGraduateDate2Null() As Boolean
            Return Me.IsNull(Me.tableGetAllCensus.GraduateDate2Column)
        End Function
        
        Public Sub SetGraduateDate2Null()
            Me(Me.tableGetAllCensus.GraduateDate2Column) = System.Convert.DBNull
        End Sub
        
        Public Function IsReasonToLeaveNull() As Boolean
            Return Me.IsNull(Me.tableGetAllCensus.ReasonToLeaveColumn)
        End Function
        
        Public Sub SetReasonToLeaveNull()
            Me(Me.tableGetAllCensus.ReasonToLeaveColumn) = System.Convert.DBNull
        End Sub
        
        Public Function IsIPNull() As Boolean
            Return Me.IsNull(Me.tableGetAllCensus.IPColumn)
        End Function
        
        Public Sub SetIPNull()
            Me(Me.tableGetAllCensus.IPColumn) = System.Convert.DBNull
        End Sub
        
        Public Function IsPostDateNull() As Boolean
            Return Me.IsNull(Me.tableGetAllCensus.PostDateColumn)
        End Function
        
        Public Sub SetPostDateNull()
            Me(Me.tableGetAllCensus.PostDateColumn) = System.Convert.DBNull
        End Sub
    End Class
    
    <System.Diagnostics.DebuggerStepThrough()>  _
    Public Class GetAllCensusRowChangeEvent
        Inherits EventArgs
        
        Private eventRow As GetAllCensusRow
        
        Private eventAction As DataRowAction
        
        Public Sub New(ByVal row As GetAllCensusRow, ByVal action As DataRowAction)
            MyBase.New
            Me.eventRow = row
            Me.eventAction = action
        End Sub
        
        Public ReadOnly Property Row As GetAllCensusRow
            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
