📄 nwattribs.designer.vb
字号:
MyBase.Columns.Add(Me.columnContactName)
Me.columnContactTitle = New System.Data.DataColumn("ContactTitle", GetType(String), Nothing, System.Data.MappingType.Element)
MyBase.Columns.Add(Me.columnContactTitle)
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.column_Region = New System.Data.DataColumn("Region", GetType(String), Nothing, System.Data.MappingType.Element)
Me.column_Region.ExtendedProperties.Add("Generator_ColumnPropNameInRow", "_Region")
Me.column_Region.ExtendedProperties.Add("Generator_ColumnPropNameInTable", "_RegionColumn")
Me.column_Region.ExtendedProperties.Add("Generator_ColumnVarNameInTable", "column_Region")
Me.column_Region.ExtendedProperties.Add("Generator_UserColumnName", "Region")
MyBase.Columns.Add(Me.column_Region)
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.columnPhone = New System.Data.DataColumn("Phone", GetType(String), Nothing, System.Data.MappingType.Element)
MyBase.Columns.Add(Me.columnPhone)
Me.columnFax = New System.Data.DataColumn("Fax", GetType(String), Nothing, System.Data.MappingType.Element)
MyBase.Columns.Add(Me.columnFax)
Me.columnorderCount = New System.Data.DataColumn("orderCount", GetType(String), Nothing, System.Data.MappingType.Attribute)
MyBase.Columns.Add(Me.columnorderCount)
Me.columnCustomers_Id = New System.Data.DataColumn("Customers_Id", GetType(Integer), Nothing, System.Data.MappingType.Hidden)
MyBase.Columns.Add(Me.columnCustomers_Id)
Me.Constraints.Add(New System.Data.UniqueConstraint("Constraint1", New System.Data.DataColumn() {Me.columnCustomers_Id}, true))
Me.columnorderCount.Namespace = ""
Me.columnCustomers_Id.AutoIncrement = true
Me.columnCustomers_Id.AllowDBNull = false
Me.columnCustomers_Id.Unique = true
End Sub
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public Function NewCustomersRow() As CustomersRow
Return CType(Me.NewRow,CustomersRow)
End Function
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Protected Overrides Function NewRowFromBuilder(ByVal builder As System.Data.DataRowBuilder) As System.Data.DataRow
Return New CustomersRow(builder)
End Function
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Protected Overrides Function GetRowType() As System.Type
Return GetType(CustomersRow)
End Function
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Protected Overrides Sub OnRowChanged(ByVal e As System.Data.DataRowChangeEventArgs)
MyBase.OnRowChanged(e)
If (Not (Me.CustomersRowChangedEvent) Is Nothing) Then
RaiseEvent CustomersRowChanged(Me, New CustomersRowChangeEvent(CType(e.Row,CustomersRow), 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.CustomersRowChangingEvent) Is Nothing) Then
RaiseEvent CustomersRowChanging(Me, New CustomersRowChangeEvent(CType(e.Row,CustomersRow), 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.CustomersRowDeletedEvent) Is Nothing) Then
RaiseEvent CustomersRowDeleted(Me, New CustomersRowChangeEvent(CType(e.Row,CustomersRow), 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.CustomersRowDeletingEvent) Is Nothing) Then
RaiseEvent CustomersRowDeleting(Me, New CustomersRowChangeEvent(CType(e.Row,CustomersRow), e.Action))
End If
End Sub
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public Sub RemoveCustomersRow(ByVal row As CustomersRow)
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 Northwind = New Northwind
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 = "CustomersDataTable"
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 OrdersDataTable
Inherits System.Data.DataTable
Implements System.Collections.IEnumerable
Private columnOrderID As System.Data.DataColumn
Private columnCustomerID As System.Data.DataColumn
Private columnEmployeeID As System.Data.DataColumn
Private columnOrderDate As System.Data.DataColumn
Private columnRequiredDate As System.Data.DataColumn
Private columnShippedDate As System.Data.DataColumn
Private columnShipVia As System.Data.DataColumn
Private columnFreight As System.Data.DataColumn
Private columnShipName As System.Data.DataColumn
Private columnShipAddress As System.Data.DataColumn
Private columnShipCity As System.Data.DataColumn
Private columnShipRegion As System.Data.DataColumn
Private columnShipPostalCode As System.Data.DataColumn
Private columnShipCountry As System.Data.DataColumn
Private columndetailCount As System.Data.DataColumn
Private columnOrders_Id As System.Data.DataColumn
Private columnCustomers_Id As System.Data.DataColumn
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public Sub New()
MyBase.New
Me.TableName = "Orders"
Me.BeginInit
Me.InitClass
Me.EndInit
End Sub
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Friend Sub New(ByVal table As System.Data.DataTable)
MyBase.New
Me.TableName = 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
End Sub
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Protected Sub New(ByVal info As System.Runtime.Serialization.SerializationInfo, ByVal context As System.Runtime.Serialization.StreamingContext)
MyBase.New(info, context)
Me.InitVars
End Sub
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public ReadOnly Property OrderIDColumn() As System.Data.DataColumn
Get
Return Me.columnOrderID
End Get
End Property
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public ReadOnly Property CustomerIDColumn() As System.Data.DataColumn
Get
Return Me.columnCustomerID
End Get
End Property
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public ReadOnly Property EmployeeIDColumn() As System.Data.DataColumn
Get
Return Me.columnEmployeeID
End Get
End Property
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public ReadOnly Property OrderDateColumn() As System.Data.DataColumn
Get
Return Me.columnOrderDate
End Get
End Property
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public ReadOnly Property RequiredDateColumn() As System.Data.DataColumn
Get
Return Me.columnRequiredDate
End Get
End Property
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public ReadOnly Property ShippedDateColumn() As System.Data.DataColumn
Get
Return Me.columnShippedDate
End Get
End Property
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public ReadOnly Property ShipViaColumn() As System.Data.DataColumn
Get
Return Me.columnShipVia
End Get
End Property
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public ReadOnly Property FreightColumn() As System.Data.DataColumn
Get
Return Me.columnFreight
End Get
End Property
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public ReadOnly Property ShipNameColumn() As System.Data.DataColumn
Get
Return Me.columnShipName
End Get
End Property
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public ReadOnly Property ShipAddressColumn() As System.Data.DataColumn
Get
Return Me.columnShipAddress
End Get
End Property
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public ReadOnly Property ShipCityColumn() As System.Data.DataColumn
Get
Return Me.columnShipCity
End Get
End Property
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public ReadOnly Property ShipRegionColumn() As System.Data.DataColumn
Get
Return Me.columnShipRegion
End Get
End Property
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -