📄 dataset2.designer.vb
字号:
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public ReadOnly Property birthdayColumn() As System.Data.DataColumn
Get
Return Me.columnbirthday
End Get
End Property
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public ReadOnly Property marryColumn() As System.Data.DataColumn
Get
Return Me.columnmarry
End Get
End Property
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public ReadOnly Property mobileColumn() As System.Data.DataColumn
Get
Return Me.columnmobile
End Get
End Property
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public ReadOnly Property addressColumn() As System.Data.DataColumn
Get
Return Me.columnaddress
End Get
End Property
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public ReadOnly Property hire_dateColumn() As System.Data.DataColumn
Get
Return Me.columnhire_date
End Get
End Property
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public ReadOnly Property statusColumn() As System.Data.DataColumn
Get
Return Me.columnstatus
End Get
End Property
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public ReadOnly Property work_ageColumn() As System.Data.DataColumn
Get
Return Me.columnwork_age
End Get
End Property
<System.Diagnostics.DebuggerNonUserCodeAttribute(), _
System.ComponentModel.Browsable(false)> _
Public ReadOnly Property Count() As Integer
Get
Return Me.Rows.Count
End Get
End Property
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public Default ReadOnly Property Item(ByVal index As Integer) As employeeRow
Get
Return CType(Me.Rows(index),employeeRow)
End Get
End Property
Public Event employeeRowChanging As employeeRowChangeEventHandler
Public Event employeeRowChanged As employeeRowChangeEventHandler
Public Event employeeRowDeleting As employeeRowChangeEventHandler
Public Event employeeRowDeleted As employeeRowChangeEventHandler
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public Overloads Sub AddemployeeRow(ByVal row As employeeRow)
Me.Rows.Add(row)
End Sub
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public Overloads Function AddemployeeRow(ByVal name As String, ByVal sex As String, ByVal birthday As String, ByVal marry As String, ByVal mobile As String, ByVal address As String, ByVal hire_date As String, ByVal status As String, ByVal work_age As Short) As employeeRow
Dim rowemployeeRow As employeeRow = CType(Me.NewRow,employeeRow)
rowemployeeRow.ItemArray = New Object() {name, sex, birthday, marry, mobile, address, hire_date, status, work_age}
Me.Rows.Add(rowemployeeRow)
Return rowemployeeRow
End Function
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public Overridable Function GetEnumerator() As System.Collections.IEnumerator Implements System.Collections.IEnumerable.GetEnumerator
Return Me.Rows.GetEnumerator
End Function
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public Overrides Function Clone() As System.Data.DataTable
Dim cln As employeeDataTable = CType(MyBase.Clone,employeeDataTable)
cln.InitVars
Return cln
End Function
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Protected Overrides Function CreateInstance() As System.Data.DataTable
Return New employeeDataTable
End Function
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Friend Sub InitVars()
Me.columnname = MyBase.Columns("name")
Me.columnsex = MyBase.Columns("sex")
Me.columnbirthday = MyBase.Columns("birthday")
Me.columnmarry = MyBase.Columns("marry")
Me.columnmobile = MyBase.Columns("mobile")
Me.columnaddress = MyBase.Columns("address")
Me.columnhire_date = MyBase.Columns("hire_date")
Me.columnstatus = MyBase.Columns("status")
Me.columnwork_age = MyBase.Columns("work_age")
End Sub
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Private Sub InitClass()
Me.columnname = New System.Data.DataColumn("name", GetType(String), Nothing, System.Data.MappingType.Element)
MyBase.Columns.Add(Me.columnname)
Me.columnsex = New System.Data.DataColumn("sex", GetType(String), Nothing, System.Data.MappingType.Element)
MyBase.Columns.Add(Me.columnsex)
Me.columnbirthday = New System.Data.DataColumn("birthday", GetType(String), Nothing, System.Data.MappingType.Element)
MyBase.Columns.Add(Me.columnbirthday)
Me.columnmarry = New System.Data.DataColumn("marry", GetType(String), Nothing, System.Data.MappingType.Element)
MyBase.Columns.Add(Me.columnmarry)
Me.columnmobile = New System.Data.DataColumn("mobile", GetType(String), Nothing, System.Data.MappingType.Element)
MyBase.Columns.Add(Me.columnmobile)
Me.columnaddress = New System.Data.DataColumn("address", GetType(String), Nothing, System.Data.MappingType.Element)
MyBase.Columns.Add(Me.columnaddress)
Me.columnhire_date = New System.Data.DataColumn("hire_date", GetType(String), Nothing, System.Data.MappingType.Element)
MyBase.Columns.Add(Me.columnhire_date)
Me.columnstatus = New System.Data.DataColumn("status", GetType(String), Nothing, System.Data.MappingType.Element)
MyBase.Columns.Add(Me.columnstatus)
Me.columnwork_age = New System.Data.DataColumn("work_age", GetType(Short), Nothing, System.Data.MappingType.Element)
MyBase.Columns.Add(Me.columnwork_age)
Me.columnname.MaxLength = 12
Me.columnsex.MaxLength = 2
Me.columnbirthday.MaxLength = 20
Me.columnmarry.MaxLength = 10
Me.columnmobile.MaxLength = 16
Me.columnaddress.MaxLength = 60
Me.columnhire_date.MaxLength = 20
Me.columnstatus.MaxLength = 10
End Sub
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public Function NewemployeeRow() As employeeRow
Return CType(Me.NewRow,employeeRow)
End Function
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Protected Overrides Function NewRowFromBuilder(ByVal builder As System.Data.DataRowBuilder) As System.Data.DataRow
Return New employeeRow(builder)
End Function
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Protected Overrides Function GetRowType() As System.Type
Return GetType(employeeRow)
End Function
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Protected Overrides Sub OnRowChanged(ByVal e As System.Data.DataRowChangeEventArgs)
MyBase.OnRowChanged(e)
If (Not (Me.employeeRowChangedEvent) Is Nothing) Then
RaiseEvent employeeRowChanged(Me, New employeeRowChangeEvent(CType(e.Row,employeeRow), e.Action))
End If
End Sub
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Protected Overrides Sub OnRowChanging(ByVal e As System.Data.DataRowChangeEventArgs)
MyBase.OnRowChanging(e)
If (Not (Me.employeeRowChangingEvent) Is Nothing) Then
RaiseEvent employeeRowChanging(Me, New employeeRowChangeEvent(CType(e.Row,employeeRow), e.Action))
End If
End Sub
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Protected Overrides Sub OnRowDeleted(ByVal e As System.Data.DataRowChangeEventArgs)
MyBase.OnRowDeleted(e)
If (Not (Me.employeeRowDeletedEvent) Is Nothing) Then
RaiseEvent employeeRowDeleted(Me, New employeeRowChangeEvent(CType(e.Row,employeeRow), e.Action))
End If
End Sub
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Protected Overrides Sub OnRowDeleting(ByVal e As System.Data.DataRowChangeEventArgs)
MyBase.OnRowDeleting(e)
If (Not (Me.employeeRowDeletingEvent) Is Nothing) Then
RaiseEvent employeeRowDeleting(Me, New employeeRowChangeEvent(CType(e.Row,employeeRow), e.Action))
End If
End Sub
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public Sub RemoveemployeeRow(ByVal row As employeeRow)
Me.Rows.Remove(row)
End Sub
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public Shared Function GetTypedTableSchema(ByVal xs As System.Xml.Schema.XmlSchemaSet) As System.Xml.Schema.XmlSchemaComplexType
Dim type As System.Xml.Schema.XmlSchemaComplexType = New System.Xml.Schema.XmlSchemaComplexType
Dim sequence As System.Xml.Schema.XmlSchemaSequence = New System.Xml.Schema.XmlSchemaSequence
Dim ds As DataSet2 = New DataSet2
xs.Add(ds.GetSchemaSerializable)
Dim any1 As System.Xml.Schema.XmlSchemaAny = New System.Xml.Schema.XmlSchemaAny
any1.Namespace = "http://www.w3.org/2001/XMLSchema"
any1.MinOccurs = New Decimal(0)
any1.MaxOccurs = Decimal.MaxValue
any1.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax
sequence.Items.Add(any1)
Dim any2 As System.Xml.Schema.XmlSchemaAny = New System.Xml.Schema.XmlSchemaAny
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"
any2.MinOccurs = New Decimal(1)
any2.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax
sequence.Items.Add(any2)
Dim attribute1 As System.Xml.Schema.XmlSchemaAttribute = New System.Xml.Schema.XmlSchemaAttribute
attribute1.Name = "namespace"
attribute1.FixedValue = ds.Namespace
type.Attributes.Add(attribute1)
Dim attribute2 As System.Xml.Schema.XmlSchemaAttribute = New System.Xml.Schema.XmlSchemaAttribute
attribute2.Name = "tableTypeName"
attribute2.FixedValue = "employeeDataTable"
type.Attributes.Add(attribute2)
type.Particle = sequence
Return type
End Function
End Class
<System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")> _
Partial Public Class employeeRow
Inherits System.Data.DataRow
Private tableemployee As employeeDataTable
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Friend Sub New(ByVal rb As System.Data.DataRowBuilder)
MyBase.New(rb)
Me.tableemployee = CType(Me.Table,employeeDataTable)
End Sub
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public Property name() As String
Get
Try
Return CType(Me(Me.tableemployee.nameColumn),String)
Catch e As System.InvalidCastException
Throw New System.Data.StrongTypingException("表““employee””中列““name””的值为 DBNull。", e)
End Try
End Get
Set
Me(Me.tableemployee.nameColumn) = value
End Set
End Property
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public Property sex() As String
Get
Try
Return CType(Me(Me.tableemployee.sexColumn),String)
Catch e As System.InvalidCastException
Throw New System.Data.StrongTypingException("表““employee””中列““sex””的值为 DBNull。", e)
End Try
End Get
Set
Me(Me.tableemployee.sexColumn) = value
End Set
End Property
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public Property birthday() As String
Get
Try
Return CType(Me(Me.tableemployee.birthdayColumn),String)
Catch e As System.InvalidCastException
Throw New System.Data.StrongTypingException("表““employee””中列““birthday””的值为 DBNull。", e)
End Try
End Get
Set
Me(Me.tableemployee.birthdayColumn) = value
End Set
End Property
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public Property marry() As String
Get
Try
Return CType(Me(Me.tableemployee.marryColumn),String)
Catch e As System.InvalidCastException
Throw New System.Data.StrongTypingException("表““employee””中列““marry””的值为 DBNull。", e)
End Try
End Get
Set
Me(Me.tableemployee.marryColumn) = value
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -