⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 da.vb

📁 一个功能强大的学生公寓管理系统 界面非常友好 十分强大
💻 VB
📖 第 1 页 / 共 5 页
字号:
'------------------------------------------------------------------------------
' <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 Da
    Inherits DataSet
    
    Private table晚归记录 As 晚归记录DataTable
    
    Private table用户 As 用户DataTable
    
    Private table公益活动 As 公益活动DataTable
    
    Private table费用支出 As 费用支出DataTable
    
    Private table宿舍纪律 As 宿舍纪律DataTable
    
    Private table卫生检查 As 卫生检查DataTable
    
    Private table外来人员记录 As 外来人员记录DataTable
    
    Private table住宿统计 As 住宿统计DataTable
    
    Private table文明分统计 As 文明分统计DataTable
    
    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("晚归记录")) Is Nothing) Then
                Me.Tables.Add(New 晚归记录DataTable(ds.Tables("晚归记录")))
            End If
            If (Not (ds.Tables("用户")) Is Nothing) Then
                Me.Tables.Add(New 用户DataTable(ds.Tables("用户")))
            End If
            If (Not (ds.Tables("公益活动")) Is Nothing) Then
                Me.Tables.Add(New 公益活动DataTable(ds.Tables("公益活动")))
            End If
            If (Not (ds.Tables("费用支出")) Is Nothing) Then
                Me.Tables.Add(New 费用支出DataTable(ds.Tables("费用支出")))
            End If
            If (Not (ds.Tables("宿舍纪律")) Is Nothing) Then
                Me.Tables.Add(New 宿舍纪律DataTable(ds.Tables("宿舍纪律")))
            End If
            If (Not (ds.Tables("卫生检查")) Is Nothing) Then
                Me.Tables.Add(New 卫生检查DataTable(ds.Tables("卫生检查")))
            End If
            If (Not (ds.Tables("外来人员记录")) Is Nothing) Then
                Me.Tables.Add(New 外来人员记录DataTable(ds.Tables("外来人员记录")))
            End If
            If (Not (ds.Tables("住宿统计")) Is Nothing) Then
                Me.Tables.Add(New 住宿统计DataTable(ds.Tables("住宿统计")))
            End If
            If (Not (ds.Tables("文明分统计")) Is Nothing) Then
                Me.Tables.Add(New 文明分统计DataTable(ds.Tables("文明分统计")))
            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 晚归记录 As 晚归记录DataTable
        Get
            Return Me.table晚归记录
        End Get
    End Property
    
    <System.ComponentModel.Browsable(false),  _
     System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)>  _
    Public ReadOnly Property 用户 As 用户DataTable
        Get
            Return Me.table用户
        End Get
    End Property
    
    <System.ComponentModel.Browsable(false),  _
     System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)>  _
    Public ReadOnly Property 公益活动 As 公益活动DataTable
        Get
            Return Me.table公益活动
        End Get
    End Property
    
    <System.ComponentModel.Browsable(false),  _
     System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)>  _
    Public ReadOnly Property 费用支出 As 费用支出DataTable
        Get
            Return Me.table费用支出
        End Get
    End Property
    
    <System.ComponentModel.Browsable(false),  _
     System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)>  _
    Public ReadOnly Property 宿舍纪律 As 宿舍纪律DataTable
        Get
            Return Me.table宿舍纪律
        End Get
    End Property
    
    <System.ComponentModel.Browsable(false),  _
     System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)>  _
    Public ReadOnly Property 卫生检查 As 卫生检查DataTable
        Get
            Return Me.table卫生检查
        End Get
    End Property
    
    <System.ComponentModel.Browsable(false),  _
     System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)>  _
    Public ReadOnly Property 外来人员记录 As 外来人员记录DataTable
        Get
            Return Me.table外来人员记录
        End Get
    End Property
    
    <System.ComponentModel.Browsable(false),  _
     System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)>  _
    Public ReadOnly Property 住宿统计 As 住宿统计DataTable
        Get
            Return Me.table住宿统计
        End Get
    End Property
    
    <System.ComponentModel.Browsable(false),  _
     System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)>  _
    Public ReadOnly Property 文明分统计 As 文明分统计DataTable
        Get
            Return Me.table文明分统计
        End Get
    End Property
    
    Public Overrides Function Clone() As DataSet
        Dim cln As Da = CType(MyBase.Clone,Da)
        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("晚归记录")) Is Nothing) Then
            Me.Tables.Add(New 晚归记录DataTable(ds.Tables("晚归记录")))
        End If
        If (Not (ds.Tables("用户")) Is Nothing) Then
            Me.Tables.Add(New 用户DataTable(ds.Tables("用户")))
        End If
        If (Not (ds.Tables("公益活动")) Is Nothing) Then
            Me.Tables.Add(New 公益活动DataTable(ds.Tables("公益活动")))
        End If
        If (Not (ds.Tables("费用支出")) Is Nothing) Then
            Me.Tables.Add(New 费用支出DataTable(ds.Tables("费用支出")))
        End If
        If (Not (ds.Tables("宿舍纪律")) Is Nothing) Then
            Me.Tables.Add(New 宿舍纪律DataTable(ds.Tables("宿舍纪律")))
        End If
        If (Not (ds.Tables("卫生检查")) Is Nothing) Then
            Me.Tables.Add(New 卫生检查DataTable(ds.Tables("卫生检查")))
        End If
        If (Not (ds.Tables("外来人员记录")) Is Nothing) Then
            Me.Tables.Add(New 外来人员记录DataTable(ds.Tables("外来人员记录")))
        End If
        If (Not (ds.Tables("住宿统计")) Is Nothing) Then
            Me.Tables.Add(New 住宿统计DataTable(ds.Tables("住宿统计")))
        End If
        If (Not (ds.Tables("文明分统计")) Is Nothing) Then
            Me.Tables.Add(New 文明分统计DataTable(ds.Tables("文明分统计")))
        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.table晚归记录 = CType(Me.Tables("晚归记录"),晚归记录DataTable)
        If (Not (Me.table晚归记录) Is Nothing) Then
            Me.table晚归记录.InitVars
        End If
        Me.table用户 = CType(Me.Tables("用户"),用户DataTable)
        If (Not (Me.table用户) Is Nothing) Then
            Me.table用户.InitVars
        End If
        Me.table公益活动 = CType(Me.Tables("公益活动"),公益活动DataTable)
        If (Not (Me.table公益活动) Is Nothing) Then
            Me.table公益活动.InitVars
        End If
        Me.table费用支出 = CType(Me.Tables("费用支出"),费用支出DataTable)
        If (Not (Me.table费用支出) Is Nothing) Then
            Me.table费用支出.InitVars
        End If
        Me.table宿舍纪律 = CType(Me.Tables("宿舍纪律"),宿舍纪律DataTable)
        If (Not (Me.table宿舍纪律) Is Nothing) Then
            Me.table宿舍纪律.InitVars
        End If
        Me.table卫生检查 = CType(Me.Tables("卫生检查"),卫生检查DataTable)
        If (Not (Me.table卫生检查) Is Nothing) Then
            Me.table卫生检查.InitVars
        End If
        Me.table外来人员记录 = CType(Me.Tables("外来人员记录"),外来人员记录DataTable)
        If (Not (Me.table外来人员记录) Is Nothing) Then
            Me.table外来人员记录.InitVars
        End If
        Me.table住宿统计 = CType(Me.Tables("住宿统计"),住宿统计DataTable)
        If (Not (Me.table住宿统计) Is Nothing) Then
            Me.table住宿统计.InitVars
        End If
        Me.table文明分统计 = CType(Me.Tables("文明分统计"),文明分统计DataTable)
        If (Not (Me.table文明分统计) Is Nothing) Then
            Me.table文明分统计.InitVars
        End If
    End Sub
    
    Private Sub InitClass()
        Me.DataSetName = "Da"
        Me.Prefix = ""
        Me.Namespace = "http://www.tempuri.org/Da.xsd"
        Me.Locale = New System.Globalization.CultureInfo("zh-CN")
        Me.CaseSensitive = false
        Me.EnforceConstraints = true
        Me.table晚归记录 = New 晚归记录DataTable
        Me.Tables.Add(Me.table晚归记录)
        Me.table用户 = New 用户DataTable
        Me.Tables.Add(Me.table用户)
        Me.table公益活动 = New 公益活动DataTable
        Me.Tables.Add(Me.table公益活动)
        Me.table费用支出 = New 费用支出DataTable
        Me.Tables.Add(Me.table费用支出)
        Me.table宿舍纪律 = New 宿舍纪律DataTable
        Me.Tables.Add(Me.table宿舍纪律)
        Me.table卫生检查 = New 卫生检查DataTable
        Me.Tables.Add(Me.table卫生检查)
        Me.table外来人员记录 = New 外来人员记录DataTable
        Me.Tables.Add(Me.table外来人员记录)
        Me.table住宿统计 = New 住宿统计DataTable
        Me.Tables.Add(Me.table住宿统计)
        Me.table文明分统计 = New 文明分统计DataTable
        Me.Tables.Add(Me.table文明分统计)
    End Sub
    
    Private Function ShouldSerialize晚归记录() As Boolean
        Return false
    End Function
    
    Private Function ShouldSerialize用户() As Boolean
        Return false
    End Function
    
    Private Function ShouldSerialize公益活动() As Boolean
        Return false
    End Function
    
    Private Function ShouldSerialize费用支出() As Boolean
        Return false
    End Function
    
    Private Function ShouldSerialize宿舍纪律() As Boolean
        Return false
    End Function
    
    Private Function ShouldSerialize卫生检查() As Boolean
        Return false
    End Function
    
    Private Function ShouldSerialize外来人员记录() As Boolean
        Return false
    End Function

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -