'------------------------------------------------------------------------------
' <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 dsTeachers
    Inherits DataSet
    
    Private tableGetTeacherInfo As GetTeacherInfoDataTable
    
    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("GetTeacherInfo")) Is Nothing) Then
                Me.Tables.Add(New GetTeacherInfoDataTable(ds.Tables("GetTeacherInfo")))
            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 GetTeacherInfo As GetTeacherInfoDataTable
        Get
            Return Me.tableGetTeacherInfo
        End Get
    End Property
    
    Public Overrides Function Clone() As DataSet
        Dim cln As dsTeachers = CType(MyBase.Clone,dsTeachers)
        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("GetTeacherInfo")) Is Nothing) Then
            Me.Tables.Add(New GetTeacherInfoDataTable(ds.Tables("GetTeacherInfo")))
        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.tableGetTeacherInfo = CType(Me.Tables("GetTeacherInfo"),GetTeacherInfoDataTable)
        If (Not (Me.tableGetTeacherInfo) Is Nothing) Then
            Me.tableGetTeacherInfo.InitVars
        End If
    End Sub
    
    Private Sub InitClass()
        Me.DataSetName = "dsTeachers"
        Me.Prefix = ""
        Me.Namespace = "http://www.tempuri.org/dsTeachers.xsd"
        Me.Locale = New System.Globalization.CultureInfo("en-US")
        Me.CaseSensitive = false
        Me.EnforceConstraints = true
        Me.tableGetTeacherInfo = New GetTeacherInfoDataTable
        Me.Tables.Add(Me.tableGetTeacherInfo)
    End Sub
    
    Private Function ShouldSerializeGetTeacherInfo() 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 GetTeacherInfoRowChangeEventHandler(ByVal sender As Object, ByVal e As GetTeacherInfoRowChangeEvent)
    
    <System.Diagnostics.DebuggerStepThrough()>  _
    Public Class GetTeacherInfoDataTable
        Inherits DataTable
        Implements System.Collections.IEnumerable
        
        Private columnLoginName As DataColumn
        
        Private columnPassword As DataColumn
        
        Private columnTitle As DataColumn
        
        Private columnFirstName As DataColumn
        
        Private columnMiddleName As DataColumn
        
        Private columnLastName As DataColumn
        
        Private columnRoom As DataColumn
        
        Private columnAddress1 As DataColumn
        
        Private columnAddress2 As DataColumn
        
        Private columnTelephone As DataColumn
        
        Private columnCellPhone As DataColumn
        
        Private columnFax As DataColumn
        
        Private columnWebsite As DataColumn
        
        Private columnZipCode As DataColumn
        
        Private columnCity As DataColumn
        
        Private columnState As DataColumn
        
        Private columnCountry As DataColumn
        
        Private columnPicturePath As DataColumn
        
        Private columnDescription As DataColumn
        
        Friend Sub New()
            MyBase.New("GetTeacherInfo")
            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 LoginNameColumn As DataColumn
            Get
                Return Me.columnLoginName
            End Get
        End Property
        
        Friend ReadOnly Property PasswordColumn As DataColumn
            Get
                Return Me.columnPassword
            End Get
        End Property
        
        Friend ReadOnly Property TitleColumn As DataColumn
            Get
                Return Me.columnTitle
            End Get
        End Property
        
        Friend ReadOnly Property FirstNameColumn As DataColumn
            Get
                Return Me.columnFirstName
            End Get
        End Property
        
        Friend ReadOnly Property MiddleNameColumn As DataColumn
            Get
                Return Me.columnMiddleName
            End Get
        End Property
        
        Friend ReadOnly Property LastNameColumn As DataColumn
            Get
                Return Me.columnLastName
            End Get
        End Property
        
        Friend ReadOnly Property RoomColumn As DataColumn
            Get
                Return Me.columnRoom
            End Get
        End Property
        
        Friend ReadOnly Property Address1Column As DataColumn
            Get
                Return Me.columnAddress1
            End Get
        End Property
        
        Friend ReadOnly Property Address2Column As DataColumn
            Get
                Return Me.columnAddress2
            End Get
        End Property
        
        Friend ReadOnly Property TelephoneColumn As DataColumn
            Get
                Return Me.columnTelephone
            End Get
        End Property
        
        Friend ReadOnly Property CellPhoneColumn As DataColumn
            Get
                Return Me.columnCellPhone
            End Get
        End Property
        
        Friend ReadOnly Property FaxColumn As DataColumn
            Get
                Return Me.columnFax
            End Get
        End Property
        
        Friend ReadOnly Property WebsiteColumn As DataColumn
            Get
                Return Me.columnWebsite
            End Get
        End Property
        
        Friend ReadOnly Property ZipCodeColumn As DataColumn
            Get
                Return Me.columnZipCode
            End Get
        End Property
        
        Friend ReadOnly Property CityColumn As DataColumn
            Get
                Return Me.columnCity
            End Get
        End Property
        
        Friend ReadOnly Property StateColumn As DataColumn
            Get
                Return Me.columnState
            End Get
        End Property
        
        Friend ReadOnly Property CountryColumn As DataColumn
            Get
                Return Me.columnCountry
            End Get
        End Property
        
        Friend ReadOnly Property PicturePathColumn As DataColumn
            Get
                Return Me.columnPicturePath
            End Get
        End Property
        
        Friend ReadOnly Property DescriptionColumn As DataColumn
            Get
                Return Me.columnDescription
            End Get
        End Property
        
        Public Default ReadOnly Property Item(ByVal index As Integer) As GetTeacherInfoRow
            Get
                Return CType(Me.Rows(index),GetTeacherInfoRow)
            End Get
        End Property
        
        Public Event GetTeacherInfoRowChanged As GetTeacherInfoRowChangeEventHandler
        
        Public Event GetTeacherInfoRowChanging As GetTeacherInfoRowChangeEventHandler
        
        Public Event GetTeacherInfoRowDeleted As GetTeacherInfoRowChangeEventHandler
        
        Public Event GetTeacherInfoRowDeleting As GetTeacherInfoRowChangeEventHandler
        
        Public Overloads Sub AddGetTeacherInfoRow(ByVal row As GetTeacherInfoRow)
            Me.Rows.Add(row)
        End Sub
        
        Public Overloads Function AddGetTeacherInfoRow( _
                    ByVal LoginName As String,  _
                    ByVal Password As String,  _
                    ByVal Title As String,  _
                    ByVal FirstName As String,  _
                    ByVal MiddleName As String,  _
                    ByVal LastName As String,  _
                    ByVal Room As String,  _
                    ByVal Address1 As String,  _
                    ByVal Address2 As String,  _
                    ByVal Telephone As String,  _
                    ByVal CellPhone As String,  _
                    ByVal Fax As String,  _
                    ByVal Website As String,  _
                    ByVal ZipCode As String,  _
                    ByVal City As String,  _
                    ByVal State As String,  _
                    ByVal Country As String,  _
                    ByVal PicturePath As String,  _
                    ByVal Description As String) As GetTeacherInfoRow
            Dim rowGetTeacherInfoRow As GetTeacherInfoRow = CType(Me.NewRow,GetTeacherInfoRow)
            rowGetTeacherInfoRow.ItemArray = New Object() {LoginName, Password, Title, FirstName, MiddleName, LastName, Room, Address1, Address2, Telephone, CellPhone, Fax, Website, ZipCode, City, State, Country, PicturePath, Description}
            Me.Rows.Add(rowGetTeacherInfoRow)
            Return rowGetTeacherInfoRow
        End Function
        
        Public Function FindByLoginName(ByVal LoginName As String) As GetTeacherInfoRow
            Return CType(Me.Rows.Find(New Object() {LoginName}),GetTeacherInfoRow)
        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 GetTeacherInfoDataTable = CType(MyBase.Clone,GetTeacherInfoDataTable)
            cln.InitVars
            Return cln
        End Function
        
        Protected Overrides Function CreateInstance() As DataTable
            Return New GetTeacherInfoDataTable
        End Function
        
        Friend Sub InitVars()
            Me.columnLoginName = Me.Columns("LoginName")
            Me.columnPassword = Me.Columns("Password")
            Me.columnTitle = Me.Columns("Title")
            Me.columnFirstName = Me.Columns("FirstName")
            Me.columnMiddleName = Me.Columns("MiddleName")
            Me.columnLastName = Me.Columns("LastName")
            Me.columnRoom = Me.Columns("Room")
            Me.columnAddress1 = Me.Columns("Address1")
            Me.columnAddress2 = Me.Columns("Address2")
            Me.columnTelephone = Me.Columns("Telephone")
            Me.columnCellPhone = Me.Columns("CellPhone")
            Me.columnFax = Me.Columns("Fax")
            Me.columnWebsite = Me.Columns("Website")
            Me.columnZipCode = Me.Columns("ZipCode")
            Me.columnCity = Me.Columns("City")
            Me.columnState = Me.Columns("State")
            Me.columnCountry = Me.Columns("Country")
            Me.columnPicturePath = Me.Columns("PicturePath")
            Me.columnDescription = Me.Columns("Description")
        End Sub
        
        Private Sub InitClass()
            Me.columnLoginName = New DataColumn("LoginName", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnLoginName)
            Me.columnPassword = New DataColumn("Password", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnPassword)
            Me.columnTitle = New DataColumn("Title", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnTitle)
            Me.columnFirstName = New DataColumn("FirstName", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnFirstName)
            Me.columnMiddleName = New DataColumn("MiddleName", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnMiddleName)
            Me.columnLastName = New DataColumn("LastName", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnLastName)
            Me.columnRoom = New DataColumn("Room", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnRoom)
            Me.columnAddress1 = New DataColumn("Address1", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnAddress1)
            Me.columnAddress2 = New DataColumn("Address2", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnAddress2)
            Me.columnTelephone = New DataColumn("Telephone", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnTelephone)
            Me.columnCellPhone = New DataColumn("CellPhone", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnCellPhone)
            Me.columnFax = New DataColumn("Fax", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnFax)
            Me.columnWebsite = New DataColumn("Website", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnWebsite)
            Me.columnZipCode = New DataColumn("ZipCode", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnZipCode)
            Me.columnCity = New DataColumn("City", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnCity)
            Me.columnState = New DataColumn("State", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnState)
            Me.columnCountry = New DataColumn("Country", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnCountry)
            Me.columnPicturePath = New DataColumn("PicturePath", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnPicturePath)
            Me.columnDescription = New DataColumn("Description", GetType(System.String), Nothing, System.Data.MappingType.Element)
            Me.Columns.Add(Me.columnDescription)
            Me.Constraints.Add(New UniqueConstraint("Constraint1", New DataColumn() {Me.columnLoginName}, true))
            Me.columnLoginName.AllowDBNull = false
            Me.columnLoginName.Unique = true
            Me.columnPassword.AllowDBNull = false
        End Sub
        
        Public Function NewGetTeacherInfoRow() As GetTeacherInfoRow
            Return CType(Me.NewRow,GetTeacherInfoRow)
        End Function
        
        Protected Overrides Function NewRowFromBuilder(ByVal builder As DataRowBuilder) As DataRow
            Return New GetTeacherInfoRow(builder)
        End Function
        
        Protected Overrides Function GetRowType() As System.Type
            Return GetType(GetTeacherInfoRow)
        End Function
        
        Protected Overrides Sub OnRowChanged(ByVal e As DataRowChangeEventArgs)
            MyBase.OnRowChanged(e)
            If (Not (Me.GetTeacherInfoRowChangedEvent) Is Nothing) Then
                RaiseEvent GetTeacherInfoRowChanged(Me, New GetTeacherInfoRowChangeEvent(CType(e.Row,GetTeacherInfoRow), e.Action))
            End If
        End Sub
        
        Protected Overrides Sub OnRowChanging(ByVal e As DataRowChangeEventArgs)
            MyBase.OnRowChanging(e)
            If (Not (Me.GetTeacherInfoRowChangingEvent) Is Nothing) Then
                RaiseEvent GetTeacherInfoRowChanging(Me, New GetTeacherInfoRowChangeEvent(CType(e.Row,GetTeacherInfoRow), e.Action))
            End If
        End Sub
        
        Protected Overrides Sub OnRowDeleted(ByVal e As DataRowChangeEventArgs)
            MyBase.OnRowDeleted(e)
            If (Not (Me.GetTeacherInfoRowDeletedEvent) Is Nothing) Then
                RaiseEvent GetTeacherInfoRowDeleted(Me, New GetTeacherInfoRowChangeEvent(CType(e.Row,GetTeacherInfoRow), e.Action))
            End If
        End Sub
        
        Protected Overrides Sub OnRowDeleting(ByVal e As DataRowChangeEventArgs)
            MyBase.OnRowDeleting(e)
            If (Not (Me.GetTeacherInfoRowDeletingEvent) Is Nothing) Then
                RaiseEvent GetTeacherInfoRowDeleting(Me, New GetTeacherInfoRowChangeEvent(CType(e.Row,GetTeacherInfoRow), e.Action))
            End If
        End Sub
        
        Public Sub RemoveGetTeacherInfoRow(ByVal row As GetTeacherInfoRow)
            Me.Rows.Remove(row)
        End Sub
    End Class
    
    <System.Diagnostics.DebuggerStepThrough()>  _
    Public Class GetTeacherInfoRow
        Inherits DataRow
        
        Private tableGetTeacherInfo As GetTeacherInfoDataTable
        
        Friend Sub New(ByVal rb As DataRowBuilder)
            MyBase.New(rb)
            Me.tableGetTeacherInfo = CType(Me.Table,GetTeacherInfoDataTable)
        End Sub
        
        Public Property LoginName As String
            Get
                Return CType(Me(Me.tableGetTeacherInfo.LoginNameColumn),String)
            End Get
            Set
                Me(Me.tableGetTeacherInfo.LoginNameColumn) = value
            End Set
        End Property
        
        Public Property Password As String
            Get
                Return CType(Me(Me.tableGetTeacherInfo.PasswordColumn),String)
            End Get
            Set
                Me(Me.tableGetTeacherInfo.PasswordColumn) = value
            End Set
        End Property
        
        Public Property Title As String
            Get
                Try 
                    Return CType(Me(Me.tableGetTeacherInfo.TitleColumn),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetTeacherInfo.TitleColumn) = value
            End Set
        End Property
        
        Public Property FirstName As String
            Get
                Try 
                    Return CType(Me(Me.tableGetTeacherInfo.FirstNameColumn),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetTeacherInfo.FirstNameColumn) = value
            End Set
        End Property
        
        Public Property MiddleName As String
            Get
                Try 
                    Return CType(Me(Me.tableGetTeacherInfo.MiddleNameColumn),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetTeacherInfo.MiddleNameColumn) = value
            End Set
        End Property
        
        Public Property LastName As String
            Get
                Try 
                    Return CType(Me(Me.tableGetTeacherInfo.LastNameColumn),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetTeacherInfo.LastNameColumn) = value
            End Set
        End Property
        
        Public Property Room As String
            Get
                Try 
                    Return CType(Me(Me.tableGetTeacherInfo.RoomColumn),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetTeacherInfo.RoomColumn) = value
            End Set
        End Property
        
        Public Property Address1 As String
            Get
                Try 
                    Return CType(Me(Me.tableGetTeacherInfo.Address1Column),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetTeacherInfo.Address1Column) = value
            End Set
        End Property
        
        Public Property Address2 As String
            Get
                Try 
                    Return CType(Me(Me.tableGetTeacherInfo.Address2Column),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetTeacherInfo.Address2Column) = value
            End Set
        End Property
        
        Public Property Telephone As String
            Get
                Try 
                    Return CType(Me(Me.tableGetTeacherInfo.TelephoneColumn),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetTeacherInfo.TelephoneColumn) = value
            End Set
        End Property
        
        Public Property CellPhone As String
            Get
                Try 
                    Return CType(Me(Me.tableGetTeacherInfo.CellPhoneColumn),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetTeacherInfo.CellPhoneColumn) = value
            End Set
        End Property
        
        Public Property Fax As String
            Get
                Try 
                    Return CType(Me(Me.tableGetTeacherInfo.FaxColumn),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetTeacherInfo.FaxColumn) = value
            End Set
        End Property
        
        Public Property Website As String
            Get
                Try 
                    Return CType(Me(Me.tableGetTeacherInfo.WebsiteColumn),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetTeacherInfo.WebsiteColumn) = value
            End Set
        End Property
        
        Public Property ZipCode As String
            Get
                Try 
                    Return CType(Me(Me.tableGetTeacherInfo.ZipCodeColumn),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetTeacherInfo.ZipCodeColumn) = value
            End Set
        End Property
        
        Public Property City As String
            Get
                Try 
                    Return CType(Me(Me.tableGetTeacherInfo.CityColumn),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetTeacherInfo.CityColumn) = value
            End Set
        End Property
        
        Public Property State As String
            Get
                Try 
                    Return CType(Me(Me.tableGetTeacherInfo.StateColumn),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetTeacherInfo.StateColumn) = value
            End Set
        End Property
        
        Public Property Country As String
            Get
                Try 
                    Return CType(Me(Me.tableGetTeacherInfo.CountryColumn),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetTeacherInfo.CountryColumn) = value
            End Set
        End Property
        
        Public Property PicturePath As String
            Get
                Try 
                    Return CType(Me(Me.tableGetTeacherInfo.PicturePathColumn),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetTeacherInfo.PicturePathColumn) = value
            End Set
        End Property
        
        Public Property Description As String
            Get
                Try 
                    Return CType(Me(Me.tableGetTeacherInfo.DescriptionColumn),String)
                Catch e As InvalidCastException
                    Throw New StrongTypingException("Cannot get value because it is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableGetTeacherInfo.DescriptionColumn) = value
            End Set
        End Property
        
        Public Function IsTitleNull() As Boolean
            Return Me.IsNull(Me.tableGetTeacherInfo.TitleColumn)
        End Function
        
        Public Sub SetTitleNull()
            Me(Me.tableGetTeacherInfo.TitleColumn) = System.Convert.DBNull
        End Sub
        
        Public Function IsFirstNameNull() As Boolean
            Return Me.IsNull(Me.tableGetTeacherInfo.FirstNameColumn)
        End Function
        
        Public Sub SetFirstNameNull()
            Me(Me.tableGetTeacherInfo.FirstNameColumn) = System.Convert.DBNull
        End Sub
        
        Public Function IsMiddleNameNull() As Boolean
            Return Me.IsNull(Me.tableGetTeacherInfo.MiddleNameColumn)
        End Function
        
        Public Sub SetMiddleNameNull()
            Me(Me.tableGetTeacherInfo.MiddleNameColumn) = System.Convert.DBNull
        End Sub
        
        Public Function IsLastNameNull() As Boolean
            Return Me.IsNull(Me.tableGetTeacherInfo.LastNameColumn)
        End Function
        
        Public Sub SetLastNameNull()
            Me(Me.tableGetTeacherInfo.LastNameColumn) = System.Convert.DBNull
        End Sub
        
        Public Function IsRoomNull() As Boolean
            Return Me.IsNull(Me.tableGetTeacherInfo.RoomColumn)
        End Function
        
        Public Sub SetRoomNull()
            Me(Me.tableGetTeacherInfo.RoomColumn) = System.Convert.DBNull
        End Sub
        
        Public Function IsAddress1Null() As Boolean
            Return Me.IsNull(Me.tableGetTeacherInfo.Address1Column)
        End Function
        
        Public Sub SetAddress1Null()
            Me(Me.tableGetTeacherInfo.Address1Column) = System.Convert.DBNull
        End Sub
        
        Public Function IsAddress2Null() As Boolean
            Return Me.IsNull(Me.tableGetTeacherInfo.Address2Column)
        End Function
        
        Public Sub SetAddress2Null()
            Me(Me.tableGetTeacherInfo.Address2Column) = System.Convert.DBNull
        End Sub
        
        Public Function IsTelephoneNull() As Boolean
            Return Me.IsNull(Me.tableGetTeacherInfo.TelephoneColumn)
        End Function
        
        Public Sub SetTelephoneNull()
            Me(Me.tableGetTeacherInfo.TelephoneColumn) = System.Convert.DBNull
        End Sub
        
        Public Function IsCellPhoneNull() As Boolean
            Return Me.IsNull(Me.tableGetTeacherInfo.CellPhoneColumn)
        End Function
        
        Public Sub SetCellPhoneNull()
            Me(Me.tableGetTeacherInfo.CellPhoneColumn) = System.Convert.DBNull
        End Sub
        
        Public Function IsFaxNull() As Boolean
            Return Me.IsNull(Me.tableGetTeacherInfo.FaxColumn)
        End Function
        
        Public Sub SetFaxNull()
            Me(Me.tableGetTeacherInfo.FaxColumn) = System.Convert.DBNull
        End Sub
        
        Public Function IsWebsiteNull() As Boolean
            Return Me.IsNull(Me.tableGetTeacherInfo.WebsiteColumn)
        End Function
        
        Public Sub SetWebsiteNull()
            Me(Me.tableGetTeacherInfo.WebsiteColumn) = System.Convert.DBNull
        End Sub
        
        Public Function IsZipCodeNull() As Boolean
            Return Me.IsNull(Me.tableGetTeacherInfo.ZipCodeColumn)
        End Function
        
        Public Sub SetZipCodeNull()
            Me(Me.tableGetTeacherInfo.ZipCodeColumn) = System.Convert.DBNull
        End Sub
        
        Public Function IsCityNull() As Boolean
            Return Me.IsNull(Me.tableGetTeacherInfo.CityColumn)
        End Function
        
        Public Sub SetCityNull()
            Me(Me.tableGetTeacherInfo.CityColumn) = System.Convert.DBNull
        End Sub
        
        Public Function IsStateNull() As Boolean
            Return Me.IsNull(Me.tableGetTeacherInfo.StateColumn)
        End Function
        
        Public Sub SetStateNull()
            Me(Me.tableGetTeacherInfo.StateColumn) = System.Convert.DBNull
        End Sub
        
        Public Function IsCountryNull() As Boolean
            Return Me.IsNull(Me.tableGetTeacherInfo.CountryColumn)
        End Function
        
        Public Sub SetCountryNull()
            Me(Me.tableGetTeacherInfo.CountryColumn) = System.Convert.DBNull
        End Sub
        
        Public Function IsPicturePathNull() As Boolean
            Return Me.IsNull(Me.tableGetTeacherInfo.PicturePathColumn)
        End Function
        
        Public Sub SetPicturePathNull()
            Me(Me.tableGetTeacherInfo.PicturePathColumn) = System.Convert.DBNull
        End Sub
        
        Public Function IsDescriptionNull() As Boolean
            Return Me.IsNull(Me.tableGetTeacherInfo.DescriptionColumn)
        End Function
        
        Public Sub SetDescriptionNull()
            Me(Me.tableGetTeacherInfo.DescriptionColumn) = System.Convert.DBNull
        End Sub
    End Class
    
    <System.Diagnostics.DebuggerStepThrough()>  _
    Public Class GetTeacherInfoRowChangeEvent
        Inherits EventArgs
        
        Private eventRow As GetTeacherInfoRow
        
        Private eventAction As DataRowAction
        
        Public Sub New(ByVal row As GetTeacherInfoRow, ByVal action As DataRowAction)
            MyBase.New
            Me.eventRow = row
            Me.eventAction = action
        End Sub
        
        Public ReadOnly Property Row As GetTeacherInfoRow
            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
