📄 storedproceduresdemodataset.designer.vb
字号:
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public ReadOnly Property ReportsToColumn() As System.Data.DataColumn
Get
Return Me.columnReportsTo
End Get
End Property
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public ReadOnly Property PhotoPathColumn() As System.Data.DataColumn
Get
Return Me.columnPhotoPath
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 EmployeesRow
Get
Return CType(Me.Rows(index),EmployeesRow)
End Get
End Property
Public Event EmployeesRowChanging As EmployeesRowChangeEventHandler
Public Event EmployeesRowChanged As EmployeesRowChangeEventHandler
Public Event EmployeesRowDeleting As EmployeesRowChangeEventHandler
Public Event EmployeesRowDeleted As EmployeesRowChangeEventHandler
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public Overloads Sub AddEmployeesRow(ByVal row As EmployeesRow)
Me.Rows.Add(row)
End Sub
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public Overloads Function AddEmployeesRow( _
ByVal LastName As String, _
ByVal FirstName As String, _
ByVal Title As String, _
ByVal TitleOfCourtesy As String, _
ByVal BirthDate As Date, _
ByVal HireDate As Date, _
ByVal Address As String, _
ByVal City As String, _
ByVal _Region As String, _
ByVal PostalCode As String, _
ByVal Country As String, _
ByVal HomePhone As String, _
ByVal Extension As String, _
ByVal Photo() As Byte, _
ByVal Notes As String, _
ByVal parentEmployeesRowByFK_Employees_Employees As EmployeesRow, _
ByVal PhotoPath As String) As EmployeesRow
Dim rowEmployeesRow As EmployeesRow = CType(Me.NewRow,EmployeesRow)
rowEmployeesRow.ItemArray = New Object() {Nothing, LastName, FirstName, Title, TitleOfCourtesy, BirthDate, HireDate, Address, City, _Region, PostalCode, Country, HomePhone, Extension, Photo, Notes, parentEmployeesRowByFK_Employees_Employees(0), PhotoPath}
Me.Rows.Add(rowEmployeesRow)
Return rowEmployeesRow
End Function
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public Function FindByEmployeeID(ByVal EmployeeID As Integer) As EmployeesRow
Return CType(Me.Rows.Find(New Object() {EmployeeID}),EmployeesRow)
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 EmployeesDataTable = CType(MyBase.Clone,EmployeesDataTable)
cln.InitVars
Return cln
End Function
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Protected Overrides Function CreateInstance() As System.Data.DataTable
Return New EmployeesDataTable
End Function
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Friend Sub InitVars()
Me.columnEmployeeID = MyBase.Columns("EmployeeID")
Me.columnLastName = MyBase.Columns("LastName")
Me.columnFirstName = MyBase.Columns("FirstName")
Me.columnTitle = MyBase.Columns("Title")
Me.columnTitleOfCourtesy = MyBase.Columns("TitleOfCourtesy")
Me.columnBirthDate = MyBase.Columns("BirthDate")
Me.columnHireDate = MyBase.Columns("HireDate")
Me.columnAddress = MyBase.Columns("Address")
Me.columnCity = MyBase.Columns("City")
Me.columnRegion = MyBase.Columns("Region")
Me.columnPostalCode = MyBase.Columns("PostalCode")
Me.columnCountry = MyBase.Columns("Country")
Me.columnHomePhone = MyBase.Columns("HomePhone")
Me.columnExtension = MyBase.Columns("Extension")
Me.columnPhoto = MyBase.Columns("Photo")
Me.columnNotes = MyBase.Columns("Notes")
Me.columnReportsTo = MyBase.Columns("ReportsTo")
Me.columnPhotoPath = MyBase.Columns("PhotoPath")
End Sub
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Private Sub InitClass()
Me.columnEmployeeID = New System.Data.DataColumn("EmployeeID", GetType(Integer), Nothing, System.Data.MappingType.Element)
MyBase.Columns.Add(Me.columnEmployeeID)
Me.columnLastName = New System.Data.DataColumn("LastName", GetType(String), Nothing, System.Data.MappingType.Element)
MyBase.Columns.Add(Me.columnLastName)
Me.columnFirstName = New System.Data.DataColumn("FirstName", GetType(String), Nothing, System.Data.MappingType.Element)
MyBase.Columns.Add(Me.columnFirstName)
Me.columnTitle = New System.Data.DataColumn("Title", GetType(String), Nothing, System.Data.MappingType.Element)
MyBase.Columns.Add(Me.columnTitle)
Me.columnTitleOfCourtesy = New System.Data.DataColumn("TitleOfCourtesy", GetType(String), Nothing, System.Data.MappingType.Element)
MyBase.Columns.Add(Me.columnTitleOfCourtesy)
Me.columnBirthDate = New System.Data.DataColumn("BirthDate", GetType(Date), Nothing, System.Data.MappingType.Element)
MyBase.Columns.Add(Me.columnBirthDate)
Me.columnHireDate = New System.Data.DataColumn("HireDate", GetType(Date), Nothing, System.Data.MappingType.Element)
MyBase.Columns.Add(Me.columnHireDate)
Me.columnAddress = New System.Data.DataColumn("Address", GetType(String), Nothing, System.Data.MappingType.Element)
MyBase.Columns.Add(Me.columnAddress)
Me.columnCity = New System.Data.DataColumn("City", GetType(String), Nothing, System.Data.MappingType.Element)
MyBase.Columns.Add(Me.columnCity)
Me.columnRegion = New System.Data.DataColumn("Region", GetType(String), Nothing, System.Data.MappingType.Element)
Me.columnRegion.ExtendedProperties.Add("Generator_ColumnPropNameInRow", "_Region")
Me.columnRegion.ExtendedProperties.Add("Generator_UserColumnName", "Region")
MyBase.Columns.Add(Me.columnRegion)
Me.columnPostalCode = New System.Data.DataColumn("PostalCode", GetType(String), Nothing, System.Data.MappingType.Element)
MyBase.Columns.Add(Me.columnPostalCode)
Me.columnCountry = New System.Data.DataColumn("Country", GetType(String), Nothing, System.Data.MappingType.Element)
MyBase.Columns.Add(Me.columnCountry)
Me.columnHomePhone = New System.Data.DataColumn("HomePhone", GetType(String), Nothing, System.Data.MappingType.Element)
MyBase.Columns.Add(Me.columnHomePhone)
Me.columnExtension = New System.Data.DataColumn("Extension", GetType(String), Nothing, System.Data.MappingType.Element)
MyBase.Columns.Add(Me.columnExtension)
Me.columnPhoto = New System.Data.DataColumn("Photo", GetType(Byte()), Nothing, System.Data.MappingType.Element)
MyBase.Columns.Add(Me.columnPhoto)
Me.columnNotes = New System.Data.DataColumn("Notes", GetType(String), Nothing, System.Data.MappingType.Element)
MyBase.Columns.Add(Me.columnNotes)
Me.columnReportsTo = New System.Data.DataColumn("ReportsTo", GetType(Integer), Nothing, System.Data.MappingType.Element)
MyBase.Columns.Add(Me.columnReportsTo)
Me.columnPhotoPath = New System.Data.DataColumn("PhotoPath", GetType(String), Nothing, System.Data.MappingType.Element)
MyBase.Columns.Add(Me.columnPhotoPath)
Me.Constraints.Add(New System.Data.UniqueConstraint("Constraint1", New System.Data.DataColumn() {Me.columnEmployeeID}, true))
Me.columnEmployeeID.AutoIncrement = true
Me.columnEmployeeID.AutoIncrementSeed = -1
Me.columnEmployeeID.AutoIncrementStep = -1
Me.columnEmployeeID.AllowDBNull = false
Me.columnEmployeeID.ReadOnly = true
Me.columnEmployeeID.Unique = true
Me.columnLastName.AllowDBNull = false
Me.columnLastName.MaxLength = 20
Me.columnFirstName.AllowDBNull = false
Me.columnFirstName.MaxLength = 10
Me.columnTitle.MaxLength = 30
Me.columnTitleOfCourtesy.MaxLength = 25
Me.columnAddress.MaxLength = 60
Me.columnCity.MaxLength = 15
Me.columnRegion.MaxLength = 15
Me.columnPostalCode.MaxLength = 10
Me.columnCountry.MaxLength = 15
Me.columnHomePhone.MaxLength = 24
Me.columnExtension.MaxLength = 4
Me.columnNotes.MaxLength = 1073741823
Me.columnPhotoPath.MaxLength = 255
End Sub
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public Function NewEmployeesRow() As EmployeesRow
Return CType(Me.NewRow,EmployeesRow)
End Function
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Protected Overrides Function NewRowFromBuilder(ByVal builder As System.Data.DataRowBuilder) As System.Data.DataRow
Return New EmployeesRow(builder)
End Function
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Protected Overrides Function GetRowType() As System.Type
Return GetType(EmployeesRow)
End Function
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Protected Overrides Sub OnRowChanged(ByVal e As System.Data.DataRowChangeEventArgs)
MyBase.OnRowChanged(e)
If (Not (Me.EmployeesRowChangedEvent) Is Nothing) Then
RaiseEvent EmployeesRowChanged(Me, New EmployeesRowChangeEvent(CType(e.Row,EmployeesRow), 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.EmployeesRowChangingEvent) Is Nothing) Then
RaiseEvent EmployeesRowChanging(Me, New EmployeesRowChangeEvent(CType(e.Row,EmployeesRow), 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.EmployeesRowDeletedEvent) Is Nothing) Then
RaiseEvent EmployeesRowDeleted(Me, New EmployeesRowChangeEvent(CType(e.Row,EmployeesRow), 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.EmployeesRowDeletingEvent) Is Nothing) Then
RaiseEvent EmployeesRowDeleting(Me, New EmployeesRowChangeEvent(CType(e.Row,EmployeesRow), e.Action))
End If
End Sub
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public Sub RemoveEmployeesRow(ByVal row As EmployeesRow)
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 StoredProceduresDemoDataSet = New StoredProceduresDemoDataSet
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 = "EmployeesDataTable"
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"), _
System.Serializable(), _
System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")> _
Partial Public Class GetCountryNamesDataTable
Inherits System.Data.DataTable
Implements System.Collections.IEnumerable
Private columnCountry As System.Data.DataColumn
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public Sub New()
MyBase.New
Me.TableName = "GetCountryNames"
Me.BeginInit
Me.InitClass
Me.EndInit
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -