📄 librarydataset11.designer.vb
字号:
<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 libraryDataSet1 = New libraryDataSet1
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 BookNo() As String
Get
Return CType(Me(Me.tableBookDetails.BookNoColumn),String)
End Get
Set
Me(Me.tableBookDetails.BookNoColumn) = value
End Set
End Property
<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 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 Publisher() As String
Get
Try
Return CType(Me(Me.tableBookDetails.PublisherColumn),String)
Catch e As System.InvalidCastException
Throw New System.Data.StrongTypingException("The value for column 'Publisher' in table 'BookDetails' is DBNull.", e)
End Try
End Get
Set
Me(Me.tableBookDetails.PublisherColumn) = value
End Set
End Property
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public Property Price() As String
Get
Try
Return CType(Me(Me.tableBookDetails.PriceColumn),String)
Catch e As System.InvalidCastException
Throw New System.Data.StrongTypingException("The value for column 'Price' in table 'BookDetails' is DBNull.", e)
End Try
End Get
Set
Me(Me.tableBookDetails.PriceColumn) = value
End Set
End Property
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public Function IsISBNNull() As Boolean
Return Me.IsNull(Me.tableBookDetails.ISBNColumn)
End Function
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public Sub SetISBNNull()
Me(Me.tableBookDetails.ISBNColumn) = System.Convert.DBNull
End Sub
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public Function IsBookNameNull() As Boolean
Return Me.IsNull(Me.tableBookDetails.BookNameColumn)
End Function
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public Sub SetBookNameNull()
Me(Me.tableBookDetails.BookNameColumn) = System.Convert.DBNull
End Sub
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public Function IsAuthorNull() As Boolean
Return Me.IsNull(Me.tableBookDetails.AuthorColumn)
End Function
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public Sub SetAuthorNull()
Me(Me.tableBookDetails.AuthorColumn) = System.Convert.DBNull
End Sub
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public Function IsPublishDateNull() As Boolean
Return Me.IsNull(Me.tableBookDetails.PublishDateColumn)
End Function
<System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Public Sub SetPublishDateNull()
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -