📄 ds_shouhuodan.vb
字号:
'------------------------------------------------------------------------------
' <autogenerated>
' This code was generated by a tool.
' Runtime Version: 1.1.4322.573
'
' 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_shouhuodan
Inherits DataSet
Private tablefk_cailiao_shouhuo_zhudan As fk_cailiao_shouhuo_zhudanDataTable
Private tablefk_cailiao_shouhuo_xiangdan As fk_cailiao_shouhuo_xiangdanDataTable
Private relationfk_cailiao_shouhuo_zhudanfk_cailiao_shouhuo_xiangdan1 As DataRelation
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("fk_cailiao_shouhuo_zhudan")) Is Nothing) Then
Me.Tables.Add(New fk_cailiao_shouhuo_zhudanDataTable(ds.Tables("fk_cailiao_shouhuo_zhudan")))
End If
If (Not (ds.Tables("fk_cailiao_shouhuo_xiangdan")) Is Nothing) Then
Me.Tables.Add(New fk_cailiao_shouhuo_xiangdanDataTable(ds.Tables("fk_cailiao_shouhuo_xiangdan")))
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 fk_cailiao_shouhuo_zhudan As fk_cailiao_shouhuo_zhudanDataTable
Get
Return Me.tablefk_cailiao_shouhuo_zhudan
End Get
End Property
<System.ComponentModel.Browsable(false), _
System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)> _
Public ReadOnly Property fk_cailiao_shouhuo_xiangdan As fk_cailiao_shouhuo_xiangdanDataTable
Get
Return Me.tablefk_cailiao_shouhuo_xiangdan
End Get
End Property
Public Overrides Function Clone() As DataSet
Dim cln As Ds_shouhuodan = CType(MyBase.Clone,Ds_shouhuodan)
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("fk_cailiao_shouhuo_zhudan")) Is Nothing) Then
Me.Tables.Add(New fk_cailiao_shouhuo_zhudanDataTable(ds.Tables("fk_cailiao_shouhuo_zhudan")))
End If
If (Not (ds.Tables("fk_cailiao_shouhuo_xiangdan")) Is Nothing) Then
Me.Tables.Add(New fk_cailiao_shouhuo_xiangdanDataTable(ds.Tables("fk_cailiao_shouhuo_xiangdan")))
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.tablefk_cailiao_shouhuo_zhudan = CType(Me.Tables("fk_cailiao_shouhuo_zhudan"),fk_cailiao_shouhuo_zhudanDataTable)
If (Not (Me.tablefk_cailiao_shouhuo_zhudan) Is Nothing) Then
Me.tablefk_cailiao_shouhuo_zhudan.InitVars
End If
Me.tablefk_cailiao_shouhuo_xiangdan = CType(Me.Tables("fk_cailiao_shouhuo_xiangdan"),fk_cailiao_shouhuo_xiangdanDataTable)
If (Not (Me.tablefk_cailiao_shouhuo_xiangdan) Is Nothing) Then
Me.tablefk_cailiao_shouhuo_xiangdan.InitVars
End If
Me.relationfk_cailiao_shouhuo_zhudanfk_cailiao_shouhuo_xiangdan1 = Me.Relations("fk_cailiao_shouhuo_zhudanfk_cailiao_shouhuo_xiangdan1")
End Sub
Private Sub InitClass()
Me.DataSetName = "Ds_shouhuodan"
Me.Prefix = ""
Me.Namespace = "http://tempuri.org/Ds_shouhuodan.xsd"
Me.Locale = New System.Globalization.CultureInfo("en-US")
Me.CaseSensitive = false
Me.EnforceConstraints = true
Me.tablefk_cailiao_shouhuo_zhudan = New fk_cailiao_shouhuo_zhudanDataTable
Me.Tables.Add(Me.tablefk_cailiao_shouhuo_zhudan)
Me.tablefk_cailiao_shouhuo_xiangdan = New fk_cailiao_shouhuo_xiangdanDataTable
Me.Tables.Add(Me.tablefk_cailiao_shouhuo_xiangdan)
Dim fkc As ForeignKeyConstraint
fkc = New ForeignKeyConstraint("fk_cailiao_shouhuo_zhudanfk_cailiao_shouhuo_xiangdan1", New DataColumn() {Me.tablefk_cailiao_shouhuo_zhudan.收货单编号Column}, New DataColumn() {Me.tablefk_cailiao_shouhuo_xiangdan.收货单编号Column})
Me.tablefk_cailiao_shouhuo_xiangdan.Constraints.Add(fkc)
fkc.AcceptRejectRule = System.Data.AcceptRejectRule.None
fkc.DeleteRule = System.Data.Rule.Cascade
fkc.UpdateRule = System.Data.Rule.Cascade
Me.relationfk_cailiao_shouhuo_zhudanfk_cailiao_shouhuo_xiangdan1 = New DataRelation("fk_cailiao_shouhuo_zhudanfk_cailiao_shouhuo_xiangdan1", New DataColumn() {Me.tablefk_cailiao_shouhuo_zhudan.收货单编号Column}, New DataColumn() {Me.tablefk_cailiao_shouhuo_xiangdan.收货单编号Column}, false)
Me.Relations.Add(Me.relationfk_cailiao_shouhuo_zhudanfk_cailiao_shouhuo_xiangdan1)
End Sub
Private Function ShouldSerializefk_cailiao_shouhuo_zhudan() As Boolean
Return false
End Function
Private Function ShouldSerializefk_cailiao_shouhuo_xiangdan() 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 fk_cailiao_shouhuo_zhudanRowChangeEventHandler(ByVal sender As Object, ByVal e As fk_cailiao_shouhuo_zhudanRowChangeEvent)
Public Delegate Sub fk_cailiao_shouhuo_xiangdanRowChangeEventHandler(ByVal sender As Object, ByVal e As fk_cailiao_shouhuo_xiangdanRowChangeEvent)
<System.Diagnostics.DebuggerStepThrough()> _
Public Class fk_cailiao_shouhuo_zhudanDataTable
Inherits DataTable
Implements System.Collections.IEnumerable
Private column收货单编号 As DataColumn
Private column工程名称 As DataColumn
Private column收货日期 As DataColumn
Private column订购单编号 As DataColumn
Private column供应商 As DataColumn
Private column收货人 As DataColumn
Private column日期 As DataColumn
Private column备注 As DataColumn
Private column标志 As DataColumn
Private column录入时间 As DataColumn
Private column项目经理 As DataColumn
Private column项目经理审批时间 As DataColumn
Private column项目经理审批意见 As DataColumn
Private column项目经理审批结果 As DataColumn
Friend Sub New()
MyBase.New("fk_cailiao_shouhuo_zhudan")
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 收货单编号Column As DataColumn
Get
Return Me.column收货单编号
End Get
End Property
Friend ReadOnly Property 工程名称Column As DataColumn
Get
Return Me.column工程名称
End Get
End Property
Friend ReadOnly Property 收货日期Column As DataColumn
Get
Return Me.column收货日期
End Get
End Property
Friend ReadOnly Property 订购单编号Column As DataColumn
Get
Return Me.column订购单编号
End Get
End Property
Friend ReadOnly Property 供应商Column As DataColumn
Get
Return Me.column供应商
End Get
End Property
Friend ReadOnly Property 收货人Column As DataColumn
Get
Return Me.column收货人
End Get
End Property
Friend ReadOnly Property 日期Column As DataColumn
Get
Return Me.column日期
End Get
End Property
Friend ReadOnly Property 备注Column As DataColumn
Get
Return Me.column备注
End Get
End Property
Friend ReadOnly Property 标志Column As DataColumn
Get
Return Me.column标志
End Get
End Property
Friend ReadOnly Property 录入时间Column As DataColumn
Get
Return Me.column录入时间
End Get
End Property
Friend ReadOnly Property 项目经理Column As DataColumn
Get
Return Me.column项目经理
End Get
End Property
Friend ReadOnly Property 项目经理审批时间Column As DataColumn
Get
Return Me.column项目经理审批时间
End Get
End Property
Friend ReadOnly Property 项目经理审批意见Column As DataColumn
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -