PageRenderTime 99ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 1ms

/Source Code/SongDatabase/Data.Designer.vb

#
Visual Basic | 4521 lines | 3872 code | 565 blank | 84 comment | 30 complexity | 7c67175b9dcda14cdf5578321e65d9eb MD5 | raw file
  1. '------------------------------------------------------------------------------
  2. ' <auto-generated>
  3. ' This code was generated by a tool.
  4. ' Runtime Version:4.0.30319.1
  5. '
  6. ' Changes to this file may cause incorrect behavior and will be lost if
  7. ' the code is regenerated.
  8. ' </auto-generated>
  9. '------------------------------------------------------------------------------
  10. Option Strict Off
  11. Option Explicit On
  12. '''<summary>
  13. '''Represents a strongly typed in-memory cache of data.
  14. '''</summary>
  15. <Global.System.Serializable(), _
  16. Global.System.ComponentModel.DesignerCategoryAttribute("code"), _
  17. Global.System.ComponentModel.ToolboxItem(true), _
  18. Global.System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema"), _
  19. Global.System.Xml.Serialization.XmlRootAttribute("Data"), _
  20. Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")> _
  21. Partial Public Class Data
  22. Inherits Global.System.Data.DataSet
  23. Private tableSettings As SettingsDataTable
  24. Private tableSongs As SongsDataTable
  25. Private tableStyles As StylesDataTable
  26. Private tableBibles As BiblesDataTable
  27. Private tableCategories As CategoriesDataTable
  28. Private tableSongCategories As SongCategoriesDataTable
  29. Private tableProjectlets As ProjectletsDataTable
  30. Private tableLicenses As LicensesDataTable
  31. Private relationFK_Categories_SongCategories As Global.System.Data.DataRelation
  32. Private relationFK_Songs_SongCategories As Global.System.Data.DataRelation
  33. Private relationFK_Styles_Projectlets As Global.System.Data.DataRelation
  34. Private relationLicenses_Songs As Global.System.Data.DataRelation
  35. Private _schemaSerializationMode As Global.System.Data.SchemaSerializationMode = Global.System.Data.SchemaSerializationMode.IncludeSchema
  36. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  37. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  38. Public Sub New()
  39. MyBase.New
  40. Me.BeginInit
  41. Me.InitClass
  42. Dim schemaChangedHandler As Global.System.ComponentModel.CollectionChangeEventHandler = AddressOf Me.SchemaChanged
  43. AddHandler MyBase.Tables.CollectionChanged, schemaChangedHandler
  44. AddHandler MyBase.Relations.CollectionChanged, schemaChangedHandler
  45. Me.EndInit
  46. End Sub
  47. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  48. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  49. Protected Sub New(ByVal info As Global.System.Runtime.Serialization.SerializationInfo, ByVal context As Global.System.Runtime.Serialization.StreamingContext)
  50. MyBase.New(info, context, false)
  51. If (Me.IsBinarySerialized(info, context) = true) Then
  52. Me.InitVars(false)
  53. Dim schemaChangedHandler1 As Global.System.ComponentModel.CollectionChangeEventHandler = AddressOf Me.SchemaChanged
  54. AddHandler Me.Tables.CollectionChanged, schemaChangedHandler1
  55. AddHandler Me.Relations.CollectionChanged, schemaChangedHandler1
  56. Return
  57. End If
  58. Dim strSchema As String = CType(info.GetValue("XmlSchema", GetType(String)),String)
  59. If (Me.DetermineSchemaSerializationMode(info, context) = Global.System.Data.SchemaSerializationMode.IncludeSchema) Then
  60. Dim ds As Global.System.Data.DataSet = New Global.System.Data.DataSet()
  61. ds.ReadXmlSchema(New Global.System.Xml.XmlTextReader(New Global.System.IO.StringReader(strSchema)))
  62. If (Not (ds.Tables("Settings")) Is Nothing) Then
  63. MyBase.Tables.Add(New SettingsDataTable(ds.Tables("Settings")))
  64. End If
  65. If (Not (ds.Tables("Songs")) Is Nothing) Then
  66. MyBase.Tables.Add(New SongsDataTable(ds.Tables("Songs")))
  67. End If
  68. If (Not (ds.Tables("Styles")) Is Nothing) Then
  69. MyBase.Tables.Add(New StylesDataTable(ds.Tables("Styles")))
  70. End If
  71. If (Not (ds.Tables("Bibles")) Is Nothing) Then
  72. MyBase.Tables.Add(New BiblesDataTable(ds.Tables("Bibles")))
  73. End If
  74. If (Not (ds.Tables("Categories")) Is Nothing) Then
  75. MyBase.Tables.Add(New CategoriesDataTable(ds.Tables("Categories")))
  76. End If
  77. If (Not (ds.Tables("SongCategories")) Is Nothing) Then
  78. MyBase.Tables.Add(New SongCategoriesDataTable(ds.Tables("SongCategories")))
  79. End If
  80. If (Not (ds.Tables("Projectlets")) Is Nothing) Then
  81. MyBase.Tables.Add(New ProjectletsDataTable(ds.Tables("Projectlets")))
  82. End If
  83. If (Not (ds.Tables("Licenses")) Is Nothing) Then
  84. MyBase.Tables.Add(New LicensesDataTable(ds.Tables("Licenses")))
  85. End If
  86. Me.DataSetName = ds.DataSetName
  87. Me.Prefix = ds.Prefix
  88. Me.Namespace = ds.Namespace
  89. Me.Locale = ds.Locale
  90. Me.CaseSensitive = ds.CaseSensitive
  91. Me.EnforceConstraints = ds.EnforceConstraints
  92. Me.Merge(ds, false, Global.System.Data.MissingSchemaAction.Add)
  93. Me.InitVars
  94. Else
  95. Me.ReadXmlSchema(New Global.System.Xml.XmlTextReader(New Global.System.IO.StringReader(strSchema)))
  96. End If
  97. Me.GetSerializationData(info, context)
  98. Dim schemaChangedHandler As Global.System.ComponentModel.CollectionChangeEventHandler = AddressOf Me.SchemaChanged
  99. AddHandler MyBase.Tables.CollectionChanged, schemaChangedHandler
  100. AddHandler Me.Relations.CollectionChanged, schemaChangedHandler
  101. End Sub
  102. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  103. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), _
  104. Global.System.ComponentModel.Browsable(false), _
  105. Global.System.ComponentModel.DesignerSerializationVisibility(Global.System.ComponentModel.DesignerSerializationVisibility.Content)> _
  106. Public ReadOnly Property Settings() As SettingsDataTable
  107. Get
  108. Return Me.tableSettings
  109. End Get
  110. End Property
  111. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  112. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), _
  113. Global.System.ComponentModel.Browsable(false), _
  114. Global.System.ComponentModel.DesignerSerializationVisibility(Global.System.ComponentModel.DesignerSerializationVisibility.Content)> _
  115. Public ReadOnly Property Songs() As SongsDataTable
  116. Get
  117. Return Me.tableSongs
  118. End Get
  119. End Property
  120. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  121. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), _
  122. Global.System.ComponentModel.Browsable(false), _
  123. Global.System.ComponentModel.DesignerSerializationVisibility(Global.System.ComponentModel.DesignerSerializationVisibility.Content)> _
  124. Public ReadOnly Property Styles() As StylesDataTable
  125. Get
  126. Return Me.tableStyles
  127. End Get
  128. End Property
  129. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  130. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), _
  131. Global.System.ComponentModel.Browsable(false), _
  132. Global.System.ComponentModel.DesignerSerializationVisibility(Global.System.ComponentModel.DesignerSerializationVisibility.Content)> _
  133. Public ReadOnly Property Bibles() As BiblesDataTable
  134. Get
  135. Return Me.tableBibles
  136. End Get
  137. End Property
  138. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  139. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), _
  140. Global.System.ComponentModel.Browsable(false), _
  141. Global.System.ComponentModel.DesignerSerializationVisibility(Global.System.ComponentModel.DesignerSerializationVisibility.Content)> _
  142. Public ReadOnly Property Categories() As CategoriesDataTable
  143. Get
  144. Return Me.tableCategories
  145. End Get
  146. End Property
  147. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  148. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), _
  149. Global.System.ComponentModel.Browsable(false), _
  150. Global.System.ComponentModel.DesignerSerializationVisibility(Global.System.ComponentModel.DesignerSerializationVisibility.Content)> _
  151. Public ReadOnly Property SongCategories() As SongCategoriesDataTable
  152. Get
  153. Return Me.tableSongCategories
  154. End Get
  155. End Property
  156. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  157. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), _
  158. Global.System.ComponentModel.Browsable(false), _
  159. Global.System.ComponentModel.DesignerSerializationVisibility(Global.System.ComponentModel.DesignerSerializationVisibility.Content)> _
  160. Public ReadOnly Property Projectlets() As ProjectletsDataTable
  161. Get
  162. Return Me.tableProjectlets
  163. End Get
  164. End Property
  165. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  166. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), _
  167. Global.System.ComponentModel.Browsable(false), _
  168. Global.System.ComponentModel.DesignerSerializationVisibility(Global.System.ComponentModel.DesignerSerializationVisibility.Content)> _
  169. Public ReadOnly Property Licenses() As LicensesDataTable
  170. Get
  171. Return Me.tableLicenses
  172. End Get
  173. End Property
  174. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  175. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), _
  176. Global.System.ComponentModel.BrowsableAttribute(true), _
  177. Global.System.ComponentModel.DesignerSerializationVisibilityAttribute(Global.System.ComponentModel.DesignerSerializationVisibility.Visible)> _
  178. Public Overrides Property SchemaSerializationMode() As Global.System.Data.SchemaSerializationMode
  179. Get
  180. Return Me._schemaSerializationMode
  181. End Get
  182. Set
  183. Me._schemaSerializationMode = value
  184. End Set
  185. End Property
  186. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  187. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), _
  188. Global.System.ComponentModel.DesignerSerializationVisibilityAttribute(Global.System.ComponentModel.DesignerSerializationVisibility.Hidden)> _
  189. Public Shadows ReadOnly Property Tables() As Global.System.Data.DataTableCollection
  190. Get
  191. Return MyBase.Tables
  192. End Get
  193. End Property
  194. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  195. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), _
  196. Global.System.ComponentModel.DesignerSerializationVisibilityAttribute(Global.System.ComponentModel.DesignerSerializationVisibility.Hidden)> _
  197. Public Shadows ReadOnly Property Relations() As Global.System.Data.DataRelationCollection
  198. Get
  199. Return MyBase.Relations
  200. End Get
  201. End Property
  202. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  203. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  204. Protected Overrides Sub InitializeDerivedDataSet()
  205. Me.BeginInit
  206. Me.InitClass
  207. Me.EndInit
  208. End Sub
  209. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  210. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  211. Public Overrides Function Clone() As Global.System.Data.DataSet
  212. Dim cln As Data = CType(MyBase.Clone,Data)
  213. cln.InitVars
  214. cln.SchemaSerializationMode = Me.SchemaSerializationMode
  215. Return cln
  216. End Function
  217. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  218. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  219. Protected Overrides Function ShouldSerializeTables() As Boolean
  220. Return false
  221. End Function
  222. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  223. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  224. Protected Overrides Function ShouldSerializeRelations() As Boolean
  225. Return false
  226. End Function
  227. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  228. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  229. Protected Overrides Sub ReadXmlSerializable(ByVal reader As Global.System.Xml.XmlReader)
  230. If (Me.DetermineSchemaSerializationMode(reader) = Global.System.Data.SchemaSerializationMode.IncludeSchema) Then
  231. Me.Reset
  232. Dim ds As Global.System.Data.DataSet = New Global.System.Data.DataSet()
  233. ds.ReadXml(reader)
  234. If (Not (ds.Tables("Settings")) Is Nothing) Then
  235. MyBase.Tables.Add(New SettingsDataTable(ds.Tables("Settings")))
  236. End If
  237. If (Not (ds.Tables("Songs")) Is Nothing) Then
  238. MyBase.Tables.Add(New SongsDataTable(ds.Tables("Songs")))
  239. End If
  240. If (Not (ds.Tables("Styles")) Is Nothing) Then
  241. MyBase.Tables.Add(New StylesDataTable(ds.Tables("Styles")))
  242. End If
  243. If (Not (ds.Tables("Bibles")) Is Nothing) Then
  244. MyBase.Tables.Add(New BiblesDataTable(ds.Tables("Bibles")))
  245. End If
  246. If (Not (ds.Tables("Categories")) Is Nothing) Then
  247. MyBase.Tables.Add(New CategoriesDataTable(ds.Tables("Categories")))
  248. End If
  249. If (Not (ds.Tables("SongCategories")) Is Nothing) Then
  250. MyBase.Tables.Add(New SongCategoriesDataTable(ds.Tables("SongCategories")))
  251. End If
  252. If (Not (ds.Tables("Projectlets")) Is Nothing) Then
  253. MyBase.Tables.Add(New ProjectletsDataTable(ds.Tables("Projectlets")))
  254. End If
  255. If (Not (ds.Tables("Licenses")) Is Nothing) Then
  256. MyBase.Tables.Add(New LicensesDataTable(ds.Tables("Licenses")))
  257. End If
  258. Me.DataSetName = ds.DataSetName
  259. Me.Prefix = ds.Prefix
  260. Me.Namespace = ds.Namespace
  261. Me.Locale = ds.Locale
  262. Me.CaseSensitive = ds.CaseSensitive
  263. Me.EnforceConstraints = ds.EnforceConstraints
  264. Me.Merge(ds, false, Global.System.Data.MissingSchemaAction.Add)
  265. Me.InitVars
  266. Else
  267. Me.ReadXml(reader)
  268. Me.InitVars
  269. End If
  270. End Sub
  271. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  272. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  273. Protected Overrides Function GetSchemaSerializable() As Global.System.Xml.Schema.XmlSchema
  274. Dim stream As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
  275. Me.WriteXmlSchema(New Global.System.Xml.XmlTextWriter(stream, Nothing))
  276. stream.Position = 0
  277. Return Global.System.Xml.Schema.XmlSchema.Read(New Global.System.Xml.XmlTextReader(stream), Nothing)
  278. End Function
  279. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  280. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  281. Friend Overloads Sub InitVars()
  282. Me.InitVars(true)
  283. End Sub
  284. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  285. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  286. Friend Overloads Sub InitVars(ByVal initTable As Boolean)
  287. Me.tableSettings = CType(MyBase.Tables("Settings"),SettingsDataTable)
  288. If (initTable = true) Then
  289. If (Not (Me.tableSettings) Is Nothing) Then
  290. Me.tableSettings.InitVars
  291. End If
  292. End If
  293. Me.tableSongs = CType(MyBase.Tables("Songs"),SongsDataTable)
  294. If (initTable = true) Then
  295. If (Not (Me.tableSongs) Is Nothing) Then
  296. Me.tableSongs.InitVars
  297. End If
  298. End If
  299. Me.tableStyles = CType(MyBase.Tables("Styles"),StylesDataTable)
  300. If (initTable = true) Then
  301. If (Not (Me.tableStyles) Is Nothing) Then
  302. Me.tableStyles.InitVars
  303. End If
  304. End If
  305. Me.tableBibles = CType(MyBase.Tables("Bibles"),BiblesDataTable)
  306. If (initTable = true) Then
  307. If (Not (Me.tableBibles) Is Nothing) Then
  308. Me.tableBibles.InitVars
  309. End If
  310. End If
  311. Me.tableCategories = CType(MyBase.Tables("Categories"),CategoriesDataTable)
  312. If (initTable = true) Then
  313. If (Not (Me.tableCategories) Is Nothing) Then
  314. Me.tableCategories.InitVars
  315. End If
  316. End If
  317. Me.tableSongCategories = CType(MyBase.Tables("SongCategories"),SongCategoriesDataTable)
  318. If (initTable = true) Then
  319. If (Not (Me.tableSongCategories) Is Nothing) Then
  320. Me.tableSongCategories.InitVars
  321. End If
  322. End If
  323. Me.tableProjectlets = CType(MyBase.Tables("Projectlets"),ProjectletsDataTable)
  324. If (initTable = true) Then
  325. If (Not (Me.tableProjectlets) Is Nothing) Then
  326. Me.tableProjectlets.InitVars
  327. End If
  328. End If
  329. Me.tableLicenses = CType(MyBase.Tables("Licenses"),LicensesDataTable)
  330. If (initTable = true) Then
  331. If (Not (Me.tableLicenses) Is Nothing) Then
  332. Me.tableLicenses.InitVars
  333. End If
  334. End If
  335. Me.relationFK_Categories_SongCategories = Me.Relations("FK_Categories_SongCategories")
  336. Me.relationFK_Songs_SongCategories = Me.Relations("FK_Songs_SongCategories")
  337. Me.relationFK_Styles_Projectlets = Me.Relations("FK_Styles_Projectlets")
  338. Me.relationLicenses_Songs = Me.Relations("Licenses_Songs")
  339. End Sub
  340. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  341. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  342. Private Sub InitClass()
  343. Me.DataSetName = "Data"
  344. Me.Prefix = ""
  345. Me.Namespace = "http://tempuri.org/Data.xsd"
  346. Me.EnforceConstraints = true
  347. Me.SchemaSerializationMode = Global.System.Data.SchemaSerializationMode.IncludeSchema
  348. Me.tableSettings = New SettingsDataTable()
  349. MyBase.Tables.Add(Me.tableSettings)
  350. Me.tableSongs = New SongsDataTable()
  351. MyBase.Tables.Add(Me.tableSongs)
  352. Me.tableStyles = New StylesDataTable()
  353. MyBase.Tables.Add(Me.tableStyles)
  354. Me.tableBibles = New BiblesDataTable()
  355. MyBase.Tables.Add(Me.tableBibles)
  356. Me.tableCategories = New CategoriesDataTable()
  357. MyBase.Tables.Add(Me.tableCategories)
  358. Me.tableSongCategories = New SongCategoriesDataTable()
  359. MyBase.Tables.Add(Me.tableSongCategories)
  360. Me.tableProjectlets = New ProjectletsDataTable()
  361. MyBase.Tables.Add(Me.tableProjectlets)
  362. Me.tableLicenses = New LicensesDataTable()
  363. MyBase.Tables.Add(Me.tableLicenses)
  364. Dim fkc As Global.System.Data.ForeignKeyConstraint
  365. fkc = New Global.System.Data.ForeignKeyConstraint("FK_Categories_SongCategories", New Global.System.Data.DataColumn() {Me.tableCategories.CategoryIDColumn}, New Global.System.Data.DataColumn() {Me.tableSongCategories.CategoryIDColumn})
  366. Me.tableSongCategories.Constraints.Add(fkc)
  367. fkc.AcceptRejectRule = Global.System.Data.AcceptRejectRule.None
  368. fkc.DeleteRule = Global.System.Data.Rule.Cascade
  369. fkc.UpdateRule = Global.System.Data.Rule.Cascade
  370. fkc = New Global.System.Data.ForeignKeyConstraint("FK_Songs_SongCategories", New Global.System.Data.DataColumn() {Me.tableSongs.SongIDColumn}, New Global.System.Data.DataColumn() {Me.tableSongCategories.SongIDColumn})
  371. Me.tableSongCategories.Constraints.Add(fkc)
  372. fkc.AcceptRejectRule = Global.System.Data.AcceptRejectRule.None
  373. fkc.DeleteRule = Global.System.Data.Rule.Cascade
  374. fkc.UpdateRule = Global.System.Data.Rule.Cascade
  375. fkc = New Global.System.Data.ForeignKeyConstraint("FK_Styles_Projectlets", New Global.System.Data.DataColumn() {Me.tableStyles.StyleIDColumn}, New Global.System.Data.DataColumn() {Me.tableProjectlets.StyleIDColumn})
  376. Me.tableProjectlets.Constraints.Add(fkc)
  377. fkc.AcceptRejectRule = Global.System.Data.AcceptRejectRule.None
  378. fkc.DeleteRule = Global.System.Data.Rule.Cascade
  379. fkc.UpdateRule = Global.System.Data.Rule.Cascade
  380. Me.relationFK_Categories_SongCategories = New Global.System.Data.DataRelation("FK_Categories_SongCategories", New Global.System.Data.DataColumn() {Me.tableCategories.CategoryIDColumn}, New Global.System.Data.DataColumn() {Me.tableSongCategories.CategoryIDColumn}, false)
  381. Me.Relations.Add(Me.relationFK_Categories_SongCategories)
  382. Me.relationFK_Songs_SongCategories = New Global.System.Data.DataRelation("FK_Songs_SongCategories", New Global.System.Data.DataColumn() {Me.tableSongs.SongIDColumn}, New Global.System.Data.DataColumn() {Me.tableSongCategories.SongIDColumn}, false)
  383. Me.Relations.Add(Me.relationFK_Songs_SongCategories)
  384. Me.relationFK_Styles_Projectlets = New Global.System.Data.DataRelation("FK_Styles_Projectlets", New Global.System.Data.DataColumn() {Me.tableStyles.StyleIDColumn}, New Global.System.Data.DataColumn() {Me.tableProjectlets.StyleIDColumn}, false)
  385. Me.Relations.Add(Me.relationFK_Styles_Projectlets)
  386. Me.relationLicenses_Songs = New Global.System.Data.DataRelation("Licenses_Songs", New Global.System.Data.DataColumn() {Me.tableLicenses.LicenseIDColumn}, New Global.System.Data.DataColumn() {Me.tableSongs.LicenseIDColumn}, false)
  387. Me.Relations.Add(Me.relationLicenses_Songs)
  388. End Sub
  389. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  390. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  391. Private Function ShouldSerializeSettings() As Boolean
  392. Return false
  393. End Function
  394. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  395. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  396. Private Function ShouldSerializeSongs() As Boolean
  397. Return false
  398. End Function
  399. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  400. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  401. Private Function ShouldSerializeStyles() As Boolean
  402. Return false
  403. End Function
  404. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  405. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  406. Private Function ShouldSerializeBibles() As Boolean
  407. Return false
  408. End Function
  409. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  410. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  411. Private Function ShouldSerializeCategories() As Boolean
  412. Return false
  413. End Function
  414. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  415. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  416. Private Function ShouldSerializeSongCategories() As Boolean
  417. Return false
  418. End Function
  419. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  420. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  421. Private Function ShouldSerializeProjectlets() As Boolean
  422. Return false
  423. End Function
  424. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  425. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  426. Private Function ShouldSerializeLicenses() As Boolean
  427. Return false
  428. End Function
  429. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  430. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  431. Private Sub SchemaChanged(ByVal sender As Object, ByVal e As Global.System.ComponentModel.CollectionChangeEventArgs)
  432. If (e.Action = Global.System.ComponentModel.CollectionChangeAction.Remove) Then
  433. Me.InitVars
  434. End If
  435. End Sub
  436. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  437. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  438. Public Shared Function GetTypedDataSetSchema(ByVal xs As Global.System.Xml.Schema.XmlSchemaSet) As Global.System.Xml.Schema.XmlSchemaComplexType
  439. Dim ds As Data = New Data()
  440. Dim type As Global.System.Xml.Schema.XmlSchemaComplexType = New Global.System.Xml.Schema.XmlSchemaComplexType()
  441. Dim sequence As Global.System.Xml.Schema.XmlSchemaSequence = New Global.System.Xml.Schema.XmlSchemaSequence()
  442. Dim any As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
  443. any.Namespace = ds.Namespace
  444. sequence.Items.Add(any)
  445. type.Particle = sequence
  446. Dim dsSchema As Global.System.Xml.Schema.XmlSchema = ds.GetSchemaSerializable
  447. If xs.Contains(dsSchema.TargetNamespace) Then
  448. Dim s1 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
  449. Dim s2 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
  450. Try
  451. Dim schema As Global.System.Xml.Schema.XmlSchema = Nothing
  452. dsSchema.Write(s1)
  453. Dim schemas As Global.System.Collections.IEnumerator = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator
  454. Do While schemas.MoveNext
  455. schema = CType(schemas.Current,Global.System.Xml.Schema.XmlSchema)
  456. s2.SetLength(0)
  457. schema.Write(s2)
  458. If (s1.Length = s2.Length) Then
  459. s1.Position = 0
  460. s2.Position = 0
  461. Do While ((s1.Position <> s1.Length) _
  462. AndAlso (s1.ReadByte = s2.ReadByte))
  463. Loop
  464. If (s1.Position = s1.Length) Then
  465. Return type
  466. End If
  467. End If
  468. Loop
  469. Finally
  470. If (Not (s1) Is Nothing) Then
  471. s1.Close
  472. End If
  473. If (Not (s2) Is Nothing) Then
  474. s2.Close
  475. End If
  476. End Try
  477. End If
  478. xs.Add(dsSchema)
  479. Return type
  480. End Function
  481. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  482. Public Delegate Sub SettingsRowChangeEventHandler(ByVal sender As Object, ByVal e As SettingsRowChangeEvent)
  483. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  484. Public Delegate Sub SongsRowChangeEventHandler(ByVal sender As Object, ByVal e As SongsRowChangeEvent)
  485. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  486. Public Delegate Sub StylesRowChangeEventHandler(ByVal sender As Object, ByVal e As StylesRowChangeEvent)
  487. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  488. Public Delegate Sub BiblesRowChangeEventHandler(ByVal sender As Object, ByVal e As BiblesRowChangeEvent)
  489. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  490. Public Delegate Sub CategoriesRowChangeEventHandler(ByVal sender As Object, ByVal e As CategoriesRowChangeEvent)
  491. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  492. Public Delegate Sub SongCategoriesRowChangeEventHandler(ByVal sender As Object, ByVal e As SongCategoriesRowChangeEvent)
  493. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  494. Public Delegate Sub ProjectletsRowChangeEventHandler(ByVal sender As Object, ByVal e As ProjectletsRowChangeEvent)
  495. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  496. Public Delegate Sub LicensesRowChangeEventHandler(ByVal sender As Object, ByVal e As LicensesRowChangeEvent)
  497. '''<summary>
  498. '''Represents the strongly named DataTable class.
  499. '''</summary>
  500. <Global.System.Serializable(), _
  501. Global.System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")> _
  502. Partial Public Class SettingsDataTable
  503. Inherits Global.System.Data.DataTable
  504. Implements Global.System.Collections.IEnumerable
  505. Private columnName As Global.System.Data.DataColumn
  506. Private columnValue As Global.System.Data.DataColumn
  507. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  508. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  509. Public Sub New()
  510. MyBase.New
  511. Me.TableName = "Settings"
  512. Me.BeginInit
  513. Me.InitClass
  514. Me.EndInit
  515. End Sub
  516. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  517. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  518. Friend Sub New(ByVal table As Global.System.Data.DataTable)
  519. MyBase.New
  520. Me.TableName = table.TableName
  521. If (table.CaseSensitive <> table.DataSet.CaseSensitive) Then
  522. Me.CaseSensitive = table.CaseSensitive
  523. End If
  524. If (table.Locale.ToString <> table.DataSet.Locale.ToString) Then
  525. Me.Locale = table.Locale
  526. End If
  527. If (table.Namespace <> table.DataSet.Namespace) Then
  528. Me.Namespace = table.Namespace
  529. End If
  530. Me.Prefix = table.Prefix
  531. Me.MinimumCapacity = table.MinimumCapacity
  532. End Sub
  533. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  534. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  535. Protected Sub New(ByVal info As Global.System.Runtime.Serialization.SerializationInfo, ByVal context As Global.System.Runtime.Serialization.StreamingContext)
  536. MyBase.New(info, context)
  537. Me.InitVars
  538. End Sub
  539. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  540. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  541. Public ReadOnly Property NameColumn() As Global.System.Data.DataColumn
  542. Get
  543. Return Me.columnName
  544. End Get
  545. End Property
  546. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  547. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  548. Public ReadOnly Property ValueColumn() As Global.System.Data.DataColumn
  549. Get
  550. Return Me.columnValue
  551. End Get
  552. End Property
  553. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  554. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), _
  555. Global.System.ComponentModel.Browsable(false)> _
  556. Public ReadOnly Property Count() As Integer
  557. Get
  558. Return Me.Rows.Count
  559. End Get
  560. End Property
  561. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  562. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  563. Public Default ReadOnly Property Item(ByVal index As Integer) As SettingsRow
  564. Get
  565. Return CType(Me.Rows(index),SettingsRow)
  566. End Get
  567. End Property
  568. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  569. Public Event SettingsRowChanging As SettingsRowChangeEventHandler
  570. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  571. Public Event SettingsRowChanged As SettingsRowChangeEventHandler
  572. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  573. Public Event SettingsRowDeleting As SettingsRowChangeEventHandler
  574. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  575. Public Event SettingsRowDeleted As SettingsRowChangeEventHandler
  576. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  577. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  578. Public Overloads Sub AddSettingsRow(ByVal row As SettingsRow)
  579. Me.Rows.Add(row)
  580. End Sub
  581. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  582. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  583. Public Overloads Function AddSettingsRow(ByVal Name As String, ByVal Value As String) As SettingsRow
  584. Dim rowSettingsRow As SettingsRow = CType(Me.NewRow,SettingsRow)
  585. Dim columnValuesArray() As Object = New Object() {Name, Value}
  586. rowSettingsRow.ItemArray = columnValuesArray
  587. Me.Rows.Add(rowSettingsRow)
  588. Return rowSettingsRow
  589. End Function
  590. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  591. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  592. Public Function FindByName(ByVal Name As String) As SettingsRow
  593. Return CType(Me.Rows.Find(New Object() {Name}),SettingsRow)
  594. End Function
  595. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  596. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  597. Public Overridable Function GetEnumerator() As Global.System.Collections.IEnumerator Implements Global.System.Collections.IEnumerable.GetEnumerator
  598. Return Me.Rows.GetEnumerator
  599. End Function
  600. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  601. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  602. Public Overrides Function Clone() As Global.System.Data.DataTable
  603. Dim cln As SettingsDataTable = CType(MyBase.Clone,SettingsDataTable)
  604. cln.InitVars
  605. Return cln
  606. End Function
  607. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  608. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  609. Protected Overrides Function CreateInstance() As Global.System.Data.DataTable
  610. Return New SettingsDataTable()
  611. End Function
  612. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  613. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  614. Friend Sub InitVars()
  615. Me.columnName = MyBase.Columns("Name")
  616. Me.columnValue = MyBase.Columns("Value")
  617. End Sub
  618. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  619. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  620. Private Sub InitClass()
  621. Me.columnName = New Global.System.Data.DataColumn("Name", GetType(String), Nothing, Global.System.Data.MappingType.Element)
  622. MyBase.Columns.Add(Me.columnName)
  623. Me.columnValue = New Global.System.Data.DataColumn("Value", GetType(String), Nothing, Global.System.Data.MappingType.Element)
  624. MyBase.Columns.Add(Me.columnValue)
  625. Me.Constraints.Add(New Global.System.Data.UniqueConstraint("Constraint1", New Global.System.Data.DataColumn() {Me.columnName}, true))
  626. Me.columnName.AllowDBNull = false
  627. Me.columnName.Unique = true
  628. End Sub
  629. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  630. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  631. Public Function NewSettingsRow() As SettingsRow
  632. Return CType(Me.NewRow,SettingsRow)
  633. End Function
  634. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  635. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  636. Protected Overrides Function NewRowFromBuilder(ByVal builder As Global.System.Data.DataRowBuilder) As Global.System.Data.DataRow
  637. Return New SettingsRow(builder)
  638. End Function
  639. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  640. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  641. Protected Overrides Function GetRowType() As Global.System.Type
  642. Return GetType(SettingsRow)
  643. End Function
  644. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  645. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  646. Protected Overrides Sub OnRowChanged(ByVal e As Global.System.Data.DataRowChangeEventArgs)
  647. MyBase.OnRowChanged(e)
  648. If (Not (Me.SettingsRowChangedEvent) Is Nothing) Then
  649. RaiseEvent SettingsRowChanged(Me, New SettingsRowChangeEvent(CType(e.Row,SettingsRow), e.Action))
  650. End If
  651. End Sub
  652. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  653. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  654. Protected Overrides Sub OnRowChanging(ByVal e As Global.System.Data.DataRowChangeEventArgs)
  655. MyBase.OnRowChanging(e)
  656. If (Not (Me.SettingsRowChangingEvent) Is Nothing) Then
  657. RaiseEvent SettingsRowChanging(Me, New SettingsRowChangeEvent(CType(e.Row,SettingsRow), e.Action))
  658. End If
  659. End Sub
  660. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  661. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  662. Protected Overrides Sub OnRowDeleted(ByVal e As Global.System.Data.DataRowChangeEventArgs)
  663. MyBase.OnRowDeleted(e)
  664. If (Not (Me.SettingsRowDeletedEvent) Is Nothing) Then
  665. RaiseEvent SettingsRowDeleted(Me, New SettingsRowChangeEvent(CType(e.Row,SettingsRow), e.Action))
  666. End If
  667. End Sub
  668. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  669. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  670. Protected Overrides Sub OnRowDeleting(ByVal e As Global.System.Data.DataRowChangeEventArgs)
  671. MyBase.OnRowDeleting(e)
  672. If (Not (Me.SettingsRowDeletingEvent) Is Nothing) Then
  673. RaiseEvent SettingsRowDeleting(Me, New SettingsRowChangeEvent(CType(e.Row,SettingsRow), e.Action))
  674. End If
  675. End Sub
  676. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  677. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  678. Public Sub RemoveSettingsRow(ByVal row As SettingsRow)
  679. Me.Rows.Remove(row)
  680. End Sub
  681. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  682. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  683. Public Shared Function GetTypedTableSchema(ByVal xs As Global.System.Xml.Schema.XmlSchemaSet) As Global.System.Xml.Schema.XmlSchemaComplexType
  684. Dim type As Global.System.Xml.Schema.XmlSchemaComplexType = New Global.System.Xml.Schema.XmlSchemaComplexType()
  685. Dim sequence As Global.System.Xml.Schema.XmlSchemaSequence = New Global.System.Xml.Schema.XmlSchemaSequence()
  686. Dim ds As Data = New Data()
  687. Dim any1 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
  688. any1.Namespace = "http://www.w3.org/2001/XMLSchema"
  689. any1.MinOccurs = New Decimal(0)
  690. any1.MaxOccurs = Decimal.MaxValue
  691. any1.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
  692. sequence.Items.Add(any1)
  693. Dim any2 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
  694. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"
  695. any2.MinOccurs = New Decimal(1)
  696. any2.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
  697. sequence.Items.Add(any2)
  698. Dim attribute1 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
  699. attribute1.Name = "namespace"
  700. attribute1.FixedValue = ds.Namespace
  701. type.Attributes.Add(attribute1)
  702. Dim attribute2 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
  703. attribute2.Name = "tableTypeName"
  704. attribute2.FixedValue = "SettingsDataTable"
  705. type.Attributes.Add(attribute2)
  706. type.Particle = sequence
  707. Dim dsSchema As Global.System.Xml.Schema.XmlSchema = ds.GetSchemaSerializable
  708. If xs.Contains(dsSchema.TargetNamespace) Then
  709. Dim s1 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
  710. Dim s2 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
  711. Try
  712. Dim schema As Global.System.Xml.Schema.XmlSchema = Nothing
  713. dsSchema.Write(s1)
  714. Dim schemas As Global.System.Collections.IEnumerator = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator
  715. Do While schemas.MoveNext
  716. schema = CType(schemas.Current,Global.System.Xml.Schema.XmlSchema)
  717. s2.SetLength(0)
  718. schema.Write(s2)
  719. If (s1.Length = s2.Length) Then
  720. s1.Position = 0
  721. s2.Position = 0
  722. Do While ((s1.Position <> s1.Length) _
  723. AndAlso (s1.ReadByte = s2.ReadByte))
  724. Loop
  725. If (s1.Position = s1.Length) Then
  726. Return type
  727. End If
  728. End If
  729. Loop
  730. Finally
  731. If (Not (s1) Is Nothing) Then
  732. s1.Close
  733. End If
  734. If (Not (s2) Is Nothing) Then
  735. s2.Close
  736. End If
  737. End Try
  738. End If
  739. xs.Add(dsSchema)
  740. Return type
  741. End Function
  742. End Class
  743. '''<summary>
  744. '''Represents the strongly named DataTable class.
  745. '''</summary>
  746. <Global.System.Serializable(), _
  747. Global.System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")> _
  748. Partial Public Class SongsDataTable
  749. Inherits Global.System.Data.DataTable
  750. Implements Global.System.Collections.IEnumerable
  751. Private columnSongID As Global.System.Data.DataColumn
  752. Private columnTitle As Global.System.Data.DataColumn
  753. Private columnLicenseID As Global.System.Data.DataColumn
  754. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  755. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  756. Public Sub New()
  757. MyBase.New
  758. Me.TableName = "Songs"
  759. Me.BeginInit
  760. Me.InitClass
  761. Me.EndInit
  762. End Sub
  763. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  764. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  765. Friend Sub New(ByVal table As Global.System.Data.DataTable)
  766. MyBase.New
  767. Me.TableName = table.TableName
  768. If (table.CaseSensitive <> table.DataSet.CaseSensitive) Then
  769. Me.CaseSensitive = table.CaseSensitive
  770. End If
  771. If (table.Locale.ToString <> table.DataSet.Locale.ToString) Then
  772. Me.Locale = table.Locale
  773. End If
  774. If (table.Namespace <> table.DataSet.Namespace) Then
  775. Me.Namespace = table.Namespace
  776. End If
  777. Me.Prefix = table.Prefix
  778. Me.MinimumCapacity = table.MinimumCapacity
  779. End Sub
  780. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  781. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  782. Protected Sub New(ByVal info As Global.System.Runtime.Serialization.SerializationInfo, ByVal context As Global.System.Runtime.Serialization.StreamingContext)
  783. MyBase.New(info, context)
  784. Me.InitVars
  785. End Sub
  786. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  787. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  788. Public ReadOnly Property SongIDColumn() As Global.System.Data.DataColumn
  789. Get
  790. Return Me.columnSongID
  791. End Get
  792. End Property
  793. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  794. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  795. Public ReadOnly Property TitleColumn() As Global.System.Data.DataColumn
  796. Get
  797. Return Me.columnTitle
  798. End Get
  799. End Property
  800. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  801. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  802. Public ReadOnly Property LicenseIDColumn() As Global.System.Data.DataColumn
  803. Get
  804. Return Me.columnLicenseID
  805. End Get
  806. End Property
  807. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  808. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), _
  809. Global.System.ComponentModel.Browsable(false)> _
  810. Public ReadOnly Property Count() As Integer
  811. Get
  812. Return Me.Rows.Count
  813. End Get
  814. End Property
  815. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  816. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  817. Public Default ReadOnly Property Item(ByVal index As Integer) As SongsRow
  818. Get
  819. Return CType(Me.Rows(index),SongsRow)
  820. End Get
  821. End Property
  822. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  823. Public Event SongsRowChanging As SongsRowChangeEventHandler
  824. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  825. Public Event SongsRowChanged As SongsRowChangeEventHandler
  826. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  827. Public Event SongsRowDeleting As SongsRowChangeEventHandler
  828. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  829. Public Event SongsRowDeleted As SongsRowChangeEventHandler
  830. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  831. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  832. Public Overloads Sub AddSongsRow(ByVal row As SongsRow)
  833. Me.Rows.Add(row)
  834. End Sub
  835. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  836. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  837. Public Overloads Function AddSongsRow(ByVal SongID As System.Guid, ByVal Title As String, ByVal parentLicensesRowByLicenses_Songs As LicensesRow) As SongsRow
  838. Dim rowSongsRow As SongsRow = CType(Me.NewRow,SongsRow)
  839. Dim columnValuesArray() As Object = New Object() {SongID, Title, Nothing}
  840. If (Not (parentLicensesRowByLicenses_Songs) Is Nothing) Then
  841. columnValuesArray(2) = parentLicensesRowByLicenses_Songs(0)
  842. End If
  843. rowSongsRow.ItemArray = columnValuesArray
  844. Me.Rows.Add(rowSongsRow)
  845. Return rowSongsRow
  846. End Function
  847. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  848. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  849. Public Function FindBySongID(ByVal SongID As System.Guid) As SongsRow
  850. Return CType(Me.Rows.Find(New Object() {SongID}),SongsRow)
  851. End Function
  852. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  853. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  854. Public Overridable Function GetEnumerator() As Global.System.Collections.IEnumerator Implements Global.System.Collections.IEnumerable.GetEnumerator
  855. Return Me.Rows.GetEnumerator
  856. End Function
  857. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  858. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  859. Public Overrides Function Clone() As Global.System.Data.DataTable
  860. Dim cln As SongsDataTable = CType(MyBase.Clone,SongsDataTable)
  861. cln.InitVars
  862. Return cln
  863. End Function
  864. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  865. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  866. Protected Overrides Function CreateInstance() As Global.System.Data.DataTable
  867. Return New SongsDataTable()
  868. End Function
  869. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  870. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  871. Friend Sub InitVars()
  872. Me.columnSongID = MyBase.Columns("SongID")
  873. Me.columnTitle = MyBase.Columns("Title")
  874. Me.columnLicenseID = MyBase.Columns("LicenseID")
  875. End Sub
  876. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  877. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  878. Private Sub InitClass()
  879. Me.columnSongID = New Global.System.Data.DataColumn("SongID", GetType(Global.System.Guid), Nothing, Global.System.Data.MappingType.Element)
  880. MyBase.Columns.Add(Me.columnSongID)
  881. Me.columnTitle = New Global.System.Data.DataColumn("Title", GetType(String), Nothing, Global.System.Data.MappingType.Element)
  882. MyBase.Columns.Add(Me.columnTitle)
  883. Me.columnLicenseID = New Global.System.Data.DataColumn("LicenseID", GetType(Global.System.Guid), Nothing, Global.System.Data.MappingType.Element)
  884. MyBase.Columns.Add(Me.columnLicenseID)
  885. Me.Constraints.Add(New Global.System.Data.UniqueConstraint("Constraint1", New Global.System.Data.DataColumn() {Me.columnSongID}, true))
  886. Me.columnSongID.AllowDBNull = false
  887. Me.columnSongID.Unique = true
  888. End Sub
  889. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  890. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  891. Public Function NewSongsRow() As SongsRow
  892. Return CType(Me.NewRow,SongsRow)
  893. End Function
  894. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  895. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  896. Protected Overrides Function NewRowFromBuilder(ByVal builder As Global.System.Data.DataRowBuilder) As Global.System.Data.DataRow
  897. Return New SongsRow(builder)
  898. End Function
  899. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  900. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  901. Protected Overrides Function GetRowType() As Global.System.Type
  902. Return GetType(SongsRow)
  903. End Function
  904. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  905. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  906. Protected Overrides Sub OnRowChanged(ByVal e As Global.System.Data.DataRowChangeEventArgs)
  907. MyBase.OnRowChanged(e)
  908. If (Not (Me.SongsRowChangedEvent) Is Nothing) Then
  909. RaiseEvent SongsRowChanged(Me, New SongsRowChangeEvent(CType(e.Row,SongsRow), e.Action))
  910. End If
  911. End Sub
  912. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  913. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  914. Protected Overrides Sub OnRowChanging(ByVal e As Global.System.Data.DataRowChangeEventArgs)
  915. MyBase.OnRowChanging(e)
  916. If (Not (Me.SongsRowChangingEvent) Is Nothing) Then
  917. RaiseEvent SongsRowChanging(Me, New SongsRowChangeEvent(CType(e.Row,SongsRow), e.Action))
  918. End If
  919. End Sub
  920. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  921. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  922. Protected Overrides Sub OnRowDeleted(ByVal e As Global.System.Data.DataRowChangeEventArgs)
  923. MyBase.OnRowDeleted(e)
  924. If (Not (Me.SongsRowDeletedEvent) Is Nothing) Then
  925. RaiseEvent SongsRowDeleted(Me, New SongsRowChangeEvent(CType(e.Row,SongsRow), e.Action))
  926. End If
  927. End Sub
  928. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  929. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  930. Protected Overrides Sub OnRowDeleting(ByVal e As Global.System.Data.DataRowChangeEventArgs)
  931. MyBase.OnRowDeleting(e)
  932. If (Not (Me.SongsRowDeletingEvent) Is Nothing) Then
  933. RaiseEvent SongsRowDeleting(Me, New SongsRowChangeEvent(CType(e.Row,SongsRow), e.Action))
  934. End If
  935. End Sub
  936. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  937. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  938. Public Sub RemoveSongsRow(ByVal row As SongsRow)
  939. Me.Rows.Remove(row)
  940. End Sub
  941. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  942. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  943. Public Shared Function GetTypedTableSchema(ByVal xs As Global.System.Xml.Schema.XmlSchemaSet) As Global.System.Xml.Schema.XmlSchemaComplexType
  944. Dim type As Global.System.Xml.Schema.XmlSchemaComplexType = New Global.System.Xml.Schema.XmlSchemaComplexType()
  945. Dim sequence As Global.System.Xml.Schema.XmlSchemaSequence = New Global.System.Xml.Schema.XmlSchemaSequence()
  946. Dim ds As Data = New Data()
  947. Dim any1 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
  948. any1.Namespace = "http://www.w3.org/2001/XMLSchema"
  949. any1.MinOccurs = New Decimal(0)
  950. any1.MaxOccurs = Decimal.MaxValue
  951. any1.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
  952. sequence.Items.Add(any1)
  953. Dim any2 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
  954. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"
  955. any2.MinOccurs = New Decimal(1)
  956. any2.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
  957. sequence.Items.Add(any2)
  958. Dim attribute1 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
  959. attribute1.Name = "namespace"
  960. attribute1.FixedValue = ds.Namespace
  961. type.Attributes.Add(attribute1)
  962. Dim attribute2 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
  963. attribute2.Name = "tableTypeName"
  964. attribute2.FixedValue = "SongsDataTable"
  965. type.Attributes.Add(attribute2)
  966. type.Particle = sequence
  967. Dim dsSchema As Global.System.Xml.Schema.XmlSchema = ds.GetSchemaSerializable
  968. If xs.Contains(dsSchema.TargetNamespace) Then
  969. Dim s1 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
  970. Dim s2 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
  971. Try
  972. Dim schema As Global.System.Xml.Schema.XmlSchema = Nothing
  973. dsSchema.Write(s1)
  974. Dim schemas As Global.System.Collections.IEnumerator = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator
  975. Do While schemas.MoveNext
  976. schema = CType(schemas.Current,Global.System.Xml.Schema.XmlSchema)
  977. s2.SetLength(0)
  978. schema.Write(s2)
  979. If (s1.Length = s2.Length) Then
  980. s1.Position = 0
  981. s2.Position = 0
  982. Do While ((s1.Position <> s1.Length) _
  983. AndAlso (s1.ReadByte = s2.ReadByte))
  984. Loop
  985. If (s1.Position = s1.Length) Then
  986. Return type
  987. End If
  988. End If
  989. Loop
  990. Finally
  991. If (Not (s1) Is Nothing) Then
  992. s1.Close
  993. End If
  994. If (Not (s2) Is Nothing) Then
  995. s2.Close
  996. End If
  997. End Try
  998. End If
  999. xs.Add(dsSchema)
  1000. Return type
  1001. End Function
  1002. End Class
  1003. '''<summary>
  1004. '''Represents the strongly named DataTable class.
  1005. '''</summary>
  1006. <Global.System.Serializable(), _
  1007. Global.System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")> _
  1008. Partial Public Class StylesDataTable
  1009. Inherits Global.System.Data.DataTable
  1010. Implements Global.System.Collections.IEnumerable
  1011. Private columnStyleID As Global.System.Data.DataColumn
  1012. Private columnName As Global.System.Data.DataColumn
  1013. Private columnDefaultBackgroundImage As Global.System.Data.DataColumn
  1014. Private columnDefaultBackgroundColour As Global.System.Data.DataColumn
  1015. Private columnGeneralFadeDuration As Global.System.Data.DataColumn
  1016. Private columnVerseFade As Global.System.Data.DataColumn
  1017. Private columnVerseFadeDuration As Global.System.Data.DataColumn
  1018. Private columnGeneralFade As Global.System.Data.DataColumn
  1019. Private columnBackgroundType As Global.System.Data.DataColumn
  1020. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1021. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1022. Public Sub New()
  1023. MyBase.New
  1024. Me.TableName = "Styles"
  1025. Me.BeginInit
  1026. Me.InitClass
  1027. Me.EndInit
  1028. End Sub
  1029. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1030. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1031. Friend Sub New(ByVal table As Global.System.Data.DataTable)
  1032. MyBase.New
  1033. Me.TableName = table.TableName
  1034. If (table.CaseSensitive <> table.DataSet.CaseSensitive) Then
  1035. Me.CaseSensitive = table.CaseSensitive
  1036. End If
  1037. If (table.Locale.ToString <> table.DataSet.Locale.ToString) Then
  1038. Me.Locale = table.Locale
  1039. End If
  1040. If (table.Namespace <> table.DataSet.Namespace) Then
  1041. Me.Namespace = table.Namespace
  1042. End If
  1043. Me.Prefix = table.Prefix
  1044. Me.MinimumCapacity = table.MinimumCapacity
  1045. End Sub
  1046. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1047. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1048. Protected Sub New(ByVal info As Global.System.Runtime.Serialization.SerializationInfo, ByVal context As Global.System.Runtime.Serialization.StreamingContext)
  1049. MyBase.New(info, context)
  1050. Me.InitVars
  1051. End Sub
  1052. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1053. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1054. Public ReadOnly Property StyleIDColumn() As Global.System.Data.DataColumn
  1055. Get
  1056. Return Me.columnStyleID
  1057. End Get
  1058. End Property
  1059. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1060. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1061. Public ReadOnly Property NameColumn() As Global.System.Data.DataColumn
  1062. Get
  1063. Return Me.columnName
  1064. End Get
  1065. End Property
  1066. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1067. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1068. Public ReadOnly Property DefaultBackgroundImageColumn() As Global.System.Data.DataColumn
  1069. Get
  1070. Return Me.columnDefaultBackgroundImage
  1071. End Get
  1072. End Property
  1073. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1074. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1075. Public ReadOnly Property DefaultBackgroundColourColumn() As Global.System.Data.DataColumn
  1076. Get
  1077. Return Me.columnDefaultBackgroundColour
  1078. End Get
  1079. End Property
  1080. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1081. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1082. Public ReadOnly Property GeneralFadeDurationColumn() As Global.System.Data.DataColumn
  1083. Get
  1084. Return Me.columnGeneralFadeDuration
  1085. End Get
  1086. End Property
  1087. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1088. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1089. Public ReadOnly Property VerseFadeColumn() As Global.System.Data.DataColumn
  1090. Get
  1091. Return Me.columnVerseFade
  1092. End Get
  1093. End Property
  1094. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1095. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1096. Public ReadOnly Property VerseFadeDurationColumn() As Global.System.Data.DataColumn
  1097. Get
  1098. Return Me.columnVerseFadeDuration
  1099. End Get
  1100. End Property
  1101. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1102. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1103. Public ReadOnly Property GeneralFadeColumn() As Global.System.Data.DataColumn
  1104. Get
  1105. Return Me.columnGeneralFade
  1106. End Get
  1107. End Property
  1108. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1109. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1110. Public ReadOnly Property BackgroundTypeColumn() As Global.System.Data.DataColumn
  1111. Get
  1112. Return Me.columnBackgroundType
  1113. End Get
  1114. End Property
  1115. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1116. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), _
  1117. Global.System.ComponentModel.Browsable(false)> _
  1118. Public ReadOnly Property Count() As Integer
  1119. Get
  1120. Return Me.Rows.Count
  1121. End Get
  1122. End Property
  1123. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1124. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1125. Public Default ReadOnly Property Item(ByVal index As Integer) As StylesRow
  1126. Get
  1127. Return CType(Me.Rows(index),StylesRow)
  1128. End Get
  1129. End Property
  1130. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1131. Public Event StylesRowChanging As StylesRowChangeEventHandler
  1132. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1133. Public Event StylesRowChanged As StylesRowChangeEventHandler
  1134. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1135. Public Event StylesRowDeleting As StylesRowChangeEventHandler
  1136. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1137. Public Event StylesRowDeleted As StylesRowChangeEventHandler
  1138. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1139. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1140. Public Overloads Sub AddStylesRow(ByVal row As StylesRow)
  1141. Me.Rows.Add(row)
  1142. End Sub
  1143. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1144. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1145. Public Overloads Function AddStylesRow(ByVal StyleID As System.Guid, ByVal Name As String, ByVal DefaultBackgroundImage As String, ByVal DefaultBackgroundColour As Integer, ByVal GeneralFadeDuration As Integer, ByVal VerseFade As Integer, ByVal VerseFadeDuration As Integer, ByVal GeneralFade As Integer, ByVal BackgroundType As Integer) As StylesRow
  1146. Dim rowStylesRow As StylesRow = CType(Me.NewRow,StylesRow)
  1147. Dim columnValuesArray() As Object = New Object() {StyleID, Name, DefaultBackgroundImage, DefaultBackgroundColour, GeneralFadeDuration, VerseFade, VerseFadeDuration, GeneralFade, BackgroundType}
  1148. rowStylesRow.ItemArray = columnValuesArray
  1149. Me.Rows.Add(rowStylesRow)
  1150. Return rowStylesRow
  1151. End Function
  1152. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1153. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1154. Public Function FindByStyleID(ByVal StyleID As System.Guid) As StylesRow
  1155. Return CType(Me.Rows.Find(New Object() {StyleID}),StylesRow)
  1156. End Function
  1157. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1158. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1159. Public Overridable Function GetEnumerator() As Global.System.Collections.IEnumerator Implements Global.System.Collections.IEnumerable.GetEnumerator
  1160. Return Me.Rows.GetEnumerator
  1161. End Function
  1162. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1163. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1164. Public Overrides Function Clone() As Global.System.Data.DataTable
  1165. Dim cln As StylesDataTable = CType(MyBase.Clone,StylesDataTable)
  1166. cln.InitVars
  1167. Return cln
  1168. End Function
  1169. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1170. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1171. Protected Overrides Function CreateInstance() As Global.System.Data.DataTable
  1172. Return New StylesDataTable()
  1173. End Function
  1174. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1175. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1176. Friend Sub InitVars()
  1177. Me.columnStyleID = MyBase.Columns("StyleID")
  1178. Me.columnName = MyBase.Columns("Name")
  1179. Me.columnDefaultBackgroundImage = MyBase.Columns("DefaultBackgroundImage")
  1180. Me.columnDefaultBackgroundColour = MyBase.Columns("DefaultBackgroundColour")
  1181. Me.columnGeneralFadeDuration = MyBase.Columns("GeneralFadeDuration")
  1182. Me.columnVerseFade = MyBase.Columns("VerseFade")
  1183. Me.columnVerseFadeDuration = MyBase.Columns("VerseFadeDuration")
  1184. Me.columnGeneralFade = MyBase.Columns("GeneralFade")
  1185. Me.columnBackgroundType = MyBase.Columns("BackgroundType")
  1186. End Sub
  1187. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1188. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1189. Private Sub InitClass()
  1190. Me.columnStyleID = New Global.System.Data.DataColumn("StyleID", GetType(Global.System.Guid), Nothing, Global.System.Data.MappingType.Element)
  1191. MyBase.Columns.Add(Me.columnStyleID)
  1192. Me.columnName = New Global.System.Data.DataColumn("Name", GetType(String), Nothing, Global.System.Data.MappingType.Element)
  1193. MyBase.Columns.Add(Me.columnName)
  1194. Me.columnDefaultBackgroundImage = New Global.System.Data.DataColumn("DefaultBackgroundImage", GetType(String), Nothing, Global.System.Data.MappingType.Element)
  1195. MyBase.Columns.Add(Me.columnDefaultBackgroundImage)
  1196. Me.columnDefaultBackgroundColour = New Global.System.Data.DataColumn("DefaultBackgroundColour", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
  1197. MyBase.Columns.Add(Me.columnDefaultBackgroundColour)
  1198. Me.columnGeneralFadeDuration = New Global.System.Data.DataColumn("GeneralFadeDuration", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
  1199. MyBase.Columns.Add(Me.columnGeneralFadeDuration)
  1200. Me.columnVerseFade = New Global.System.Data.DataColumn("VerseFade", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
  1201. MyBase.Columns.Add(Me.columnVerseFade)
  1202. Me.columnVerseFadeDuration = New Global.System.Data.DataColumn("VerseFadeDuration", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
  1203. MyBase.Columns.Add(Me.columnVerseFadeDuration)
  1204. Me.columnGeneralFade = New Global.System.Data.DataColumn("GeneralFade", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
  1205. MyBase.Columns.Add(Me.columnGeneralFade)
  1206. Me.columnBackgroundType = New Global.System.Data.DataColumn("BackgroundType", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
  1207. MyBase.Columns.Add(Me.columnBackgroundType)
  1208. Me.Constraints.Add(New Global.System.Data.UniqueConstraint("Constraint1", New Global.System.Data.DataColumn() {Me.columnStyleID}, true))
  1209. Me.Constraints.Add(New Global.System.Data.UniqueConstraint("Constraint2", New Global.System.Data.DataColumn() {Me.columnName}, false))
  1210. Me.columnStyleID.AllowDBNull = false
  1211. Me.columnStyleID.Unique = true
  1212. Me.columnName.Unique = true
  1213. Me.columnDefaultBackgroundImage.DefaultValue = CType("",String)
  1214. Me.columnDefaultBackgroundColour.DefaultValue = CType(0,Integer)
  1215. End Sub
  1216. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1217. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1218. Public Function NewStylesRow() As StylesRow
  1219. Return CType(Me.NewRow,StylesRow)
  1220. End Function
  1221. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1222. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1223. Protected Overrides Function NewRowFromBuilder(ByVal builder As Global.System.Data.DataRowBuilder) As Global.System.Data.DataRow
  1224. Return New StylesRow(builder)
  1225. End Function
  1226. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1227. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1228. Protected Overrides Function GetRowType() As Global.System.Type
  1229. Return GetType(StylesRow)
  1230. End Function
  1231. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1232. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1233. Protected Overrides Sub OnRowChanged(ByVal e As Global.System.Data.DataRowChangeEventArgs)
  1234. MyBase.OnRowChanged(e)
  1235. If (Not (Me.StylesRowChangedEvent) Is Nothing) Then
  1236. RaiseEvent StylesRowChanged(Me, New StylesRowChangeEvent(CType(e.Row,StylesRow), e.Action))
  1237. End If
  1238. End Sub
  1239. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1240. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1241. Protected Overrides Sub OnRowChanging(ByVal e As Global.System.Data.DataRowChangeEventArgs)
  1242. MyBase.OnRowChanging(e)
  1243. If (Not (Me.StylesRowChangingEvent) Is Nothing) Then
  1244. RaiseEvent StylesRowChanging(Me, New StylesRowChangeEvent(CType(e.Row,StylesRow), e.Action))
  1245. End If
  1246. End Sub
  1247. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1248. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1249. Protected Overrides Sub OnRowDeleted(ByVal e As Global.System.Data.DataRowChangeEventArgs)
  1250. MyBase.OnRowDeleted(e)
  1251. If (Not (Me.StylesRowDeletedEvent) Is Nothing) Then
  1252. RaiseEvent StylesRowDeleted(Me, New StylesRowChangeEvent(CType(e.Row,StylesRow), e.Action))
  1253. End If
  1254. End Sub
  1255. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1256. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1257. Protected Overrides Sub OnRowDeleting(ByVal e As Global.System.Data.DataRowChangeEventArgs)
  1258. MyBase.OnRowDeleting(e)
  1259. If (Not (Me.StylesRowDeletingEvent) Is Nothing) Then
  1260. RaiseEvent StylesRowDeleting(Me, New StylesRowChangeEvent(CType(e.Row,StylesRow), e.Action))
  1261. End If
  1262. End Sub
  1263. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1264. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1265. Public Sub RemoveStylesRow(ByVal row As StylesRow)
  1266. Me.Rows.Remove(row)
  1267. End Sub
  1268. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1269. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1270. Public Shared Function GetTypedTableSchema(ByVal xs As Global.System.Xml.Schema.XmlSchemaSet) As Global.System.Xml.Schema.XmlSchemaComplexType
  1271. Dim type As Global.System.Xml.Schema.XmlSchemaComplexType = New Global.System.Xml.Schema.XmlSchemaComplexType()
  1272. Dim sequence As Global.System.Xml.Schema.XmlSchemaSequence = New Global.System.Xml.Schema.XmlSchemaSequence()
  1273. Dim ds As Data = New Data()
  1274. Dim any1 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
  1275. any1.Namespace = "http://www.w3.org/2001/XMLSchema"
  1276. any1.MinOccurs = New Decimal(0)
  1277. any1.MaxOccurs = Decimal.MaxValue
  1278. any1.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
  1279. sequence.Items.Add(any1)
  1280. Dim any2 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
  1281. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"
  1282. any2.MinOccurs = New Decimal(1)
  1283. any2.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
  1284. sequence.Items.Add(any2)
  1285. Dim attribute1 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
  1286. attribute1.Name = "namespace"
  1287. attribute1.FixedValue = ds.Namespace
  1288. type.Attributes.Add(attribute1)
  1289. Dim attribute2 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
  1290. attribute2.Name = "tableTypeName"
  1291. attribute2.FixedValue = "StylesDataTable"
  1292. type.Attributes.Add(attribute2)
  1293. type.Particle = sequence
  1294. Dim dsSchema As Global.System.Xml.Schema.XmlSchema = ds.GetSchemaSerializable
  1295. If xs.Contains(dsSchema.TargetNamespace) Then
  1296. Dim s1 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
  1297. Dim s2 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
  1298. Try
  1299. Dim schema As Global.System.Xml.Schema.XmlSchema = Nothing
  1300. dsSchema.Write(s1)
  1301. Dim schemas As Global.System.Collections.IEnumerator = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator
  1302. Do While schemas.MoveNext
  1303. schema = CType(schemas.Current,Global.System.Xml.Schema.XmlSchema)
  1304. s2.SetLength(0)
  1305. schema.Write(s2)
  1306. If (s1.Length = s2.Length) Then
  1307. s1.Position = 0
  1308. s2.Position = 0
  1309. Do While ((s1.Position <> s1.Length) _
  1310. AndAlso (s1.ReadByte = s2.ReadByte))
  1311. Loop
  1312. If (s1.Position = s1.Length) Then
  1313. Return type
  1314. End If
  1315. End If
  1316. Loop
  1317. Finally
  1318. If (Not (s1) Is Nothing) Then
  1319. s1.Close
  1320. End If
  1321. If (Not (s2) Is Nothing) Then
  1322. s2.Close
  1323. End If
  1324. End Try
  1325. End If
  1326. xs.Add(dsSchema)
  1327. Return type
  1328. End Function
  1329. End Class
  1330. '''<summary>
  1331. '''Represents the strongly named DataTable class.
  1332. '''</summary>
  1333. <Global.System.Serializable(), _
  1334. Global.System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")> _
  1335. Partial Public Class BiblesDataTable
  1336. Inherits Global.System.Data.DataTable
  1337. Implements Global.System.Collections.IEnumerable
  1338. Private columnAcronym As Global.System.Data.DataColumn
  1339. Private columnFileName As Global.System.Data.DataColumn
  1340. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1341. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1342. Public Sub New()
  1343. MyBase.New
  1344. Me.TableName = "Bibles"
  1345. Me.BeginInit
  1346. Me.InitClass
  1347. Me.EndInit
  1348. End Sub
  1349. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1350. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1351. Friend Sub New(ByVal table As Global.System.Data.DataTable)
  1352. MyBase.New
  1353. Me.TableName = table.TableName
  1354. If (table.CaseSensitive <> table.DataSet.CaseSensitive) Then
  1355. Me.CaseSensitive = table.CaseSensitive
  1356. End If
  1357. If (table.Locale.ToString <> table.DataSet.Locale.ToString) Then
  1358. Me.Locale = table.Locale
  1359. End If
  1360. If (table.Namespace <> table.DataSet.Namespace) Then
  1361. Me.Namespace = table.Namespace
  1362. End If
  1363. Me.Prefix = table.Prefix
  1364. Me.MinimumCapacity = table.MinimumCapacity
  1365. End Sub
  1366. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1367. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1368. Protected Sub New(ByVal info As Global.System.Runtime.Serialization.SerializationInfo, ByVal context As Global.System.Runtime.Serialization.StreamingContext)
  1369. MyBase.New(info, context)
  1370. Me.InitVars
  1371. End Sub
  1372. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1373. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1374. Public ReadOnly Property AcronymColumn() As Global.System.Data.DataColumn
  1375. Get
  1376. Return Me.columnAcronym
  1377. End Get
  1378. End Property
  1379. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1380. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1381. Public ReadOnly Property FileNameColumn() As Global.System.Data.DataColumn
  1382. Get
  1383. Return Me.columnFileName
  1384. End Get
  1385. End Property
  1386. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1387. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), _
  1388. Global.System.ComponentModel.Browsable(false)> _
  1389. Public ReadOnly Property Count() As Integer
  1390. Get
  1391. Return Me.Rows.Count
  1392. End Get
  1393. End Property
  1394. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1395. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1396. Public Default ReadOnly Property Item(ByVal index As Integer) As BiblesRow
  1397. Get
  1398. Return CType(Me.Rows(index),BiblesRow)
  1399. End Get
  1400. End Property
  1401. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1402. Public Event BiblesRowChanging As BiblesRowChangeEventHandler
  1403. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1404. Public Event BiblesRowChanged As BiblesRowChangeEventHandler
  1405. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1406. Public Event BiblesRowDeleting As BiblesRowChangeEventHandler
  1407. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1408. Public Event BiblesRowDeleted As BiblesRowChangeEventHandler
  1409. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1410. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1411. Public Overloads Sub AddBiblesRow(ByVal row As BiblesRow)
  1412. Me.Rows.Add(row)
  1413. End Sub
  1414. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1415. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1416. Public Overloads Function AddBiblesRow(ByVal Acronym As String, ByVal FileName As String) As BiblesRow
  1417. Dim rowBiblesRow As BiblesRow = CType(Me.NewRow,BiblesRow)
  1418. Dim columnValuesArray() As Object = New Object() {Acronym, FileName}
  1419. rowBiblesRow.ItemArray = columnValuesArray
  1420. Me.Rows.Add(rowBiblesRow)
  1421. Return rowBiblesRow
  1422. End Function
  1423. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1424. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1425. Public Overridable Function GetEnumerator() As Global.System.Collections.IEnumerator Implements Global.System.Collections.IEnumerable.GetEnumerator
  1426. Return Me.Rows.GetEnumerator
  1427. End Function
  1428. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1429. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1430. Public Overrides Function Clone() As Global.System.Data.DataTable
  1431. Dim cln As BiblesDataTable = CType(MyBase.Clone,BiblesDataTable)
  1432. cln.InitVars
  1433. Return cln
  1434. End Function
  1435. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1436. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1437. Protected Overrides Function CreateInstance() As Global.System.Data.DataTable
  1438. Return New BiblesDataTable()
  1439. End Function
  1440. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1441. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1442. Friend Sub InitVars()
  1443. Me.columnAcronym = MyBase.Columns("Acronym")
  1444. Me.columnFileName = MyBase.Columns("FileName")
  1445. End Sub
  1446. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1447. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1448. Private Sub InitClass()
  1449. Me.columnAcronym = New Global.System.Data.DataColumn("Acronym", GetType(String), Nothing, Global.System.Data.MappingType.Element)
  1450. MyBase.Columns.Add(Me.columnAcronym)
  1451. Me.columnFileName = New Global.System.Data.DataColumn("FileName", GetType(String), Nothing, Global.System.Data.MappingType.Element)
  1452. MyBase.Columns.Add(Me.columnFileName)
  1453. End Sub
  1454. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1455. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1456. Public Function NewBiblesRow() As BiblesRow
  1457. Return CType(Me.NewRow,BiblesRow)
  1458. End Function
  1459. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1460. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1461. Protected Overrides Function NewRowFromBuilder(ByVal builder As Global.System.Data.DataRowBuilder) As Global.System.Data.DataRow
  1462. Return New BiblesRow(builder)
  1463. End Function
  1464. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1465. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1466. Protected Overrides Function GetRowType() As Global.System.Type
  1467. Return GetType(BiblesRow)
  1468. End Function
  1469. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1470. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1471. Protected Overrides Sub OnRowChanged(ByVal e As Global.System.Data.DataRowChangeEventArgs)
  1472. MyBase.OnRowChanged(e)
  1473. If (Not (Me.BiblesRowChangedEvent) Is Nothing) Then
  1474. RaiseEvent BiblesRowChanged(Me, New BiblesRowChangeEvent(CType(e.Row,BiblesRow), e.Action))
  1475. End If
  1476. End Sub
  1477. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1478. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1479. Protected Overrides Sub OnRowChanging(ByVal e As Global.System.Data.DataRowChangeEventArgs)
  1480. MyBase.OnRowChanging(e)
  1481. If (Not (Me.BiblesRowChangingEvent) Is Nothing) Then
  1482. RaiseEvent BiblesRowChanging(Me, New BiblesRowChangeEvent(CType(e.Row,BiblesRow), e.Action))
  1483. End If
  1484. End Sub
  1485. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1486. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1487. Protected Overrides Sub OnRowDeleted(ByVal e As Global.System.Data.DataRowChangeEventArgs)
  1488. MyBase.OnRowDeleted(e)
  1489. If (Not (Me.BiblesRowDeletedEvent) Is Nothing) Then
  1490. RaiseEvent BiblesRowDeleted(Me, New BiblesRowChangeEvent(CType(e.Row,BiblesRow), e.Action))
  1491. End If
  1492. End Sub
  1493. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1494. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1495. Protected Overrides Sub OnRowDeleting(ByVal e As Global.System.Data.DataRowChangeEventArgs)
  1496. MyBase.OnRowDeleting(e)
  1497. If (Not (Me.BiblesRowDeletingEvent) Is Nothing) Then
  1498. RaiseEvent BiblesRowDeleting(Me, New BiblesRowChangeEvent(CType(e.Row,BiblesRow), e.Action))
  1499. End If
  1500. End Sub
  1501. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1502. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1503. Public Sub RemoveBiblesRow(ByVal row As BiblesRow)
  1504. Me.Rows.Remove(row)
  1505. End Sub
  1506. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1507. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1508. Public Shared Function GetTypedTableSchema(ByVal xs As Global.System.Xml.Schema.XmlSchemaSet) As Global.System.Xml.Schema.XmlSchemaComplexType
  1509. Dim type As Global.System.Xml.Schema.XmlSchemaComplexType = New Global.System.Xml.Schema.XmlSchemaComplexType()
  1510. Dim sequence As Global.System.Xml.Schema.XmlSchemaSequence = New Global.System.Xml.Schema.XmlSchemaSequence()
  1511. Dim ds As Data = New Data()
  1512. Dim any1 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
  1513. any1.Namespace = "http://www.w3.org/2001/XMLSchema"
  1514. any1.MinOccurs = New Decimal(0)
  1515. any1.MaxOccurs = Decimal.MaxValue
  1516. any1.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
  1517. sequence.Items.Add(any1)
  1518. Dim any2 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
  1519. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"
  1520. any2.MinOccurs = New Decimal(1)
  1521. any2.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
  1522. sequence.Items.Add(any2)
  1523. Dim attribute1 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
  1524. attribute1.Name = "namespace"
  1525. attribute1.FixedValue = ds.Namespace
  1526. type.Attributes.Add(attribute1)
  1527. Dim attribute2 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
  1528. attribute2.Name = "tableTypeName"
  1529. attribute2.FixedValue = "BiblesDataTable"
  1530. type.Attributes.Add(attribute2)
  1531. type.Particle = sequence
  1532. Dim dsSchema As Global.System.Xml.Schema.XmlSchema = ds.GetSchemaSerializable
  1533. If xs.Contains(dsSchema.TargetNamespace) Then
  1534. Dim s1 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
  1535. Dim s2 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
  1536. Try
  1537. Dim schema As Global.System.Xml.Schema.XmlSchema = Nothing
  1538. dsSchema.Write(s1)
  1539. Dim schemas As Global.System.Collections.IEnumerator = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator
  1540. Do While schemas.MoveNext
  1541. schema = CType(schemas.Current,Global.System.Xml.Schema.XmlSchema)
  1542. s2.SetLength(0)
  1543. schema.Write(s2)
  1544. If (s1.Length = s2.Length) Then
  1545. s1.Position = 0
  1546. s2.Position = 0
  1547. Do While ((s1.Position <> s1.Length) _
  1548. AndAlso (s1.ReadByte = s2.ReadByte))
  1549. Loop
  1550. If (s1.Position = s1.Length) Then
  1551. Return type
  1552. End If
  1553. End If
  1554. Loop
  1555. Finally
  1556. If (Not (s1) Is Nothing) Then
  1557. s1.Close
  1558. End If
  1559. If (Not (s2) Is Nothing) Then
  1560. s2.Close
  1561. End If
  1562. End Try
  1563. End If
  1564. xs.Add(dsSchema)
  1565. Return type
  1566. End Function
  1567. End Class
  1568. '''<summary>
  1569. '''Represents the strongly named DataTable class.
  1570. '''</summary>
  1571. <Global.System.Serializable(), _
  1572. Global.System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")> _
  1573. Partial Public Class CategoriesDataTable
  1574. Inherits Global.System.Data.DataTable
  1575. Implements Global.System.Collections.IEnumerable
  1576. Private columnCategoryID As Global.System.Data.DataColumn
  1577. Private columnName As Global.System.Data.DataColumn
  1578. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1579. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1580. Public Sub New()
  1581. MyBase.New
  1582. Me.TableName = "Categories"
  1583. Me.BeginInit
  1584. Me.InitClass
  1585. Me.EndInit
  1586. End Sub
  1587. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1588. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1589. Friend Sub New(ByVal table As Global.System.Data.DataTable)
  1590. MyBase.New
  1591. Me.TableName = table.TableName
  1592. If (table.CaseSensitive <> table.DataSet.CaseSensitive) Then
  1593. Me.CaseSensitive = table.CaseSensitive
  1594. End If
  1595. If (table.Locale.ToString <> table.DataSet.Locale.ToString) Then
  1596. Me.Locale = table.Locale
  1597. End If
  1598. If (table.Namespace <> table.DataSet.Namespace) Then
  1599. Me.Namespace = table.Namespace
  1600. End If
  1601. Me.Prefix = table.Prefix
  1602. Me.MinimumCapacity = table.MinimumCapacity
  1603. End Sub
  1604. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1605. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1606. Protected Sub New(ByVal info As Global.System.Runtime.Serialization.SerializationInfo, ByVal context As Global.System.Runtime.Serialization.StreamingContext)
  1607. MyBase.New(info, context)
  1608. Me.InitVars
  1609. End Sub
  1610. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1611. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1612. Public ReadOnly Property CategoryIDColumn() As Global.System.Data.DataColumn
  1613. Get
  1614. Return Me.columnCategoryID
  1615. End Get
  1616. End Property
  1617. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1618. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1619. Public ReadOnly Property NameColumn() As Global.System.Data.DataColumn
  1620. Get
  1621. Return Me.columnName
  1622. End Get
  1623. End Property
  1624. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1625. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), _
  1626. Global.System.ComponentModel.Browsable(false)> _
  1627. Public ReadOnly Property Count() As Integer
  1628. Get
  1629. Return Me.Rows.Count
  1630. End Get
  1631. End Property
  1632. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1633. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1634. Public Default ReadOnly Property Item(ByVal index As Integer) As CategoriesRow
  1635. Get
  1636. Return CType(Me.Rows(index),CategoriesRow)
  1637. End Get
  1638. End Property
  1639. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1640. Public Event CategoriesRowChanging As CategoriesRowChangeEventHandler
  1641. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1642. Public Event CategoriesRowChanged As CategoriesRowChangeEventHandler
  1643. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1644. Public Event CategoriesRowDeleting As CategoriesRowChangeEventHandler
  1645. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1646. Public Event CategoriesRowDeleted As CategoriesRowChangeEventHandler
  1647. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1648. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1649. Public Overloads Sub AddCategoriesRow(ByVal row As CategoriesRow)
  1650. Me.Rows.Add(row)
  1651. End Sub
  1652. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1653. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1654. Public Overloads Function AddCategoriesRow(ByVal CategoryID As System.Guid, ByVal Name As String) As CategoriesRow
  1655. Dim rowCategoriesRow As CategoriesRow = CType(Me.NewRow,CategoriesRow)
  1656. Dim columnValuesArray() As Object = New Object() {CategoryID, Name}
  1657. rowCategoriesRow.ItemArray = columnValuesArray
  1658. Me.Rows.Add(rowCategoriesRow)
  1659. Return rowCategoriesRow
  1660. End Function
  1661. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1662. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1663. Public Function FindByCategoryID(ByVal CategoryID As System.Guid) As CategoriesRow
  1664. Return CType(Me.Rows.Find(New Object() {CategoryID}),CategoriesRow)
  1665. End Function
  1666. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1667. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1668. Public Overridable Function GetEnumerator() As Global.System.Collections.IEnumerator Implements Global.System.Collections.IEnumerable.GetEnumerator
  1669. Return Me.Rows.GetEnumerator
  1670. End Function
  1671. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1672. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1673. Public Overrides Function Clone() As Global.System.Data.DataTable
  1674. Dim cln As CategoriesDataTable = CType(MyBase.Clone,CategoriesDataTable)
  1675. cln.InitVars
  1676. Return cln
  1677. End Function
  1678. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1679. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1680. Protected Overrides Function CreateInstance() As Global.System.Data.DataTable
  1681. Return New CategoriesDataTable()
  1682. End Function
  1683. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1684. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1685. Friend Sub InitVars()
  1686. Me.columnCategoryID = MyBase.Columns("CategoryID")
  1687. Me.columnName = MyBase.Columns("Name")
  1688. End Sub
  1689. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1690. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1691. Private Sub InitClass()
  1692. Me.columnCategoryID = New Global.System.Data.DataColumn("CategoryID", GetType(Global.System.Guid), Nothing, Global.System.Data.MappingType.Element)
  1693. MyBase.Columns.Add(Me.columnCategoryID)
  1694. Me.columnName = New Global.System.Data.DataColumn("Name", GetType(String), Nothing, Global.System.Data.MappingType.Element)
  1695. MyBase.Columns.Add(Me.columnName)
  1696. Me.Constraints.Add(New Global.System.Data.UniqueConstraint("Constraint1", New Global.System.Data.DataColumn() {Me.columnCategoryID}, true))
  1697. Me.columnCategoryID.AllowDBNull = false
  1698. Me.columnCategoryID.Unique = true
  1699. End Sub
  1700. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1701. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1702. Public Function NewCategoriesRow() As CategoriesRow
  1703. Return CType(Me.NewRow,CategoriesRow)
  1704. End Function
  1705. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1706. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1707. Protected Overrides Function NewRowFromBuilder(ByVal builder As Global.System.Data.DataRowBuilder) As Global.System.Data.DataRow
  1708. Return New CategoriesRow(builder)
  1709. End Function
  1710. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1711. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1712. Protected Overrides Function GetRowType() As Global.System.Type
  1713. Return GetType(CategoriesRow)
  1714. End Function
  1715. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1716. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1717. Protected Overrides Sub OnRowChanged(ByVal e As Global.System.Data.DataRowChangeEventArgs)
  1718. MyBase.OnRowChanged(e)
  1719. If (Not (Me.CategoriesRowChangedEvent) Is Nothing) Then
  1720. RaiseEvent CategoriesRowChanged(Me, New CategoriesRowChangeEvent(CType(e.Row,CategoriesRow), e.Action))
  1721. End If
  1722. End Sub
  1723. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1724. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1725. Protected Overrides Sub OnRowChanging(ByVal e As Global.System.Data.DataRowChangeEventArgs)
  1726. MyBase.OnRowChanging(e)
  1727. If (Not (Me.CategoriesRowChangingEvent) Is Nothing) Then
  1728. RaiseEvent CategoriesRowChanging(Me, New CategoriesRowChangeEvent(CType(e.Row,CategoriesRow), e.Action))
  1729. End If
  1730. End Sub
  1731. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1732. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1733. Protected Overrides Sub OnRowDeleted(ByVal e As Global.System.Data.DataRowChangeEventArgs)
  1734. MyBase.OnRowDeleted(e)
  1735. If (Not (Me.CategoriesRowDeletedEvent) Is Nothing) Then
  1736. RaiseEvent CategoriesRowDeleted(Me, New CategoriesRowChangeEvent(CType(e.Row,CategoriesRow), e.Action))
  1737. End If
  1738. End Sub
  1739. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1740. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1741. Protected Overrides Sub OnRowDeleting(ByVal e As Global.System.Data.DataRowChangeEventArgs)
  1742. MyBase.OnRowDeleting(e)
  1743. If (Not (Me.CategoriesRowDeletingEvent) Is Nothing) Then
  1744. RaiseEvent CategoriesRowDeleting(Me, New CategoriesRowChangeEvent(CType(e.Row,CategoriesRow), e.Action))
  1745. End If
  1746. End Sub
  1747. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1748. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1749. Public Sub RemoveCategoriesRow(ByVal row As CategoriesRow)
  1750. Me.Rows.Remove(row)
  1751. End Sub
  1752. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1753. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1754. Public Shared Function GetTypedTableSchema(ByVal xs As Global.System.Xml.Schema.XmlSchemaSet) As Global.System.Xml.Schema.XmlSchemaComplexType
  1755. Dim type As Global.System.Xml.Schema.XmlSchemaComplexType = New Global.System.Xml.Schema.XmlSchemaComplexType()
  1756. Dim sequence As Global.System.Xml.Schema.XmlSchemaSequence = New Global.System.Xml.Schema.XmlSchemaSequence()
  1757. Dim ds As Data = New Data()
  1758. Dim any1 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
  1759. any1.Namespace = "http://www.w3.org/2001/XMLSchema"
  1760. any1.MinOccurs = New Decimal(0)
  1761. any1.MaxOccurs = Decimal.MaxValue
  1762. any1.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
  1763. sequence.Items.Add(any1)
  1764. Dim any2 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
  1765. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"
  1766. any2.MinOccurs = New Decimal(1)
  1767. any2.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
  1768. sequence.Items.Add(any2)
  1769. Dim attribute1 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
  1770. attribute1.Name = "namespace"
  1771. attribute1.FixedValue = ds.Namespace
  1772. type.Attributes.Add(attribute1)
  1773. Dim attribute2 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
  1774. attribute2.Name = "tableTypeName"
  1775. attribute2.FixedValue = "CategoriesDataTable"
  1776. type.Attributes.Add(attribute2)
  1777. type.Particle = sequence
  1778. Dim dsSchema As Global.System.Xml.Schema.XmlSchema = ds.GetSchemaSerializable
  1779. If xs.Contains(dsSchema.TargetNamespace) Then
  1780. Dim s1 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
  1781. Dim s2 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
  1782. Try
  1783. Dim schema As Global.System.Xml.Schema.XmlSchema = Nothing
  1784. dsSchema.Write(s1)
  1785. Dim schemas As Global.System.Collections.IEnumerator = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator
  1786. Do While schemas.MoveNext
  1787. schema = CType(schemas.Current,Global.System.Xml.Schema.XmlSchema)
  1788. s2.SetLength(0)
  1789. schema.Write(s2)
  1790. If (s1.Length = s2.Length) Then
  1791. s1.Position = 0
  1792. s2.Position = 0
  1793. Do While ((s1.Position <> s1.Length) _
  1794. AndAlso (s1.ReadByte = s2.ReadByte))
  1795. Loop
  1796. If (s1.Position = s1.Length) Then
  1797. Return type
  1798. End If
  1799. End If
  1800. Loop
  1801. Finally
  1802. If (Not (s1) Is Nothing) Then
  1803. s1.Close
  1804. End If
  1805. If (Not (s2) Is Nothing) Then
  1806. s2.Close
  1807. End If
  1808. End Try
  1809. End If
  1810. xs.Add(dsSchema)
  1811. Return type
  1812. End Function
  1813. End Class
  1814. '''<summary>
  1815. '''Represents the strongly named DataTable class.
  1816. '''</summary>
  1817. <Global.System.Serializable(), _
  1818. Global.System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")> _
  1819. Partial Public Class SongCategoriesDataTable
  1820. Inherits Global.System.Data.DataTable
  1821. Implements Global.System.Collections.IEnumerable
  1822. Private columnSongID As Global.System.Data.DataColumn
  1823. Private columnCategoryID As Global.System.Data.DataColumn
  1824. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1825. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1826. Public Sub New()
  1827. MyBase.New
  1828. Me.TableName = "SongCategories"
  1829. Me.BeginInit
  1830. Me.InitClass
  1831. Me.EndInit
  1832. End Sub
  1833. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1834. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1835. Friend Sub New(ByVal table As Global.System.Data.DataTable)
  1836. MyBase.New
  1837. Me.TableName = table.TableName
  1838. If (table.CaseSensitive <> table.DataSet.CaseSensitive) Then
  1839. Me.CaseSensitive = table.CaseSensitive
  1840. End If
  1841. If (table.Locale.ToString <> table.DataSet.Locale.ToString) Then
  1842. Me.Locale = table.Locale
  1843. End If
  1844. If (table.Namespace <> table.DataSet.Namespace) Then
  1845. Me.Namespace = table.Namespace
  1846. End If
  1847. Me.Prefix = table.Prefix
  1848. Me.MinimumCapacity = table.MinimumCapacity
  1849. End Sub
  1850. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1851. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1852. Protected Sub New(ByVal info As Global.System.Runtime.Serialization.SerializationInfo, ByVal context As Global.System.Runtime.Serialization.StreamingContext)
  1853. MyBase.New(info, context)
  1854. Me.InitVars
  1855. End Sub
  1856. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1857. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1858. Public ReadOnly Property SongIDColumn() As Global.System.Data.DataColumn
  1859. Get
  1860. Return Me.columnSongID
  1861. End Get
  1862. End Property
  1863. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1864. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1865. Public ReadOnly Property CategoryIDColumn() As Global.System.Data.DataColumn
  1866. Get
  1867. Return Me.columnCategoryID
  1868. End Get
  1869. End Property
  1870. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1871. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), _
  1872. Global.System.ComponentModel.Browsable(false)> _
  1873. Public ReadOnly Property Count() As Integer
  1874. Get
  1875. Return Me.Rows.Count
  1876. End Get
  1877. End Property
  1878. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1879. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1880. Public Default ReadOnly Property Item(ByVal index As Integer) As SongCategoriesRow
  1881. Get
  1882. Return CType(Me.Rows(index),SongCategoriesRow)
  1883. End Get
  1884. End Property
  1885. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1886. Public Event SongCategoriesRowChanging As SongCategoriesRowChangeEventHandler
  1887. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1888. Public Event SongCategoriesRowChanged As SongCategoriesRowChangeEventHandler
  1889. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1890. Public Event SongCategoriesRowDeleting As SongCategoriesRowChangeEventHandler
  1891. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1892. Public Event SongCategoriesRowDeleted As SongCategoriesRowChangeEventHandler
  1893. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1894. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1895. Public Overloads Sub AddSongCategoriesRow(ByVal row As SongCategoriesRow)
  1896. Me.Rows.Add(row)
  1897. End Sub
  1898. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1899. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1900. Public Overloads Function AddSongCategoriesRow(ByVal parentSongsRowByFK_Songs_SongCategories As SongsRow, ByVal parentCategoriesRowByFK_Categories_SongCategories As CategoriesRow) As SongCategoriesRow
  1901. Dim rowSongCategoriesRow As SongCategoriesRow = CType(Me.NewRow,SongCategoriesRow)
  1902. Dim columnValuesArray() As Object = New Object() {Nothing, Nothing}
  1903. If (Not (parentSongsRowByFK_Songs_SongCategories) Is Nothing) Then
  1904. columnValuesArray(0) = parentSongsRowByFK_Songs_SongCategories(0)
  1905. End If
  1906. If (Not (parentCategoriesRowByFK_Categories_SongCategories) Is Nothing) Then
  1907. columnValuesArray(1) = parentCategoriesRowByFK_Categories_SongCategories(0)
  1908. End If
  1909. rowSongCategoriesRow.ItemArray = columnValuesArray
  1910. Me.Rows.Add(rowSongCategoriesRow)
  1911. Return rowSongCategoriesRow
  1912. End Function
  1913. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1914. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1915. Public Function FindBySongIDCategoryID(ByVal SongID As System.Guid, ByVal CategoryID As System.Guid) As SongCategoriesRow
  1916. Return CType(Me.Rows.Find(New Object() {SongID, CategoryID}),SongCategoriesRow)
  1917. End Function
  1918. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1919. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1920. Public Overridable Function GetEnumerator() As Global.System.Collections.IEnumerator Implements Global.System.Collections.IEnumerable.GetEnumerator
  1921. Return Me.Rows.GetEnumerator
  1922. End Function
  1923. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1924. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1925. Public Overrides Function Clone() As Global.System.Data.DataTable
  1926. Dim cln As SongCategoriesDataTable = CType(MyBase.Clone,SongCategoriesDataTable)
  1927. cln.InitVars
  1928. Return cln
  1929. End Function
  1930. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1931. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1932. Protected Overrides Function CreateInstance() As Global.System.Data.DataTable
  1933. Return New SongCategoriesDataTable()
  1934. End Function
  1935. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1936. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1937. Friend Sub InitVars()
  1938. Me.columnSongID = MyBase.Columns("SongID")
  1939. Me.columnCategoryID = MyBase.Columns("CategoryID")
  1940. End Sub
  1941. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1942. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1943. Private Sub InitClass()
  1944. Me.columnSongID = New Global.System.Data.DataColumn("SongID", GetType(Global.System.Guid), Nothing, Global.System.Data.MappingType.Element)
  1945. MyBase.Columns.Add(Me.columnSongID)
  1946. Me.columnCategoryID = New Global.System.Data.DataColumn("CategoryID", GetType(Global.System.Guid), Nothing, Global.System.Data.MappingType.Element)
  1947. MyBase.Columns.Add(Me.columnCategoryID)
  1948. Me.Constraints.Add(New Global.System.Data.UniqueConstraint("Constraint1", New Global.System.Data.DataColumn() {Me.columnSongID, Me.columnCategoryID}, true))
  1949. Me.columnSongID.AllowDBNull = false
  1950. Me.columnCategoryID.AllowDBNull = false
  1951. End Sub
  1952. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1953. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1954. Public Function NewSongCategoriesRow() As SongCategoriesRow
  1955. Return CType(Me.NewRow,SongCategoriesRow)
  1956. End Function
  1957. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1958. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1959. Protected Overrides Function NewRowFromBuilder(ByVal builder As Global.System.Data.DataRowBuilder) As Global.System.Data.DataRow
  1960. Return New SongCategoriesRow(builder)
  1961. End Function
  1962. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1963. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1964. Protected Overrides Function GetRowType() As Global.System.Type
  1965. Return GetType(SongCategoriesRow)
  1966. End Function
  1967. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1968. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1969. Protected Overrides Sub OnRowChanged(ByVal e As Global.System.Data.DataRowChangeEventArgs)
  1970. MyBase.OnRowChanged(e)
  1971. If (Not (Me.SongCategoriesRowChangedEvent) Is Nothing) Then
  1972. RaiseEvent SongCategoriesRowChanged(Me, New SongCategoriesRowChangeEvent(CType(e.Row,SongCategoriesRow), e.Action))
  1973. End If
  1974. End Sub
  1975. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1976. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1977. Protected Overrides Sub OnRowChanging(ByVal e As Global.System.Data.DataRowChangeEventArgs)
  1978. MyBase.OnRowChanging(e)
  1979. If (Not (Me.SongCategoriesRowChangingEvent) Is Nothing) Then
  1980. RaiseEvent SongCategoriesRowChanging(Me, New SongCategoriesRowChangeEvent(CType(e.Row,SongCategoriesRow), e.Action))
  1981. End If
  1982. End Sub
  1983. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1984. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1985. Protected Overrides Sub OnRowDeleted(ByVal e As Global.System.Data.DataRowChangeEventArgs)
  1986. MyBase.OnRowDeleted(e)
  1987. If (Not (Me.SongCategoriesRowDeletedEvent) Is Nothing) Then
  1988. RaiseEvent SongCategoriesRowDeleted(Me, New SongCategoriesRowChangeEvent(CType(e.Row,SongCategoriesRow), e.Action))
  1989. End If
  1990. End Sub
  1991. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  1992. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  1993. Protected Overrides Sub OnRowDeleting(ByVal e As Global.System.Data.DataRowChangeEventArgs)
  1994. MyBase.OnRowDeleting(e)
  1995. If (Not (Me.SongCategoriesRowDeletingEvent) Is Nothing) Then
  1996. RaiseEvent SongCategoriesRowDeleting(Me, New SongCategoriesRowChangeEvent(CType(e.Row,SongCategoriesRow), e.Action))
  1997. End If
  1998. End Sub
  1999. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2000. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2001. Public Sub RemoveSongCategoriesRow(ByVal row As SongCategoriesRow)
  2002. Me.Rows.Remove(row)
  2003. End Sub
  2004. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2005. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2006. Public Shared Function GetTypedTableSchema(ByVal xs As Global.System.Xml.Schema.XmlSchemaSet) As Global.System.Xml.Schema.XmlSchemaComplexType
  2007. Dim type As Global.System.Xml.Schema.XmlSchemaComplexType = New Global.System.Xml.Schema.XmlSchemaComplexType()
  2008. Dim sequence As Global.System.Xml.Schema.XmlSchemaSequence = New Global.System.Xml.Schema.XmlSchemaSequence()
  2009. Dim ds As Data = New Data()
  2010. Dim any1 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
  2011. any1.Namespace = "http://www.w3.org/2001/XMLSchema"
  2012. any1.MinOccurs = New Decimal(0)
  2013. any1.MaxOccurs = Decimal.MaxValue
  2014. any1.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
  2015. sequence.Items.Add(any1)
  2016. Dim any2 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
  2017. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"
  2018. any2.MinOccurs = New Decimal(1)
  2019. any2.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
  2020. sequence.Items.Add(any2)
  2021. Dim attribute1 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
  2022. attribute1.Name = "namespace"
  2023. attribute1.FixedValue = ds.Namespace
  2024. type.Attributes.Add(attribute1)
  2025. Dim attribute2 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
  2026. attribute2.Name = "tableTypeName"
  2027. attribute2.FixedValue = "SongCategoriesDataTable"
  2028. type.Attributes.Add(attribute2)
  2029. type.Particle = sequence
  2030. Dim dsSchema As Global.System.Xml.Schema.XmlSchema = ds.GetSchemaSerializable
  2031. If xs.Contains(dsSchema.TargetNamespace) Then
  2032. Dim s1 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
  2033. Dim s2 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
  2034. Try
  2035. Dim schema As Global.System.Xml.Schema.XmlSchema = Nothing
  2036. dsSchema.Write(s1)
  2037. Dim schemas As Global.System.Collections.IEnumerator = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator
  2038. Do While schemas.MoveNext
  2039. schema = CType(schemas.Current,Global.System.Xml.Schema.XmlSchema)
  2040. s2.SetLength(0)
  2041. schema.Write(s2)
  2042. If (s1.Length = s2.Length) Then
  2043. s1.Position = 0
  2044. s2.Position = 0
  2045. Do While ((s1.Position <> s1.Length) _
  2046. AndAlso (s1.ReadByte = s2.ReadByte))
  2047. Loop
  2048. If (s1.Position = s1.Length) Then
  2049. Return type
  2050. End If
  2051. End If
  2052. Loop
  2053. Finally
  2054. If (Not (s1) Is Nothing) Then
  2055. s1.Close
  2056. End If
  2057. If (Not (s2) Is Nothing) Then
  2058. s2.Close
  2059. End If
  2060. End Try
  2061. End If
  2062. xs.Add(dsSchema)
  2063. Return type
  2064. End Function
  2065. End Class
  2066. '''<summary>
  2067. '''Represents the strongly named DataTable class.
  2068. '''</summary>
  2069. <Global.System.Serializable(), _
  2070. Global.System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")> _
  2071. Partial Public Class ProjectletsDataTable
  2072. Inherits Global.System.Data.DataTable
  2073. Implements Global.System.Collections.IEnumerable
  2074. Private columnStyleID As Global.System.Data.DataColumn
  2075. Private columnComponent As Global.System.Data.DataColumn
  2076. Private columnFontName As Global.System.Data.DataColumn
  2077. Private columnFontSize As Global.System.Data.DataColumn
  2078. Private columnFontColour As Global.System.Data.DataColumn
  2079. Private columnFontStyle As Global.System.Data.DataColumn
  2080. Private columnFontEffect As Global.System.Data.DataColumn
  2081. Private columnFontEffectColour As Global.System.Data.DataColumn
  2082. Private columnAreaLeft As Global.System.Data.DataColumn
  2083. Private columnAreaTop As Global.System.Data.DataColumn
  2084. Private columnAreaWidth As Global.System.Data.DataColumn
  2085. Private columnAreaHeight As Global.System.Data.DataColumn
  2086. Private columnAlignment As Global.System.Data.DataColumn
  2087. Private columnWhenToDisplay As Global.System.Data.DataColumn
  2088. Private columnContent As Global.System.Data.DataColumn
  2089. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2090. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2091. Public Sub New()
  2092. MyBase.New
  2093. Me.TableName = "Projectlets"
  2094. Me.BeginInit
  2095. Me.InitClass
  2096. Me.EndInit
  2097. End Sub
  2098. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2099. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2100. Friend Sub New(ByVal table As Global.System.Data.DataTable)
  2101. MyBase.New
  2102. Me.TableName = table.TableName
  2103. If (table.CaseSensitive <> table.DataSet.CaseSensitive) Then
  2104. Me.CaseSensitive = table.CaseSensitive
  2105. End If
  2106. If (table.Locale.ToString <> table.DataSet.Locale.ToString) Then
  2107. Me.Locale = table.Locale
  2108. End If
  2109. If (table.Namespace <> table.DataSet.Namespace) Then
  2110. Me.Namespace = table.Namespace
  2111. End If
  2112. Me.Prefix = table.Prefix
  2113. Me.MinimumCapacity = table.MinimumCapacity
  2114. End Sub
  2115. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2116. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2117. Protected Sub New(ByVal info As Global.System.Runtime.Serialization.SerializationInfo, ByVal context As Global.System.Runtime.Serialization.StreamingContext)
  2118. MyBase.New(info, context)
  2119. Me.InitVars
  2120. End Sub
  2121. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2122. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2123. Public ReadOnly Property StyleIDColumn() As Global.System.Data.DataColumn
  2124. Get
  2125. Return Me.columnStyleID
  2126. End Get
  2127. End Property
  2128. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2129. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2130. Public ReadOnly Property ComponentColumn() As Global.System.Data.DataColumn
  2131. Get
  2132. Return Me.columnComponent
  2133. End Get
  2134. End Property
  2135. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2136. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2137. Public ReadOnly Property FontNameColumn() As Global.System.Data.DataColumn
  2138. Get
  2139. Return Me.columnFontName
  2140. End Get
  2141. End Property
  2142. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2143. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2144. Public ReadOnly Property FontSizeColumn() As Global.System.Data.DataColumn
  2145. Get
  2146. Return Me.columnFontSize
  2147. End Get
  2148. End Property
  2149. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2150. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2151. Public ReadOnly Property FontColourColumn() As Global.System.Data.DataColumn
  2152. Get
  2153. Return Me.columnFontColour
  2154. End Get
  2155. End Property
  2156. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2157. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2158. Public ReadOnly Property FontStyleColumn() As Global.System.Data.DataColumn
  2159. Get
  2160. Return Me.columnFontStyle
  2161. End Get
  2162. End Property
  2163. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2164. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2165. Public ReadOnly Property FontEffectColumn() As Global.System.Data.DataColumn
  2166. Get
  2167. Return Me.columnFontEffect
  2168. End Get
  2169. End Property
  2170. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2171. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2172. Public ReadOnly Property FontEffectColourColumn() As Global.System.Data.DataColumn
  2173. Get
  2174. Return Me.columnFontEffectColour
  2175. End Get
  2176. End Property
  2177. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2178. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2179. Public ReadOnly Property AreaLeftColumn() As Global.System.Data.DataColumn
  2180. Get
  2181. Return Me.columnAreaLeft
  2182. End Get
  2183. End Property
  2184. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2185. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2186. Public ReadOnly Property AreaTopColumn() As Global.System.Data.DataColumn
  2187. Get
  2188. Return Me.columnAreaTop
  2189. End Get
  2190. End Property
  2191. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2192. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2193. Public ReadOnly Property AreaWidthColumn() As Global.System.Data.DataColumn
  2194. Get
  2195. Return Me.columnAreaWidth
  2196. End Get
  2197. End Property
  2198. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2199. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2200. Public ReadOnly Property AreaHeightColumn() As Global.System.Data.DataColumn
  2201. Get
  2202. Return Me.columnAreaHeight
  2203. End Get
  2204. End Property
  2205. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2206. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2207. Public ReadOnly Property AlignmentColumn() As Global.System.Data.DataColumn
  2208. Get
  2209. Return Me.columnAlignment
  2210. End Get
  2211. End Property
  2212. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2213. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2214. Public ReadOnly Property WhenToDisplayColumn() As Global.System.Data.DataColumn
  2215. Get
  2216. Return Me.columnWhenToDisplay
  2217. End Get
  2218. End Property
  2219. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2220. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2221. Public ReadOnly Property ContentColumn() As Global.System.Data.DataColumn
  2222. Get
  2223. Return Me.columnContent
  2224. End Get
  2225. End Property
  2226. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2227. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), _
  2228. Global.System.ComponentModel.Browsable(false)> _
  2229. Public ReadOnly Property Count() As Integer
  2230. Get
  2231. Return Me.Rows.Count
  2232. End Get
  2233. End Property
  2234. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2235. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2236. Public Default ReadOnly Property Item(ByVal index As Integer) As ProjectletsRow
  2237. Get
  2238. Return CType(Me.Rows(index),ProjectletsRow)
  2239. End Get
  2240. End Property
  2241. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2242. Public Event ProjectletsRowChanging As ProjectletsRowChangeEventHandler
  2243. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2244. Public Event ProjectletsRowChanged As ProjectletsRowChangeEventHandler
  2245. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2246. Public Event ProjectletsRowDeleting As ProjectletsRowChangeEventHandler
  2247. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2248. Public Event ProjectletsRowDeleted As ProjectletsRowChangeEventHandler
  2249. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2250. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2251. Public Overloads Sub AddProjectletsRow(ByVal row As ProjectletsRow)
  2252. Me.Rows.Add(row)
  2253. End Sub
  2254. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2255. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2256. Public Overloads Function AddProjectletsRow(ByVal parentStylesRowByFK_Styles_Projectlets As StylesRow, ByVal Component As String, ByVal FontName As String, ByVal FontSize As Double, ByVal FontColour As Integer, ByVal FontStyle As Integer, ByVal FontEffect As Integer, ByVal FontEffectColour As Integer, ByVal AreaLeft As Double, ByVal AreaTop As Double, ByVal AreaWidth As Double, ByVal AreaHeight As Double, ByVal Alignment As Integer, ByVal WhenToDisplay As Integer, ByVal Content As String) As ProjectletsRow
  2257. Dim rowProjectletsRow As ProjectletsRow = CType(Me.NewRow,ProjectletsRow)
  2258. Dim columnValuesArray() As Object = New Object() {Nothing, Component, FontName, FontSize, FontColour, FontStyle, FontEffect, FontEffectColour, AreaLeft, AreaTop, AreaWidth, AreaHeight, Alignment, WhenToDisplay, Content}
  2259. If (Not (parentStylesRowByFK_Styles_Projectlets) Is Nothing) Then
  2260. columnValuesArray(0) = parentStylesRowByFK_Styles_Projectlets(0)
  2261. End If
  2262. rowProjectletsRow.ItemArray = columnValuesArray
  2263. Me.Rows.Add(rowProjectletsRow)
  2264. Return rowProjectletsRow
  2265. End Function
  2266. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2267. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2268. Public Function FindByStyleIDComponent(ByVal StyleID As System.Guid, ByVal Component As String) As ProjectletsRow
  2269. Return CType(Me.Rows.Find(New Object() {StyleID, Component}),ProjectletsRow)
  2270. End Function
  2271. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2272. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2273. Public Overridable Function GetEnumerator() As Global.System.Collections.IEnumerator Implements Global.System.Collections.IEnumerable.GetEnumerator
  2274. Return Me.Rows.GetEnumerator
  2275. End Function
  2276. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2277. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2278. Public Overrides Function Clone() As Global.System.Data.DataTable
  2279. Dim cln As ProjectletsDataTable = CType(MyBase.Clone,ProjectletsDataTable)
  2280. cln.InitVars
  2281. Return cln
  2282. End Function
  2283. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2284. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2285. Protected Overrides Function CreateInstance() As Global.System.Data.DataTable
  2286. Return New ProjectletsDataTable()
  2287. End Function
  2288. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2289. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2290. Friend Sub InitVars()
  2291. Me.columnStyleID = MyBase.Columns("StyleID")
  2292. Me.columnComponent = MyBase.Columns("Component")
  2293. Me.columnFontName = MyBase.Columns("FontName")
  2294. Me.columnFontSize = MyBase.Columns("FontSize")
  2295. Me.columnFontColour = MyBase.Columns("FontColour")
  2296. Me.columnFontStyle = MyBase.Columns("FontStyle")
  2297. Me.columnFontEffect = MyBase.Columns("FontEffect")
  2298. Me.columnFontEffectColour = MyBase.Columns("FontEffectColour")
  2299. Me.columnAreaLeft = MyBase.Columns("AreaLeft")
  2300. Me.columnAreaTop = MyBase.Columns("AreaTop")
  2301. Me.columnAreaWidth = MyBase.Columns("AreaWidth")
  2302. Me.columnAreaHeight = MyBase.Columns("AreaHeight")
  2303. Me.columnAlignment = MyBase.Columns("Alignment")
  2304. Me.columnWhenToDisplay = MyBase.Columns("WhenToDisplay")
  2305. Me.columnContent = MyBase.Columns("Content")
  2306. End Sub
  2307. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2308. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2309. Private Sub InitClass()
  2310. Me.columnStyleID = New Global.System.Data.DataColumn("StyleID", GetType(Global.System.Guid), Nothing, Global.System.Data.MappingType.Element)
  2311. MyBase.Columns.Add(Me.columnStyleID)
  2312. Me.columnComponent = New Global.System.Data.DataColumn("Component", GetType(String), Nothing, Global.System.Data.MappingType.Element)
  2313. MyBase.Columns.Add(Me.columnComponent)
  2314. Me.columnFontName = New Global.System.Data.DataColumn("FontName", GetType(String), Nothing, Global.System.Data.MappingType.Element)
  2315. MyBase.Columns.Add(Me.columnFontName)
  2316. Me.columnFontSize = New Global.System.Data.DataColumn("FontSize", GetType(Double), Nothing, Global.System.Data.MappingType.Element)
  2317. MyBase.Columns.Add(Me.columnFontSize)
  2318. Me.columnFontColour = New Global.System.Data.DataColumn("FontColour", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
  2319. MyBase.Columns.Add(Me.columnFontColour)
  2320. Me.columnFontStyle = New Global.System.Data.DataColumn("FontStyle", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
  2321. MyBase.Columns.Add(Me.columnFontStyle)
  2322. Me.columnFontEffect = New Global.System.Data.DataColumn("FontEffect", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
  2323. MyBase.Columns.Add(Me.columnFontEffect)
  2324. Me.columnFontEffectColour = New Global.System.Data.DataColumn("FontEffectColour", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
  2325. MyBase.Columns.Add(Me.columnFontEffectColour)
  2326. Me.columnAreaLeft = New Global.System.Data.DataColumn("AreaLeft", GetType(Double), Nothing, Global.System.Data.MappingType.Element)
  2327. MyBase.Columns.Add(Me.columnAreaLeft)
  2328. Me.columnAreaTop = New Global.System.Data.DataColumn("AreaTop", GetType(Double), Nothing, Global.System.Data.MappingType.Element)
  2329. MyBase.Columns.Add(Me.columnAreaTop)
  2330. Me.columnAreaWidth = New Global.System.Data.DataColumn("AreaWidth", GetType(Double), Nothing, Global.System.Data.MappingType.Element)
  2331. MyBase.Columns.Add(Me.columnAreaWidth)
  2332. Me.columnAreaHeight = New Global.System.Data.DataColumn("AreaHeight", GetType(Double), Nothing, Global.System.Data.MappingType.Element)
  2333. MyBase.Columns.Add(Me.columnAreaHeight)
  2334. Me.columnAlignment = New Global.System.Data.DataColumn("Alignment", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
  2335. MyBase.Columns.Add(Me.columnAlignment)
  2336. Me.columnWhenToDisplay = New Global.System.Data.DataColumn("WhenToDisplay", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
  2337. MyBase.Columns.Add(Me.columnWhenToDisplay)
  2338. Me.columnContent = New Global.System.Data.DataColumn("Content", GetType(String), Nothing, Global.System.Data.MappingType.Element)
  2339. MyBase.Columns.Add(Me.columnContent)
  2340. Me.Constraints.Add(New Global.System.Data.UniqueConstraint("Constraint1", New Global.System.Data.DataColumn() {Me.columnStyleID, Me.columnComponent}, true))
  2341. Me.columnStyleID.AllowDBNull = false
  2342. Me.columnComponent.AllowDBNull = false
  2343. End Sub
  2344. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2345. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2346. Public Function NewProjectletsRow() As ProjectletsRow
  2347. Return CType(Me.NewRow,ProjectletsRow)
  2348. End Function
  2349. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2350. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2351. Protected Overrides Function NewRowFromBuilder(ByVal builder As Global.System.Data.DataRowBuilder) As Global.System.Data.DataRow
  2352. Return New ProjectletsRow(builder)
  2353. End Function
  2354. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2355. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2356. Protected Overrides Function GetRowType() As Global.System.Type
  2357. Return GetType(ProjectletsRow)
  2358. End Function
  2359. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2360. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2361. Protected Overrides Sub OnRowChanged(ByVal e As Global.System.Data.DataRowChangeEventArgs)
  2362. MyBase.OnRowChanged(e)
  2363. If (Not (Me.ProjectletsRowChangedEvent) Is Nothing) Then
  2364. RaiseEvent ProjectletsRowChanged(Me, New ProjectletsRowChangeEvent(CType(e.Row,ProjectletsRow), e.Action))
  2365. End If
  2366. End Sub
  2367. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2368. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2369. Protected Overrides Sub OnRowChanging(ByVal e As Global.System.Data.DataRowChangeEventArgs)
  2370. MyBase.OnRowChanging(e)
  2371. If (Not (Me.ProjectletsRowChangingEvent) Is Nothing) Then
  2372. RaiseEvent ProjectletsRowChanging(Me, New ProjectletsRowChangeEvent(CType(e.Row,ProjectletsRow), e.Action))
  2373. End If
  2374. End Sub
  2375. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2376. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2377. Protected Overrides Sub OnRowDeleted(ByVal e As Global.System.Data.DataRowChangeEventArgs)
  2378. MyBase.OnRowDeleted(e)
  2379. If (Not (Me.ProjectletsRowDeletedEvent) Is Nothing) Then
  2380. RaiseEvent ProjectletsRowDeleted(Me, New ProjectletsRowChangeEvent(CType(e.Row,ProjectletsRow), e.Action))
  2381. End If
  2382. End Sub
  2383. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2384. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2385. Protected Overrides Sub OnRowDeleting(ByVal e As Global.System.Data.DataRowChangeEventArgs)
  2386. MyBase.OnRowDeleting(e)
  2387. If (Not (Me.ProjectletsRowDeletingEvent) Is Nothing) Then
  2388. RaiseEvent ProjectletsRowDeleting(Me, New ProjectletsRowChangeEvent(CType(e.Row,ProjectletsRow), e.Action))
  2389. End If
  2390. End Sub
  2391. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2392. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2393. Public Sub RemoveProjectletsRow(ByVal row As ProjectletsRow)
  2394. Me.Rows.Remove(row)
  2395. End Sub
  2396. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2397. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2398. Public Shared Function GetTypedTableSchema(ByVal xs As Global.System.Xml.Schema.XmlSchemaSet) As Global.System.Xml.Schema.XmlSchemaComplexType
  2399. Dim type As Global.System.Xml.Schema.XmlSchemaComplexType = New Global.System.Xml.Schema.XmlSchemaComplexType()
  2400. Dim sequence As Global.System.Xml.Schema.XmlSchemaSequence = New Global.System.Xml.Schema.XmlSchemaSequence()
  2401. Dim ds As Data = New Data()
  2402. Dim any1 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
  2403. any1.Namespace = "http://www.w3.org/2001/XMLSchema"
  2404. any1.MinOccurs = New Decimal(0)
  2405. any1.MaxOccurs = Decimal.MaxValue
  2406. any1.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
  2407. sequence.Items.Add(any1)
  2408. Dim any2 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
  2409. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"
  2410. any2.MinOccurs = New Decimal(1)
  2411. any2.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
  2412. sequence.Items.Add(any2)
  2413. Dim attribute1 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
  2414. attribute1.Name = "namespace"
  2415. attribute1.FixedValue = ds.Namespace
  2416. type.Attributes.Add(attribute1)
  2417. Dim attribute2 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
  2418. attribute2.Name = "tableTypeName"
  2419. attribute2.FixedValue = "ProjectletsDataTable"
  2420. type.Attributes.Add(attribute2)
  2421. type.Particle = sequence
  2422. Dim dsSchema As Global.System.Xml.Schema.XmlSchema = ds.GetSchemaSerializable
  2423. If xs.Contains(dsSchema.TargetNamespace) Then
  2424. Dim s1 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
  2425. Dim s2 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
  2426. Try
  2427. Dim schema As Global.System.Xml.Schema.XmlSchema = Nothing
  2428. dsSchema.Write(s1)
  2429. Dim schemas As Global.System.Collections.IEnumerator = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator
  2430. Do While schemas.MoveNext
  2431. schema = CType(schemas.Current,Global.System.Xml.Schema.XmlSchema)
  2432. s2.SetLength(0)
  2433. schema.Write(s2)
  2434. If (s1.Length = s2.Length) Then
  2435. s1.Position = 0
  2436. s2.Position = 0
  2437. Do While ((s1.Position <> s1.Length) _
  2438. AndAlso (s1.ReadByte = s2.ReadByte))
  2439. Loop
  2440. If (s1.Position = s1.Length) Then
  2441. Return type
  2442. End If
  2443. End If
  2444. Loop
  2445. Finally
  2446. If (Not (s1) Is Nothing) Then
  2447. s1.Close
  2448. End If
  2449. If (Not (s2) Is Nothing) Then
  2450. s2.Close
  2451. End If
  2452. End Try
  2453. End If
  2454. xs.Add(dsSchema)
  2455. Return type
  2456. End Function
  2457. End Class
  2458. '''<summary>
  2459. '''Represents the strongly named DataTable class.
  2460. '''</summary>
  2461. <Global.System.Serializable(), _
  2462. Global.System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")> _
  2463. Partial Public Class LicensesDataTable
  2464. Inherits Global.System.Data.DataTable
  2465. Implements Global.System.Collections.IEnumerable
  2466. Private columnLicenseID As Global.System.Data.DataColumn
  2467. Private columnName As Global.System.Data.DataColumn
  2468. Private columnDetails As Global.System.Data.DataColumn
  2469. Private columnNumber As Global.System.Data.DataColumn
  2470. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2471. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2472. Public Sub New()
  2473. MyBase.New
  2474. Me.TableName = "Licenses"
  2475. Me.BeginInit
  2476. Me.InitClass
  2477. Me.EndInit
  2478. End Sub
  2479. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2480. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2481. Friend Sub New(ByVal table As Global.System.Data.DataTable)
  2482. MyBase.New
  2483. Me.TableName = table.TableName
  2484. If (table.CaseSensitive <> table.DataSet.CaseSensitive) Then
  2485. Me.CaseSensitive = table.CaseSensitive
  2486. End If
  2487. If (table.Locale.ToString <> table.DataSet.Locale.ToString) Then
  2488. Me.Locale = table.Locale
  2489. End If
  2490. If (table.Namespace <> table.DataSet.Namespace) Then
  2491. Me.Namespace = table.Namespace
  2492. End If
  2493. Me.Prefix = table.Prefix
  2494. Me.MinimumCapacity = table.MinimumCapacity
  2495. End Sub
  2496. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2497. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2498. Protected Sub New(ByVal info As Global.System.Runtime.Serialization.SerializationInfo, ByVal context As Global.System.Runtime.Serialization.StreamingContext)
  2499. MyBase.New(info, context)
  2500. Me.InitVars
  2501. End Sub
  2502. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2503. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2504. Public ReadOnly Property LicenseIDColumn() As Global.System.Data.DataColumn
  2505. Get
  2506. Return Me.columnLicenseID
  2507. End Get
  2508. End Property
  2509. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2510. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2511. Public ReadOnly Property NameColumn() As Global.System.Data.DataColumn
  2512. Get
  2513. Return Me.columnName
  2514. End Get
  2515. End Property
  2516. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2517. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2518. Public ReadOnly Property DetailsColumn() As Global.System.Data.DataColumn
  2519. Get
  2520. Return Me.columnDetails
  2521. End Get
  2522. End Property
  2523. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2524. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2525. Public ReadOnly Property NumberColumn() As Global.System.Data.DataColumn
  2526. Get
  2527. Return Me.columnNumber
  2528. End Get
  2529. End Property
  2530. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2531. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), _
  2532. Global.System.ComponentModel.Browsable(false)> _
  2533. Public ReadOnly Property Count() As Integer
  2534. Get
  2535. Return Me.Rows.Count
  2536. End Get
  2537. End Property
  2538. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2539. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2540. Public Default ReadOnly Property Item(ByVal index As Integer) As LicensesRow
  2541. Get
  2542. Return CType(Me.Rows(index),LicensesRow)
  2543. End Get
  2544. End Property
  2545. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2546. Public Event LicensesRowChanging As LicensesRowChangeEventHandler
  2547. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2548. Public Event LicensesRowChanged As LicensesRowChangeEventHandler
  2549. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2550. Public Event LicensesRowDeleting As LicensesRowChangeEventHandler
  2551. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2552. Public Event LicensesRowDeleted As LicensesRowChangeEventHandler
  2553. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2554. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2555. Public Overloads Sub AddLicensesRow(ByVal row As LicensesRow)
  2556. Me.Rows.Add(row)
  2557. End Sub
  2558. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2559. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2560. Public Overloads Function AddLicensesRow(ByVal LicenseID As System.Guid, ByVal Name As String, ByVal Details As String, ByVal Number As String) As LicensesRow
  2561. Dim rowLicensesRow As LicensesRow = CType(Me.NewRow,LicensesRow)
  2562. Dim columnValuesArray() As Object = New Object() {LicenseID, Name, Details, Number}
  2563. rowLicensesRow.ItemArray = columnValuesArray
  2564. Me.Rows.Add(rowLicensesRow)
  2565. Return rowLicensesRow
  2566. End Function
  2567. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2568. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2569. Public Function FindByLicenseID(ByVal LicenseID As System.Guid) As LicensesRow
  2570. Return CType(Me.Rows.Find(New Object() {LicenseID}),LicensesRow)
  2571. End Function
  2572. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2573. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2574. Public Overridable Function GetEnumerator() As Global.System.Collections.IEnumerator Implements Global.System.Collections.IEnumerable.GetEnumerator
  2575. Return Me.Rows.GetEnumerator
  2576. End Function
  2577. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2578. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2579. Public Overrides Function Clone() As Global.System.Data.DataTable
  2580. Dim cln As LicensesDataTable = CType(MyBase.Clone,LicensesDataTable)
  2581. cln.InitVars
  2582. Return cln
  2583. End Function
  2584. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2585. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2586. Protected Overrides Function CreateInstance() As Global.System.Data.DataTable
  2587. Return New LicensesDataTable()
  2588. End Function
  2589. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2590. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2591. Friend Sub InitVars()
  2592. Me.columnLicenseID = MyBase.Columns("LicenseID")
  2593. Me.columnName = MyBase.Columns("Name")
  2594. Me.columnDetails = MyBase.Columns("Details")
  2595. Me.columnNumber = MyBase.Columns("Number")
  2596. End Sub
  2597. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2598. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2599. Private Sub InitClass()
  2600. Me.columnLicenseID = New Global.System.Data.DataColumn("LicenseID", GetType(Global.System.Guid), Nothing, Global.System.Data.MappingType.Element)
  2601. MyBase.Columns.Add(Me.columnLicenseID)
  2602. Me.columnName = New Global.System.Data.DataColumn("Name", GetType(String), Nothing, Global.System.Data.MappingType.Element)
  2603. MyBase.Columns.Add(Me.columnName)
  2604. Me.columnDetails = New Global.System.Data.DataColumn("Details", GetType(String), Nothing, Global.System.Data.MappingType.Element)
  2605. MyBase.Columns.Add(Me.columnDetails)
  2606. Me.columnNumber = New Global.System.Data.DataColumn("Number", GetType(String), Nothing, Global.System.Data.MappingType.Element)
  2607. MyBase.Columns.Add(Me.columnNumber)
  2608. Me.Constraints.Add(New Global.System.Data.UniqueConstraint("Constraint1", New Global.System.Data.DataColumn() {Me.columnLicenseID}, true))
  2609. Me.columnLicenseID.AllowDBNull = false
  2610. Me.columnLicenseID.Unique = true
  2611. End Sub
  2612. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2613. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2614. Public Function NewLicensesRow() As LicensesRow
  2615. Return CType(Me.NewRow,LicensesRow)
  2616. End Function
  2617. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2618. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2619. Protected Overrides Function NewRowFromBuilder(ByVal builder As Global.System.Data.DataRowBuilder) As Global.System.Data.DataRow
  2620. Return New LicensesRow(builder)
  2621. End Function
  2622. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2623. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2624. Protected Overrides Function GetRowType() As Global.System.Type
  2625. Return GetType(LicensesRow)
  2626. End Function
  2627. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2628. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2629. Protected Overrides Sub OnRowChanged(ByVal e As Global.System.Data.DataRowChangeEventArgs)
  2630. MyBase.OnRowChanged(e)
  2631. If (Not (Me.LicensesRowChangedEvent) Is Nothing) Then
  2632. RaiseEvent LicensesRowChanged(Me, New LicensesRowChangeEvent(CType(e.Row,LicensesRow), e.Action))
  2633. End If
  2634. End Sub
  2635. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2636. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2637. Protected Overrides Sub OnRowChanging(ByVal e As Global.System.Data.DataRowChangeEventArgs)
  2638. MyBase.OnRowChanging(e)
  2639. If (Not (Me.LicensesRowChangingEvent) Is Nothing) Then
  2640. RaiseEvent LicensesRowChanging(Me, New LicensesRowChangeEvent(CType(e.Row,LicensesRow), e.Action))
  2641. End If
  2642. End Sub
  2643. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2644. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2645. Protected Overrides Sub OnRowDeleted(ByVal e As Global.System.Data.DataRowChangeEventArgs)
  2646. MyBase.OnRowDeleted(e)
  2647. If (Not (Me.LicensesRowDeletedEvent) Is Nothing) Then
  2648. RaiseEvent LicensesRowDeleted(Me, New LicensesRowChangeEvent(CType(e.Row,LicensesRow), e.Action))
  2649. End If
  2650. End Sub
  2651. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2652. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2653. Protected Overrides Sub OnRowDeleting(ByVal e As Global.System.Data.DataRowChangeEventArgs)
  2654. MyBase.OnRowDeleting(e)
  2655. If (Not (Me.LicensesRowDeletingEvent) Is Nothing) Then
  2656. RaiseEvent LicensesRowDeleting(Me, New LicensesRowChangeEvent(CType(e.Row,LicensesRow), e.Action))
  2657. End If
  2658. End Sub
  2659. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2660. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2661. Public Sub RemoveLicensesRow(ByVal row As LicensesRow)
  2662. Me.Rows.Remove(row)
  2663. End Sub
  2664. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2665. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2666. Public Shared Function GetTypedTableSchema(ByVal xs As Global.System.Xml.Schema.XmlSchemaSet) As Global.System.Xml.Schema.XmlSchemaComplexType
  2667. Dim type As Global.System.Xml.Schema.XmlSchemaComplexType = New Global.System.Xml.Schema.XmlSchemaComplexType()
  2668. Dim sequence As Global.System.Xml.Schema.XmlSchemaSequence = New Global.System.Xml.Schema.XmlSchemaSequence()
  2669. Dim ds As Data = New Data()
  2670. Dim any1 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
  2671. any1.Namespace = "http://www.w3.org/2001/XMLSchema"
  2672. any1.MinOccurs = New Decimal(0)
  2673. any1.MaxOccurs = Decimal.MaxValue
  2674. any1.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
  2675. sequence.Items.Add(any1)
  2676. Dim any2 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
  2677. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"
  2678. any2.MinOccurs = New Decimal(1)
  2679. any2.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
  2680. sequence.Items.Add(any2)
  2681. Dim attribute1 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
  2682. attribute1.Name = "namespace"
  2683. attribute1.FixedValue = ds.Namespace
  2684. type.Attributes.Add(attribute1)
  2685. Dim attribute2 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
  2686. attribute2.Name = "tableTypeName"
  2687. attribute2.FixedValue = "LicensesDataTable"
  2688. type.Attributes.Add(attribute2)
  2689. type.Particle = sequence
  2690. Dim dsSchema As Global.System.Xml.Schema.XmlSchema = ds.GetSchemaSerializable
  2691. If xs.Contains(dsSchema.TargetNamespace) Then
  2692. Dim s1 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
  2693. Dim s2 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
  2694. Try
  2695. Dim schema As Global.System.Xml.Schema.XmlSchema = Nothing
  2696. dsSchema.Write(s1)
  2697. Dim schemas As Global.System.Collections.IEnumerator = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator
  2698. Do While schemas.MoveNext
  2699. schema = CType(schemas.Current,Global.System.Xml.Schema.XmlSchema)
  2700. s2.SetLength(0)
  2701. schema.Write(s2)
  2702. If (s1.Length = s2.Length) Then
  2703. s1.Position = 0
  2704. s2.Position = 0
  2705. Do While ((s1.Position <> s1.Length) _
  2706. AndAlso (s1.ReadByte = s2.ReadByte))
  2707. Loop
  2708. If (s1.Position = s1.Length) Then
  2709. Return type
  2710. End If
  2711. End If
  2712. Loop
  2713. Finally
  2714. If (Not (s1) Is Nothing) Then
  2715. s1.Close
  2716. End If
  2717. If (Not (s2) Is Nothing) Then
  2718. s2.Close
  2719. End If
  2720. End Try
  2721. End If
  2722. xs.Add(dsSchema)
  2723. Return type
  2724. End Function
  2725. End Class
  2726. '''<summary>
  2727. '''Represents strongly named DataRow class.
  2728. '''</summary>
  2729. Partial Public Class SettingsRow
  2730. Inherits Global.System.Data.DataRow
  2731. Private tableSettings As SettingsDataTable
  2732. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2733. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2734. Friend Sub New(ByVal rb As Global.System.Data.DataRowBuilder)
  2735. MyBase.New(rb)
  2736. Me.tableSettings = CType(Me.Table,SettingsDataTable)
  2737. End Sub
  2738. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2739. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2740. Public Property Name() As String
  2741. Get
  2742. Return CType(Me(Me.tableSettings.NameColumn),String)
  2743. End Get
  2744. Set
  2745. Me(Me.tableSettings.NameColumn) = value
  2746. End Set
  2747. End Property
  2748. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2749. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2750. Public Property Value() As String
  2751. Get
  2752. Try
  2753. Return CType(Me(Me.tableSettings.ValueColumn),String)
  2754. Catch e As Global.System.InvalidCastException
  2755. Throw New Global.System.Data.StrongTypingException("The value for column 'Value' in table 'Settings' is DBNull.", e)
  2756. End Try
  2757. End Get
  2758. Set
  2759. Me(Me.tableSettings.ValueColumn) = value
  2760. End Set
  2761. End Property
  2762. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2763. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2764. Public Function IsValueNull() As Boolean
  2765. Return Me.IsNull(Me.tableSettings.ValueColumn)
  2766. End Function
  2767. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2768. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2769. Public Sub SetValueNull()
  2770. Me(Me.tableSettings.ValueColumn) = Global.System.Convert.DBNull
  2771. End Sub
  2772. End Class
  2773. '''<summary>
  2774. '''Represents strongly named DataRow class.
  2775. '''</summary>
  2776. Partial Public Class SongsRow
  2777. Inherits Global.System.Data.DataRow
  2778. Private tableSongs As SongsDataTable
  2779. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2780. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2781. Friend Sub New(ByVal rb As Global.System.Data.DataRowBuilder)
  2782. MyBase.New(rb)
  2783. Me.tableSongs = CType(Me.Table,SongsDataTable)
  2784. End Sub
  2785. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2786. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2787. Public Property SongID() As System.Guid
  2788. Get
  2789. Return CType(Me(Me.tableSongs.SongIDColumn),Global.System.Guid)
  2790. End Get
  2791. Set
  2792. Me(Me.tableSongs.SongIDColumn) = value
  2793. End Set
  2794. End Property
  2795. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2796. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2797. Public Property Title() As String
  2798. Get
  2799. Try
  2800. Return CType(Me(Me.tableSongs.TitleColumn),String)
  2801. Catch e As Global.System.InvalidCastException
  2802. Throw New Global.System.Data.StrongTypingException("The value for column 'Title' in table 'Songs' is DBNull.", e)
  2803. End Try
  2804. End Get
  2805. Set
  2806. Me(Me.tableSongs.TitleColumn) = value
  2807. End Set
  2808. End Property
  2809. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2810. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2811. Public Property LicenseID() As System.Guid
  2812. Get
  2813. Try
  2814. Return CType(Me(Me.tableSongs.LicenseIDColumn),Global.System.Guid)
  2815. Catch e As Global.System.InvalidCastException
  2816. Throw New Global.System.Data.StrongTypingException("The value for column 'LicenseID' in table 'Songs' is DBNull.", e)
  2817. End Try
  2818. End Get
  2819. Set
  2820. Me(Me.tableSongs.LicenseIDColumn) = value
  2821. End Set
  2822. End Property
  2823. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2824. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2825. Public Property LicensesRow() As LicensesRow
  2826. Get
  2827. Return CType(Me.GetParentRow(Me.Table.ParentRelations("Licenses_Songs")),LicensesRow)
  2828. End Get
  2829. Set
  2830. Me.SetParentRow(value, Me.Table.ParentRelations("Licenses_Songs"))
  2831. End Set
  2832. End Property
  2833. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2834. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2835. Public Function IsTitleNull() As Boolean
  2836. Return Me.IsNull(Me.tableSongs.TitleColumn)
  2837. End Function
  2838. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2839. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2840. Public Sub SetTitleNull()
  2841. Me(Me.tableSongs.TitleColumn) = Global.System.Convert.DBNull
  2842. End Sub
  2843. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2844. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2845. Public Function IsLicenseIDNull() As Boolean
  2846. Return Me.IsNull(Me.tableSongs.LicenseIDColumn)
  2847. End Function
  2848. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2849. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2850. Public Sub SetLicenseIDNull()
  2851. Me(Me.tableSongs.LicenseIDColumn) = Global.System.Convert.DBNull
  2852. End Sub
  2853. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2854. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2855. Public Function GetSongCategoriesRows() As SongCategoriesRow()
  2856. If (Me.Table.ChildRelations("FK_Songs_SongCategories") Is Nothing) Then
  2857. Return New SongCategoriesRow(-1) {}
  2858. Else
  2859. Return CType(MyBase.GetChildRows(Me.Table.ChildRelations("FK_Songs_SongCategories")),SongCategoriesRow())
  2860. End If
  2861. End Function
  2862. End Class
  2863. '''<summary>
  2864. '''Represents strongly named DataRow class.
  2865. '''</summary>
  2866. Partial Public Class StylesRow
  2867. Inherits Global.System.Data.DataRow
  2868. Private tableStyles As StylesDataTable
  2869. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2870. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2871. Friend Sub New(ByVal rb As Global.System.Data.DataRowBuilder)
  2872. MyBase.New(rb)
  2873. Me.tableStyles = CType(Me.Table,StylesDataTable)
  2874. End Sub
  2875. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2876. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2877. Public Property StyleID() As System.Guid
  2878. Get
  2879. Return CType(Me(Me.tableStyles.StyleIDColumn),Global.System.Guid)
  2880. End Get
  2881. Set
  2882. Me(Me.tableStyles.StyleIDColumn) = value
  2883. End Set
  2884. End Property
  2885. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2886. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2887. Public Property Name() As String
  2888. Get
  2889. Try
  2890. Return CType(Me(Me.tableStyles.NameColumn),String)
  2891. Catch e As Global.System.InvalidCastException
  2892. Throw New Global.System.Data.StrongTypingException("The value for column 'Name' in table 'Styles' is DBNull.", e)
  2893. End Try
  2894. End Get
  2895. Set
  2896. Me(Me.tableStyles.NameColumn) = value
  2897. End Set
  2898. End Property
  2899. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2900. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2901. Public Property DefaultBackgroundImage() As String
  2902. Get
  2903. Try
  2904. Return CType(Me(Me.tableStyles.DefaultBackgroundImageColumn),String)
  2905. Catch e As Global.System.InvalidCastException
  2906. Throw New Global.System.Data.StrongTypingException("The value for column 'DefaultBackgroundImage' in table 'Styles' is DBNull.", e)
  2907. End Try
  2908. End Get
  2909. Set
  2910. Me(Me.tableStyles.DefaultBackgroundImageColumn) = value
  2911. End Set
  2912. End Property
  2913. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2914. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2915. Public Property DefaultBackgroundColour() As Integer
  2916. Get
  2917. Try
  2918. Return CType(Me(Me.tableStyles.DefaultBackgroundColourColumn),Integer)
  2919. Catch e As Global.System.InvalidCastException
  2920. Throw New Global.System.Data.StrongTypingException("The value for column 'DefaultBackgroundColour' in table 'Styles' is DBNull.", e)
  2921. End Try
  2922. End Get
  2923. Set
  2924. Me(Me.tableStyles.DefaultBackgroundColourColumn) = value
  2925. End Set
  2926. End Property
  2927. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2928. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2929. Public Property GeneralFadeDuration() As Integer
  2930. Get
  2931. Try
  2932. Return CType(Me(Me.tableStyles.GeneralFadeDurationColumn),Integer)
  2933. Catch e As Global.System.InvalidCastException
  2934. Throw New Global.System.Data.StrongTypingException("The value for column 'GeneralFadeDuration' in table 'Styles' is DBNull.", e)
  2935. End Try
  2936. End Get
  2937. Set
  2938. Me(Me.tableStyles.GeneralFadeDurationColumn) = value
  2939. End Set
  2940. End Property
  2941. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2942. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2943. Public Property VerseFade() As Integer
  2944. Get
  2945. Try
  2946. Return CType(Me(Me.tableStyles.VerseFadeColumn),Integer)
  2947. Catch e As Global.System.InvalidCastException
  2948. Throw New Global.System.Data.StrongTypingException("The value for column 'VerseFade' in table 'Styles' is DBNull.", e)
  2949. End Try
  2950. End Get
  2951. Set
  2952. Me(Me.tableStyles.VerseFadeColumn) = value
  2953. End Set
  2954. End Property
  2955. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2956. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2957. Public Property VerseFadeDuration() As Integer
  2958. Get
  2959. Try
  2960. Return CType(Me(Me.tableStyles.VerseFadeDurationColumn),Integer)
  2961. Catch e As Global.System.InvalidCastException
  2962. Throw New Global.System.Data.StrongTypingException("The value for column 'VerseFadeDuration' in table 'Styles' is DBNull.", e)
  2963. End Try
  2964. End Get
  2965. Set
  2966. Me(Me.tableStyles.VerseFadeDurationColumn) = value
  2967. End Set
  2968. End Property
  2969. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2970. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2971. Public Property GeneralFade() As Integer
  2972. Get
  2973. Try
  2974. Return CType(Me(Me.tableStyles.GeneralFadeColumn),Integer)
  2975. Catch e As Global.System.InvalidCastException
  2976. Throw New Global.System.Data.StrongTypingException("The value for column 'GeneralFade' in table 'Styles' is DBNull.", e)
  2977. End Try
  2978. End Get
  2979. Set
  2980. Me(Me.tableStyles.GeneralFadeColumn) = value
  2981. End Set
  2982. End Property
  2983. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2984. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2985. Public Property BackgroundType() As Integer
  2986. Get
  2987. Try
  2988. Return CType(Me(Me.tableStyles.BackgroundTypeColumn),Integer)
  2989. Catch e As Global.System.InvalidCastException
  2990. Throw New Global.System.Data.StrongTypingException("The value for column 'BackgroundType' in table 'Styles' is DBNull.", e)
  2991. End Try
  2992. End Get
  2993. Set
  2994. Me(Me.tableStyles.BackgroundTypeColumn) = value
  2995. End Set
  2996. End Property
  2997. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  2998. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  2999. Public Function IsNameNull() As Boolean
  3000. Return Me.IsNull(Me.tableStyles.NameColumn)
  3001. End Function
  3002. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3003. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3004. Public Sub SetNameNull()
  3005. Me(Me.tableStyles.NameColumn) = Global.System.Convert.DBNull
  3006. End Sub
  3007. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3008. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3009. Public Function IsDefaultBackgroundImageNull() As Boolean
  3010. Return Me.IsNull(Me.tableStyles.DefaultBackgroundImageColumn)
  3011. End Function
  3012. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3013. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3014. Public Sub SetDefaultBackgroundImageNull()
  3015. Me(Me.tableStyles.DefaultBackgroundImageColumn) = Global.System.Convert.DBNull
  3016. End Sub
  3017. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3018. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3019. Public Function IsDefaultBackgroundColourNull() As Boolean
  3020. Return Me.IsNull(Me.tableStyles.DefaultBackgroundColourColumn)
  3021. End Function
  3022. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3023. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3024. Public Sub SetDefaultBackgroundColourNull()
  3025. Me(Me.tableStyles.DefaultBackgroundColourColumn) = Global.System.Convert.DBNull
  3026. End Sub
  3027. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3028. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3029. Public Function IsGeneralFadeDurationNull() As Boolean
  3030. Return Me.IsNull(Me.tableStyles.GeneralFadeDurationColumn)
  3031. End Function
  3032. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3033. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3034. Public Sub SetGeneralFadeDurationNull()
  3035. Me(Me.tableStyles.GeneralFadeDurationColumn) = Global.System.Convert.DBNull
  3036. End Sub
  3037. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3038. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3039. Public Function IsVerseFadeNull() As Boolean
  3040. Return Me.IsNull(Me.tableStyles.VerseFadeColumn)
  3041. End Function
  3042. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3043. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3044. Public Sub SetVerseFadeNull()
  3045. Me(Me.tableStyles.VerseFadeColumn) = Global.System.Convert.DBNull
  3046. End Sub
  3047. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3048. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3049. Public Function IsVerseFadeDurationNull() As Boolean
  3050. Return Me.IsNull(Me.tableStyles.VerseFadeDurationColumn)
  3051. End Function
  3052. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3053. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3054. Public Sub SetVerseFadeDurationNull()
  3055. Me(Me.tableStyles.VerseFadeDurationColumn) = Global.System.Convert.DBNull
  3056. End Sub
  3057. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3058. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3059. Public Function IsGeneralFadeNull() As Boolean
  3060. Return Me.IsNull(Me.tableStyles.GeneralFadeColumn)
  3061. End Function
  3062. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3063. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3064. Public Sub SetGeneralFadeNull()
  3065. Me(Me.tableStyles.GeneralFadeColumn) = Global.System.Convert.DBNull
  3066. End Sub
  3067. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3068. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3069. Public Function IsBackgroundTypeNull() As Boolean
  3070. Return Me.IsNull(Me.tableStyles.BackgroundTypeColumn)
  3071. End Function
  3072. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3073. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3074. Public Sub SetBackgroundTypeNull()
  3075. Me(Me.tableStyles.BackgroundTypeColumn) = Global.System.Convert.DBNull
  3076. End Sub
  3077. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3078. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3079. Public Function GetProjectletsRows() As ProjectletsRow()
  3080. If (Me.Table.ChildRelations("FK_Styles_Projectlets") Is Nothing) Then
  3081. Return New ProjectletsRow(-1) {}
  3082. Else
  3083. Return CType(MyBase.GetChildRows(Me.Table.ChildRelations("FK_Styles_Projectlets")),ProjectletsRow())
  3084. End If
  3085. End Function
  3086. End Class
  3087. '''<summary>
  3088. '''Represents strongly named DataRow class.
  3089. '''</summary>
  3090. Partial Public Class BiblesRow
  3091. Inherits Global.System.Data.DataRow
  3092. Private tableBibles As BiblesDataTable
  3093. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3094. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3095. Friend Sub New(ByVal rb As Global.System.Data.DataRowBuilder)
  3096. MyBase.New(rb)
  3097. Me.tableBibles = CType(Me.Table,BiblesDataTable)
  3098. End Sub
  3099. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3100. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3101. Public Property Acronym() As String
  3102. Get
  3103. Try
  3104. Return CType(Me(Me.tableBibles.AcronymColumn),String)
  3105. Catch e As Global.System.InvalidCastException
  3106. Throw New Global.System.Data.StrongTypingException("The value for column 'Acronym' in table 'Bibles' is DBNull.", e)
  3107. End Try
  3108. End Get
  3109. Set
  3110. Me(Me.tableBibles.AcronymColumn) = value
  3111. End Set
  3112. End Property
  3113. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3114. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3115. Public Property FileName() As String
  3116. Get
  3117. Try
  3118. Return CType(Me(Me.tableBibles.FileNameColumn),String)
  3119. Catch e As Global.System.InvalidCastException
  3120. Throw New Global.System.Data.StrongTypingException("The value for column 'FileName' in table 'Bibles' is DBNull.", e)
  3121. End Try
  3122. End Get
  3123. Set
  3124. Me(Me.tableBibles.FileNameColumn) = value
  3125. End Set
  3126. End Property
  3127. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3128. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3129. Public Function IsAcronymNull() As Boolean
  3130. Return Me.IsNull(Me.tableBibles.AcronymColumn)
  3131. End Function
  3132. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3133. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3134. Public Sub SetAcronymNull()
  3135. Me(Me.tableBibles.AcronymColumn) = Global.System.Convert.DBNull
  3136. End Sub
  3137. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3138. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3139. Public Function IsFileNameNull() As Boolean
  3140. Return Me.IsNull(Me.tableBibles.FileNameColumn)
  3141. End Function
  3142. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3143. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3144. Public Sub SetFileNameNull()
  3145. Me(Me.tableBibles.FileNameColumn) = Global.System.Convert.DBNull
  3146. End Sub
  3147. End Class
  3148. '''<summary>
  3149. '''Represents strongly named DataRow class.
  3150. '''</summary>
  3151. Partial Public Class CategoriesRow
  3152. Inherits Global.System.Data.DataRow
  3153. Private tableCategories As CategoriesDataTable
  3154. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3155. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3156. Friend Sub New(ByVal rb As Global.System.Data.DataRowBuilder)
  3157. MyBase.New(rb)
  3158. Me.tableCategories = CType(Me.Table,CategoriesDataTable)
  3159. End Sub
  3160. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3161. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3162. Public Property CategoryID() As System.Guid
  3163. Get
  3164. Return CType(Me(Me.tableCategories.CategoryIDColumn),Global.System.Guid)
  3165. End Get
  3166. Set
  3167. Me(Me.tableCategories.CategoryIDColumn) = value
  3168. End Set
  3169. End Property
  3170. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3171. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3172. Public Property Name() As String
  3173. Get
  3174. Try
  3175. Return CType(Me(Me.tableCategories.NameColumn),String)
  3176. Catch e As Global.System.InvalidCastException
  3177. Throw New Global.System.Data.StrongTypingException("The value for column 'Name' in table 'Categories' is DBNull.", e)
  3178. End Try
  3179. End Get
  3180. Set
  3181. Me(Me.tableCategories.NameColumn) = value
  3182. End Set
  3183. End Property
  3184. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3185. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3186. Public Function IsNameNull() As Boolean
  3187. Return Me.IsNull(Me.tableCategories.NameColumn)
  3188. End Function
  3189. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3190. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3191. Public Sub SetNameNull()
  3192. Me(Me.tableCategories.NameColumn) = Global.System.Convert.DBNull
  3193. End Sub
  3194. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3195. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3196. Public Function GetSongCategoriesRows() As SongCategoriesRow()
  3197. If (Me.Table.ChildRelations("FK_Categories_SongCategories") Is Nothing) Then
  3198. Return New SongCategoriesRow(-1) {}
  3199. Else
  3200. Return CType(MyBase.GetChildRows(Me.Table.ChildRelations("FK_Categories_SongCategories")),SongCategoriesRow())
  3201. End If
  3202. End Function
  3203. End Class
  3204. '''<summary>
  3205. '''Represents strongly named DataRow class.
  3206. '''</summary>
  3207. Partial Public Class SongCategoriesRow
  3208. Inherits Global.System.Data.DataRow
  3209. Private tableSongCategories As SongCategoriesDataTable
  3210. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3211. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3212. Friend Sub New(ByVal rb As Global.System.Data.DataRowBuilder)
  3213. MyBase.New(rb)
  3214. Me.tableSongCategories = CType(Me.Table,SongCategoriesDataTable)
  3215. End Sub
  3216. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3217. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3218. Public Property SongID() As System.Guid
  3219. Get
  3220. Return CType(Me(Me.tableSongCategories.SongIDColumn),Global.System.Guid)
  3221. End Get
  3222. Set
  3223. Me(Me.tableSongCategories.SongIDColumn) = value
  3224. End Set
  3225. End Property
  3226. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3227. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3228. Public Property CategoryID() As System.Guid
  3229. Get
  3230. Return CType(Me(Me.tableSongCategories.CategoryIDColumn),Global.System.Guid)
  3231. End Get
  3232. Set
  3233. Me(Me.tableSongCategories.CategoryIDColumn) = value
  3234. End Set
  3235. End Property
  3236. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3237. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3238. Public Property CategoriesRow() As CategoriesRow
  3239. Get
  3240. Return CType(Me.GetParentRow(Me.Table.ParentRelations("FK_Categories_SongCategories")),CategoriesRow)
  3241. End Get
  3242. Set
  3243. Me.SetParentRow(value, Me.Table.ParentRelations("FK_Categories_SongCategories"))
  3244. End Set
  3245. End Property
  3246. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3247. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3248. Public Property SongsRow() As SongsRow
  3249. Get
  3250. Return CType(Me.GetParentRow(Me.Table.ParentRelations("FK_Songs_SongCategories")),SongsRow)
  3251. End Get
  3252. Set
  3253. Me.SetParentRow(value, Me.Table.ParentRelations("FK_Songs_SongCategories"))
  3254. End Set
  3255. End Property
  3256. End Class
  3257. '''<summary>
  3258. '''Represents strongly named DataRow class.
  3259. '''</summary>
  3260. Partial Public Class ProjectletsRow
  3261. Inherits Global.System.Data.DataRow
  3262. Private tableProjectlets As ProjectletsDataTable
  3263. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3264. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3265. Friend Sub New(ByVal rb As Global.System.Data.DataRowBuilder)
  3266. MyBase.New(rb)
  3267. Me.tableProjectlets = CType(Me.Table,ProjectletsDataTable)
  3268. End Sub
  3269. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3270. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3271. Public Property StyleID() As System.Guid
  3272. Get
  3273. Return CType(Me(Me.tableProjectlets.StyleIDColumn),Global.System.Guid)
  3274. End Get
  3275. Set
  3276. Me(Me.tableProjectlets.StyleIDColumn) = value
  3277. End Set
  3278. End Property
  3279. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3280. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3281. Public Property Component() As String
  3282. Get
  3283. Return CType(Me(Me.tableProjectlets.ComponentColumn),String)
  3284. End Get
  3285. Set
  3286. Me(Me.tableProjectlets.ComponentColumn) = value
  3287. End Set
  3288. End Property
  3289. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3290. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3291. Public Property FontName() As String
  3292. Get
  3293. Try
  3294. Return CType(Me(Me.tableProjectlets.FontNameColumn),String)
  3295. Catch e As Global.System.InvalidCastException
  3296. Throw New Global.System.Data.StrongTypingException("The value for column 'FontName' in table 'Projectlets' is DBNull.", e)
  3297. End Try
  3298. End Get
  3299. Set
  3300. Me(Me.tableProjectlets.FontNameColumn) = value
  3301. End Set
  3302. End Property
  3303. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3304. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3305. Public Property FontSize() As Double
  3306. Get
  3307. Try
  3308. Return CType(Me(Me.tableProjectlets.FontSizeColumn),Double)
  3309. Catch e As Global.System.InvalidCastException
  3310. Throw New Global.System.Data.StrongTypingException("The value for column 'FontSize' in table 'Projectlets' is DBNull.", e)
  3311. End Try
  3312. End Get
  3313. Set
  3314. Me(Me.tableProjectlets.FontSizeColumn) = value
  3315. End Set
  3316. End Property
  3317. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3318. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3319. Public Property FontColour() As Integer
  3320. Get
  3321. Try
  3322. Return CType(Me(Me.tableProjectlets.FontColourColumn),Integer)
  3323. Catch e As Global.System.InvalidCastException
  3324. Throw New Global.System.Data.StrongTypingException("The value for column 'FontColour' in table 'Projectlets' is DBNull.", e)
  3325. End Try
  3326. End Get
  3327. Set
  3328. Me(Me.tableProjectlets.FontColourColumn) = value
  3329. End Set
  3330. End Property
  3331. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3332. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3333. Public Property FontStyle() As Integer
  3334. Get
  3335. Try
  3336. Return CType(Me(Me.tableProjectlets.FontStyleColumn),Integer)
  3337. Catch e As Global.System.InvalidCastException
  3338. Throw New Global.System.Data.StrongTypingException("The value for column 'FontStyle' in table 'Projectlets' is DBNull.", e)
  3339. End Try
  3340. End Get
  3341. Set
  3342. Me(Me.tableProjectlets.FontStyleColumn) = value
  3343. End Set
  3344. End Property
  3345. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3346. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3347. Public Property FontEffect() As Integer
  3348. Get
  3349. Try
  3350. Return CType(Me(Me.tableProjectlets.FontEffectColumn),Integer)
  3351. Catch e As Global.System.InvalidCastException
  3352. Throw New Global.System.Data.StrongTypingException("The value for column 'FontEffect' in table 'Projectlets' is DBNull.", e)
  3353. End Try
  3354. End Get
  3355. Set
  3356. Me(Me.tableProjectlets.FontEffectColumn) = value
  3357. End Set
  3358. End Property
  3359. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3360. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3361. Public Property FontEffectColour() As Integer
  3362. Get
  3363. Try
  3364. Return CType(Me(Me.tableProjectlets.FontEffectColourColumn),Integer)
  3365. Catch e As Global.System.InvalidCastException
  3366. Throw New Global.System.Data.StrongTypingException("The value for column 'FontEffectColour' in table 'Projectlets' is DBNull.", e)
  3367. End Try
  3368. End Get
  3369. Set
  3370. Me(Me.tableProjectlets.FontEffectColourColumn) = value
  3371. End Set
  3372. End Property
  3373. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3374. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3375. Public Property AreaLeft() As Double
  3376. Get
  3377. Try
  3378. Return CType(Me(Me.tableProjectlets.AreaLeftColumn),Double)
  3379. Catch e As Global.System.InvalidCastException
  3380. Throw New Global.System.Data.StrongTypingException("The value for column 'AreaLeft' in table 'Projectlets' is DBNull.", e)
  3381. End Try
  3382. End Get
  3383. Set
  3384. Me(Me.tableProjectlets.AreaLeftColumn) = value
  3385. End Set
  3386. End Property
  3387. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3388. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3389. Public Property AreaTop() As Double
  3390. Get
  3391. Try
  3392. Return CType(Me(Me.tableProjectlets.AreaTopColumn),Double)
  3393. Catch e As Global.System.InvalidCastException
  3394. Throw New Global.System.Data.StrongTypingException("The value for column 'AreaTop' in table 'Projectlets' is DBNull.", e)
  3395. End Try
  3396. End Get
  3397. Set
  3398. Me(Me.tableProjectlets.AreaTopColumn) = value
  3399. End Set
  3400. End Property
  3401. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3402. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3403. Public Property AreaWidth() As Double
  3404. Get
  3405. Try
  3406. Return CType(Me(Me.tableProjectlets.AreaWidthColumn),Double)
  3407. Catch e As Global.System.InvalidCastException
  3408. Throw New Global.System.Data.StrongTypingException("The value for column 'AreaWidth' in table 'Projectlets' is DBNull.", e)
  3409. End Try
  3410. End Get
  3411. Set
  3412. Me(Me.tableProjectlets.AreaWidthColumn) = value
  3413. End Set
  3414. End Property
  3415. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3416. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3417. Public Property AreaHeight() As Double
  3418. Get
  3419. Try
  3420. Return CType(Me(Me.tableProjectlets.AreaHeightColumn),Double)
  3421. Catch e As Global.System.InvalidCastException
  3422. Throw New Global.System.Data.StrongTypingException("The value for column 'AreaHeight' in table 'Projectlets' is DBNull.", e)
  3423. End Try
  3424. End Get
  3425. Set
  3426. Me(Me.tableProjectlets.AreaHeightColumn) = value
  3427. End Set
  3428. End Property
  3429. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3430. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3431. Public Property Alignment() As Integer
  3432. Get
  3433. Try
  3434. Return CType(Me(Me.tableProjectlets.AlignmentColumn),Integer)
  3435. Catch e As Global.System.InvalidCastException
  3436. Throw New Global.System.Data.StrongTypingException("The value for column 'Alignment' in table 'Projectlets' is DBNull.", e)
  3437. End Try
  3438. End Get
  3439. Set
  3440. Me(Me.tableProjectlets.AlignmentColumn) = value
  3441. End Set
  3442. End Property
  3443. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3444. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3445. Public Property WhenToDisplay() As Integer
  3446. Get
  3447. Try
  3448. Return CType(Me(Me.tableProjectlets.WhenToDisplayColumn),Integer)
  3449. Catch e As Global.System.InvalidCastException
  3450. Throw New Global.System.Data.StrongTypingException("The value for column 'WhenToDisplay' in table 'Projectlets' is DBNull.", e)
  3451. End Try
  3452. End Get
  3453. Set
  3454. Me(Me.tableProjectlets.WhenToDisplayColumn) = value
  3455. End Set
  3456. End Property
  3457. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3458. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3459. Public Property Content() As String
  3460. Get
  3461. Try
  3462. Return CType(Me(Me.tableProjectlets.ContentColumn),String)
  3463. Catch e As Global.System.InvalidCastException
  3464. Throw New Global.System.Data.StrongTypingException("The value for column 'Content' in table 'Projectlets' is DBNull.", e)
  3465. End Try
  3466. End Get
  3467. Set
  3468. Me(Me.tableProjectlets.ContentColumn) = value
  3469. End Set
  3470. End Property
  3471. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3472. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3473. Public Property StylesRow() As StylesRow
  3474. Get
  3475. Return CType(Me.GetParentRow(Me.Table.ParentRelations("FK_Styles_Projectlets")),StylesRow)
  3476. End Get
  3477. Set
  3478. Me.SetParentRow(value, Me.Table.ParentRelations("FK_Styles_Projectlets"))
  3479. End Set
  3480. End Property
  3481. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3482. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3483. Public Function IsFontNameNull() As Boolean
  3484. Return Me.IsNull(Me.tableProjectlets.FontNameColumn)
  3485. End Function
  3486. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3487. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3488. Public Sub SetFontNameNull()
  3489. Me(Me.tableProjectlets.FontNameColumn) = Global.System.Convert.DBNull
  3490. End Sub
  3491. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3492. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3493. Public Function IsFontSizeNull() As Boolean
  3494. Return Me.IsNull(Me.tableProjectlets.FontSizeColumn)
  3495. End Function
  3496. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3497. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3498. Public Sub SetFontSizeNull()
  3499. Me(Me.tableProjectlets.FontSizeColumn) = Global.System.Convert.DBNull
  3500. End Sub
  3501. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3502. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3503. Public Function IsFontColourNull() As Boolean
  3504. Return Me.IsNull(Me.tableProjectlets.FontColourColumn)
  3505. End Function
  3506. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3507. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3508. Public Sub SetFontColourNull()
  3509. Me(Me.tableProjectlets.FontColourColumn) = Global.System.Convert.DBNull
  3510. End Sub
  3511. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3512. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3513. Public Function IsFontStyleNull() As Boolean
  3514. Return Me.IsNull(Me.tableProjectlets.FontStyleColumn)
  3515. End Function
  3516. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3517. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3518. Public Sub SetFontStyleNull()
  3519. Me(Me.tableProjectlets.FontStyleColumn) = Global.System.Convert.DBNull
  3520. End Sub
  3521. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3522. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3523. Public Function IsFontEffectNull() As Boolean
  3524. Return Me.IsNull(Me.tableProjectlets.FontEffectColumn)
  3525. End Function
  3526. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3527. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3528. Public Sub SetFontEffectNull()
  3529. Me(Me.tableProjectlets.FontEffectColumn) = Global.System.Convert.DBNull
  3530. End Sub
  3531. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3532. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3533. Public Function IsFontEffectColourNull() As Boolean
  3534. Return Me.IsNull(Me.tableProjectlets.FontEffectColourColumn)
  3535. End Function
  3536. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3537. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3538. Public Sub SetFontEffectColourNull()
  3539. Me(Me.tableProjectlets.FontEffectColourColumn) = Global.System.Convert.DBNull
  3540. End Sub
  3541. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3542. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3543. Public Function IsAreaLeftNull() As Boolean
  3544. Return Me.IsNull(Me.tableProjectlets.AreaLeftColumn)
  3545. End Function
  3546. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3547. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3548. Public Sub SetAreaLeftNull()
  3549. Me(Me.tableProjectlets.AreaLeftColumn) = Global.System.Convert.DBNull
  3550. End Sub
  3551. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3552. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3553. Public Function IsAreaTopNull() As Boolean
  3554. Return Me.IsNull(Me.tableProjectlets.AreaTopColumn)
  3555. End Function
  3556. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3557. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3558. Public Sub SetAreaTopNull()
  3559. Me(Me.tableProjectlets.AreaTopColumn) = Global.System.Convert.DBNull
  3560. End Sub
  3561. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3562. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3563. Public Function IsAreaWidthNull() As Boolean
  3564. Return Me.IsNull(Me.tableProjectlets.AreaWidthColumn)
  3565. End Function
  3566. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3567. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3568. Public Sub SetAreaWidthNull()
  3569. Me(Me.tableProjectlets.AreaWidthColumn) = Global.System.Convert.DBNull
  3570. End Sub
  3571. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3572. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3573. Public Function IsAreaHeightNull() As Boolean
  3574. Return Me.IsNull(Me.tableProjectlets.AreaHeightColumn)
  3575. End Function
  3576. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3577. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3578. Public Sub SetAreaHeightNull()
  3579. Me(Me.tableProjectlets.AreaHeightColumn) = Global.System.Convert.DBNull
  3580. End Sub
  3581. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3582. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3583. Public Function IsAlignmentNull() As Boolean
  3584. Return Me.IsNull(Me.tableProjectlets.AlignmentColumn)
  3585. End Function
  3586. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3587. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3588. Public Sub SetAlignmentNull()
  3589. Me(Me.tableProjectlets.AlignmentColumn) = Global.System.Convert.DBNull
  3590. End Sub
  3591. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3592. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3593. Public Function IsWhenToDisplayNull() As Boolean
  3594. Return Me.IsNull(Me.tableProjectlets.WhenToDisplayColumn)
  3595. End Function
  3596. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3597. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3598. Public Sub SetWhenToDisplayNull()
  3599. Me(Me.tableProjectlets.WhenToDisplayColumn) = Global.System.Convert.DBNull
  3600. End Sub
  3601. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3602. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3603. Public Function IsContentNull() As Boolean
  3604. Return Me.IsNull(Me.tableProjectlets.ContentColumn)
  3605. End Function
  3606. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3607. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3608. Public Sub SetContentNull()
  3609. Me(Me.tableProjectlets.ContentColumn) = Global.System.Convert.DBNull
  3610. End Sub
  3611. End Class
  3612. '''<summary>
  3613. '''Represents strongly named DataRow class.
  3614. '''</summary>
  3615. Partial Public Class LicensesRow
  3616. Inherits Global.System.Data.DataRow
  3617. Private tableLicenses As LicensesDataTable
  3618. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3619. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3620. Friend Sub New(ByVal rb As Global.System.Data.DataRowBuilder)
  3621. MyBase.New(rb)
  3622. Me.tableLicenses = CType(Me.Table,LicensesDataTable)
  3623. End Sub
  3624. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3625. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3626. Public Property LicenseID() As System.Guid
  3627. Get
  3628. Return CType(Me(Me.tableLicenses.LicenseIDColumn),Global.System.Guid)
  3629. End Get
  3630. Set
  3631. Me(Me.tableLicenses.LicenseIDColumn) = value
  3632. End Set
  3633. End Property
  3634. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3635. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3636. Public Property Name() As String
  3637. Get
  3638. Try
  3639. Return CType(Me(Me.tableLicenses.NameColumn),String)
  3640. Catch e As Global.System.InvalidCastException
  3641. Throw New Global.System.Data.StrongTypingException("The value for column 'Name' in table 'Licenses' is DBNull.", e)
  3642. End Try
  3643. End Get
  3644. Set
  3645. Me(Me.tableLicenses.NameColumn) = value
  3646. End Set
  3647. End Property
  3648. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3649. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3650. Public Property Details() As String
  3651. Get
  3652. Try
  3653. Return CType(Me(Me.tableLicenses.DetailsColumn),String)
  3654. Catch e As Global.System.InvalidCastException
  3655. Throw New Global.System.Data.StrongTypingException("The value for column 'Details' in table 'Licenses' is DBNull.", e)
  3656. End Try
  3657. End Get
  3658. Set
  3659. Me(Me.tableLicenses.DetailsColumn) = value
  3660. End Set
  3661. End Property
  3662. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3663. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3664. Public Property Number() As String
  3665. Get
  3666. Try
  3667. Return CType(Me(Me.tableLicenses.NumberColumn),String)
  3668. Catch e As Global.System.InvalidCastException
  3669. Throw New Global.System.Data.StrongTypingException("The value for column 'Number' in table 'Licenses' is DBNull.", e)
  3670. End Try
  3671. End Get
  3672. Set
  3673. Me(Me.tableLicenses.NumberColumn) = value
  3674. End Set
  3675. End Property
  3676. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3677. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3678. Public Function IsNameNull() As Boolean
  3679. Return Me.IsNull(Me.tableLicenses.NameColumn)
  3680. End Function
  3681. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3682. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3683. Public Sub SetNameNull()
  3684. Me(Me.tableLicenses.NameColumn) = Global.System.Convert.DBNull
  3685. End Sub
  3686. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3687. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3688. Public Function IsDetailsNull() As Boolean
  3689. Return Me.IsNull(Me.tableLicenses.DetailsColumn)
  3690. End Function
  3691. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3692. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3693. Public Sub SetDetailsNull()
  3694. Me(Me.tableLicenses.DetailsColumn) = Global.System.Convert.DBNull
  3695. End Sub
  3696. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3697. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3698. Public Function IsNumberNull() As Boolean
  3699. Return Me.IsNull(Me.tableLicenses.NumberColumn)
  3700. End Function
  3701. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3702. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3703. Public Sub SetNumberNull()
  3704. Me(Me.tableLicenses.NumberColumn) = Global.System.Convert.DBNull
  3705. End Sub
  3706. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3707. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3708. Public Function GetSongsRows() As SongsRow()
  3709. If (Me.Table.ChildRelations("Licenses_Songs") Is Nothing) Then
  3710. Return New SongsRow(-1) {}
  3711. Else
  3712. Return CType(MyBase.GetChildRows(Me.Table.ChildRelations("Licenses_Songs")),SongsRow())
  3713. End If
  3714. End Function
  3715. End Class
  3716. '''<summary>
  3717. '''Row event argument class
  3718. '''</summary>
  3719. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3720. Public Class SettingsRowChangeEvent
  3721. Inherits Global.System.EventArgs
  3722. Private eventRow As SettingsRow
  3723. Private eventAction As Global.System.Data.DataRowAction
  3724. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3725. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3726. Public Sub New(ByVal row As SettingsRow, ByVal action As Global.System.Data.DataRowAction)
  3727. MyBase.New
  3728. Me.eventRow = row
  3729. Me.eventAction = action
  3730. End Sub
  3731. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3732. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3733. Public ReadOnly Property Row() As SettingsRow
  3734. Get
  3735. Return Me.eventRow
  3736. End Get
  3737. End Property
  3738. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3739. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3740. Public ReadOnly Property Action() As Global.System.Data.DataRowAction
  3741. Get
  3742. Return Me.eventAction
  3743. End Get
  3744. End Property
  3745. End Class
  3746. '''<summary>
  3747. '''Row event argument class
  3748. '''</summary>
  3749. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3750. Public Class SongsRowChangeEvent
  3751. Inherits Global.System.EventArgs
  3752. Private eventRow As SongsRow
  3753. Private eventAction As Global.System.Data.DataRowAction
  3754. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3755. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3756. Public Sub New(ByVal row As SongsRow, ByVal action As Global.System.Data.DataRowAction)
  3757. MyBase.New
  3758. Me.eventRow = row
  3759. Me.eventAction = action
  3760. End Sub
  3761. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3762. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3763. Public ReadOnly Property Row() As SongsRow
  3764. Get
  3765. Return Me.eventRow
  3766. End Get
  3767. End Property
  3768. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3769. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3770. Public ReadOnly Property Action() As Global.System.Data.DataRowAction
  3771. Get
  3772. Return Me.eventAction
  3773. End Get
  3774. End Property
  3775. End Class
  3776. '''<summary>
  3777. '''Row event argument class
  3778. '''</summary>
  3779. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3780. Public Class StylesRowChangeEvent
  3781. Inherits Global.System.EventArgs
  3782. Private eventRow As StylesRow
  3783. Private eventAction As Global.System.Data.DataRowAction
  3784. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3785. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3786. Public Sub New(ByVal row As StylesRow, ByVal action As Global.System.Data.DataRowAction)
  3787. MyBase.New
  3788. Me.eventRow = row
  3789. Me.eventAction = action
  3790. End Sub
  3791. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3792. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3793. Public ReadOnly Property Row() As StylesRow
  3794. Get
  3795. Return Me.eventRow
  3796. End Get
  3797. End Property
  3798. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3799. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3800. Public ReadOnly Property Action() As Global.System.Data.DataRowAction
  3801. Get
  3802. Return Me.eventAction
  3803. End Get
  3804. End Property
  3805. End Class
  3806. '''<summary>
  3807. '''Row event argument class
  3808. '''</summary>
  3809. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3810. Public Class BiblesRowChangeEvent
  3811. Inherits Global.System.EventArgs
  3812. Private eventRow As BiblesRow
  3813. Private eventAction As Global.System.Data.DataRowAction
  3814. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3815. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3816. Public Sub New(ByVal row As BiblesRow, ByVal action As Global.System.Data.DataRowAction)
  3817. MyBase.New
  3818. Me.eventRow = row
  3819. Me.eventAction = action
  3820. End Sub
  3821. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3822. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3823. Public ReadOnly Property Row() As BiblesRow
  3824. Get
  3825. Return Me.eventRow
  3826. End Get
  3827. End Property
  3828. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3829. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3830. Public ReadOnly Property Action() As Global.System.Data.DataRowAction
  3831. Get
  3832. Return Me.eventAction
  3833. End Get
  3834. End Property
  3835. End Class
  3836. '''<summary>
  3837. '''Row event argument class
  3838. '''</summary>
  3839. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3840. Public Class CategoriesRowChangeEvent
  3841. Inherits Global.System.EventArgs
  3842. Private eventRow As CategoriesRow
  3843. Private eventAction As Global.System.Data.DataRowAction
  3844. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3845. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3846. Public Sub New(ByVal row As CategoriesRow, ByVal action As Global.System.Data.DataRowAction)
  3847. MyBase.New
  3848. Me.eventRow = row
  3849. Me.eventAction = action
  3850. End Sub
  3851. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3852. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3853. Public ReadOnly Property Row() As CategoriesRow
  3854. Get
  3855. Return Me.eventRow
  3856. End Get
  3857. End Property
  3858. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3859. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3860. Public ReadOnly Property Action() As Global.System.Data.DataRowAction
  3861. Get
  3862. Return Me.eventAction
  3863. End Get
  3864. End Property
  3865. End Class
  3866. '''<summary>
  3867. '''Row event argument class
  3868. '''</summary>
  3869. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3870. Public Class SongCategoriesRowChangeEvent
  3871. Inherits Global.System.EventArgs
  3872. Private eventRow As SongCategoriesRow
  3873. Private eventAction As Global.System.Data.DataRowAction
  3874. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3875. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3876. Public Sub New(ByVal row As SongCategoriesRow, ByVal action As Global.System.Data.DataRowAction)
  3877. MyBase.New
  3878. Me.eventRow = row
  3879. Me.eventAction = action
  3880. End Sub
  3881. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3882. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3883. Public ReadOnly Property Row() As SongCategoriesRow
  3884. Get
  3885. Return Me.eventRow
  3886. End Get
  3887. End Property
  3888. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3889. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3890. Public ReadOnly Property Action() As Global.System.Data.DataRowAction
  3891. Get
  3892. Return Me.eventAction
  3893. End Get
  3894. End Property
  3895. End Class
  3896. '''<summary>
  3897. '''Row event argument class
  3898. '''</summary>
  3899. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3900. Public Class ProjectletsRowChangeEvent
  3901. Inherits Global.System.EventArgs
  3902. Private eventRow As ProjectletsRow
  3903. Private eventAction As Global.System.Data.DataRowAction
  3904. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3905. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3906. Public Sub New(ByVal row As ProjectletsRow, ByVal action As Global.System.Data.DataRowAction)
  3907. MyBase.New
  3908. Me.eventRow = row
  3909. Me.eventAction = action
  3910. End Sub
  3911. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3912. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3913. Public ReadOnly Property Row() As ProjectletsRow
  3914. Get
  3915. Return Me.eventRow
  3916. End Get
  3917. End Property
  3918. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3919. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3920. Public ReadOnly Property Action() As Global.System.Data.DataRowAction
  3921. Get
  3922. Return Me.eventAction
  3923. End Get
  3924. End Property
  3925. End Class
  3926. '''<summary>
  3927. '''Row event argument class
  3928. '''</summary>
  3929. <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3930. Public Class LicensesRowChangeEvent
  3931. Inherits Global.System.EventArgs
  3932. Private eventRow As LicensesRow
  3933. Private eventAction As Global.System.Data.DataRowAction
  3934. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3935. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3936. Public Sub New(ByVal row As LicensesRow, ByVal action As Global.System.Data.DataRowAction)
  3937. MyBase.New
  3938. Me.eventRow = row
  3939. Me.eventAction = action
  3940. End Sub
  3941. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3942. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3943. Public ReadOnly Property Row() As LicensesRow
  3944. Get
  3945. Return Me.eventRow
  3946. End Get
  3947. End Property
  3948. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  3949. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  3950. Public ReadOnly Property Action() As Global.System.Data.DataRowAction
  3951. Get
  3952. Return Me.eventAction
  3953. End Get
  3954. End Property
  3955. End Class
  3956. End Class