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

📄 librarydataset1.designer.vb

📁 是关于图书管理系统的用vb.net 和access开发的
💻 VB
📖 第 1 页 / 共 3 页
字号:
            Get
                Return Me.columnLibDate
            End Get
        End Property
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Public ReadOnly Property PublisherColumn() As System.Data.DataColumn
            Get
                Return Me.columnPublisher
            End Get
        End Property
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Public ReadOnly Property PriceColumn() As System.Data.DataColumn
            Get
                Return Me.columnPrice
            End Get
        End Property
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Public ReadOnly Property BookNoColumn() As System.Data.DataColumn
            Get
                Return Me.columnBookNo
            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 BookDetailsRow
            Get
                Return CType(Me.Rows(index),BookDetailsRow)
            End Get
        End Property
        
        Public Event BookDetailsRowChanging As BookDetailsRowChangeEventHandler
        
        Public Event BookDetailsRowChanged As BookDetailsRowChangeEventHandler
        
        Public Event BookDetailsRowDeleting As BookDetailsRowChangeEventHandler
        
        Public Event BookDetailsRowDeleted As BookDetailsRowChangeEventHandler
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Public Overloads Sub AddBookDetailsRow(ByVal row As BookDetailsRow)
            Me.Rows.Add(row)
        End Sub
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Public Overloads Function AddBookDetailsRow(ByVal ISBN As String, ByVal BookName As String, ByVal TypeCode As String, ByVal Author As String, ByVal PublishDate As String, ByVal Edition As String, ByVal LibDate As String, ByVal Publisher As String, ByVal Price As String, ByVal BookNo As String) As BookDetailsRow
            Dim rowBookDetailsRow As BookDetailsRow = CType(Me.NewRow,BookDetailsRow)
            rowBookDetailsRow.ItemArray = New Object() {ISBN, BookName, TypeCode, Author, PublishDate, Edition, LibDate, Publisher, Price, BookNo}
            Me.Rows.Add(rowBookDetailsRow)
            Return rowBookDetailsRow
        End Function
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Public Function FindByBookNo(ByVal BookNo As String) As BookDetailsRow
            Return CType(Me.Rows.Find(New Object() {BookNo}),BookDetailsRow)
        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 BookDetailsDataTable = CType(MyBase.Clone,BookDetailsDataTable)
            cln.InitVars
            Return cln
        End Function
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Protected Overrides Function CreateInstance() As System.Data.DataTable
            Return New BookDetailsDataTable
        End Function
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Friend Sub InitVars()
            Me.columnISBN = MyBase.Columns("ISBN")
            Me.columnBookName = MyBase.Columns("BookName")
            Me.columnTypeCode = MyBase.Columns("TypeCode")
            Me.columnAuthor = MyBase.Columns("Author")
            Me.columnPublishDate = MyBase.Columns("PublishDate")
            Me.columnEdition = MyBase.Columns("Edition")
            Me.columnLibDate = MyBase.Columns("LibDate")
            Me.columnPublisher = MyBase.Columns("Publisher")
            Me.columnPrice = MyBase.Columns("Price")
            Me.columnBookNo = MyBase.Columns("BookNo")
        End Sub
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Private Sub InitClass()
            Me.columnISBN = New System.Data.DataColumn("ISBN", GetType(String), Nothing, System.Data.MappingType.Element)
            MyBase.Columns.Add(Me.columnISBN)
            Me.columnBookName = New System.Data.DataColumn("BookName", GetType(String), Nothing, System.Data.MappingType.Element)
            MyBase.Columns.Add(Me.columnBookName)
            Me.columnTypeCode = New System.Data.DataColumn("TypeCode", GetType(String), Nothing, System.Data.MappingType.Element)
            MyBase.Columns.Add(Me.columnTypeCode)
            Me.columnAuthor = New System.Data.DataColumn("Author", GetType(String), Nothing, System.Data.MappingType.Element)
            MyBase.Columns.Add(Me.columnAuthor)
            Me.columnPublishDate = New System.Data.DataColumn("PublishDate", GetType(String), Nothing, System.Data.MappingType.Element)
            MyBase.Columns.Add(Me.columnPublishDate)
            Me.columnEdition = New System.Data.DataColumn("Edition", GetType(String), Nothing, System.Data.MappingType.Element)
            MyBase.Columns.Add(Me.columnEdition)
            Me.columnLibDate = New System.Data.DataColumn("LibDate", GetType(String), Nothing, System.Data.MappingType.Element)
            MyBase.Columns.Add(Me.columnLibDate)
            Me.columnPublisher = New System.Data.DataColumn("Publisher", GetType(String), Nothing, System.Data.MappingType.Element)
            MyBase.Columns.Add(Me.columnPublisher)
            Me.columnPrice = New System.Data.DataColumn("Price", GetType(String), Nothing, System.Data.MappingType.Element)
            MyBase.Columns.Add(Me.columnPrice)
            Me.columnBookNo = New System.Data.DataColumn("BookNo", GetType(String), Nothing, System.Data.MappingType.Element)
            MyBase.Columns.Add(Me.columnBookNo)
            Me.Constraints.Add(New System.Data.UniqueConstraint("Constraint1", New System.Data.DataColumn() {Me.columnBookNo}, true))
            Me.columnISBN.MaxLength = 20
            Me.columnBookName.MaxLength = 20
            Me.columnTypeCode.MaxLength = 10
            Me.columnAuthor.MaxLength = 10
            Me.columnPublishDate.MaxLength = 50
            Me.columnEdition.MaxLength = 20
            Me.columnLibDate.MaxLength = 50
            Me.columnPublisher.MaxLength = 50
            Me.columnPrice.MaxLength = 50
            Me.columnBookNo.AllowDBNull = false
            Me.columnBookNo.Unique = true
            Me.columnBookNo.MaxLength = 10
        End Sub
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Public Function NewBookDetailsRow() As BookDetailsRow
            Return CType(Me.NewRow,BookDetailsRow)
        End Function
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Protected Overrides Function NewRowFromBuilder(ByVal builder As System.Data.DataRowBuilder) As System.Data.DataRow
            Return New BookDetailsRow(builder)
        End Function
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Protected Overrides Function GetRowType() As System.Type
            Return GetType(BookDetailsRow)
        End Function
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Protected Overrides Sub OnRowChanged(ByVal e As System.Data.DataRowChangeEventArgs)
            MyBase.OnRowChanged(e)
            If (Not (Me.BookDetailsRowChangedEvent) Is Nothing) Then
                RaiseEvent BookDetailsRowChanged(Me, New BookDetailsRowChangeEvent(CType(e.Row,BookDetailsRow), 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.BookDetailsRowChangingEvent) Is Nothing) Then
                RaiseEvent BookDetailsRowChanging(Me, New BookDetailsRowChangeEvent(CType(e.Row,BookDetailsRow), 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.BookDetailsRowDeletedEvent) Is Nothing) Then
                RaiseEvent BookDetailsRowDeleted(Me, New BookDetailsRowChangeEvent(CType(e.Row,BookDetailsRow), 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.BookDetailsRowDeletingEvent) Is Nothing) Then
                RaiseEvent BookDetailsRowDeleting(Me, New BookDetailsRowChangeEvent(CType(e.Row,BookDetailsRow), e.Action))
            End If
        End Sub
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Public Sub RemoveBookDetailsRow(ByVal row As BookDetailsRow)
            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 libraryDataSet = New libraryDataSet
            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 = "BookDetailsDataTable"
            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 BookDetailsRow
        Inherits System.Data.DataRow
        
        Private tableBookDetails As BookDetailsDataTable
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Friend Sub New(ByVal rb As System.Data.DataRowBuilder)
            MyBase.New(rb)
            Me.tableBookDetails = CType(Me.Table,BookDetailsDataTable)
        End Sub
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Public Property ISBN() As String
            Get
                Try 
                    Return CType(Me(Me.tableBookDetails.ISBNColumn),String)
                Catch e As System.InvalidCastException
                    Throw New System.Data.StrongTypingException("The value for column 'ISBN' in table 'BookDetails' is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableBookDetails.ISBNColumn) = value
            End Set
        End Property
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Public Property BookName() As String
            Get
                Try 
                    Return CType(Me(Me.tableBookDetails.BookNameColumn),String)
                Catch e As System.InvalidCastException
                    Throw New System.Data.StrongTypingException("The value for column 'BookName' in table 'BookDetails' is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableBookDetails.BookNameColumn) = value
            End Set
        End Property
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Public Property TypeCode() As String
            Get
                Try 
                    Return CType(Me(Me.tableBookDetails.TypeCodeColumn),String)
                Catch e As System.InvalidCastException
                    Throw New System.Data.StrongTypingException("The value for column 'TypeCode' in table 'BookDetails' is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableBookDetails.TypeCodeColumn) = value
            End Set
        End Property
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Public Property Author() As String
            Get
                Try 
                    Return CType(Me(Me.tableBookDetails.AuthorColumn),String)
                Catch e As System.InvalidCastException
                    Throw New System.Data.StrongTypingException("The value for column 'Author' in table 'BookDetails' is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableBookDetails.AuthorColumn) = value
            End Set
        End Property
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Public Property PublishDate() As String
            Get
                Try 
                    Return CType(Me(Me.tableBookDetails.PublishDateColumn),String)
                Catch e As System.InvalidCastException
                    Throw New System.Data.StrongTypingException("The value for column 'PublishDate' in table 'BookDetails' is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableBookDetails.PublishDateColumn) = value
            End Set
        End Property
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Public Property Edition() As String
            Get
                Try 
                    Return CType(Me(Me.tableBookDetails.EditionColumn),String)
                Catch e As System.InvalidCastException
                    Throw New System.Data.StrongTypingException("The value for column 'Edition' in table 'BookDetails' is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableBookDetails.EditionColumn) = value
            End Set
        End Property
        
        <System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Public Property LibDate() As String
            Get
                Try 
                    Return CType(Me(Me.tableBookDetails.LibDateColumn),String)
                Catch e As System.InvalidCastException
                    Throw New System.Data.StrongTypingException("The value for column 'LibDate' in table 'BookDetails' is DBNull.", e)
                End Try
            End Get
            Set
                Me(Me.tableBookDetails.LibDateColumn) = value

⌨️ 快捷键说明

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