1 '------------------------------------------------------------------------------
3 ' This code was generated by a tool.
4 ' Runtime Version:4.0.30319.42000
6 ' Changes to this file may cause incorrect behavior and will be lost if
7 ' the code is regenerated.
9 '------------------------------------------------------------------------------
17 '''Represents a strongly typed in-memory cache of data.
19 <Global.System.Serializable(), _
20 Global.System.ComponentModel.DesignerCategoryAttribute("code"), _
21 Global.System.ComponentModel.ToolboxItem(true), _
22 Global.System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema"), _
23 Global.System.Xml.Serialization.XmlRootAttribute("NEADataSet"), _
24 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")> _
25 Partial Public Class NEADataSet
26 Inherits Global.System.Data.DataSet
28 Private tableAchievement As AchievementDataTable
30 Private tableDOW As DOWDataTable
32 Private tableFriends As FriendsDataTable
34 Private tableGames As GamesDataTable
36 Private tablePurchased As PurchasedDataTable
38 Private tableReviews As ReviewsDataTable
40 Private tableTags As TagsDataTable
42 Private tableWishlist As WishlistDataTable
44 Private tableUsers As UsersDataTable
46 Private tableUser_Details As User_DetailsDataTable
48 Private relationGamesAchievement As Global.System.Data.DataRelation
50 Private relationGamesDOW As Global.System.Data.DataRelation
52 Private relationGamesPurchased As Global.System.Data.DataRelation
54 Private relationGamesReviews As Global.System.Data.DataRelation
56 Private relationGamesWishlist As Global.System.Data.DataRelation
58 Private relationUser_DetailsUsers As Global.System.Data.DataRelation
60 Private _schemaSerializationMode As Global.System.Data.SchemaSerializationMode = Global.System.Data.SchemaSerializationMode.IncludeSchema
62 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
63 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
68 Dim schemaChangedHandler As Global.System.ComponentModel.CollectionChangeEventHandler = AddressOf Me.SchemaChanged
69 AddHandler MyBase.Tables.CollectionChanged, schemaChangedHandler
70 AddHandler MyBase.Relations.CollectionChanged, schemaChangedHandler
74 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
75 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
76 Protected Sub New(ByVal info As Global.System.Runtime.Serialization.SerializationInfo, ByVal context As Global.System.Runtime.Serialization.StreamingContext)
77 MyBase.New(info, context, false)
78 If (Me.IsBinarySerialized(info, context) = true) Then
80 Dim schemaChangedHandler1 As Global.System.ComponentModel.CollectionChangeEventHandler = AddressOf Me.SchemaChanged
81 AddHandler Me.Tables.CollectionChanged, schemaChangedHandler1
82 AddHandler Me.Relations.CollectionChanged, schemaChangedHandler1
85 Dim strSchema As String = CType(info.GetValue("XmlSchema", GetType(String)),String)
86 If (Me.DetermineSchemaSerializationMode(info, context) = Global.System.Data.SchemaSerializationMode.IncludeSchema) Then
87 Dim ds As Global.System.Data.DataSet = New Global.System.Data.DataSet()
88 ds.ReadXmlSchema(New Global.System.Xml.XmlTextReader(New Global.System.IO.StringReader(strSchema)))
89 If (Not (ds.Tables("Achievement")) Is Nothing) Then
90 MyBase.Tables.Add(New AchievementDataTable(ds.Tables("Achievement")))
92 If (Not (ds.Tables("DOW")) Is Nothing) Then
93 MyBase.Tables.Add(New DOWDataTable(ds.Tables("DOW")))
95 If (Not (ds.Tables("Friends")) Is Nothing) Then
96 MyBase.Tables.Add(New FriendsDataTable(ds.Tables("Friends")))
98 If (Not (ds.Tables("Games")) Is Nothing) Then
99 MyBase.Tables.Add(New GamesDataTable(ds.Tables("Games")))
101 If (Not (ds.Tables("Purchased")) Is Nothing) Then
102 MyBase.Tables.Add(New PurchasedDataTable(ds.Tables("Purchased")))
104 If (Not (ds.Tables("Reviews")) Is Nothing) Then
105 MyBase.Tables.Add(New ReviewsDataTable(ds.Tables("Reviews")))
107 If (Not (ds.Tables("Tags")) Is Nothing) Then
108 MyBase.Tables.Add(New TagsDataTable(ds.Tables("Tags")))
110 If (Not (ds.Tables("Wishlist")) Is Nothing) Then
111 MyBase.Tables.Add(New WishlistDataTable(ds.Tables("Wishlist")))
113 If (Not (ds.Tables("Users")) Is Nothing) Then
114 MyBase.Tables.Add(New UsersDataTable(ds.Tables("Users")))
116 If (Not (ds.Tables("User_Details")) Is Nothing) Then
117 MyBase.Tables.Add(New User_DetailsDataTable(ds.Tables("User_Details")))
119 Me.DataSetName = ds.DataSetName
120 Me.Prefix = ds.Prefix
121 Me.Namespace = ds.Namespace
122 Me.Locale = ds.Locale
123 Me.CaseSensitive = ds.CaseSensitive
124 Me.EnforceConstraints = ds.EnforceConstraints
125 Me.Merge(ds, false, Global.System.Data.MissingSchemaAction.Add)
128 Me.ReadXmlSchema(New Global.System.Xml.XmlTextReader(New Global.System.IO.StringReader(strSchema)))
130 Me.GetSerializationData(info, context)
131 Dim schemaChangedHandler As Global.System.ComponentModel.CollectionChangeEventHandler = AddressOf Me.SchemaChanged
132 AddHandler MyBase.Tables.CollectionChanged, schemaChangedHandler
133 AddHandler Me.Relations.CollectionChanged, schemaChangedHandler
136 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
137 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
138 Global.System.ComponentModel.Browsable(false), _
139 Global.System.ComponentModel.DesignerSerializationVisibility(Global.System.ComponentModel.DesignerSerializationVisibility.Content)> _
140 Public ReadOnly Property Achievement() As AchievementDataTable
142 Return Me.tableAchievement
146 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
147 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
148 Global.System.ComponentModel.Browsable(false), _
149 Global.System.ComponentModel.DesignerSerializationVisibility(Global.System.ComponentModel.DesignerSerializationVisibility.Content)> _
150 Public ReadOnly Property DOW() As DOWDataTable
156 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
157 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
158 Global.System.ComponentModel.Browsable(false), _
159 Global.System.ComponentModel.DesignerSerializationVisibility(Global.System.ComponentModel.DesignerSerializationVisibility.Content)> _
160 Public ReadOnly Property Friends() As FriendsDataTable
162 Return Me.tableFriends
166 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
167 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
168 Global.System.ComponentModel.Browsable(false), _
169 Global.System.ComponentModel.DesignerSerializationVisibility(Global.System.ComponentModel.DesignerSerializationVisibility.Content)> _
170 Public ReadOnly Property Games() As GamesDataTable
176 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
177 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
178 Global.System.ComponentModel.Browsable(false), _
179 Global.System.ComponentModel.DesignerSerializationVisibility(Global.System.ComponentModel.DesignerSerializationVisibility.Content)> _
180 Public ReadOnly Property Purchased() As PurchasedDataTable
182 Return Me.tablePurchased
186 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
187 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
188 Global.System.ComponentModel.Browsable(false), _
189 Global.System.ComponentModel.DesignerSerializationVisibility(Global.System.ComponentModel.DesignerSerializationVisibility.Content)> _
190 Public ReadOnly Property Reviews() As ReviewsDataTable
192 Return Me.tableReviews
196 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
197 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
198 Global.System.ComponentModel.Browsable(false), _
199 Global.System.ComponentModel.DesignerSerializationVisibility(Global.System.ComponentModel.DesignerSerializationVisibility.Content)> _
200 Public ReadOnly Property Tags() As TagsDataTable
206 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
207 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
208 Global.System.ComponentModel.Browsable(false), _
209 Global.System.ComponentModel.DesignerSerializationVisibility(Global.System.ComponentModel.DesignerSerializationVisibility.Content)> _
210 Public ReadOnly Property Wishlist() As WishlistDataTable
212 Return Me.tableWishlist
216 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
217 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
218 Global.System.ComponentModel.Browsable(false), _
219 Global.System.ComponentModel.DesignerSerializationVisibility(Global.System.ComponentModel.DesignerSerializationVisibility.Content)> _
220 Public ReadOnly Property Users() As UsersDataTable
226 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
227 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
228 Global.System.ComponentModel.Browsable(false), _
229 Global.System.ComponentModel.DesignerSerializationVisibility(Global.System.ComponentModel.DesignerSerializationVisibility.Content)> _
230 Public ReadOnly Property User_Details() As User_DetailsDataTable
232 Return Me.tableUser_Details
236 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
237 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
238 Global.System.ComponentModel.BrowsableAttribute(true), _
239 Global.System.ComponentModel.DesignerSerializationVisibilityAttribute(Global.System.ComponentModel.DesignerSerializationVisibility.Visible)> _
240 Public Overrides Property SchemaSerializationMode() As Global.System.Data.SchemaSerializationMode
242 Return Me._schemaSerializationMode
245 Me._schemaSerializationMode = value
249 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
250 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
251 Global.System.ComponentModel.DesignerSerializationVisibilityAttribute(Global.System.ComponentModel.DesignerSerializationVisibility.Hidden)> _
252 Public Shadows ReadOnly Property Tables() As Global.System.Data.DataTableCollection
258 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
259 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
260 Global.System.ComponentModel.DesignerSerializationVisibilityAttribute(Global.System.ComponentModel.DesignerSerializationVisibility.Hidden)> _
261 Public Shadows ReadOnly Property Relations() As Global.System.Data.DataRelationCollection
263 Return MyBase.Relations
267 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
268 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
269 Protected Overrides Sub InitializeDerivedDataSet()
275 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
276 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
277 Public Overrides Function Clone() As Global.System.Data.DataSet
278 Dim cln As NEADataSet = CType(MyBase.Clone,NEADataSet)
280 cln.SchemaSerializationMode = Me.SchemaSerializationMode
284 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
285 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
286 Protected Overrides Function ShouldSerializeTables() As Boolean
290 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
291 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
292 Protected Overrides Function ShouldSerializeRelations() As Boolean
296 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
297 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
298 Protected Overrides Sub ReadXmlSerializable(ByVal reader As Global.System.Xml.XmlReader)
299 If (Me.DetermineSchemaSerializationMode(reader) = Global.System.Data.SchemaSerializationMode.IncludeSchema) Then
301 Dim ds As Global.System.Data.DataSet = New Global.System.Data.DataSet()
303 If (Not (ds.Tables("Achievement")) Is Nothing) Then
304 MyBase.Tables.Add(New AchievementDataTable(ds.Tables("Achievement")))
306 If (Not (ds.Tables("DOW")) Is Nothing) Then
307 MyBase.Tables.Add(New DOWDataTable(ds.Tables("DOW")))
309 If (Not (ds.Tables("Friends")) Is Nothing) Then
310 MyBase.Tables.Add(New FriendsDataTable(ds.Tables("Friends")))
312 If (Not (ds.Tables("Games")) Is Nothing) Then
313 MyBase.Tables.Add(New GamesDataTable(ds.Tables("Games")))
315 If (Not (ds.Tables("Purchased")) Is Nothing) Then
316 MyBase.Tables.Add(New PurchasedDataTable(ds.Tables("Purchased")))
318 If (Not (ds.Tables("Reviews")) Is Nothing) Then
319 MyBase.Tables.Add(New ReviewsDataTable(ds.Tables("Reviews")))
321 If (Not (ds.Tables("Tags")) Is Nothing) Then
322 MyBase.Tables.Add(New TagsDataTable(ds.Tables("Tags")))
324 If (Not (ds.Tables("Wishlist")) Is Nothing) Then
325 MyBase.Tables.Add(New WishlistDataTable(ds.Tables("Wishlist")))
327 If (Not (ds.Tables("Users")) Is Nothing) Then
328 MyBase.Tables.Add(New UsersDataTable(ds.Tables("Users")))
330 If (Not (ds.Tables("User_Details")) Is Nothing) Then
331 MyBase.Tables.Add(New User_DetailsDataTable(ds.Tables("User_Details")))
333 Me.DataSetName = ds.DataSetName
334 Me.Prefix = ds.Prefix
335 Me.Namespace = ds.Namespace
336 Me.Locale = ds.Locale
337 Me.CaseSensitive = ds.CaseSensitive
338 Me.EnforceConstraints = ds.EnforceConstraints
339 Me.Merge(ds, false, Global.System.Data.MissingSchemaAction.Add)
347 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
348 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
349 Protected Overrides Function GetSchemaSerializable() As Global.System.Xml.Schema.XmlSchema
350 Dim stream As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
351 Me.WriteXmlSchema(New Global.System.Xml.XmlTextWriter(stream, Nothing))
353 Return Global.System.Xml.Schema.XmlSchema.Read(New Global.System.Xml.XmlTextReader(stream), Nothing)
356 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
357 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
358 Friend Overloads Sub InitVars()
362 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
363 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
364 Friend Overloads Sub InitVars(ByVal initTable As Boolean)
365 Me.tableAchievement = CType(MyBase.Tables("Achievement"),AchievementDataTable)
366 If (initTable = true) Then
367 If (Not (Me.tableAchievement) Is Nothing) Then
368 Me.tableAchievement.InitVars
371 Me.tableDOW = CType(MyBase.Tables("DOW"),DOWDataTable)
372 If (initTable = true) Then
373 If (Not (Me.tableDOW) Is Nothing) Then
377 Me.tableFriends = CType(MyBase.Tables("Friends"),FriendsDataTable)
378 If (initTable = true) Then
379 If (Not (Me.tableFriends) Is Nothing) Then
380 Me.tableFriends.InitVars
383 Me.tableGames = CType(MyBase.Tables("Games"),GamesDataTable)
384 If (initTable = true) Then
385 If (Not (Me.tableGames) Is Nothing) Then
386 Me.tableGames.InitVars
389 Me.tablePurchased = CType(MyBase.Tables("Purchased"),PurchasedDataTable)
390 If (initTable = true) Then
391 If (Not (Me.tablePurchased) Is Nothing) Then
392 Me.tablePurchased.InitVars
395 Me.tableReviews = CType(MyBase.Tables("Reviews"),ReviewsDataTable)
396 If (initTable = true) Then
397 If (Not (Me.tableReviews) Is Nothing) Then
398 Me.tableReviews.InitVars
401 Me.tableTags = CType(MyBase.Tables("Tags"),TagsDataTable)
402 If (initTable = true) Then
403 If (Not (Me.tableTags) Is Nothing) Then
404 Me.tableTags.InitVars
407 Me.tableWishlist = CType(MyBase.Tables("Wishlist"),WishlistDataTable)
408 If (initTable = true) Then
409 If (Not (Me.tableWishlist) Is Nothing) Then
410 Me.tableWishlist.InitVars
413 Me.tableUsers = CType(MyBase.Tables("Users"),UsersDataTable)
414 If (initTable = true) Then
415 If (Not (Me.tableUsers) Is Nothing) Then
416 Me.tableUsers.InitVars
419 Me.tableUser_Details = CType(MyBase.Tables("User_Details"),User_DetailsDataTable)
420 If (initTable = true) Then
421 If (Not (Me.tableUser_Details) Is Nothing) Then
422 Me.tableUser_Details.InitVars
425 Me.relationGamesAchievement = Me.Relations("GamesAchievement")
426 Me.relationGamesDOW = Me.Relations("GamesDOW")
427 Me.relationGamesPurchased = Me.Relations("GamesPurchased")
428 Me.relationGamesReviews = Me.Relations("GamesReviews")
429 Me.relationGamesWishlist = Me.Relations("GamesWishlist")
430 Me.relationUser_DetailsUsers = Me.Relations("User_DetailsUsers")
433 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
434 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
435 Private Sub InitClass()
436 Me.DataSetName = "NEADataSet"
438 Me.Namespace = "http://tempuri.org/NEADataSet.xsd"
439 Me.EnforceConstraints = true
440 Me.SchemaSerializationMode = Global.System.Data.SchemaSerializationMode.IncludeSchema
441 Me.tableAchievement = New AchievementDataTable()
442 MyBase.Tables.Add(Me.tableAchievement)
443 Me.tableDOW = New DOWDataTable()
444 MyBase.Tables.Add(Me.tableDOW)
445 Me.tableFriends = New FriendsDataTable()
446 MyBase.Tables.Add(Me.tableFriends)
447 Me.tableGames = New GamesDataTable()
448 MyBase.Tables.Add(Me.tableGames)
449 Me.tablePurchased = New PurchasedDataTable()
450 MyBase.Tables.Add(Me.tablePurchased)
451 Me.tableReviews = New ReviewsDataTable()
452 MyBase.Tables.Add(Me.tableReviews)
453 Me.tableTags = New TagsDataTable()
454 MyBase.Tables.Add(Me.tableTags)
455 Me.tableWishlist = New WishlistDataTable()
456 MyBase.Tables.Add(Me.tableWishlist)
457 Me.tableUsers = New UsersDataTable()
458 MyBase.Tables.Add(Me.tableUsers)
459 Me.tableUser_Details = New User_DetailsDataTable()
460 MyBase.Tables.Add(Me.tableUser_Details)
461 Me.relationGamesAchievement = New Global.System.Data.DataRelation("GamesAchievement", New Global.System.Data.DataColumn() {Me.tableGames.GameIDColumn}, New Global.System.Data.DataColumn() {Me.tableAchievement.GameIDColumn}, false)
462 Me.Relations.Add(Me.relationGamesAchievement)
463 Me.relationGamesDOW = New Global.System.Data.DataRelation("GamesDOW", New Global.System.Data.DataColumn() {Me.tableGames.GameIDColumn}, New Global.System.Data.DataColumn() {Me.tableDOW.GameIDColumn}, false)
464 Me.Relations.Add(Me.relationGamesDOW)
465 Me.relationGamesPurchased = New Global.System.Data.DataRelation("GamesPurchased", New Global.System.Data.DataColumn() {Me.tableGames.GameIDColumn}, New Global.System.Data.DataColumn() {Me.tablePurchased.GameIDColumn}, false)
466 Me.Relations.Add(Me.relationGamesPurchased)
467 Me.relationGamesReviews = New Global.System.Data.DataRelation("GamesReviews", New Global.System.Data.DataColumn() {Me.tableGames.GameIDColumn}, New Global.System.Data.DataColumn() {Me.tableReviews.GameIDColumn}, false)
468 Me.Relations.Add(Me.relationGamesReviews)
469 Me.relationGamesWishlist = New Global.System.Data.DataRelation("GamesWishlist", New Global.System.Data.DataColumn() {Me.tableGames.GameIDColumn}, New Global.System.Data.DataColumn() {Me.tableWishlist.GameIDColumn}, false)
470 Me.Relations.Add(Me.relationGamesWishlist)
471 Me.relationUser_DetailsUsers = New Global.System.Data.DataRelation("User_DetailsUsers", New Global.System.Data.DataColumn() {Me.tableUser_Details.UserDetailsIDColumn}, New Global.System.Data.DataColumn() {Me.tableUsers.User_DetailsIDColumn}, false)
472 Me.Relations.Add(Me.relationUser_DetailsUsers)
475 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
476 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
477 Private Function ShouldSerializeAchievement() As Boolean
481 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
482 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
483 Private Function ShouldSerializeDOW() As Boolean
487 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
488 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
489 Private Function ShouldSerializeFriends() As Boolean
493 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
494 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
495 Private Function ShouldSerializeGames() As Boolean
499 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
500 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
501 Private Function ShouldSerializePurchased() As Boolean
505 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
506 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
507 Private Function ShouldSerializeReviews() As Boolean
511 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
512 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
513 Private Function ShouldSerializeTags() As Boolean
517 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
518 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
519 Private Function ShouldSerializeWishlist() As Boolean
523 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
524 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
525 Private Function ShouldSerializeUsers() As Boolean
529 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
530 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
531 Private Function ShouldSerializeUser_Details() As Boolean
535 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
536 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
537 Private Sub SchemaChanged(ByVal sender As Object, ByVal e As Global.System.ComponentModel.CollectionChangeEventArgs)
538 If (e.Action = Global.System.ComponentModel.CollectionChangeAction.Remove) Then
543 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
544 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
545 Public Shared Function GetTypedDataSetSchema(ByVal xs As Global.System.Xml.Schema.XmlSchemaSet) As Global.System.Xml.Schema.XmlSchemaComplexType
546 Dim ds As NEADataSet = New NEADataSet()
547 Dim type As Global.System.Xml.Schema.XmlSchemaComplexType = New Global.System.Xml.Schema.XmlSchemaComplexType()
548 Dim sequence As Global.System.Xml.Schema.XmlSchemaSequence = New Global.System.Xml.Schema.XmlSchemaSequence()
549 Dim any As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
550 any.Namespace = ds.Namespace
551 sequence.Items.Add(any)
552 type.Particle = sequence
553 Dim dsSchema As Global.System.Xml.Schema.XmlSchema = ds.GetSchemaSerializable
554 If xs.Contains(dsSchema.TargetNamespace) Then
555 Dim s1 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
556 Dim s2 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
558 Dim schema As Global.System.Xml.Schema.XmlSchema = Nothing
560 Dim schemas As Global.System.Collections.IEnumerator = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator
561 Do While schemas.MoveNext
562 schema = CType(schemas.Current,Global.System.Xml.Schema.XmlSchema)
565 If (s1.Length = s2.Length) Then
569 Do While ((s1.Position <> s1.Length) _
570 AndAlso (s1.ReadByte = s2.ReadByte))
574 If (s1.Position = s1.Length) Then
581 If (Not (s1) Is Nothing) Then
584 If (Not (s2) Is Nothing) Then
593 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
594 Public Delegate Sub AchievementRowChangeEventHandler(ByVal sender As Object, ByVal e As AchievementRowChangeEvent)
596 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
597 Public Delegate Sub DOWRowChangeEventHandler(ByVal sender As Object, ByVal e As DOWRowChangeEvent)
599 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
600 Public Delegate Sub FriendsRowChangeEventHandler(ByVal sender As Object, ByVal e As FriendsRowChangeEvent)
602 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
603 Public Delegate Sub GamesRowChangeEventHandler(ByVal sender As Object, ByVal e As GamesRowChangeEvent)
605 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
606 Public Delegate Sub PurchasedRowChangeEventHandler(ByVal sender As Object, ByVal e As PurchasedRowChangeEvent)
608 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
609 Public Delegate Sub ReviewsRowChangeEventHandler(ByVal sender As Object, ByVal e As ReviewsRowChangeEvent)
611 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
612 Public Delegate Sub TagsRowChangeEventHandler(ByVal sender As Object, ByVal e As TagsRowChangeEvent)
614 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
615 Public Delegate Sub WishlistRowChangeEventHandler(ByVal sender As Object, ByVal e As WishlistRowChangeEvent)
617 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
618 Public Delegate Sub UsersRowChangeEventHandler(ByVal sender As Object, ByVal e As UsersRowChangeEvent)
620 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
621 Public Delegate Sub User_DetailsRowChangeEventHandler(ByVal sender As Object, ByVal e As User_DetailsRowChangeEvent)
624 '''Represents the strongly named DataTable class.
626 <Global.System.Serializable(), _
627 Global.System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")> _
628 Partial Public Class AchievementDataTable
629 Inherits Global.System.Data.TypedTableBase(Of AchievementRow)
631 Private columnAchievementID As Global.System.Data.DataColumn
633 Private columnGameID As Global.System.Data.DataColumn
635 Private columnUserID As Global.System.Data.DataColumn
637 Private columnAchievment_1 As Global.System.Data.DataColumn
639 Private columnAchievment_2 As Global.System.Data.DataColumn
641 Private columnAchievment_3 As Global.System.Data.DataColumn
643 Private columnAchievment_4 As Global.System.Data.DataColumn
645 Private columnAchievment_5 As Global.System.Data.DataColumn
647 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
648 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
651 Me.TableName = "Achievement"
657 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
658 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
659 Friend Sub New(ByVal table As Global.System.Data.DataTable)
661 Me.TableName = table.TableName
662 If (table.CaseSensitive <> table.DataSet.CaseSensitive) Then
663 Me.CaseSensitive = table.CaseSensitive
665 If (table.Locale.ToString <> table.DataSet.Locale.ToString) Then
666 Me.Locale = table.Locale
668 If (table.Namespace <> table.DataSet.Namespace) Then
669 Me.Namespace = table.Namespace
671 Me.Prefix = table.Prefix
672 Me.MinimumCapacity = table.MinimumCapacity
675 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
676 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
677 Protected Sub New(ByVal info As Global.System.Runtime.Serialization.SerializationInfo, ByVal context As Global.System.Runtime.Serialization.StreamingContext)
678 MyBase.New(info, context)
682 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
683 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
684 Public ReadOnly Property AchievementIDColumn() As Global.System.Data.DataColumn
686 Return Me.columnAchievementID
690 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
691 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
692 Public ReadOnly Property GameIDColumn() As Global.System.Data.DataColumn
694 Return Me.columnGameID
698 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
699 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
700 Public ReadOnly Property UserIDColumn() As Global.System.Data.DataColumn
702 Return Me.columnUserID
706 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
707 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
708 Public ReadOnly Property Achievment_1Column() As Global.System.Data.DataColumn
710 Return Me.columnAchievment_1
714 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
715 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
716 Public ReadOnly Property Achievment_2Column() As Global.System.Data.DataColumn
718 Return Me.columnAchievment_2
722 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
723 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
724 Public ReadOnly Property Achievment_3Column() As Global.System.Data.DataColumn
726 Return Me.columnAchievment_3
730 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
731 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
732 Public ReadOnly Property Achievment_4Column() As Global.System.Data.DataColumn
734 Return Me.columnAchievment_4
738 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
739 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
740 Public ReadOnly Property Achievment_5Column() As Global.System.Data.DataColumn
742 Return Me.columnAchievment_5
746 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
747 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
748 Global.System.ComponentModel.Browsable(false)> _
749 Public ReadOnly Property Count() As Integer
755 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
756 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
757 Public Default ReadOnly Property Item(ByVal index As Integer) As AchievementRow
759 Return CType(Me.Rows(index),AchievementRow)
763 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
764 Public Event AchievementRowChanging As AchievementRowChangeEventHandler
766 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
767 Public Event AchievementRowChanged As AchievementRowChangeEventHandler
769 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
770 Public Event AchievementRowDeleting As AchievementRowChangeEventHandler
772 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
773 Public Event AchievementRowDeleted As AchievementRowChangeEventHandler
775 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
776 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
777 Public Overloads Sub AddAchievementRow(ByVal row As AchievementRow)
781 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
782 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
783 Public Overloads Function AddAchievementRow(ByVal parentGamesRowByGamesAchievement As GamesRow, ByVal UserID As Integer, ByVal Achievment_1 As String, ByVal Achievment_2 As String, ByVal Achievment_3 As String, ByVal Achievment_4 As String, ByVal Achievment_5 As String) As AchievementRow
784 Dim rowAchievementRow As AchievementRow = CType(Me.NewRow,AchievementRow)
785 Dim columnValuesArray() As Object = New Object() {Nothing, Nothing, UserID, Achievment_1, Achievment_2, Achievment_3, Achievment_4, Achievment_5}
786 If (Not (parentGamesRowByGamesAchievement) Is Nothing) Then
787 columnValuesArray(1) = parentGamesRowByGamesAchievement(0)
789 rowAchievementRow.ItemArray = columnValuesArray
790 Me.Rows.Add(rowAchievementRow)
791 Return rowAchievementRow
794 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
795 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
796 Public Function FindByAchievementID(ByVal AchievementID As Integer) As AchievementRow
797 Return CType(Me.Rows.Find(New Object() {AchievementID}),AchievementRow)
800 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
801 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
802 Public Overrides Function Clone() As Global.System.Data.DataTable
803 Dim cln As AchievementDataTable = CType(MyBase.Clone,AchievementDataTable)
808 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
809 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
810 Protected Overrides Function CreateInstance() As Global.System.Data.DataTable
811 Return New AchievementDataTable()
814 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
815 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
816 Friend Sub InitVars()
817 Me.columnAchievementID = MyBase.Columns("AchievementID")
818 Me.columnGameID = MyBase.Columns("GameID")
819 Me.columnUserID = MyBase.Columns("UserID")
820 Me.columnAchievment_1 = MyBase.Columns("Achievment 1")
821 Me.columnAchievment_2 = MyBase.Columns("Achievment 2")
822 Me.columnAchievment_3 = MyBase.Columns("Achievment 3")
823 Me.columnAchievment_4 = MyBase.Columns("Achievment 4")
824 Me.columnAchievment_5 = MyBase.Columns("Achievment 5")
827 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
828 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
829 Private Sub InitClass()
830 Me.columnAchievementID = New Global.System.Data.DataColumn("AchievementID", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
831 MyBase.Columns.Add(Me.columnAchievementID)
832 Me.columnGameID = New Global.System.Data.DataColumn("GameID", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
833 MyBase.Columns.Add(Me.columnGameID)
834 Me.columnUserID = New Global.System.Data.DataColumn("UserID", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
835 MyBase.Columns.Add(Me.columnUserID)
836 Me.columnAchievment_1 = New Global.System.Data.DataColumn("Achievment 1", GetType(String), Nothing, Global.System.Data.MappingType.Element)
837 MyBase.Columns.Add(Me.columnAchievment_1)
838 Me.columnAchievment_2 = New Global.System.Data.DataColumn("Achievment 2", GetType(String), Nothing, Global.System.Data.MappingType.Element)
839 MyBase.Columns.Add(Me.columnAchievment_2)
840 Me.columnAchievment_3 = New Global.System.Data.DataColumn("Achievment 3", GetType(String), Nothing, Global.System.Data.MappingType.Element)
841 MyBase.Columns.Add(Me.columnAchievment_3)
842 Me.columnAchievment_4 = New Global.System.Data.DataColumn("Achievment 4", GetType(String), Nothing, Global.System.Data.MappingType.Element)
843 MyBase.Columns.Add(Me.columnAchievment_4)
844 Me.columnAchievment_5 = New Global.System.Data.DataColumn("Achievment 5", GetType(String), Nothing, Global.System.Data.MappingType.Element)
845 MyBase.Columns.Add(Me.columnAchievment_5)
846 Me.Constraints.Add(New Global.System.Data.UniqueConstraint("Constraint1", New Global.System.Data.DataColumn() {Me.columnAchievementID}, true))
847 Me.columnAchievementID.AutoIncrement = true
848 Me.columnAchievementID.AutoIncrementSeed = -1
849 Me.columnAchievementID.AutoIncrementStep = -1
850 Me.columnAchievementID.AllowDBNull = false
851 Me.columnAchievementID.Unique = true
852 Me.columnAchievment_1.MaxLength = 536870910
853 Me.columnAchievment_2.MaxLength = 536870910
854 Me.columnAchievment_3.MaxLength = 536870910
855 Me.columnAchievment_4.MaxLength = 536870910
856 Me.columnAchievment_5.MaxLength = 536870910
859 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
860 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
861 Public Function NewAchievementRow() As AchievementRow
862 Return CType(Me.NewRow,AchievementRow)
865 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
866 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
867 Protected Overrides Function NewRowFromBuilder(ByVal builder As Global.System.Data.DataRowBuilder) As Global.System.Data.DataRow
868 Return New AchievementRow(builder)
871 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
872 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
873 Protected Overrides Function GetRowType() As Global.System.Type
874 Return GetType(AchievementRow)
877 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
878 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
879 Protected Overrides Sub OnRowChanged(ByVal e As Global.System.Data.DataRowChangeEventArgs)
880 MyBase.OnRowChanged(e)
881 If (Not (Me.AchievementRowChangedEvent) Is Nothing) Then
882 RaiseEvent AchievementRowChanged(Me, New AchievementRowChangeEvent(CType(e.Row,AchievementRow), e.Action))
886 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
887 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
888 Protected Overrides Sub OnRowChanging(ByVal e As Global.System.Data.DataRowChangeEventArgs)
889 MyBase.OnRowChanging(e)
890 If (Not (Me.AchievementRowChangingEvent) Is Nothing) Then
891 RaiseEvent AchievementRowChanging(Me, New AchievementRowChangeEvent(CType(e.Row,AchievementRow), e.Action))
895 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
896 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
897 Protected Overrides Sub OnRowDeleted(ByVal e As Global.System.Data.DataRowChangeEventArgs)
898 MyBase.OnRowDeleted(e)
899 If (Not (Me.AchievementRowDeletedEvent) Is Nothing) Then
900 RaiseEvent AchievementRowDeleted(Me, New AchievementRowChangeEvent(CType(e.Row,AchievementRow), e.Action))
904 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
905 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
906 Protected Overrides Sub OnRowDeleting(ByVal e As Global.System.Data.DataRowChangeEventArgs)
907 MyBase.OnRowDeleting(e)
908 If (Not (Me.AchievementRowDeletingEvent) Is Nothing) Then
909 RaiseEvent AchievementRowDeleting(Me, New AchievementRowChangeEvent(CType(e.Row,AchievementRow), e.Action))
913 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
914 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
915 Public Sub RemoveAchievementRow(ByVal row As AchievementRow)
919 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
920 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
921 Public Shared Function GetTypedTableSchema(ByVal xs As Global.System.Xml.Schema.XmlSchemaSet) As Global.System.Xml.Schema.XmlSchemaComplexType
922 Dim type As Global.System.Xml.Schema.XmlSchemaComplexType = New Global.System.Xml.Schema.XmlSchemaComplexType()
923 Dim sequence As Global.System.Xml.Schema.XmlSchemaSequence = New Global.System.Xml.Schema.XmlSchemaSequence()
924 Dim ds As NEADataSet = New NEADataSet()
925 Dim any1 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
926 any1.Namespace = "http://www.w3.org/2001/XMLSchema"
927 any1.MinOccurs = New Decimal(0)
928 any1.MaxOccurs = Decimal.MaxValue
929 any1.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
930 sequence.Items.Add(any1)
931 Dim any2 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
932 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"
933 any2.MinOccurs = New Decimal(1)
934 any2.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
935 sequence.Items.Add(any2)
936 Dim attribute1 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
937 attribute1.Name = "namespace"
938 attribute1.FixedValue = ds.Namespace
939 type.Attributes.Add(attribute1)
940 Dim attribute2 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
941 attribute2.Name = "tableTypeName"
942 attribute2.FixedValue = "AchievementDataTable"
943 type.Attributes.Add(attribute2)
944 type.Particle = sequence
945 Dim dsSchema As Global.System.Xml.Schema.XmlSchema = ds.GetSchemaSerializable
946 If xs.Contains(dsSchema.TargetNamespace) Then
947 Dim s1 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
948 Dim s2 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
950 Dim schema As Global.System.Xml.Schema.XmlSchema = Nothing
952 Dim schemas As Global.System.Collections.IEnumerator = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator
953 Do While schemas.MoveNext
954 schema = CType(schemas.Current,Global.System.Xml.Schema.XmlSchema)
957 If (s1.Length = s2.Length) Then
961 Do While ((s1.Position <> s1.Length) _
962 AndAlso (s1.ReadByte = s2.ReadByte))
966 If (s1.Position = s1.Length) Then
973 If (Not (s1) Is Nothing) Then
976 If (Not (s2) Is Nothing) Then
987 '''Represents the strongly named DataTable class.
989 <Global.System.Serializable(), _
990 Global.System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")> _
991 Partial Public Class DOWDataTable
992 Inherits Global.System.Data.TypedTableBase(Of DOWRow)
994 Private columnDOWID As Global.System.Data.DataColumn
996 Private columnStart As Global.System.Data.DataColumn
998 Private columnEnd As Global.System.Data.DataColumn
1000 Private columnGameID As Global.System.Data.DataColumn
1002 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1003 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1006 Me.TableName = "DOW"
1012 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1013 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1014 Friend Sub New(ByVal table As Global.System.Data.DataTable)
1016 Me.TableName = table.TableName
1017 If (table.CaseSensitive <> table.DataSet.CaseSensitive) Then
1018 Me.CaseSensitive = table.CaseSensitive
1020 If (table.Locale.ToString <> table.DataSet.Locale.ToString) Then
1021 Me.Locale = table.Locale
1023 If (table.Namespace <> table.DataSet.Namespace) Then
1024 Me.Namespace = table.Namespace
1026 Me.Prefix = table.Prefix
1027 Me.MinimumCapacity = table.MinimumCapacity
1030 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1031 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1032 Protected Sub New(ByVal info As Global.System.Runtime.Serialization.SerializationInfo, ByVal context As Global.System.Runtime.Serialization.StreamingContext)
1033 MyBase.New(info, context)
1037 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1038 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1039 Public ReadOnly Property DOWIDColumn() As Global.System.Data.DataColumn
1041 Return Me.columnDOWID
1045 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1046 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1047 Public ReadOnly Property StartColumn() As Global.System.Data.DataColumn
1049 Return Me.columnStart
1053 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1054 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1055 Public ReadOnly Property EndColumn() As Global.System.Data.DataColumn
1061 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1062 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1063 Public ReadOnly Property GameIDColumn() As Global.System.Data.DataColumn
1065 Return Me.columnGameID
1069 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1070 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
1071 Global.System.ComponentModel.Browsable(false)> _
1072 Public ReadOnly Property Count() As Integer
1074 Return Me.Rows.Count
1078 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1079 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1080 Public Default ReadOnly Property Item(ByVal index As Integer) As DOWRow
1082 Return CType(Me.Rows(index),DOWRow)
1086 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1087 Public Event DOWRowChanging As DOWRowChangeEventHandler
1089 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1090 Public Event DOWRowChanged As DOWRowChangeEventHandler
1092 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1093 Public Event DOWRowDeleting As DOWRowChangeEventHandler
1095 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1096 Public Event DOWRowDeleted As DOWRowChangeEventHandler
1098 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1099 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1100 Public Overloads Sub AddDOWRow(ByVal row As DOWRow)
1104 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1105 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1106 Public Overloads Function AddDOWRow(ByVal Start As Date, ByVal _End As Date, ByVal parentGamesRowByGamesDOW As GamesRow) As DOWRow
1107 Dim rowDOWRow As DOWRow = CType(Me.NewRow,DOWRow)
1108 Dim columnValuesArray() As Object = New Object() {Nothing, Start, _End, Nothing}
1109 If (Not (parentGamesRowByGamesDOW) Is Nothing) Then
1110 columnValuesArray(3) = parentGamesRowByGamesDOW(0)
1112 rowDOWRow.ItemArray = columnValuesArray
1113 Me.Rows.Add(rowDOWRow)
1117 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1118 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1119 Public Function FindByDOWID(ByVal DOWID As Integer) As DOWRow
1120 Return CType(Me.Rows.Find(New Object() {DOWID}),DOWRow)
1123 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1124 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1125 Public Overrides Function Clone() As Global.System.Data.DataTable
1126 Dim cln As DOWDataTable = CType(MyBase.Clone,DOWDataTable)
1131 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1132 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1133 Protected Overrides Function CreateInstance() As Global.System.Data.DataTable
1134 Return New DOWDataTable()
1137 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1138 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1139 Friend Sub InitVars()
1140 Me.columnDOWID = MyBase.Columns("DOWID")
1141 Me.columnStart = MyBase.Columns("Start")
1142 Me.columnEnd = MyBase.Columns("End")
1143 Me.columnGameID = MyBase.Columns("GameID")
1146 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1147 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1148 Private Sub InitClass()
1149 Me.columnDOWID = New Global.System.Data.DataColumn("DOWID", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
1150 MyBase.Columns.Add(Me.columnDOWID)
1151 Me.columnStart = New Global.System.Data.DataColumn("Start", GetType(Date), Nothing, Global.System.Data.MappingType.Element)
1152 MyBase.Columns.Add(Me.columnStart)
1153 Me.columnEnd = New Global.System.Data.DataColumn("End", GetType(Date), Nothing, Global.System.Data.MappingType.Element)
1154 Me.columnEnd.ExtendedProperties.Add("Generator_ColumnPropNameInTable", "EndColumn")
1155 Me.columnEnd.ExtendedProperties.Add("Generator_ColumnVarNameInTable", "columnEnd")
1156 Me.columnEnd.ExtendedProperties.Add("Generator_UserColumnName", "End")
1157 MyBase.Columns.Add(Me.columnEnd)
1158 Me.columnGameID = New Global.System.Data.DataColumn("GameID", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
1159 MyBase.Columns.Add(Me.columnGameID)
1160 Me.Constraints.Add(New Global.System.Data.UniqueConstraint("Constraint1", New Global.System.Data.DataColumn() {Me.columnDOWID}, true))
1161 Me.columnDOWID.AutoIncrement = true
1162 Me.columnDOWID.AutoIncrementSeed = -1
1163 Me.columnDOWID.AutoIncrementStep = -1
1164 Me.columnDOWID.AllowDBNull = false
1165 Me.columnDOWID.Unique = true
1168 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1169 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1170 Public Function NewDOWRow() As DOWRow
1171 Return CType(Me.NewRow,DOWRow)
1174 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1175 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1176 Protected Overrides Function NewRowFromBuilder(ByVal builder As Global.System.Data.DataRowBuilder) As Global.System.Data.DataRow
1177 Return New DOWRow(builder)
1180 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1181 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1182 Protected Overrides Function GetRowType() As Global.System.Type
1183 Return GetType(DOWRow)
1186 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1187 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1188 Protected Overrides Sub OnRowChanged(ByVal e As Global.System.Data.DataRowChangeEventArgs)
1189 MyBase.OnRowChanged(e)
1190 If (Not (Me.DOWRowChangedEvent) Is Nothing) Then
1191 RaiseEvent DOWRowChanged(Me, New DOWRowChangeEvent(CType(e.Row,DOWRow), e.Action))
1195 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1196 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1197 Protected Overrides Sub OnRowChanging(ByVal e As Global.System.Data.DataRowChangeEventArgs)
1198 MyBase.OnRowChanging(e)
1199 If (Not (Me.DOWRowChangingEvent) Is Nothing) Then
1200 RaiseEvent DOWRowChanging(Me, New DOWRowChangeEvent(CType(e.Row,DOWRow), e.Action))
1204 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1205 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1206 Protected Overrides Sub OnRowDeleted(ByVal e As Global.System.Data.DataRowChangeEventArgs)
1207 MyBase.OnRowDeleted(e)
1208 If (Not (Me.DOWRowDeletedEvent) Is Nothing) Then
1209 RaiseEvent DOWRowDeleted(Me, New DOWRowChangeEvent(CType(e.Row,DOWRow), e.Action))
1213 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1214 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1215 Protected Overrides Sub OnRowDeleting(ByVal e As Global.System.Data.DataRowChangeEventArgs)
1216 MyBase.OnRowDeleting(e)
1217 If (Not (Me.DOWRowDeletingEvent) Is Nothing) Then
1218 RaiseEvent DOWRowDeleting(Me, New DOWRowChangeEvent(CType(e.Row,DOWRow), e.Action))
1222 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1223 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1224 Public Sub RemoveDOWRow(ByVal row As DOWRow)
1228 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1229 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1230 Public Shared Function GetTypedTableSchema(ByVal xs As Global.System.Xml.Schema.XmlSchemaSet) As Global.System.Xml.Schema.XmlSchemaComplexType
1231 Dim type As Global.System.Xml.Schema.XmlSchemaComplexType = New Global.System.Xml.Schema.XmlSchemaComplexType()
1232 Dim sequence As Global.System.Xml.Schema.XmlSchemaSequence = New Global.System.Xml.Schema.XmlSchemaSequence()
1233 Dim ds As NEADataSet = New NEADataSet()
1234 Dim any1 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
1235 any1.Namespace = "http://www.w3.org/2001/XMLSchema"
1236 any1.MinOccurs = New Decimal(0)
1237 any1.MaxOccurs = Decimal.MaxValue
1238 any1.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
1239 sequence.Items.Add(any1)
1240 Dim any2 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
1241 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"
1242 any2.MinOccurs = New Decimal(1)
1243 any2.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
1244 sequence.Items.Add(any2)
1245 Dim attribute1 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
1246 attribute1.Name = "namespace"
1247 attribute1.FixedValue = ds.Namespace
1248 type.Attributes.Add(attribute1)
1249 Dim attribute2 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
1250 attribute2.Name = "tableTypeName"
1251 attribute2.FixedValue = "DOWDataTable"
1252 type.Attributes.Add(attribute2)
1253 type.Particle = sequence
1254 Dim dsSchema As Global.System.Xml.Schema.XmlSchema = ds.GetSchemaSerializable
1255 If xs.Contains(dsSchema.TargetNamespace) Then
1256 Dim s1 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
1257 Dim s2 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
1259 Dim schema As Global.System.Xml.Schema.XmlSchema = Nothing
1261 Dim schemas As Global.System.Collections.IEnumerator = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator
1262 Do While schemas.MoveNext
1263 schema = CType(schemas.Current,Global.System.Xml.Schema.XmlSchema)
1266 If (s1.Length = s2.Length) Then
1270 Do While ((s1.Position <> s1.Length) _
1271 AndAlso (s1.ReadByte = s2.ReadByte))
1275 If (s1.Position = s1.Length) Then
1282 If (Not (s1) Is Nothing) Then
1285 If (Not (s2) Is Nothing) Then
1296 '''Represents the strongly named DataTable class.
1298 <Global.System.Serializable(), _
1299 Global.System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")> _
1300 Partial Public Class FriendsDataTable
1301 Inherits Global.System.Data.TypedTableBase(Of FriendsRow)
1303 Private columnID As Global.System.Data.DataColumn
1305 Private columnFriendID As Global.System.Data.DataColumn
1307 Private columnUserID As Global.System.Data.DataColumn
1309 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1310 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1313 Me.TableName = "Friends"
1319 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1320 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1321 Friend Sub New(ByVal table As Global.System.Data.DataTable)
1323 Me.TableName = table.TableName
1324 If (table.CaseSensitive <> table.DataSet.CaseSensitive) Then
1325 Me.CaseSensitive = table.CaseSensitive
1327 If (table.Locale.ToString <> table.DataSet.Locale.ToString) Then
1328 Me.Locale = table.Locale
1330 If (table.Namespace <> table.DataSet.Namespace) Then
1331 Me.Namespace = table.Namespace
1333 Me.Prefix = table.Prefix
1334 Me.MinimumCapacity = table.MinimumCapacity
1337 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1338 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1339 Protected Sub New(ByVal info As Global.System.Runtime.Serialization.SerializationInfo, ByVal context As Global.System.Runtime.Serialization.StreamingContext)
1340 MyBase.New(info, context)
1344 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1345 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1346 Public ReadOnly Property IDColumn() As Global.System.Data.DataColumn
1352 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1353 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1354 Public ReadOnly Property FriendIDColumn() As Global.System.Data.DataColumn
1356 Return Me.columnFriendID
1360 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1361 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1362 Public ReadOnly Property UserIDColumn() As Global.System.Data.DataColumn
1364 Return Me.columnUserID
1368 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1369 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
1370 Global.System.ComponentModel.Browsable(false)> _
1371 Public ReadOnly Property Count() As Integer
1373 Return Me.Rows.Count
1377 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1378 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1379 Public Default ReadOnly Property Item(ByVal index As Integer) As FriendsRow
1381 Return CType(Me.Rows(index),FriendsRow)
1385 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1386 Public Event FriendsRowChanging As FriendsRowChangeEventHandler
1388 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1389 Public Event FriendsRowChanged As FriendsRowChangeEventHandler
1391 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1392 Public Event FriendsRowDeleting As FriendsRowChangeEventHandler
1394 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1395 Public Event FriendsRowDeleted As FriendsRowChangeEventHandler
1397 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1398 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1399 Public Overloads Sub AddFriendsRow(ByVal row As FriendsRow)
1403 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1404 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1405 Public Overloads Function AddFriendsRow(ByVal FriendID As Integer, ByVal UserID As Integer) As FriendsRow
1406 Dim rowFriendsRow As FriendsRow = CType(Me.NewRow,FriendsRow)
1407 Dim columnValuesArray() As Object = New Object() {Nothing, FriendID, UserID}
1408 rowFriendsRow.ItemArray = columnValuesArray
1409 Me.Rows.Add(rowFriendsRow)
1410 Return rowFriendsRow
1413 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1414 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1415 Public Function FindByID(ByVal ID As Integer) As FriendsRow
1416 Return CType(Me.Rows.Find(New Object() {ID}),FriendsRow)
1419 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1420 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1421 Public Overrides Function Clone() As Global.System.Data.DataTable
1422 Dim cln As FriendsDataTable = CType(MyBase.Clone,FriendsDataTable)
1427 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1428 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1429 Protected Overrides Function CreateInstance() As Global.System.Data.DataTable
1430 Return New FriendsDataTable()
1433 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1434 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1435 Friend Sub InitVars()
1436 Me.columnID = MyBase.Columns("ID")
1437 Me.columnFriendID = MyBase.Columns("FriendID")
1438 Me.columnUserID = MyBase.Columns("UserID")
1441 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1442 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1443 Private Sub InitClass()
1444 Me.columnID = New Global.System.Data.DataColumn("ID", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
1445 MyBase.Columns.Add(Me.columnID)
1446 Me.columnFriendID = New Global.System.Data.DataColumn("FriendID", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
1447 MyBase.Columns.Add(Me.columnFriendID)
1448 Me.columnUserID = New Global.System.Data.DataColumn("UserID", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
1449 MyBase.Columns.Add(Me.columnUserID)
1450 Me.Constraints.Add(New Global.System.Data.UniqueConstraint("Constraint1", New Global.System.Data.DataColumn() {Me.columnID}, true))
1451 Me.columnID.AutoIncrement = true
1452 Me.columnID.AutoIncrementSeed = -1
1453 Me.columnID.AutoIncrementStep = -1
1454 Me.columnID.AllowDBNull = false
1455 Me.columnID.Unique = true
1458 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1459 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1460 Public Function NewFriendsRow() As FriendsRow
1461 Return CType(Me.NewRow,FriendsRow)
1464 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1465 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1466 Protected Overrides Function NewRowFromBuilder(ByVal builder As Global.System.Data.DataRowBuilder) As Global.System.Data.DataRow
1467 Return New FriendsRow(builder)
1470 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1471 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1472 Protected Overrides Function GetRowType() As Global.System.Type
1473 Return GetType(FriendsRow)
1476 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1477 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1478 Protected Overrides Sub OnRowChanged(ByVal e As Global.System.Data.DataRowChangeEventArgs)
1479 MyBase.OnRowChanged(e)
1480 If (Not (Me.FriendsRowChangedEvent) Is Nothing) Then
1481 RaiseEvent FriendsRowChanged(Me, New FriendsRowChangeEvent(CType(e.Row,FriendsRow), e.Action))
1485 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1486 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1487 Protected Overrides Sub OnRowChanging(ByVal e As Global.System.Data.DataRowChangeEventArgs)
1488 MyBase.OnRowChanging(e)
1489 If (Not (Me.FriendsRowChangingEvent) Is Nothing) Then
1490 RaiseEvent FriendsRowChanging(Me, New FriendsRowChangeEvent(CType(e.Row,FriendsRow), e.Action))
1494 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1495 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1496 Protected Overrides Sub OnRowDeleted(ByVal e As Global.System.Data.DataRowChangeEventArgs)
1497 MyBase.OnRowDeleted(e)
1498 If (Not (Me.FriendsRowDeletedEvent) Is Nothing) Then
1499 RaiseEvent FriendsRowDeleted(Me, New FriendsRowChangeEvent(CType(e.Row,FriendsRow), e.Action))
1503 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1504 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1505 Protected Overrides Sub OnRowDeleting(ByVal e As Global.System.Data.DataRowChangeEventArgs)
1506 MyBase.OnRowDeleting(e)
1507 If (Not (Me.FriendsRowDeletingEvent) Is Nothing) Then
1508 RaiseEvent FriendsRowDeleting(Me, New FriendsRowChangeEvent(CType(e.Row,FriendsRow), e.Action))
1512 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1513 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1514 Public Sub RemoveFriendsRow(ByVal row As FriendsRow)
1518 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1519 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1520 Public Shared Function GetTypedTableSchema(ByVal xs As Global.System.Xml.Schema.XmlSchemaSet) As Global.System.Xml.Schema.XmlSchemaComplexType
1521 Dim type As Global.System.Xml.Schema.XmlSchemaComplexType = New Global.System.Xml.Schema.XmlSchemaComplexType()
1522 Dim sequence As Global.System.Xml.Schema.XmlSchemaSequence = New Global.System.Xml.Schema.XmlSchemaSequence()
1523 Dim ds As NEADataSet = New NEADataSet()
1524 Dim any1 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
1525 any1.Namespace = "http://www.w3.org/2001/XMLSchema"
1526 any1.MinOccurs = New Decimal(0)
1527 any1.MaxOccurs = Decimal.MaxValue
1528 any1.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
1529 sequence.Items.Add(any1)
1530 Dim any2 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
1531 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"
1532 any2.MinOccurs = New Decimal(1)
1533 any2.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
1534 sequence.Items.Add(any2)
1535 Dim attribute1 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
1536 attribute1.Name = "namespace"
1537 attribute1.FixedValue = ds.Namespace
1538 type.Attributes.Add(attribute1)
1539 Dim attribute2 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
1540 attribute2.Name = "tableTypeName"
1541 attribute2.FixedValue = "FriendsDataTable"
1542 type.Attributes.Add(attribute2)
1543 type.Particle = sequence
1544 Dim dsSchema As Global.System.Xml.Schema.XmlSchema = ds.GetSchemaSerializable
1545 If xs.Contains(dsSchema.TargetNamespace) Then
1546 Dim s1 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
1547 Dim s2 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
1549 Dim schema As Global.System.Xml.Schema.XmlSchema = Nothing
1551 Dim schemas As Global.System.Collections.IEnumerator = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator
1552 Do While schemas.MoveNext
1553 schema = CType(schemas.Current,Global.System.Xml.Schema.XmlSchema)
1556 If (s1.Length = s2.Length) Then
1560 Do While ((s1.Position <> s1.Length) _
1561 AndAlso (s1.ReadByte = s2.ReadByte))
1565 If (s1.Position = s1.Length) Then
1572 If (Not (s1) Is Nothing) Then
1575 If (Not (s2) Is Nothing) Then
1586 '''Represents the strongly named DataTable class.
1588 <Global.System.Serializable(), _
1589 Global.System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")> _
1590 Partial Public Class GamesDataTable
1591 Inherits Global.System.Data.TypedTableBase(Of GamesRow)
1593 Private columnGameID As Global.System.Data.DataColumn
1595 Private columnName As Global.System.Data.DataColumn
1597 Private columnPrice As Global.System.Data.DataColumn
1599 Private columnRating As Global.System.Data.DataColumn
1601 Private columnCertificate As Global.System.Data.DataColumn
1603 Private columnDev As Global.System.Data.DataColumn
1605 Private columnPublisher As Global.System.Data.DataColumn
1607 Private columnIcon As Global.System.Data.DataColumn
1609 Private columnTags As Global.System.Data.DataColumn
1611 Private columnTheme_Colour As Global.System.Data.DataColumn
1613 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1614 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1617 Me.TableName = "Games"
1623 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1624 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1625 Friend Sub New(ByVal table As Global.System.Data.DataTable)
1627 Me.TableName = table.TableName
1628 If (table.CaseSensitive <> table.DataSet.CaseSensitive) Then
1629 Me.CaseSensitive = table.CaseSensitive
1631 If (table.Locale.ToString <> table.DataSet.Locale.ToString) Then
1632 Me.Locale = table.Locale
1634 If (table.Namespace <> table.DataSet.Namespace) Then
1635 Me.Namespace = table.Namespace
1637 Me.Prefix = table.Prefix
1638 Me.MinimumCapacity = table.MinimumCapacity
1641 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1642 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1643 Protected Sub New(ByVal info As Global.System.Runtime.Serialization.SerializationInfo, ByVal context As Global.System.Runtime.Serialization.StreamingContext)
1644 MyBase.New(info, context)
1648 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1649 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1650 Public ReadOnly Property GameIDColumn() As Global.System.Data.DataColumn
1652 Return Me.columnGameID
1656 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1657 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1658 Public ReadOnly Property NameColumn() As Global.System.Data.DataColumn
1660 Return Me.columnName
1664 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1665 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1666 Public ReadOnly Property PriceColumn() As Global.System.Data.DataColumn
1668 Return Me.columnPrice
1672 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1673 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1674 Public ReadOnly Property RatingColumn() As Global.System.Data.DataColumn
1676 Return Me.columnRating
1680 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1681 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1682 Public ReadOnly Property CertificateColumn() As Global.System.Data.DataColumn
1684 Return Me.columnCertificate
1688 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1689 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1690 Public ReadOnly Property DevColumn() As Global.System.Data.DataColumn
1696 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1697 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1698 Public ReadOnly Property PublisherColumn() As Global.System.Data.DataColumn
1700 Return Me.columnPublisher
1704 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1705 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1706 Public ReadOnly Property IconColumn() As Global.System.Data.DataColumn
1708 Return Me.columnIcon
1712 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1713 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1714 Public ReadOnly Property TagsColumn() As Global.System.Data.DataColumn
1716 Return Me.columnTags
1720 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1721 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1722 Public ReadOnly Property Theme_ColourColumn() As Global.System.Data.DataColumn
1724 Return Me.columnTheme_Colour
1728 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1729 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
1730 Global.System.ComponentModel.Browsable(false)> _
1731 Public ReadOnly Property Count() As Integer
1733 Return Me.Rows.Count
1737 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1738 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1739 Public Default ReadOnly Property Item(ByVal index As Integer) As GamesRow
1741 Return CType(Me.Rows(index),GamesRow)
1745 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1746 Public Event GamesRowChanging As GamesRowChangeEventHandler
1748 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1749 Public Event GamesRowChanged As GamesRowChangeEventHandler
1751 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1752 Public Event GamesRowDeleting As GamesRowChangeEventHandler
1754 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1755 Public Event GamesRowDeleted As GamesRowChangeEventHandler
1757 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1758 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1759 Public Overloads Sub AddGamesRow(ByVal row As GamesRow)
1763 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1764 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1765 Public Overloads Function AddGamesRow(ByVal Name As String, ByVal Price As Decimal, ByVal Rating As Integer, ByVal Certificate As Integer, ByVal Dev As String, ByVal Publisher As String, ByVal Icon As String, ByVal Tags As String, ByVal Theme_Colour As Integer) As GamesRow
1766 Dim rowGamesRow As GamesRow = CType(Me.NewRow,GamesRow)
1767 Dim columnValuesArray() As Object = New Object() {Nothing, Name, Price, Rating, Certificate, Dev, Publisher, Icon, Tags, Theme_Colour}
1768 rowGamesRow.ItemArray = columnValuesArray
1769 Me.Rows.Add(rowGamesRow)
1773 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1774 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1775 Public Function FindByGameID(ByVal GameID As Integer) As GamesRow
1776 Return CType(Me.Rows.Find(New Object() {GameID}),GamesRow)
1779 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1780 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1781 Public Overrides Function Clone() As Global.System.Data.DataTable
1782 Dim cln As GamesDataTable = CType(MyBase.Clone,GamesDataTable)
1787 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1788 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1789 Protected Overrides Function CreateInstance() As Global.System.Data.DataTable
1790 Return New GamesDataTable()
1793 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1794 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1795 Friend Sub InitVars()
1796 Me.columnGameID = MyBase.Columns("GameID")
1797 Me.columnName = MyBase.Columns("Name")
1798 Me.columnPrice = MyBase.Columns("Price")
1799 Me.columnRating = MyBase.Columns("Rating")
1800 Me.columnCertificate = MyBase.Columns("Certificate")
1801 Me.columnDev = MyBase.Columns("Dev")
1802 Me.columnPublisher = MyBase.Columns("Publisher")
1803 Me.columnIcon = MyBase.Columns("Icon")
1804 Me.columnTags = MyBase.Columns("Tags")
1805 Me.columnTheme_Colour = MyBase.Columns("Theme Colour")
1808 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1809 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1810 Private Sub InitClass()
1811 Me.columnGameID = New Global.System.Data.DataColumn("GameID", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
1812 MyBase.Columns.Add(Me.columnGameID)
1813 Me.columnName = New Global.System.Data.DataColumn("Name", GetType(String), Nothing, Global.System.Data.MappingType.Element)
1814 MyBase.Columns.Add(Me.columnName)
1815 Me.columnPrice = New Global.System.Data.DataColumn("Price", GetType(Decimal), Nothing, Global.System.Data.MappingType.Element)
1816 MyBase.Columns.Add(Me.columnPrice)
1817 Me.columnRating = New Global.System.Data.DataColumn("Rating", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
1818 MyBase.Columns.Add(Me.columnRating)
1819 Me.columnCertificate = New Global.System.Data.DataColumn("Certificate", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
1820 MyBase.Columns.Add(Me.columnCertificate)
1821 Me.columnDev = New Global.System.Data.DataColumn("Dev", GetType(String), Nothing, Global.System.Data.MappingType.Element)
1822 MyBase.Columns.Add(Me.columnDev)
1823 Me.columnPublisher = New Global.System.Data.DataColumn("Publisher", GetType(String), Nothing, Global.System.Data.MappingType.Element)
1824 MyBase.Columns.Add(Me.columnPublisher)
1825 Me.columnIcon = New Global.System.Data.DataColumn("Icon", GetType(String), Nothing, Global.System.Data.MappingType.Element)
1826 MyBase.Columns.Add(Me.columnIcon)
1827 Me.columnTags = New Global.System.Data.DataColumn("Tags", GetType(String), Nothing, Global.System.Data.MappingType.Element)
1828 MyBase.Columns.Add(Me.columnTags)
1829 Me.columnTheme_Colour = New Global.System.Data.DataColumn("Theme Colour", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
1830 MyBase.Columns.Add(Me.columnTheme_Colour)
1831 Me.Constraints.Add(New Global.System.Data.UniqueConstraint("Constraint1", New Global.System.Data.DataColumn() {Me.columnGameID}, true))
1832 Me.columnGameID.AutoIncrement = true
1833 Me.columnGameID.AutoIncrementSeed = -1
1834 Me.columnGameID.AutoIncrementStep = -1
1835 Me.columnGameID.AllowDBNull = false
1836 Me.columnGameID.Unique = true
1837 Me.columnName.MaxLength = 536870910
1838 Me.columnDev.MaxLength = 536870910
1839 Me.columnPublisher.MaxLength = 536870910
1840 Me.columnIcon.MaxLength = 536870910
1841 Me.columnTags.MaxLength = 536870910
1844 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1845 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1846 Public Function NewGamesRow() As GamesRow
1847 Return CType(Me.NewRow,GamesRow)
1850 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1851 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1852 Protected Overrides Function NewRowFromBuilder(ByVal builder As Global.System.Data.DataRowBuilder) As Global.System.Data.DataRow
1853 Return New GamesRow(builder)
1856 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1857 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1858 Protected Overrides Function GetRowType() As Global.System.Type
1859 Return GetType(GamesRow)
1862 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1863 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1864 Protected Overrides Sub OnRowChanged(ByVal e As Global.System.Data.DataRowChangeEventArgs)
1865 MyBase.OnRowChanged(e)
1866 If (Not (Me.GamesRowChangedEvent) Is Nothing) Then
1867 RaiseEvent GamesRowChanged(Me, New GamesRowChangeEvent(CType(e.Row,GamesRow), e.Action))
1871 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1872 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1873 Protected Overrides Sub OnRowChanging(ByVal e As Global.System.Data.DataRowChangeEventArgs)
1874 MyBase.OnRowChanging(e)
1875 If (Not (Me.GamesRowChangingEvent) Is Nothing) Then
1876 RaiseEvent GamesRowChanging(Me, New GamesRowChangeEvent(CType(e.Row,GamesRow), e.Action))
1880 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1881 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1882 Protected Overrides Sub OnRowDeleted(ByVal e As Global.System.Data.DataRowChangeEventArgs)
1883 MyBase.OnRowDeleted(e)
1884 If (Not (Me.GamesRowDeletedEvent) Is Nothing) Then
1885 RaiseEvent GamesRowDeleted(Me, New GamesRowChangeEvent(CType(e.Row,GamesRow), e.Action))
1889 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1890 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1891 Protected Overrides Sub OnRowDeleting(ByVal e As Global.System.Data.DataRowChangeEventArgs)
1892 MyBase.OnRowDeleting(e)
1893 If (Not (Me.GamesRowDeletingEvent) Is Nothing) Then
1894 RaiseEvent GamesRowDeleting(Me, New GamesRowChangeEvent(CType(e.Row,GamesRow), e.Action))
1898 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1899 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1900 Public Sub RemoveGamesRow(ByVal row As GamesRow)
1904 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1905 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1906 Public Shared Function GetTypedTableSchema(ByVal xs As Global.System.Xml.Schema.XmlSchemaSet) As Global.System.Xml.Schema.XmlSchemaComplexType
1907 Dim type As Global.System.Xml.Schema.XmlSchemaComplexType = New Global.System.Xml.Schema.XmlSchemaComplexType()
1908 Dim sequence As Global.System.Xml.Schema.XmlSchemaSequence = New Global.System.Xml.Schema.XmlSchemaSequence()
1909 Dim ds As NEADataSet = New NEADataSet()
1910 Dim any1 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
1911 any1.Namespace = "http://www.w3.org/2001/XMLSchema"
1912 any1.MinOccurs = New Decimal(0)
1913 any1.MaxOccurs = Decimal.MaxValue
1914 any1.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
1915 sequence.Items.Add(any1)
1916 Dim any2 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
1917 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"
1918 any2.MinOccurs = New Decimal(1)
1919 any2.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
1920 sequence.Items.Add(any2)
1921 Dim attribute1 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
1922 attribute1.Name = "namespace"
1923 attribute1.FixedValue = ds.Namespace
1924 type.Attributes.Add(attribute1)
1925 Dim attribute2 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
1926 attribute2.Name = "tableTypeName"
1927 attribute2.FixedValue = "GamesDataTable"
1928 type.Attributes.Add(attribute2)
1929 type.Particle = sequence
1930 Dim dsSchema As Global.System.Xml.Schema.XmlSchema = ds.GetSchemaSerializable
1931 If xs.Contains(dsSchema.TargetNamespace) Then
1932 Dim s1 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
1933 Dim s2 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
1935 Dim schema As Global.System.Xml.Schema.XmlSchema = Nothing
1937 Dim schemas As Global.System.Collections.IEnumerator = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator
1938 Do While schemas.MoveNext
1939 schema = CType(schemas.Current,Global.System.Xml.Schema.XmlSchema)
1942 If (s1.Length = s2.Length) Then
1946 Do While ((s1.Position <> s1.Length) _
1947 AndAlso (s1.ReadByte = s2.ReadByte))
1951 If (s1.Position = s1.Length) Then
1958 If (Not (s1) Is Nothing) Then
1961 If (Not (s2) Is Nothing) Then
1972 '''Represents the strongly named DataTable class.
1974 <Global.System.Serializable(), _
1975 Global.System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")> _
1976 Partial Public Class PurchasedDataTable
1977 Inherits Global.System.Data.TypedTableBase(Of PurchasedRow)
1979 Private columnPurchaseID As Global.System.Data.DataColumn
1981 Private columnUserID As Global.System.Data.DataColumn
1983 Private columnGameID As Global.System.Data.DataColumn
1985 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1986 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1989 Me.TableName = "Purchased"
1995 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
1996 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
1997 Friend Sub New(ByVal table As Global.System.Data.DataTable)
1999 Me.TableName = table.TableName
2000 If (table.CaseSensitive <> table.DataSet.CaseSensitive) Then
2001 Me.CaseSensitive = table.CaseSensitive
2003 If (table.Locale.ToString <> table.DataSet.Locale.ToString) Then
2004 Me.Locale = table.Locale
2006 If (table.Namespace <> table.DataSet.Namespace) Then
2007 Me.Namespace = table.Namespace
2009 Me.Prefix = table.Prefix
2010 Me.MinimumCapacity = table.MinimumCapacity
2013 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2014 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2015 Protected Sub New(ByVal info As Global.System.Runtime.Serialization.SerializationInfo, ByVal context As Global.System.Runtime.Serialization.StreamingContext)
2016 MyBase.New(info, context)
2020 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2021 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2022 Public ReadOnly Property PurchaseIDColumn() As Global.System.Data.DataColumn
2024 Return Me.columnPurchaseID
2028 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2029 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2030 Public ReadOnly Property UserIDColumn() As Global.System.Data.DataColumn
2032 Return Me.columnUserID
2036 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2037 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2038 Public ReadOnly Property GameIDColumn() As Global.System.Data.DataColumn
2040 Return Me.columnGameID
2044 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2045 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
2046 Global.System.ComponentModel.Browsable(false)> _
2047 Public ReadOnly Property Count() As Integer
2049 Return Me.Rows.Count
2053 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2054 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2055 Public Default ReadOnly Property Item(ByVal index As Integer) As PurchasedRow
2057 Return CType(Me.Rows(index),PurchasedRow)
2061 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2062 Public Event PurchasedRowChanging As PurchasedRowChangeEventHandler
2064 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2065 Public Event PurchasedRowChanged As PurchasedRowChangeEventHandler
2067 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2068 Public Event PurchasedRowDeleting As PurchasedRowChangeEventHandler
2070 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2071 Public Event PurchasedRowDeleted As PurchasedRowChangeEventHandler
2073 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2074 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2075 Public Overloads Sub AddPurchasedRow(ByVal row As PurchasedRow)
2079 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2080 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2081 Public Overloads Function AddPurchasedRow(ByVal UserID As Integer, ByVal parentGamesRowByGamesPurchased As GamesRow) As PurchasedRow
2082 Dim rowPurchasedRow As PurchasedRow = CType(Me.NewRow,PurchasedRow)
2083 Dim columnValuesArray() As Object = New Object() {Nothing, UserID, Nothing}
2084 If (Not (parentGamesRowByGamesPurchased) Is Nothing) Then
2085 columnValuesArray(2) = parentGamesRowByGamesPurchased(0)
2087 rowPurchasedRow.ItemArray = columnValuesArray
2088 Me.Rows.Add(rowPurchasedRow)
2089 Return rowPurchasedRow
2092 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2093 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2094 Public Function FindByPurchaseID(ByVal PurchaseID As Integer) As PurchasedRow
2095 Return CType(Me.Rows.Find(New Object() {PurchaseID}),PurchasedRow)
2098 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2099 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2100 Public Overrides Function Clone() As Global.System.Data.DataTable
2101 Dim cln As PurchasedDataTable = CType(MyBase.Clone,PurchasedDataTable)
2106 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2107 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2108 Protected Overrides Function CreateInstance() As Global.System.Data.DataTable
2109 Return New PurchasedDataTable()
2112 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2113 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2114 Friend Sub InitVars()
2115 Me.columnPurchaseID = MyBase.Columns("PurchaseID")
2116 Me.columnUserID = MyBase.Columns("UserID")
2117 Me.columnGameID = MyBase.Columns("GameID")
2120 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2121 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2122 Private Sub InitClass()
2123 Me.columnPurchaseID = New Global.System.Data.DataColumn("PurchaseID", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
2124 MyBase.Columns.Add(Me.columnPurchaseID)
2125 Me.columnUserID = New Global.System.Data.DataColumn("UserID", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
2126 MyBase.Columns.Add(Me.columnUserID)
2127 Me.columnGameID = New Global.System.Data.DataColumn("GameID", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
2128 MyBase.Columns.Add(Me.columnGameID)
2129 Me.Constraints.Add(New Global.System.Data.UniqueConstraint("Constraint1", New Global.System.Data.DataColumn() {Me.columnPurchaseID}, true))
2130 Me.columnPurchaseID.AutoIncrement = true
2131 Me.columnPurchaseID.AutoIncrementSeed = -1
2132 Me.columnPurchaseID.AutoIncrementStep = -1
2133 Me.columnPurchaseID.AllowDBNull = false
2134 Me.columnPurchaseID.Unique = true
2137 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2138 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2139 Public Function NewPurchasedRow() As PurchasedRow
2140 Return CType(Me.NewRow,PurchasedRow)
2143 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2144 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2145 Protected Overrides Function NewRowFromBuilder(ByVal builder As Global.System.Data.DataRowBuilder) As Global.System.Data.DataRow
2146 Return New PurchasedRow(builder)
2149 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2150 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2151 Protected Overrides Function GetRowType() As Global.System.Type
2152 Return GetType(PurchasedRow)
2155 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2156 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2157 Protected Overrides Sub OnRowChanged(ByVal e As Global.System.Data.DataRowChangeEventArgs)
2158 MyBase.OnRowChanged(e)
2159 If (Not (Me.PurchasedRowChangedEvent) Is Nothing) Then
2160 RaiseEvent PurchasedRowChanged(Me, New PurchasedRowChangeEvent(CType(e.Row,PurchasedRow), e.Action))
2164 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2165 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2166 Protected Overrides Sub OnRowChanging(ByVal e As Global.System.Data.DataRowChangeEventArgs)
2167 MyBase.OnRowChanging(e)
2168 If (Not (Me.PurchasedRowChangingEvent) Is Nothing) Then
2169 RaiseEvent PurchasedRowChanging(Me, New PurchasedRowChangeEvent(CType(e.Row,PurchasedRow), e.Action))
2173 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2174 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2175 Protected Overrides Sub OnRowDeleted(ByVal e As Global.System.Data.DataRowChangeEventArgs)
2176 MyBase.OnRowDeleted(e)
2177 If (Not (Me.PurchasedRowDeletedEvent) Is Nothing) Then
2178 RaiseEvent PurchasedRowDeleted(Me, New PurchasedRowChangeEvent(CType(e.Row,PurchasedRow), e.Action))
2182 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2183 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2184 Protected Overrides Sub OnRowDeleting(ByVal e As Global.System.Data.DataRowChangeEventArgs)
2185 MyBase.OnRowDeleting(e)
2186 If (Not (Me.PurchasedRowDeletingEvent) Is Nothing) Then
2187 RaiseEvent PurchasedRowDeleting(Me, New PurchasedRowChangeEvent(CType(e.Row,PurchasedRow), e.Action))
2191 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2192 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2193 Public Sub RemovePurchasedRow(ByVal row As PurchasedRow)
2197 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2198 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2199 Public Shared Function GetTypedTableSchema(ByVal xs As Global.System.Xml.Schema.XmlSchemaSet) As Global.System.Xml.Schema.XmlSchemaComplexType
2200 Dim type As Global.System.Xml.Schema.XmlSchemaComplexType = New Global.System.Xml.Schema.XmlSchemaComplexType()
2201 Dim sequence As Global.System.Xml.Schema.XmlSchemaSequence = New Global.System.Xml.Schema.XmlSchemaSequence()
2202 Dim ds As NEADataSet = New NEADataSet()
2203 Dim any1 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
2204 any1.Namespace = "http://www.w3.org/2001/XMLSchema"
2205 any1.MinOccurs = New Decimal(0)
2206 any1.MaxOccurs = Decimal.MaxValue
2207 any1.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
2208 sequence.Items.Add(any1)
2209 Dim any2 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
2210 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"
2211 any2.MinOccurs = New Decimal(1)
2212 any2.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
2213 sequence.Items.Add(any2)
2214 Dim attribute1 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
2215 attribute1.Name = "namespace"
2216 attribute1.FixedValue = ds.Namespace
2217 type.Attributes.Add(attribute1)
2218 Dim attribute2 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
2219 attribute2.Name = "tableTypeName"
2220 attribute2.FixedValue = "PurchasedDataTable"
2221 type.Attributes.Add(attribute2)
2222 type.Particle = sequence
2223 Dim dsSchema As Global.System.Xml.Schema.XmlSchema = ds.GetSchemaSerializable
2224 If xs.Contains(dsSchema.TargetNamespace) Then
2225 Dim s1 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
2226 Dim s2 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
2228 Dim schema As Global.System.Xml.Schema.XmlSchema = Nothing
2230 Dim schemas As Global.System.Collections.IEnumerator = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator
2231 Do While schemas.MoveNext
2232 schema = CType(schemas.Current,Global.System.Xml.Schema.XmlSchema)
2235 If (s1.Length = s2.Length) Then
2239 Do While ((s1.Position <> s1.Length) _
2240 AndAlso (s1.ReadByte = s2.ReadByte))
2244 If (s1.Position = s1.Length) Then
2251 If (Not (s1) Is Nothing) Then
2254 If (Not (s2) Is Nothing) Then
2265 '''Represents the strongly named DataTable class.
2267 <Global.System.Serializable(), _
2268 Global.System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")> _
2269 Partial Public Class ReviewsDataTable
2270 Inherits Global.System.Data.TypedTableBase(Of ReviewsRow)
2272 Private columnReviewID As Global.System.Data.DataColumn
2274 Private columnGameID As Global.System.Data.DataColumn
2276 Private columnReview As Global.System.Data.DataColumn
2278 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2279 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2282 Me.TableName = "Reviews"
2288 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2289 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2290 Friend Sub New(ByVal table As Global.System.Data.DataTable)
2292 Me.TableName = table.TableName
2293 If (table.CaseSensitive <> table.DataSet.CaseSensitive) Then
2294 Me.CaseSensitive = table.CaseSensitive
2296 If (table.Locale.ToString <> table.DataSet.Locale.ToString) Then
2297 Me.Locale = table.Locale
2299 If (table.Namespace <> table.DataSet.Namespace) Then
2300 Me.Namespace = table.Namespace
2302 Me.Prefix = table.Prefix
2303 Me.MinimumCapacity = table.MinimumCapacity
2306 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2307 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2308 Protected Sub New(ByVal info As Global.System.Runtime.Serialization.SerializationInfo, ByVal context As Global.System.Runtime.Serialization.StreamingContext)
2309 MyBase.New(info, context)
2313 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2314 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2315 Public ReadOnly Property ReviewIDColumn() As Global.System.Data.DataColumn
2317 Return Me.columnReviewID
2321 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2322 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2323 Public ReadOnly Property GameIDColumn() As Global.System.Data.DataColumn
2325 Return Me.columnGameID
2329 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2330 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2331 Public ReadOnly Property ReviewColumn() As Global.System.Data.DataColumn
2333 Return Me.columnReview
2337 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2338 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
2339 Global.System.ComponentModel.Browsable(false)> _
2340 Public ReadOnly Property Count() As Integer
2342 Return Me.Rows.Count
2346 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2347 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2348 Public Default ReadOnly Property Item(ByVal index As Integer) As ReviewsRow
2350 Return CType(Me.Rows(index),ReviewsRow)
2354 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2355 Public Event ReviewsRowChanging As ReviewsRowChangeEventHandler
2357 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2358 Public Event ReviewsRowChanged As ReviewsRowChangeEventHandler
2360 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2361 Public Event ReviewsRowDeleting As ReviewsRowChangeEventHandler
2363 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2364 Public Event ReviewsRowDeleted As ReviewsRowChangeEventHandler
2366 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2367 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2368 Public Overloads Sub AddReviewsRow(ByVal row As ReviewsRow)
2372 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2373 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2374 Public Overloads Function AddReviewsRow(ByVal parentGamesRowByGamesReviews As GamesRow, ByVal Review As String) As ReviewsRow
2375 Dim rowReviewsRow As ReviewsRow = CType(Me.NewRow,ReviewsRow)
2376 Dim columnValuesArray() As Object = New Object() {Nothing, Nothing, Review}
2377 If (Not (parentGamesRowByGamesReviews) Is Nothing) Then
2378 columnValuesArray(1) = parentGamesRowByGamesReviews(0)
2380 rowReviewsRow.ItemArray = columnValuesArray
2381 Me.Rows.Add(rowReviewsRow)
2382 Return rowReviewsRow
2385 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2386 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2387 Public Function FindByReviewID(ByVal ReviewID As Integer) As ReviewsRow
2388 Return CType(Me.Rows.Find(New Object() {ReviewID}),ReviewsRow)
2391 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2392 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2393 Public Overrides Function Clone() As Global.System.Data.DataTable
2394 Dim cln As ReviewsDataTable = CType(MyBase.Clone,ReviewsDataTable)
2399 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2400 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2401 Protected Overrides Function CreateInstance() As Global.System.Data.DataTable
2402 Return New ReviewsDataTable()
2405 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2406 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2407 Friend Sub InitVars()
2408 Me.columnReviewID = MyBase.Columns("ReviewID")
2409 Me.columnGameID = MyBase.Columns("GameID")
2410 Me.columnReview = MyBase.Columns("Review")
2413 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2414 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2415 Private Sub InitClass()
2416 Me.columnReviewID = New Global.System.Data.DataColumn("ReviewID", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
2417 MyBase.Columns.Add(Me.columnReviewID)
2418 Me.columnGameID = New Global.System.Data.DataColumn("GameID", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
2419 MyBase.Columns.Add(Me.columnGameID)
2420 Me.columnReview = New Global.System.Data.DataColumn("Review", GetType(String), Nothing, Global.System.Data.MappingType.Element)
2421 MyBase.Columns.Add(Me.columnReview)
2422 Me.Constraints.Add(New Global.System.Data.UniqueConstraint("Constraint1", New Global.System.Data.DataColumn() {Me.columnReviewID}, true))
2423 Me.columnReviewID.AutoIncrement = true
2424 Me.columnReviewID.AutoIncrementSeed = -1
2425 Me.columnReviewID.AutoIncrementStep = -1
2426 Me.columnReviewID.AllowDBNull = false
2427 Me.columnReviewID.Unique = true
2428 Me.columnReview.MaxLength = 536870910
2431 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2432 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2433 Public Function NewReviewsRow() As ReviewsRow
2434 Return CType(Me.NewRow,ReviewsRow)
2437 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2438 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2439 Protected Overrides Function NewRowFromBuilder(ByVal builder As Global.System.Data.DataRowBuilder) As Global.System.Data.DataRow
2440 Return New ReviewsRow(builder)
2443 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2444 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2445 Protected Overrides Function GetRowType() As Global.System.Type
2446 Return GetType(ReviewsRow)
2449 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2450 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2451 Protected Overrides Sub OnRowChanged(ByVal e As Global.System.Data.DataRowChangeEventArgs)
2452 MyBase.OnRowChanged(e)
2453 If (Not (Me.ReviewsRowChangedEvent) Is Nothing) Then
2454 RaiseEvent ReviewsRowChanged(Me, New ReviewsRowChangeEvent(CType(e.Row,ReviewsRow), e.Action))
2458 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2459 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2460 Protected Overrides Sub OnRowChanging(ByVal e As Global.System.Data.DataRowChangeEventArgs)
2461 MyBase.OnRowChanging(e)
2462 If (Not (Me.ReviewsRowChangingEvent) Is Nothing) Then
2463 RaiseEvent ReviewsRowChanging(Me, New ReviewsRowChangeEvent(CType(e.Row,ReviewsRow), e.Action))
2467 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2468 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2469 Protected Overrides Sub OnRowDeleted(ByVal e As Global.System.Data.DataRowChangeEventArgs)
2470 MyBase.OnRowDeleted(e)
2471 If (Not (Me.ReviewsRowDeletedEvent) Is Nothing) Then
2472 RaiseEvent ReviewsRowDeleted(Me, New ReviewsRowChangeEvent(CType(e.Row,ReviewsRow), e.Action))
2476 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2477 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2478 Protected Overrides Sub OnRowDeleting(ByVal e As Global.System.Data.DataRowChangeEventArgs)
2479 MyBase.OnRowDeleting(e)
2480 If (Not (Me.ReviewsRowDeletingEvent) Is Nothing) Then
2481 RaiseEvent ReviewsRowDeleting(Me, New ReviewsRowChangeEvent(CType(e.Row,ReviewsRow), e.Action))
2485 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2486 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2487 Public Sub RemoveReviewsRow(ByVal row As ReviewsRow)
2491 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2492 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2493 Public Shared Function GetTypedTableSchema(ByVal xs As Global.System.Xml.Schema.XmlSchemaSet) As Global.System.Xml.Schema.XmlSchemaComplexType
2494 Dim type As Global.System.Xml.Schema.XmlSchemaComplexType = New Global.System.Xml.Schema.XmlSchemaComplexType()
2495 Dim sequence As Global.System.Xml.Schema.XmlSchemaSequence = New Global.System.Xml.Schema.XmlSchemaSequence()
2496 Dim ds As NEADataSet = New NEADataSet()
2497 Dim any1 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
2498 any1.Namespace = "http://www.w3.org/2001/XMLSchema"
2499 any1.MinOccurs = New Decimal(0)
2500 any1.MaxOccurs = Decimal.MaxValue
2501 any1.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
2502 sequence.Items.Add(any1)
2503 Dim any2 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
2504 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"
2505 any2.MinOccurs = New Decimal(1)
2506 any2.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
2507 sequence.Items.Add(any2)
2508 Dim attribute1 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
2509 attribute1.Name = "namespace"
2510 attribute1.FixedValue = ds.Namespace
2511 type.Attributes.Add(attribute1)
2512 Dim attribute2 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
2513 attribute2.Name = "tableTypeName"
2514 attribute2.FixedValue = "ReviewsDataTable"
2515 type.Attributes.Add(attribute2)
2516 type.Particle = sequence
2517 Dim dsSchema As Global.System.Xml.Schema.XmlSchema = ds.GetSchemaSerializable
2518 If xs.Contains(dsSchema.TargetNamespace) Then
2519 Dim s1 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
2520 Dim s2 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
2522 Dim schema As Global.System.Xml.Schema.XmlSchema = Nothing
2524 Dim schemas As Global.System.Collections.IEnumerator = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator
2525 Do While schemas.MoveNext
2526 schema = CType(schemas.Current,Global.System.Xml.Schema.XmlSchema)
2529 If (s1.Length = s2.Length) Then
2533 Do While ((s1.Position <> s1.Length) _
2534 AndAlso (s1.ReadByte = s2.ReadByte))
2538 If (s1.Position = s1.Length) Then
2545 If (Not (s1) Is Nothing) Then
2548 If (Not (s2) Is Nothing) Then
2559 '''Represents the strongly named DataTable class.
2561 <Global.System.Serializable(), _
2562 Global.System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")> _
2563 Partial Public Class TagsDataTable
2564 Inherits Global.System.Data.TypedTableBase(Of TagsRow)
2566 Private columnID As Global.System.Data.DataColumn
2568 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2569 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2572 Me.TableName = "Tags"
2578 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2579 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2580 Friend Sub New(ByVal table As Global.System.Data.DataTable)
2582 Me.TableName = table.TableName
2583 If (table.CaseSensitive <> table.DataSet.CaseSensitive) Then
2584 Me.CaseSensitive = table.CaseSensitive
2586 If (table.Locale.ToString <> table.DataSet.Locale.ToString) Then
2587 Me.Locale = table.Locale
2589 If (table.Namespace <> table.DataSet.Namespace) Then
2590 Me.Namespace = table.Namespace
2592 Me.Prefix = table.Prefix
2593 Me.MinimumCapacity = table.MinimumCapacity
2596 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2597 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2598 Protected Sub New(ByVal info As Global.System.Runtime.Serialization.SerializationInfo, ByVal context As Global.System.Runtime.Serialization.StreamingContext)
2599 MyBase.New(info, context)
2603 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2604 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2605 Public ReadOnly Property IDColumn() As Global.System.Data.DataColumn
2611 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2612 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
2613 Global.System.ComponentModel.Browsable(false)> _
2614 Public ReadOnly Property Count() As Integer
2616 Return Me.Rows.Count
2620 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2621 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2622 Public Default ReadOnly Property Item(ByVal index As Integer) As TagsRow
2624 Return CType(Me.Rows(index),TagsRow)
2628 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2629 Public Event TagsRowChanging As TagsRowChangeEventHandler
2631 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2632 Public Event TagsRowChanged As TagsRowChangeEventHandler
2634 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2635 Public Event TagsRowDeleting As TagsRowChangeEventHandler
2637 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2638 Public Event TagsRowDeleted As TagsRowChangeEventHandler
2640 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2641 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2642 Public Overloads Sub AddTagsRow(ByVal row As TagsRow)
2646 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2647 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2648 Public Overloads Function AddTagsRow() As TagsRow
2649 Dim rowTagsRow As TagsRow = CType(Me.NewRow,TagsRow)
2650 Dim columnValuesArray() As Object = New Object() {Nothing}
2651 rowTagsRow.ItemArray = columnValuesArray
2652 Me.Rows.Add(rowTagsRow)
2656 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2657 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2658 Public Function FindByID(ByVal ID As Integer) As TagsRow
2659 Return CType(Me.Rows.Find(New Object() {ID}),TagsRow)
2662 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2663 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2664 Public Overrides Function Clone() As Global.System.Data.DataTable
2665 Dim cln As TagsDataTable = CType(MyBase.Clone,TagsDataTable)
2670 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2671 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2672 Protected Overrides Function CreateInstance() As Global.System.Data.DataTable
2673 Return New TagsDataTable()
2676 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2677 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2678 Friend Sub InitVars()
2679 Me.columnID = MyBase.Columns("ID")
2682 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2683 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2684 Private Sub InitClass()
2685 Me.columnID = New Global.System.Data.DataColumn("ID", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
2686 MyBase.Columns.Add(Me.columnID)
2687 Me.Constraints.Add(New Global.System.Data.UniqueConstraint("Constraint1", New Global.System.Data.DataColumn() {Me.columnID}, true))
2688 Me.columnID.AutoIncrement = true
2689 Me.columnID.AutoIncrementSeed = -1
2690 Me.columnID.AutoIncrementStep = -1
2691 Me.columnID.AllowDBNull = false
2692 Me.columnID.Unique = true
2695 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2696 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2697 Public Function NewTagsRow() As TagsRow
2698 Return CType(Me.NewRow,TagsRow)
2701 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2702 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2703 Protected Overrides Function NewRowFromBuilder(ByVal builder As Global.System.Data.DataRowBuilder) As Global.System.Data.DataRow
2704 Return New TagsRow(builder)
2707 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2708 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2709 Protected Overrides Function GetRowType() As Global.System.Type
2710 Return GetType(TagsRow)
2713 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2714 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2715 Protected Overrides Sub OnRowChanged(ByVal e As Global.System.Data.DataRowChangeEventArgs)
2716 MyBase.OnRowChanged(e)
2717 If (Not (Me.TagsRowChangedEvent) Is Nothing) Then
2718 RaiseEvent TagsRowChanged(Me, New TagsRowChangeEvent(CType(e.Row,TagsRow), e.Action))
2722 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2723 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2724 Protected Overrides Sub OnRowChanging(ByVal e As Global.System.Data.DataRowChangeEventArgs)
2725 MyBase.OnRowChanging(e)
2726 If (Not (Me.TagsRowChangingEvent) Is Nothing) Then
2727 RaiseEvent TagsRowChanging(Me, New TagsRowChangeEvent(CType(e.Row,TagsRow), e.Action))
2731 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2732 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2733 Protected Overrides Sub OnRowDeleted(ByVal e As Global.System.Data.DataRowChangeEventArgs)
2734 MyBase.OnRowDeleted(e)
2735 If (Not (Me.TagsRowDeletedEvent) Is Nothing) Then
2736 RaiseEvent TagsRowDeleted(Me, New TagsRowChangeEvent(CType(e.Row,TagsRow), e.Action))
2740 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2741 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2742 Protected Overrides Sub OnRowDeleting(ByVal e As Global.System.Data.DataRowChangeEventArgs)
2743 MyBase.OnRowDeleting(e)
2744 If (Not (Me.TagsRowDeletingEvent) Is Nothing) Then
2745 RaiseEvent TagsRowDeleting(Me, New TagsRowChangeEvent(CType(e.Row,TagsRow), e.Action))
2749 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2750 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2751 Public Sub RemoveTagsRow(ByVal row As TagsRow)
2755 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2756 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2757 Public Shared Function GetTypedTableSchema(ByVal xs As Global.System.Xml.Schema.XmlSchemaSet) As Global.System.Xml.Schema.XmlSchemaComplexType
2758 Dim type As Global.System.Xml.Schema.XmlSchemaComplexType = New Global.System.Xml.Schema.XmlSchemaComplexType()
2759 Dim sequence As Global.System.Xml.Schema.XmlSchemaSequence = New Global.System.Xml.Schema.XmlSchemaSequence()
2760 Dim ds As NEADataSet = New NEADataSet()
2761 Dim any1 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
2762 any1.Namespace = "http://www.w3.org/2001/XMLSchema"
2763 any1.MinOccurs = New Decimal(0)
2764 any1.MaxOccurs = Decimal.MaxValue
2765 any1.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
2766 sequence.Items.Add(any1)
2767 Dim any2 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
2768 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"
2769 any2.MinOccurs = New Decimal(1)
2770 any2.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
2771 sequence.Items.Add(any2)
2772 Dim attribute1 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
2773 attribute1.Name = "namespace"
2774 attribute1.FixedValue = ds.Namespace
2775 type.Attributes.Add(attribute1)
2776 Dim attribute2 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
2777 attribute2.Name = "tableTypeName"
2778 attribute2.FixedValue = "TagsDataTable"
2779 type.Attributes.Add(attribute2)
2780 type.Particle = sequence
2781 Dim dsSchema As Global.System.Xml.Schema.XmlSchema = ds.GetSchemaSerializable
2782 If xs.Contains(dsSchema.TargetNamespace) Then
2783 Dim s1 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
2784 Dim s2 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
2786 Dim schema As Global.System.Xml.Schema.XmlSchema = Nothing
2788 Dim schemas As Global.System.Collections.IEnumerator = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator
2789 Do While schemas.MoveNext
2790 schema = CType(schemas.Current,Global.System.Xml.Schema.XmlSchema)
2793 If (s1.Length = s2.Length) Then
2797 Do While ((s1.Position <> s1.Length) _
2798 AndAlso (s1.ReadByte = s2.ReadByte))
2802 If (s1.Position = s1.Length) Then
2809 If (Not (s1) Is Nothing) Then
2812 If (Not (s2) Is Nothing) Then
2823 '''Represents the strongly named DataTable class.
2825 <Global.System.Serializable(), _
2826 Global.System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")> _
2827 Partial Public Class WishlistDataTable
2828 Inherits Global.System.Data.TypedTableBase(Of WishlistRow)
2830 Private columnWishlistID As Global.System.Data.DataColumn
2832 Private columnUserID As Global.System.Data.DataColumn
2834 Private columnGameID As Global.System.Data.DataColumn
2836 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2837 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2840 Me.TableName = "Wishlist"
2846 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2847 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2848 Friend Sub New(ByVal table As Global.System.Data.DataTable)
2850 Me.TableName = table.TableName
2851 If (table.CaseSensitive <> table.DataSet.CaseSensitive) Then
2852 Me.CaseSensitive = table.CaseSensitive
2854 If (table.Locale.ToString <> table.DataSet.Locale.ToString) Then
2855 Me.Locale = table.Locale
2857 If (table.Namespace <> table.DataSet.Namespace) Then
2858 Me.Namespace = table.Namespace
2860 Me.Prefix = table.Prefix
2861 Me.MinimumCapacity = table.MinimumCapacity
2864 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2865 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2866 Protected Sub New(ByVal info As Global.System.Runtime.Serialization.SerializationInfo, ByVal context As Global.System.Runtime.Serialization.StreamingContext)
2867 MyBase.New(info, context)
2871 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2872 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2873 Public ReadOnly Property WishlistIDColumn() As Global.System.Data.DataColumn
2875 Return Me.columnWishlistID
2879 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2880 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2881 Public ReadOnly Property UserIDColumn() As Global.System.Data.DataColumn
2883 Return Me.columnUserID
2887 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2888 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2889 Public ReadOnly Property GameIDColumn() As Global.System.Data.DataColumn
2891 Return Me.columnGameID
2895 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2896 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
2897 Global.System.ComponentModel.Browsable(false)> _
2898 Public ReadOnly Property Count() As Integer
2900 Return Me.Rows.Count
2904 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2905 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2906 Public Default ReadOnly Property Item(ByVal index As Integer) As WishlistRow
2908 Return CType(Me.Rows(index),WishlistRow)
2912 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2913 Public Event WishlistRowChanging As WishlistRowChangeEventHandler
2915 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2916 Public Event WishlistRowChanged As WishlistRowChangeEventHandler
2918 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2919 Public Event WishlistRowDeleting As WishlistRowChangeEventHandler
2921 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2922 Public Event WishlistRowDeleted As WishlistRowChangeEventHandler
2924 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2925 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2926 Public Overloads Sub AddWishlistRow(ByVal row As WishlistRow)
2930 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2931 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2932 Public Overloads Function AddWishlistRow(ByVal UserID As Integer, ByVal parentGamesRowByGamesWishlist As GamesRow) As WishlistRow
2933 Dim rowWishlistRow As WishlistRow = CType(Me.NewRow,WishlistRow)
2934 Dim columnValuesArray() As Object = New Object() {Nothing, UserID, Nothing}
2935 If (Not (parentGamesRowByGamesWishlist) Is Nothing) Then
2936 columnValuesArray(2) = parentGamesRowByGamesWishlist(0)
2938 rowWishlistRow.ItemArray = columnValuesArray
2939 Me.Rows.Add(rowWishlistRow)
2940 Return rowWishlistRow
2943 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2944 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2945 Public Function FindByWishlistID(ByVal WishlistID As Integer) As WishlistRow
2946 Return CType(Me.Rows.Find(New Object() {WishlistID}),WishlistRow)
2949 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2950 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2951 Public Overrides Function Clone() As Global.System.Data.DataTable
2952 Dim cln As WishlistDataTable = CType(MyBase.Clone,WishlistDataTable)
2957 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2958 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2959 Protected Overrides Function CreateInstance() As Global.System.Data.DataTable
2960 Return New WishlistDataTable()
2963 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2964 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2965 Friend Sub InitVars()
2966 Me.columnWishlistID = MyBase.Columns("WishlistID")
2967 Me.columnUserID = MyBase.Columns("UserID")
2968 Me.columnGameID = MyBase.Columns("GameID")
2971 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2972 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2973 Private Sub InitClass()
2974 Me.columnWishlistID = New Global.System.Data.DataColumn("WishlistID", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
2975 MyBase.Columns.Add(Me.columnWishlistID)
2976 Me.columnUserID = New Global.System.Data.DataColumn("UserID", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
2977 MyBase.Columns.Add(Me.columnUserID)
2978 Me.columnGameID = New Global.System.Data.DataColumn("GameID", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
2979 MyBase.Columns.Add(Me.columnGameID)
2980 Me.Constraints.Add(New Global.System.Data.UniqueConstraint("Constraint1", New Global.System.Data.DataColumn() {Me.columnWishlistID}, true))
2981 Me.columnWishlistID.AutoIncrement = true
2982 Me.columnWishlistID.AutoIncrementSeed = -1
2983 Me.columnWishlistID.AutoIncrementStep = -1
2984 Me.columnWishlistID.AllowDBNull = false
2985 Me.columnWishlistID.Unique = true
2988 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2989 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2990 Public Function NewWishlistRow() As WishlistRow
2991 Return CType(Me.NewRow,WishlistRow)
2994 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2995 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2996 Protected Overrides Function NewRowFromBuilder(ByVal builder As Global.System.Data.DataRowBuilder) As Global.System.Data.DataRow
2997 Return New WishlistRow(builder)
3000 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3001 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3002 Protected Overrides Function GetRowType() As Global.System.Type
3003 Return GetType(WishlistRow)
3006 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3007 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3008 Protected Overrides Sub OnRowChanged(ByVal e As Global.System.Data.DataRowChangeEventArgs)
3009 MyBase.OnRowChanged(e)
3010 If (Not (Me.WishlistRowChangedEvent) Is Nothing) Then
3011 RaiseEvent WishlistRowChanged(Me, New WishlistRowChangeEvent(CType(e.Row,WishlistRow), e.Action))
3015 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3016 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3017 Protected Overrides Sub OnRowChanging(ByVal e As Global.System.Data.DataRowChangeEventArgs)
3018 MyBase.OnRowChanging(e)
3019 If (Not (Me.WishlistRowChangingEvent) Is Nothing) Then
3020 RaiseEvent WishlistRowChanging(Me, New WishlistRowChangeEvent(CType(e.Row,WishlistRow), e.Action))
3024 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3025 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3026 Protected Overrides Sub OnRowDeleted(ByVal e As Global.System.Data.DataRowChangeEventArgs)
3027 MyBase.OnRowDeleted(e)
3028 If (Not (Me.WishlistRowDeletedEvent) Is Nothing) Then
3029 RaiseEvent WishlistRowDeleted(Me, New WishlistRowChangeEvent(CType(e.Row,WishlistRow), e.Action))
3033 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3034 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3035 Protected Overrides Sub OnRowDeleting(ByVal e As Global.System.Data.DataRowChangeEventArgs)
3036 MyBase.OnRowDeleting(e)
3037 If (Not (Me.WishlistRowDeletingEvent) Is Nothing) Then
3038 RaiseEvent WishlistRowDeleting(Me, New WishlistRowChangeEvent(CType(e.Row,WishlistRow), e.Action))
3042 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3043 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3044 Public Sub RemoveWishlistRow(ByVal row As WishlistRow)
3048 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3049 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3050 Public Shared Function GetTypedTableSchema(ByVal xs As Global.System.Xml.Schema.XmlSchemaSet) As Global.System.Xml.Schema.XmlSchemaComplexType
3051 Dim type As Global.System.Xml.Schema.XmlSchemaComplexType = New Global.System.Xml.Schema.XmlSchemaComplexType()
3052 Dim sequence As Global.System.Xml.Schema.XmlSchemaSequence = New Global.System.Xml.Schema.XmlSchemaSequence()
3053 Dim ds As NEADataSet = New NEADataSet()
3054 Dim any1 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
3055 any1.Namespace = "http://www.w3.org/2001/XMLSchema"
3056 any1.MinOccurs = New Decimal(0)
3057 any1.MaxOccurs = Decimal.MaxValue
3058 any1.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
3059 sequence.Items.Add(any1)
3060 Dim any2 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
3061 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"
3062 any2.MinOccurs = New Decimal(1)
3063 any2.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
3064 sequence.Items.Add(any2)
3065 Dim attribute1 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
3066 attribute1.Name = "namespace"
3067 attribute1.FixedValue = ds.Namespace
3068 type.Attributes.Add(attribute1)
3069 Dim attribute2 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
3070 attribute2.Name = "tableTypeName"
3071 attribute2.FixedValue = "WishlistDataTable"
3072 type.Attributes.Add(attribute2)
3073 type.Particle = sequence
3074 Dim dsSchema As Global.System.Xml.Schema.XmlSchema = ds.GetSchemaSerializable
3075 If xs.Contains(dsSchema.TargetNamespace) Then
3076 Dim s1 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
3077 Dim s2 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
3079 Dim schema As Global.System.Xml.Schema.XmlSchema = Nothing
3081 Dim schemas As Global.System.Collections.IEnumerator = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator
3082 Do While schemas.MoveNext
3083 schema = CType(schemas.Current,Global.System.Xml.Schema.XmlSchema)
3086 If (s1.Length = s2.Length) Then
3090 Do While ((s1.Position <> s1.Length) _
3091 AndAlso (s1.ReadByte = s2.ReadByte))
3095 If (s1.Position = s1.Length) Then
3102 If (Not (s1) Is Nothing) Then
3105 If (Not (s2) Is Nothing) Then
3116 '''Represents the strongly named DataTable class.
3118 <Global.System.Serializable(), _
3119 Global.System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")> _
3120 Partial Public Class UsersDataTable
3121 Inherits Global.System.Data.TypedTableBase(Of UsersRow)
3123 Private columnUserID As Global.System.Data.DataColumn
3125 Private columnUser_DetailsID As Global.System.Data.DataColumn
3127 Private columnUsername As Global.System.Data.DataColumn
3129 Private columnPassword As Global.System.Data.DataColumn
3131 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3132 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3135 Me.TableName = "Users"
3141 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3142 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3143 Friend Sub New(ByVal table As Global.System.Data.DataTable)
3145 Me.TableName = table.TableName
3146 If (table.CaseSensitive <> table.DataSet.CaseSensitive) Then
3147 Me.CaseSensitive = table.CaseSensitive
3149 If (table.Locale.ToString <> table.DataSet.Locale.ToString) Then
3150 Me.Locale = table.Locale
3152 If (table.Namespace <> table.DataSet.Namespace) Then
3153 Me.Namespace = table.Namespace
3155 Me.Prefix = table.Prefix
3156 Me.MinimumCapacity = table.MinimumCapacity
3159 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3160 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3161 Protected Sub New(ByVal info As Global.System.Runtime.Serialization.SerializationInfo, ByVal context As Global.System.Runtime.Serialization.StreamingContext)
3162 MyBase.New(info, context)
3166 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3167 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3168 Public ReadOnly Property UserIDColumn() As Global.System.Data.DataColumn
3170 Return Me.columnUserID
3174 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3175 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3176 Public ReadOnly Property User_DetailsIDColumn() As Global.System.Data.DataColumn
3178 Return Me.columnUser_DetailsID
3182 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3183 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3184 Public ReadOnly Property UsernameColumn() As Global.System.Data.DataColumn
3186 Return Me.columnUsername
3190 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3191 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3192 Public ReadOnly Property PasswordColumn() As Global.System.Data.DataColumn
3194 Return Me.columnPassword
3198 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3199 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
3200 Global.System.ComponentModel.Browsable(false)> _
3201 Public ReadOnly Property Count() As Integer
3203 Return Me.Rows.Count
3207 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3208 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3209 Public Default ReadOnly Property Item(ByVal index As Integer) As UsersRow
3211 Return CType(Me.Rows(index),UsersRow)
3215 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3216 Public Event UsersRowChanging As UsersRowChangeEventHandler
3218 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3219 Public Event UsersRowChanged As UsersRowChangeEventHandler
3221 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3222 Public Event UsersRowDeleting As UsersRowChangeEventHandler
3224 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3225 Public Event UsersRowDeleted As UsersRowChangeEventHandler
3227 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3228 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3229 Public Overloads Sub AddUsersRow(ByVal row As UsersRow)
3233 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3234 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3235 Public Overloads Function AddUsersRow(ByVal parentUser_DetailsRowByUser_DetailsUsers As User_DetailsRow, ByVal Username As String, ByVal Password As String) As UsersRow
3236 Dim rowUsersRow As UsersRow = CType(Me.NewRow,UsersRow)
3237 Dim columnValuesArray() As Object = New Object() {Nothing, Nothing, Username, Password}
3238 If (Not (parentUser_DetailsRowByUser_DetailsUsers) Is Nothing) Then
3239 columnValuesArray(1) = parentUser_DetailsRowByUser_DetailsUsers(0)
3241 rowUsersRow.ItemArray = columnValuesArray
3242 Me.Rows.Add(rowUsersRow)
3246 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3247 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3248 Public Function FindByUserID(ByVal UserID As Integer) As UsersRow
3249 Return CType(Me.Rows.Find(New Object() {UserID}),UsersRow)
3252 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3253 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3254 Public Overrides Function Clone() As Global.System.Data.DataTable
3255 Dim cln As UsersDataTable = CType(MyBase.Clone,UsersDataTable)
3260 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3261 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3262 Protected Overrides Function CreateInstance() As Global.System.Data.DataTable
3263 Return New UsersDataTable()
3266 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3267 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3268 Friend Sub InitVars()
3269 Me.columnUserID = MyBase.Columns("UserID")
3270 Me.columnUser_DetailsID = MyBase.Columns("User_DetailsID")
3271 Me.columnUsername = MyBase.Columns("Username")
3272 Me.columnPassword = MyBase.Columns("Password")
3275 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3276 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3277 Private Sub InitClass()
3278 Me.columnUserID = New Global.System.Data.DataColumn("UserID", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
3279 MyBase.Columns.Add(Me.columnUserID)
3280 Me.columnUser_DetailsID = New Global.System.Data.DataColumn("User_DetailsID", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
3281 MyBase.Columns.Add(Me.columnUser_DetailsID)
3282 Me.columnUsername = New Global.System.Data.DataColumn("Username", GetType(String), Nothing, Global.System.Data.MappingType.Element)
3283 MyBase.Columns.Add(Me.columnUsername)
3284 Me.columnPassword = New Global.System.Data.DataColumn("Password", GetType(String), Nothing, Global.System.Data.MappingType.Element)
3285 MyBase.Columns.Add(Me.columnPassword)
3286 Me.Constraints.Add(New Global.System.Data.UniqueConstraint("Constraint1", New Global.System.Data.DataColumn() {Me.columnUserID}, true))
3287 Me.columnUserID.AutoIncrement = true
3288 Me.columnUserID.AutoIncrementSeed = -1
3289 Me.columnUserID.AutoIncrementStep = -1
3290 Me.columnUserID.AllowDBNull = false
3291 Me.columnUserID.Unique = true
3292 Me.columnUsername.MaxLength = 536870910
3293 Me.columnPassword.MaxLength = 536870910
3296 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3297 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3298 Public Function NewUsersRow() As UsersRow
3299 Return CType(Me.NewRow,UsersRow)
3302 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3303 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3304 Protected Overrides Function NewRowFromBuilder(ByVal builder As Global.System.Data.DataRowBuilder) As Global.System.Data.DataRow
3305 Return New UsersRow(builder)
3308 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3309 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3310 Protected Overrides Function GetRowType() As Global.System.Type
3311 Return GetType(UsersRow)
3314 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3315 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3316 Protected Overrides Sub OnRowChanged(ByVal e As Global.System.Data.DataRowChangeEventArgs)
3317 MyBase.OnRowChanged(e)
3318 If (Not (Me.UsersRowChangedEvent) Is Nothing) Then
3319 RaiseEvent UsersRowChanged(Me, New UsersRowChangeEvent(CType(e.Row,UsersRow), e.Action))
3323 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3324 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3325 Protected Overrides Sub OnRowChanging(ByVal e As Global.System.Data.DataRowChangeEventArgs)
3326 MyBase.OnRowChanging(e)
3327 If (Not (Me.UsersRowChangingEvent) Is Nothing) Then
3328 RaiseEvent UsersRowChanging(Me, New UsersRowChangeEvent(CType(e.Row,UsersRow), e.Action))
3332 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3333 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3334 Protected Overrides Sub OnRowDeleted(ByVal e As Global.System.Data.DataRowChangeEventArgs)
3335 MyBase.OnRowDeleted(e)
3336 If (Not (Me.UsersRowDeletedEvent) Is Nothing) Then
3337 RaiseEvent UsersRowDeleted(Me, New UsersRowChangeEvent(CType(e.Row,UsersRow), e.Action))
3341 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3342 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3343 Protected Overrides Sub OnRowDeleting(ByVal e As Global.System.Data.DataRowChangeEventArgs)
3344 MyBase.OnRowDeleting(e)
3345 If (Not (Me.UsersRowDeletingEvent) Is Nothing) Then
3346 RaiseEvent UsersRowDeleting(Me, New UsersRowChangeEvent(CType(e.Row,UsersRow), e.Action))
3350 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3351 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3352 Public Sub RemoveUsersRow(ByVal row As UsersRow)
3356 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3357 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3358 Public Shared Function GetTypedTableSchema(ByVal xs As Global.System.Xml.Schema.XmlSchemaSet) As Global.System.Xml.Schema.XmlSchemaComplexType
3359 Dim type As Global.System.Xml.Schema.XmlSchemaComplexType = New Global.System.Xml.Schema.XmlSchemaComplexType()
3360 Dim sequence As Global.System.Xml.Schema.XmlSchemaSequence = New Global.System.Xml.Schema.XmlSchemaSequence()
3361 Dim ds As NEADataSet = New NEADataSet()
3362 Dim any1 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
3363 any1.Namespace = "http://www.w3.org/2001/XMLSchema"
3364 any1.MinOccurs = New Decimal(0)
3365 any1.MaxOccurs = Decimal.MaxValue
3366 any1.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
3367 sequence.Items.Add(any1)
3368 Dim any2 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
3369 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"
3370 any2.MinOccurs = New Decimal(1)
3371 any2.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
3372 sequence.Items.Add(any2)
3373 Dim attribute1 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
3374 attribute1.Name = "namespace"
3375 attribute1.FixedValue = ds.Namespace
3376 type.Attributes.Add(attribute1)
3377 Dim attribute2 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
3378 attribute2.Name = "tableTypeName"
3379 attribute2.FixedValue = "UsersDataTable"
3380 type.Attributes.Add(attribute2)
3381 type.Particle = sequence
3382 Dim dsSchema As Global.System.Xml.Schema.XmlSchema = ds.GetSchemaSerializable
3383 If xs.Contains(dsSchema.TargetNamespace) Then
3384 Dim s1 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
3385 Dim s2 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
3387 Dim schema As Global.System.Xml.Schema.XmlSchema = Nothing
3389 Dim schemas As Global.System.Collections.IEnumerator = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator
3390 Do While schemas.MoveNext
3391 schema = CType(schemas.Current,Global.System.Xml.Schema.XmlSchema)
3394 If (s1.Length = s2.Length) Then
3398 Do While ((s1.Position <> s1.Length) _
3399 AndAlso (s1.ReadByte = s2.ReadByte))
3403 If (s1.Position = s1.Length) Then
3410 If (Not (s1) Is Nothing) Then
3413 If (Not (s2) Is Nothing) Then
3424 '''Represents the strongly named DataTable class.
3426 <Global.System.Serializable(), _
3427 Global.System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")> _
3428 Partial Public Class User_DetailsDataTable
3429 Inherits Global.System.Data.TypedTableBase(Of User_DetailsRow)
3431 Private columnUserDetailsID As Global.System.Data.DataColumn
3433 Private columnFirstName As Global.System.Data.DataColumn
3435 Private columnLastName As Global.System.Data.DataColumn
3437 Private columnAddressLine1 As Global.System.Data.DataColumn
3439 Private columnTown As Global.System.Data.DataColumn
3441 Private columnPostcode As Global.System.Data.DataColumn
3443 Private columnCardNumber As Global.System.Data.DataColumn
3445 Private columnCVC As Global.System.Data.DataColumn
3447 Private columnIGN As Global.System.Data.DataColumn
3449 Private columnEmail As Global.System.Data.DataColumn
3451 Private columnProfilePic As Global.System.Data.DataColumn
3453 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3454 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3457 Me.TableName = "User_Details"
3463 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3464 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3465 Friend Sub New(ByVal table As Global.System.Data.DataTable)
3467 Me.TableName = table.TableName
3468 If (table.CaseSensitive <> table.DataSet.CaseSensitive) Then
3469 Me.CaseSensitive = table.CaseSensitive
3471 If (table.Locale.ToString <> table.DataSet.Locale.ToString) Then
3472 Me.Locale = table.Locale
3474 If (table.Namespace <> table.DataSet.Namespace) Then
3475 Me.Namespace = table.Namespace
3477 Me.Prefix = table.Prefix
3478 Me.MinimumCapacity = table.MinimumCapacity
3481 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3482 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3483 Protected Sub New(ByVal info As Global.System.Runtime.Serialization.SerializationInfo, ByVal context As Global.System.Runtime.Serialization.StreamingContext)
3484 MyBase.New(info, context)
3488 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3489 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3490 Public ReadOnly Property UserDetailsIDColumn() As Global.System.Data.DataColumn
3492 Return Me.columnUserDetailsID
3496 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3497 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3498 Public ReadOnly Property FirstNameColumn() As Global.System.Data.DataColumn
3500 Return Me.columnFirstName
3504 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3505 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3506 Public ReadOnly Property LastNameColumn() As Global.System.Data.DataColumn
3508 Return Me.columnLastName
3512 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3513 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3514 Public ReadOnly Property AddressLine1Column() As Global.System.Data.DataColumn
3516 Return Me.columnAddressLine1
3520 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3521 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3522 Public ReadOnly Property TownColumn() As Global.System.Data.DataColumn
3524 Return Me.columnTown
3528 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3529 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3530 Public ReadOnly Property PostcodeColumn() As Global.System.Data.DataColumn
3532 Return Me.columnPostcode
3536 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3537 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3538 Public ReadOnly Property CardNumberColumn() As Global.System.Data.DataColumn
3540 Return Me.columnCardNumber
3544 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3545 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3546 Public ReadOnly Property CVCColumn() As Global.System.Data.DataColumn
3552 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3553 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3554 Public ReadOnly Property IGNColumn() As Global.System.Data.DataColumn
3560 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3561 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3562 Public ReadOnly Property EmailColumn() As Global.System.Data.DataColumn
3564 Return Me.columnEmail
3568 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3569 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3570 Public ReadOnly Property ProfilePicColumn() As Global.System.Data.DataColumn
3572 Return Me.columnProfilePic
3576 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3577 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
3578 Global.System.ComponentModel.Browsable(false)> _
3579 Public ReadOnly Property Count() As Integer
3581 Return Me.Rows.Count
3585 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3586 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3587 Public Default ReadOnly Property Item(ByVal index As Integer) As User_DetailsRow
3589 Return CType(Me.Rows(index),User_DetailsRow)
3593 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3594 Public Event User_DetailsRowChanging As User_DetailsRowChangeEventHandler
3596 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3597 Public Event User_DetailsRowChanged As User_DetailsRowChangeEventHandler
3599 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3600 Public Event User_DetailsRowDeleting As User_DetailsRowChangeEventHandler
3602 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3603 Public Event User_DetailsRowDeleted As User_DetailsRowChangeEventHandler
3605 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3606 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3607 Public Overloads Sub AddUser_DetailsRow(ByVal row As User_DetailsRow)
3611 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3612 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3613 Public Overloads Function AddUser_DetailsRow(ByVal FirstName As String, ByVal LastName As String, ByVal AddressLine1 As String, ByVal Town As String, ByVal Postcode As String, ByVal CardNumber As Integer, ByVal CVC As Integer, ByVal IGN As String, ByVal Email As String, ByVal ProfilePic() As Byte) As User_DetailsRow
3614 Dim rowUser_DetailsRow As User_DetailsRow = CType(Me.NewRow,User_DetailsRow)
3615 Dim columnValuesArray() As Object = New Object() {Nothing, FirstName, LastName, AddressLine1, Town, Postcode, CardNumber, CVC, IGN, Email, ProfilePic}
3616 rowUser_DetailsRow.ItemArray = columnValuesArray
3617 Me.Rows.Add(rowUser_DetailsRow)
3618 Return rowUser_DetailsRow
3621 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3622 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3623 Public Function FindByUserDetailsID(ByVal UserDetailsID As Integer) As User_DetailsRow
3624 Return CType(Me.Rows.Find(New Object() {UserDetailsID}),User_DetailsRow)
3627 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3628 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3629 Public Overrides Function Clone() As Global.System.Data.DataTable
3630 Dim cln As User_DetailsDataTable = CType(MyBase.Clone,User_DetailsDataTable)
3635 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3636 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3637 Protected Overrides Function CreateInstance() As Global.System.Data.DataTable
3638 Return New User_DetailsDataTable()
3641 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3642 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3643 Friend Sub InitVars()
3644 Me.columnUserDetailsID = MyBase.Columns("UserDetailsID")
3645 Me.columnFirstName = MyBase.Columns("FirstName")
3646 Me.columnLastName = MyBase.Columns("LastName")
3647 Me.columnAddressLine1 = MyBase.Columns("AddressLine1")
3648 Me.columnTown = MyBase.Columns("Town")
3649 Me.columnPostcode = MyBase.Columns("Postcode")
3650 Me.columnCardNumber = MyBase.Columns("CardNumber")
3651 Me.columnCVC = MyBase.Columns("CVC")
3652 Me.columnIGN = MyBase.Columns("IGN")
3653 Me.columnEmail = MyBase.Columns("Email")
3654 Me.columnProfilePic = MyBase.Columns("ProfilePic")
3657 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3658 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3659 Private Sub InitClass()
3660 Me.columnUserDetailsID = New Global.System.Data.DataColumn("UserDetailsID", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
3661 MyBase.Columns.Add(Me.columnUserDetailsID)
3662 Me.columnFirstName = New Global.System.Data.DataColumn("FirstName", GetType(String), Nothing, Global.System.Data.MappingType.Element)
3663 MyBase.Columns.Add(Me.columnFirstName)
3664 Me.columnLastName = New Global.System.Data.DataColumn("LastName", GetType(String), Nothing, Global.System.Data.MappingType.Element)
3665 MyBase.Columns.Add(Me.columnLastName)
3666 Me.columnAddressLine1 = New Global.System.Data.DataColumn("AddressLine1", GetType(String), Nothing, Global.System.Data.MappingType.Element)
3667 MyBase.Columns.Add(Me.columnAddressLine1)
3668 Me.columnTown = New Global.System.Data.DataColumn("Town", GetType(String), Nothing, Global.System.Data.MappingType.Element)
3669 MyBase.Columns.Add(Me.columnTown)
3670 Me.columnPostcode = New Global.System.Data.DataColumn("Postcode", GetType(String), Nothing, Global.System.Data.MappingType.Element)
3671 MyBase.Columns.Add(Me.columnPostcode)
3672 Me.columnCardNumber = New Global.System.Data.DataColumn("CardNumber", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
3673 MyBase.Columns.Add(Me.columnCardNumber)
3674 Me.columnCVC = New Global.System.Data.DataColumn("CVC", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
3675 MyBase.Columns.Add(Me.columnCVC)
3676 Me.columnIGN = New Global.System.Data.DataColumn("IGN", GetType(String), Nothing, Global.System.Data.MappingType.Element)
3677 MyBase.Columns.Add(Me.columnIGN)
3678 Me.columnEmail = New Global.System.Data.DataColumn("Email", GetType(String), Nothing, Global.System.Data.MappingType.Element)
3679 MyBase.Columns.Add(Me.columnEmail)
3680 Me.columnProfilePic = New Global.System.Data.DataColumn("ProfilePic", GetType(Byte()), Nothing, Global.System.Data.MappingType.Element)
3681 MyBase.Columns.Add(Me.columnProfilePic)
3682 Me.Constraints.Add(New Global.System.Data.UniqueConstraint("Constraint1", New Global.System.Data.DataColumn() {Me.columnUserDetailsID}, true))
3683 Me.columnUserDetailsID.AutoIncrement = true
3684 Me.columnUserDetailsID.AutoIncrementSeed = -1
3685 Me.columnUserDetailsID.AutoIncrementStep = -1
3686 Me.columnUserDetailsID.AllowDBNull = false
3687 Me.columnUserDetailsID.Unique = true
3688 Me.columnFirstName.MaxLength = 536870910
3689 Me.columnLastName.MaxLength = 536870910
3690 Me.columnAddressLine1.MaxLength = 536870910
3691 Me.columnTown.MaxLength = 255
3692 Me.columnPostcode.MaxLength = 536870910
3693 Me.columnIGN.MaxLength = 536870910
3694 Me.columnEmail.MaxLength = 536870910
3697 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3698 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3699 Public Function NewUser_DetailsRow() As User_DetailsRow
3700 Return CType(Me.NewRow,User_DetailsRow)
3703 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3704 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3705 Protected Overrides Function NewRowFromBuilder(ByVal builder As Global.System.Data.DataRowBuilder) As Global.System.Data.DataRow
3706 Return New User_DetailsRow(builder)
3709 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3710 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3711 Protected Overrides Function GetRowType() As Global.System.Type
3712 Return GetType(User_DetailsRow)
3715 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3716 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3717 Protected Overrides Sub OnRowChanged(ByVal e As Global.System.Data.DataRowChangeEventArgs)
3718 MyBase.OnRowChanged(e)
3719 If (Not (Me.User_DetailsRowChangedEvent) Is Nothing) Then
3720 RaiseEvent User_DetailsRowChanged(Me, New User_DetailsRowChangeEvent(CType(e.Row,User_DetailsRow), e.Action))
3724 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3725 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3726 Protected Overrides Sub OnRowChanging(ByVal e As Global.System.Data.DataRowChangeEventArgs)
3727 MyBase.OnRowChanging(e)
3728 If (Not (Me.User_DetailsRowChangingEvent) Is Nothing) Then
3729 RaiseEvent User_DetailsRowChanging(Me, New User_DetailsRowChangeEvent(CType(e.Row,User_DetailsRow), e.Action))
3733 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3734 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3735 Protected Overrides Sub OnRowDeleted(ByVal e As Global.System.Data.DataRowChangeEventArgs)
3736 MyBase.OnRowDeleted(e)
3737 If (Not (Me.User_DetailsRowDeletedEvent) Is Nothing) Then
3738 RaiseEvent User_DetailsRowDeleted(Me, New User_DetailsRowChangeEvent(CType(e.Row,User_DetailsRow), e.Action))
3742 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3743 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3744 Protected Overrides Sub OnRowDeleting(ByVal e As Global.System.Data.DataRowChangeEventArgs)
3745 MyBase.OnRowDeleting(e)
3746 If (Not (Me.User_DetailsRowDeletingEvent) Is Nothing) Then
3747 RaiseEvent User_DetailsRowDeleting(Me, New User_DetailsRowChangeEvent(CType(e.Row,User_DetailsRow), e.Action))
3751 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3752 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3753 Public Sub RemoveUser_DetailsRow(ByVal row As User_DetailsRow)
3757 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3758 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3759 Public Shared Function GetTypedTableSchema(ByVal xs As Global.System.Xml.Schema.XmlSchemaSet) As Global.System.Xml.Schema.XmlSchemaComplexType
3760 Dim type As Global.System.Xml.Schema.XmlSchemaComplexType = New Global.System.Xml.Schema.XmlSchemaComplexType()
3761 Dim sequence As Global.System.Xml.Schema.XmlSchemaSequence = New Global.System.Xml.Schema.XmlSchemaSequence()
3762 Dim ds As NEADataSet = New NEADataSet()
3763 Dim any1 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
3764 any1.Namespace = "http://www.w3.org/2001/XMLSchema"
3765 any1.MinOccurs = New Decimal(0)
3766 any1.MaxOccurs = Decimal.MaxValue
3767 any1.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
3768 sequence.Items.Add(any1)
3769 Dim any2 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
3770 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"
3771 any2.MinOccurs = New Decimal(1)
3772 any2.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
3773 sequence.Items.Add(any2)
3774 Dim attribute1 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
3775 attribute1.Name = "namespace"
3776 attribute1.FixedValue = ds.Namespace
3777 type.Attributes.Add(attribute1)
3778 Dim attribute2 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
3779 attribute2.Name = "tableTypeName"
3780 attribute2.FixedValue = "User_DetailsDataTable"
3781 type.Attributes.Add(attribute2)
3782 type.Particle = sequence
3783 Dim dsSchema As Global.System.Xml.Schema.XmlSchema = ds.GetSchemaSerializable
3784 If xs.Contains(dsSchema.TargetNamespace) Then
3785 Dim s1 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
3786 Dim s2 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
3788 Dim schema As Global.System.Xml.Schema.XmlSchema = Nothing
3790 Dim schemas As Global.System.Collections.IEnumerator = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator
3791 Do While schemas.MoveNext
3792 schema = CType(schemas.Current,Global.System.Xml.Schema.XmlSchema)
3795 If (s1.Length = s2.Length) Then
3799 Do While ((s1.Position <> s1.Length) _
3800 AndAlso (s1.ReadByte = s2.ReadByte))
3804 If (s1.Position = s1.Length) Then
3811 If (Not (s1) Is Nothing) Then
3814 If (Not (s2) Is Nothing) Then
3825 '''Represents strongly named DataRow class.
3827 Partial Public Class AchievementRow
3828 Inherits Global.System.Data.DataRow
3830 Private tableAchievement As AchievementDataTable
3832 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3833 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3834 Friend Sub New(ByVal rb As Global.System.Data.DataRowBuilder)
3836 Me.tableAchievement = CType(Me.Table,AchievementDataTable)
3839 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3840 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3841 Public Property AchievementID() As Integer
3843 Return CType(Me(Me.tableAchievement.AchievementIDColumn),Integer)
3846 Me(Me.tableAchievement.AchievementIDColumn) = value
3850 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3851 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3852 Public Property GameID() As Integer
3855 Return CType(Me(Me.tableAchievement.GameIDColumn),Integer)
3856 Catch e As Global.System.InvalidCastException
3857 Throw New Global.System.Data.StrongTypingException("The value for column 'GameID' in table 'Achievement' is DBNull.", e)
3861 Me(Me.tableAchievement.GameIDColumn) = value
3865 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3866 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3867 Public Property UserID() As Integer
3870 Return CType(Me(Me.tableAchievement.UserIDColumn),Integer)
3871 Catch e As Global.System.InvalidCastException
3872 Throw New Global.System.Data.StrongTypingException("The value for column 'UserID' in table 'Achievement' is DBNull.", e)
3876 Me(Me.tableAchievement.UserIDColumn) = value
3880 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3881 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3882 Public Property Achievment_1() As String
3885 Return CType(Me(Me.tableAchievement.Achievment_1Column),String)
3886 Catch e As Global.System.InvalidCastException
3887 Throw New Global.System.Data.StrongTypingException("The value for column 'Achievment 1' in table 'Achievement' is DBNull.", e)
3891 Me(Me.tableAchievement.Achievment_1Column) = value
3895 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3896 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3897 Public Property Achievment_2() As String
3900 Return CType(Me(Me.tableAchievement.Achievment_2Column),String)
3901 Catch e As Global.System.InvalidCastException
3902 Throw New Global.System.Data.StrongTypingException("The value for column 'Achievment 2' in table 'Achievement' is DBNull.", e)
3906 Me(Me.tableAchievement.Achievment_2Column) = value
3910 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3911 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3912 Public Property Achievment_3() As String
3915 Return CType(Me(Me.tableAchievement.Achievment_3Column),String)
3916 Catch e As Global.System.InvalidCastException
3917 Throw New Global.System.Data.StrongTypingException("The value for column 'Achievment 3' in table 'Achievement' is DBNull.", e)
3921 Me(Me.tableAchievement.Achievment_3Column) = value
3925 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3926 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3927 Public Property Achievment_4() As String
3930 Return CType(Me(Me.tableAchievement.Achievment_4Column),String)
3931 Catch e As Global.System.InvalidCastException
3932 Throw New Global.System.Data.StrongTypingException("The value for column 'Achievment 4' in table 'Achievement' is DBNull.", e)
3936 Me(Me.tableAchievement.Achievment_4Column) = value
3940 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3941 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3942 Public Property Achievment_5() As String
3945 Return CType(Me(Me.tableAchievement.Achievment_5Column),String)
3946 Catch e As Global.System.InvalidCastException
3947 Throw New Global.System.Data.StrongTypingException("The value for column 'Achievment 5' in table 'Achievement' is DBNull.", e)
3951 Me(Me.tableAchievement.Achievment_5Column) = value
3955 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3956 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3957 Public Property GamesRow() As GamesRow
3959 Return CType(Me.GetParentRow(Me.Table.ParentRelations("GamesAchievement")),GamesRow)
3962 Me.SetParentRow(value, Me.Table.ParentRelations("GamesAchievement"))
3966 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3967 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3968 Public Function IsGameIDNull() As Boolean
3969 Return Me.IsNull(Me.tableAchievement.GameIDColumn)
3972 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3973 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3974 Public Sub SetGameIDNull()
3975 Me(Me.tableAchievement.GameIDColumn) = Global.System.Convert.DBNull
3978 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3979 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3980 Public Function IsUserIDNull() As Boolean
3981 Return Me.IsNull(Me.tableAchievement.UserIDColumn)
3984 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3985 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3986 Public Sub SetUserIDNull()
3987 Me(Me.tableAchievement.UserIDColumn) = Global.System.Convert.DBNull
3990 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3991 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3992 Public Function IsAchievment_1Null() As Boolean
3993 Return Me.IsNull(Me.tableAchievement.Achievment_1Column)
3996 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3997 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3998 Public Sub SetAchievment_1Null()
3999 Me(Me.tableAchievement.Achievment_1Column) = Global.System.Convert.DBNull
4002 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4003 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4004 Public Function IsAchievment_2Null() As Boolean
4005 Return Me.IsNull(Me.tableAchievement.Achievment_2Column)
4008 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4009 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4010 Public Sub SetAchievment_2Null()
4011 Me(Me.tableAchievement.Achievment_2Column) = Global.System.Convert.DBNull
4014 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4015 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4016 Public Function IsAchievment_3Null() As Boolean
4017 Return Me.IsNull(Me.tableAchievement.Achievment_3Column)
4020 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4021 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4022 Public Sub SetAchievment_3Null()
4023 Me(Me.tableAchievement.Achievment_3Column) = Global.System.Convert.DBNull
4026 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4027 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4028 Public Function IsAchievment_4Null() As Boolean
4029 Return Me.IsNull(Me.tableAchievement.Achievment_4Column)
4032 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4033 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4034 Public Sub SetAchievment_4Null()
4035 Me(Me.tableAchievement.Achievment_4Column) = Global.System.Convert.DBNull
4038 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4039 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4040 Public Function IsAchievment_5Null() As Boolean
4041 Return Me.IsNull(Me.tableAchievement.Achievment_5Column)
4044 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4045 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4046 Public Sub SetAchievment_5Null()
4047 Me(Me.tableAchievement.Achievment_5Column) = Global.System.Convert.DBNull
4052 '''Represents strongly named DataRow class.
4054 Partial Public Class DOWRow
4055 Inherits Global.System.Data.DataRow
4057 Private tableDOW As DOWDataTable
4059 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4060 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4061 Friend Sub New(ByVal rb As Global.System.Data.DataRowBuilder)
4063 Me.tableDOW = CType(Me.Table,DOWDataTable)
4066 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4067 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4068 Public Property DOWID() As Integer
4070 Return CType(Me(Me.tableDOW.DOWIDColumn),Integer)
4073 Me(Me.tableDOW.DOWIDColumn) = value
4077 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4078 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4079 Public Property Start() As Date
4082 Return CType(Me(Me.tableDOW.StartColumn),Date)
4083 Catch e As Global.System.InvalidCastException
4084 Throw New Global.System.Data.StrongTypingException("The value for column 'Start' in table 'DOW' is DBNull.", e)
4088 Me(Me.tableDOW.StartColumn) = value
4092 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4093 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4094 Public Property _End() As Date
4097 Return CType(Me(Me.tableDOW.EndColumn),Date)
4098 Catch e As Global.System.InvalidCastException
4099 Throw New Global.System.Data.StrongTypingException("The value for column 'End' in table 'DOW' is DBNull.", e)
4103 Me(Me.tableDOW.EndColumn) = value
4107 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4108 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4109 Public Property GameID() As Integer
4112 Return CType(Me(Me.tableDOW.GameIDColumn),Integer)
4113 Catch e As Global.System.InvalidCastException
4114 Throw New Global.System.Data.StrongTypingException("The value for column 'GameID' in table 'DOW' is DBNull.", e)
4118 Me(Me.tableDOW.GameIDColumn) = value
4122 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4123 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4124 Public Property GamesRow() As GamesRow
4126 Return CType(Me.GetParentRow(Me.Table.ParentRelations("GamesDOW")),GamesRow)
4129 Me.SetParentRow(value, Me.Table.ParentRelations("GamesDOW"))
4133 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4134 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4135 Public Function IsStartNull() As Boolean
4136 Return Me.IsNull(Me.tableDOW.StartColumn)
4139 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4140 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4141 Public Sub SetStartNull()
4142 Me(Me.tableDOW.StartColumn) = Global.System.Convert.DBNull
4145 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4146 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4147 Public Function Is_EndNull() As Boolean
4148 Return Me.IsNull(Me.tableDOW.EndColumn)
4151 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4152 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4153 Public Sub Set_EndNull()
4154 Me(Me.tableDOW.EndColumn) = Global.System.Convert.DBNull
4157 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4158 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4159 Public Function IsGameIDNull() As Boolean
4160 Return Me.IsNull(Me.tableDOW.GameIDColumn)
4163 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4164 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4165 Public Sub SetGameIDNull()
4166 Me(Me.tableDOW.GameIDColumn) = Global.System.Convert.DBNull
4171 '''Represents strongly named DataRow class.
4173 Partial Public Class FriendsRow
4174 Inherits Global.System.Data.DataRow
4176 Private tableFriends As FriendsDataTable
4178 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4179 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4180 Friend Sub New(ByVal rb As Global.System.Data.DataRowBuilder)
4182 Me.tableFriends = CType(Me.Table,FriendsDataTable)
4185 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4186 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4187 Public Property ID() As Integer
4189 Return CType(Me(Me.tableFriends.IDColumn),Integer)
4192 Me(Me.tableFriends.IDColumn) = value
4196 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4197 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4198 Public Property FriendID() As Integer
4201 Return CType(Me(Me.tableFriends.FriendIDColumn),Integer)
4202 Catch e As Global.System.InvalidCastException
4203 Throw New Global.System.Data.StrongTypingException("The value for column 'FriendID' in table 'Friends' is DBNull.", e)
4207 Me(Me.tableFriends.FriendIDColumn) = value
4211 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4212 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4213 Public Property UserID() As Integer
4216 Return CType(Me(Me.tableFriends.UserIDColumn),Integer)
4217 Catch e As Global.System.InvalidCastException
4218 Throw New Global.System.Data.StrongTypingException("The value for column 'UserID' in table 'Friends' is DBNull.", e)
4222 Me(Me.tableFriends.UserIDColumn) = value
4226 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4227 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4228 Public Function IsFriendIDNull() As Boolean
4229 Return Me.IsNull(Me.tableFriends.FriendIDColumn)
4232 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4233 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4234 Public Sub SetFriendIDNull()
4235 Me(Me.tableFriends.FriendIDColumn) = Global.System.Convert.DBNull
4238 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4239 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4240 Public Function IsUserIDNull() As Boolean
4241 Return Me.IsNull(Me.tableFriends.UserIDColumn)
4244 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4245 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4246 Public Sub SetUserIDNull()
4247 Me(Me.tableFriends.UserIDColumn) = Global.System.Convert.DBNull
4252 '''Represents strongly named DataRow class.
4254 Partial Public Class GamesRow
4255 Inherits Global.System.Data.DataRow
4257 Private tableGames As GamesDataTable
4259 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4260 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4261 Friend Sub New(ByVal rb As Global.System.Data.DataRowBuilder)
4263 Me.tableGames = CType(Me.Table,GamesDataTable)
4266 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4267 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4268 Public Property GameID() As Integer
4270 Return CType(Me(Me.tableGames.GameIDColumn),Integer)
4273 Me(Me.tableGames.GameIDColumn) = value
4277 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4278 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4279 Public Property Name() As String
4282 Return CType(Me(Me.tableGames.NameColumn),String)
4283 Catch e As Global.System.InvalidCastException
4284 Throw New Global.System.Data.StrongTypingException("The value for column 'Name' in table 'Games' is DBNull.", e)
4288 Me(Me.tableGames.NameColumn) = value
4292 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4293 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4294 Public Property Price() As Decimal
4297 Return CType(Me(Me.tableGames.PriceColumn),Decimal)
4298 Catch e As Global.System.InvalidCastException
4299 Throw New Global.System.Data.StrongTypingException("The value for column 'Price' in table 'Games' is DBNull.", e)
4303 Me(Me.tableGames.PriceColumn) = value
4307 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4308 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4309 Public Property Rating() As Integer
4312 Return CType(Me(Me.tableGames.RatingColumn),Integer)
4313 Catch e As Global.System.InvalidCastException
4314 Throw New Global.System.Data.StrongTypingException("The value for column 'Rating' in table 'Games' is DBNull.", e)
4318 Me(Me.tableGames.RatingColumn) = value
4322 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4323 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4324 Public Property Certificate() As Integer
4327 Return CType(Me(Me.tableGames.CertificateColumn),Integer)
4328 Catch e As Global.System.InvalidCastException
4329 Throw New Global.System.Data.StrongTypingException("The value for column 'Certificate' in table 'Games' is DBNull.", e)
4333 Me(Me.tableGames.CertificateColumn) = value
4337 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4338 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4339 Public Property Dev() As String
4342 Return CType(Me(Me.tableGames.DevColumn),String)
4343 Catch e As Global.System.InvalidCastException
4344 Throw New Global.System.Data.StrongTypingException("The value for column 'Dev' in table 'Games' is DBNull.", e)
4348 Me(Me.tableGames.DevColumn) = value
4352 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4353 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4354 Public Property Publisher() As String
4357 Return CType(Me(Me.tableGames.PublisherColumn),String)
4358 Catch e As Global.System.InvalidCastException
4359 Throw New Global.System.Data.StrongTypingException("The value for column 'Publisher' in table 'Games' is DBNull.", e)
4363 Me(Me.tableGames.PublisherColumn) = value
4367 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4368 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4369 Public Property Icon() As String
4372 Return CType(Me(Me.tableGames.IconColumn),String)
4373 Catch e As Global.System.InvalidCastException
4374 Throw New Global.System.Data.StrongTypingException("The value for column 'Icon' in table 'Games' is DBNull.", e)
4378 Me(Me.tableGames.IconColumn) = value
4382 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4383 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4384 Public Property Tags() As String
4387 Return CType(Me(Me.tableGames.TagsColumn),String)
4388 Catch e As Global.System.InvalidCastException
4389 Throw New Global.System.Data.StrongTypingException("The value for column 'Tags' in table 'Games' is DBNull.", e)
4393 Me(Me.tableGames.TagsColumn) = value
4397 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4398 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4399 Public Property Theme_Colour() As Integer
4402 Return CType(Me(Me.tableGames.Theme_ColourColumn),Integer)
4403 Catch e As Global.System.InvalidCastException
4404 Throw New Global.System.Data.StrongTypingException("The value for column 'Theme Colour' in table 'Games' is DBNull.", e)
4408 Me(Me.tableGames.Theme_ColourColumn) = value
4412 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4413 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4414 Public Function IsNameNull() As Boolean
4415 Return Me.IsNull(Me.tableGames.NameColumn)
4418 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4419 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4420 Public Sub SetNameNull()
4421 Me(Me.tableGames.NameColumn) = Global.System.Convert.DBNull
4424 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4425 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4426 Public Function IsPriceNull() As Boolean
4427 Return Me.IsNull(Me.tableGames.PriceColumn)
4430 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4431 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4432 Public Sub SetPriceNull()
4433 Me(Me.tableGames.PriceColumn) = Global.System.Convert.DBNull
4436 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4437 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4438 Public Function IsRatingNull() As Boolean
4439 Return Me.IsNull(Me.tableGames.RatingColumn)
4442 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4443 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4444 Public Sub SetRatingNull()
4445 Me(Me.tableGames.RatingColumn) = Global.System.Convert.DBNull
4448 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4449 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4450 Public Function IsCertificateNull() As Boolean
4451 Return Me.IsNull(Me.tableGames.CertificateColumn)
4454 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4455 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4456 Public Sub SetCertificateNull()
4457 Me(Me.tableGames.CertificateColumn) = Global.System.Convert.DBNull
4460 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4461 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4462 Public Function IsDevNull() As Boolean
4463 Return Me.IsNull(Me.tableGames.DevColumn)
4466 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4467 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4468 Public Sub SetDevNull()
4469 Me(Me.tableGames.DevColumn) = Global.System.Convert.DBNull
4472 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4473 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4474 Public Function IsPublisherNull() As Boolean
4475 Return Me.IsNull(Me.tableGames.PublisherColumn)
4478 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4479 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4480 Public Sub SetPublisherNull()
4481 Me(Me.tableGames.PublisherColumn) = Global.System.Convert.DBNull
4484 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4485 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4486 Public Function IsIconNull() As Boolean
4487 Return Me.IsNull(Me.tableGames.IconColumn)
4490 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4491 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4492 Public Sub SetIconNull()
4493 Me(Me.tableGames.IconColumn) = Global.System.Convert.DBNull
4496 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4497 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4498 Public Function IsTagsNull() As Boolean
4499 Return Me.IsNull(Me.tableGames.TagsColumn)
4502 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4503 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4504 Public Sub SetTagsNull()
4505 Me(Me.tableGames.TagsColumn) = Global.System.Convert.DBNull
4508 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4509 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4510 Public Function IsTheme_ColourNull() As Boolean
4511 Return Me.IsNull(Me.tableGames.Theme_ColourColumn)
4514 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4515 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4516 Public Sub SetTheme_ColourNull()
4517 Me(Me.tableGames.Theme_ColourColumn) = Global.System.Convert.DBNull
4520 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4521 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4522 Public Function GetAchievementRows() As AchievementRow()
4523 If (Me.Table.ChildRelations("GamesAchievement") Is Nothing) Then
4524 Return New AchievementRow(-1) {}
4526 Return CType(MyBase.GetChildRows(Me.Table.ChildRelations("GamesAchievement")),AchievementRow())
4530 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4531 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4532 Public Function GetDOWRows() As DOWRow()
4533 If (Me.Table.ChildRelations("GamesDOW") Is Nothing) Then
4534 Return New DOWRow(-1) {}
4536 Return CType(MyBase.GetChildRows(Me.Table.ChildRelations("GamesDOW")),DOWRow())
4540 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4541 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4542 Public Function GetPurchasedRows() As PurchasedRow()
4543 If (Me.Table.ChildRelations("GamesPurchased") Is Nothing) Then
4544 Return New PurchasedRow(-1) {}
4546 Return CType(MyBase.GetChildRows(Me.Table.ChildRelations("GamesPurchased")),PurchasedRow())
4550 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4551 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4552 Public Function GetReviewsRows() As ReviewsRow()
4553 If (Me.Table.ChildRelations("GamesReviews") Is Nothing) Then
4554 Return New ReviewsRow(-1) {}
4556 Return CType(MyBase.GetChildRows(Me.Table.ChildRelations("GamesReviews")),ReviewsRow())
4560 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4561 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4562 Public Function GetWishlistRows() As WishlistRow()
4563 If (Me.Table.ChildRelations("GamesWishlist") Is Nothing) Then
4564 Return New WishlistRow(-1) {}
4566 Return CType(MyBase.GetChildRows(Me.Table.ChildRelations("GamesWishlist")),WishlistRow())
4572 '''Represents strongly named DataRow class.
4574 Partial Public Class PurchasedRow
4575 Inherits Global.System.Data.DataRow
4577 Private tablePurchased As PurchasedDataTable
4579 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4580 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4581 Friend Sub New(ByVal rb As Global.System.Data.DataRowBuilder)
4583 Me.tablePurchased = CType(Me.Table,PurchasedDataTable)
4586 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4587 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4588 Public Property PurchaseID() As Integer
4590 Return CType(Me(Me.tablePurchased.PurchaseIDColumn),Integer)
4593 Me(Me.tablePurchased.PurchaseIDColumn) = value
4597 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4598 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4599 Public Property UserID() As Integer
4602 Return CType(Me(Me.tablePurchased.UserIDColumn),Integer)
4603 Catch e As Global.System.InvalidCastException
4604 Throw New Global.System.Data.StrongTypingException("The value for column 'UserID' in table 'Purchased' is DBNull.", e)
4608 Me(Me.tablePurchased.UserIDColumn) = value
4612 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4613 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4614 Public Property GameID() As Integer
4617 Return CType(Me(Me.tablePurchased.GameIDColumn),Integer)
4618 Catch e As Global.System.InvalidCastException
4619 Throw New Global.System.Data.StrongTypingException("The value for column 'GameID' in table 'Purchased' is DBNull.", e)
4623 Me(Me.tablePurchased.GameIDColumn) = value
4627 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4628 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4629 Public Property GamesRow() As GamesRow
4631 Return CType(Me.GetParentRow(Me.Table.ParentRelations("GamesPurchased")),GamesRow)
4634 Me.SetParentRow(value, Me.Table.ParentRelations("GamesPurchased"))
4638 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4639 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4640 Public Function IsUserIDNull() As Boolean
4641 Return Me.IsNull(Me.tablePurchased.UserIDColumn)
4644 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4645 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4646 Public Sub SetUserIDNull()
4647 Me(Me.tablePurchased.UserIDColumn) = Global.System.Convert.DBNull
4650 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4651 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4652 Public Function IsGameIDNull() As Boolean
4653 Return Me.IsNull(Me.tablePurchased.GameIDColumn)
4656 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4657 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4658 Public Sub SetGameIDNull()
4659 Me(Me.tablePurchased.GameIDColumn) = Global.System.Convert.DBNull
4664 '''Represents strongly named DataRow class.
4666 Partial Public Class ReviewsRow
4667 Inherits Global.System.Data.DataRow
4669 Private tableReviews As ReviewsDataTable
4671 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4672 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4673 Friend Sub New(ByVal rb As Global.System.Data.DataRowBuilder)
4675 Me.tableReviews = CType(Me.Table,ReviewsDataTable)
4678 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4679 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4680 Public Property ReviewID() As Integer
4682 Return CType(Me(Me.tableReviews.ReviewIDColumn),Integer)
4685 Me(Me.tableReviews.ReviewIDColumn) = value
4689 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4690 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4691 Public Property GameID() As Integer
4694 Return CType(Me(Me.tableReviews.GameIDColumn),Integer)
4695 Catch e As Global.System.InvalidCastException
4696 Throw New Global.System.Data.StrongTypingException("The value for column 'GameID' in table 'Reviews' is DBNull.", e)
4700 Me(Me.tableReviews.GameIDColumn) = value
4704 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4705 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4706 Public Property Review() As String
4709 Return CType(Me(Me.tableReviews.ReviewColumn),String)
4710 Catch e As Global.System.InvalidCastException
4711 Throw New Global.System.Data.StrongTypingException("The value for column 'Review' in table 'Reviews' is DBNull.", e)
4715 Me(Me.tableReviews.ReviewColumn) = value
4719 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4720 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4721 Public Property GamesRow() As GamesRow
4723 Return CType(Me.GetParentRow(Me.Table.ParentRelations("GamesReviews")),GamesRow)
4726 Me.SetParentRow(value, Me.Table.ParentRelations("GamesReviews"))
4730 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4731 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4732 Public Function IsGameIDNull() As Boolean
4733 Return Me.IsNull(Me.tableReviews.GameIDColumn)
4736 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4737 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4738 Public Sub SetGameIDNull()
4739 Me(Me.tableReviews.GameIDColumn) = Global.System.Convert.DBNull
4742 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4743 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4744 Public Function IsReviewNull() As Boolean
4745 Return Me.IsNull(Me.tableReviews.ReviewColumn)
4748 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4749 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4750 Public Sub SetReviewNull()
4751 Me(Me.tableReviews.ReviewColumn) = Global.System.Convert.DBNull
4756 '''Represents strongly named DataRow class.
4758 Partial Public Class TagsRow
4759 Inherits Global.System.Data.DataRow
4761 Private tableTags As TagsDataTable
4763 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4764 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4765 Friend Sub New(ByVal rb As Global.System.Data.DataRowBuilder)
4767 Me.tableTags = CType(Me.Table,TagsDataTable)
4770 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4771 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4772 Public Property ID() As Integer
4774 Return CType(Me(Me.tableTags.IDColumn),Integer)
4777 Me(Me.tableTags.IDColumn) = value
4783 '''Represents strongly named DataRow class.
4785 Partial Public Class WishlistRow
4786 Inherits Global.System.Data.DataRow
4788 Private tableWishlist As WishlistDataTable
4790 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4791 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4792 Friend Sub New(ByVal rb As Global.System.Data.DataRowBuilder)
4794 Me.tableWishlist = CType(Me.Table,WishlistDataTable)
4797 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4798 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4799 Public Property WishlistID() As Integer
4801 Return CType(Me(Me.tableWishlist.WishlistIDColumn),Integer)
4804 Me(Me.tableWishlist.WishlistIDColumn) = value
4808 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4809 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4810 Public Property UserID() As Integer
4813 Return CType(Me(Me.tableWishlist.UserIDColumn),Integer)
4814 Catch e As Global.System.InvalidCastException
4815 Throw New Global.System.Data.StrongTypingException("The value for column 'UserID' in table 'Wishlist' is DBNull.", e)
4819 Me(Me.tableWishlist.UserIDColumn) = value
4823 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4824 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4825 Public Property GameID() As Integer
4828 Return CType(Me(Me.tableWishlist.GameIDColumn),Integer)
4829 Catch e As Global.System.InvalidCastException
4830 Throw New Global.System.Data.StrongTypingException("The value for column 'GameID' in table 'Wishlist' is DBNull.", e)
4834 Me(Me.tableWishlist.GameIDColumn) = value
4838 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4839 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4840 Public Property GamesRow() As GamesRow
4842 Return CType(Me.GetParentRow(Me.Table.ParentRelations("GamesWishlist")),GamesRow)
4845 Me.SetParentRow(value, Me.Table.ParentRelations("GamesWishlist"))
4849 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4850 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4851 Public Function IsUserIDNull() As Boolean
4852 Return Me.IsNull(Me.tableWishlist.UserIDColumn)
4855 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4856 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4857 Public Sub SetUserIDNull()
4858 Me(Me.tableWishlist.UserIDColumn) = Global.System.Convert.DBNull
4861 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4862 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4863 Public Function IsGameIDNull() As Boolean
4864 Return Me.IsNull(Me.tableWishlist.GameIDColumn)
4867 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4868 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4869 Public Sub SetGameIDNull()
4870 Me(Me.tableWishlist.GameIDColumn) = Global.System.Convert.DBNull
4875 '''Represents strongly named DataRow class.
4877 Partial Public Class UsersRow
4878 Inherits Global.System.Data.DataRow
4880 Private tableUsers As UsersDataTable
4882 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4883 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4884 Friend Sub New(ByVal rb As Global.System.Data.DataRowBuilder)
4886 Me.tableUsers = CType(Me.Table,UsersDataTable)
4889 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4890 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4891 Public Property UserID() As Integer
4893 Return CType(Me(Me.tableUsers.UserIDColumn),Integer)
4896 Me(Me.tableUsers.UserIDColumn) = value
4900 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4901 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4902 Public Property User_DetailsID() As Integer
4905 Return CType(Me(Me.tableUsers.User_DetailsIDColumn),Integer)
4906 Catch e As Global.System.InvalidCastException
4907 Throw New Global.System.Data.StrongTypingException("The value for column 'User_DetailsID' in table 'Users' is DBNull.", e)
4911 Me(Me.tableUsers.User_DetailsIDColumn) = value
4915 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4916 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4917 Public Property Username() As String
4920 Return CType(Me(Me.tableUsers.UsernameColumn),String)
4921 Catch e As Global.System.InvalidCastException
4922 Throw New Global.System.Data.StrongTypingException("The value for column 'Username' in table 'Users' is DBNull.", e)
4926 Me(Me.tableUsers.UsernameColumn) = value
4930 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4931 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4932 Public Property Password() As String
4935 Return CType(Me(Me.tableUsers.PasswordColumn),String)
4936 Catch e As Global.System.InvalidCastException
4937 Throw New Global.System.Data.StrongTypingException("The value for column 'Password' in table 'Users' is DBNull.", e)
4941 Me(Me.tableUsers.PasswordColumn) = value
4945 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4946 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4947 Public Property User_DetailsRow() As User_DetailsRow
4949 Return CType(Me.GetParentRow(Me.Table.ParentRelations("User_DetailsUsers")),User_DetailsRow)
4952 Me.SetParentRow(value, Me.Table.ParentRelations("User_DetailsUsers"))
4956 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4957 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4958 Public Function IsUser_DetailsIDNull() As Boolean
4959 Return Me.IsNull(Me.tableUsers.User_DetailsIDColumn)
4962 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4963 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4964 Public Sub SetUser_DetailsIDNull()
4965 Me(Me.tableUsers.User_DetailsIDColumn) = Global.System.Convert.DBNull
4968 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4969 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4970 Public Function IsUsernameNull() As Boolean
4971 Return Me.IsNull(Me.tableUsers.UsernameColumn)
4974 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4975 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4976 Public Sub SetUsernameNull()
4977 Me(Me.tableUsers.UsernameColumn) = Global.System.Convert.DBNull
4980 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4981 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4982 Public Function IsPasswordNull() As Boolean
4983 Return Me.IsNull(Me.tableUsers.PasswordColumn)
4986 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4987 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4988 Public Sub SetPasswordNull()
4989 Me(Me.tableUsers.PasswordColumn) = Global.System.Convert.DBNull
4994 '''Represents strongly named DataRow class.
4996 Partial Public Class User_DetailsRow
4997 Inherits Global.System.Data.DataRow
4999 Private tableUser_Details As User_DetailsDataTable
5001 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5002 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5003 Friend Sub New(ByVal rb As Global.System.Data.DataRowBuilder)
5005 Me.tableUser_Details = CType(Me.Table,User_DetailsDataTable)
5008 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5009 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5010 Public Property UserDetailsID() As Integer
5012 Return CType(Me(Me.tableUser_Details.UserDetailsIDColumn),Integer)
5015 Me(Me.tableUser_Details.UserDetailsIDColumn) = value
5019 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5020 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5021 Public Property FirstName() As String
5024 Return CType(Me(Me.tableUser_Details.FirstNameColumn),String)
5025 Catch e As Global.System.InvalidCastException
5026 Throw New Global.System.Data.StrongTypingException("The value for column 'FirstName' in table 'User_Details' is DBNull.", e)
5030 Me(Me.tableUser_Details.FirstNameColumn) = value
5034 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5035 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5036 Public Property LastName() As String
5039 Return CType(Me(Me.tableUser_Details.LastNameColumn),String)
5040 Catch e As Global.System.InvalidCastException
5041 Throw New Global.System.Data.StrongTypingException("The value for column 'LastName' in table 'User_Details' is DBNull.", e)
5045 Me(Me.tableUser_Details.LastNameColumn) = value
5049 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5050 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5051 Public Property AddressLine1() As String
5054 Return CType(Me(Me.tableUser_Details.AddressLine1Column),String)
5055 Catch e As Global.System.InvalidCastException
5056 Throw New Global.System.Data.StrongTypingException("The value for column 'AddressLine1' in table 'User_Details' is DBNull.", e)
5060 Me(Me.tableUser_Details.AddressLine1Column) = value
5064 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5065 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5066 Public Property Town() As String
5069 Return CType(Me(Me.tableUser_Details.TownColumn),String)
5070 Catch e As Global.System.InvalidCastException
5071 Throw New Global.System.Data.StrongTypingException("The value for column 'Town' in table 'User_Details' is DBNull.", e)
5075 Me(Me.tableUser_Details.TownColumn) = value
5079 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5080 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5081 Public Property Postcode() As String
5084 Return CType(Me(Me.tableUser_Details.PostcodeColumn),String)
5085 Catch e As Global.System.InvalidCastException
5086 Throw New Global.System.Data.StrongTypingException("The value for column 'Postcode' in table 'User_Details' is DBNull.", e)
5090 Me(Me.tableUser_Details.PostcodeColumn) = value
5094 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5095 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5096 Public Property CardNumber() As Integer
5099 Return CType(Me(Me.tableUser_Details.CardNumberColumn),Integer)
5100 Catch e As Global.System.InvalidCastException
5101 Throw New Global.System.Data.StrongTypingException("The value for column 'CardNumber' in table 'User_Details' is DBNull.", e)
5105 Me(Me.tableUser_Details.CardNumberColumn) = value
5109 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5110 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5111 Public Property CVC() As Integer
5114 Return CType(Me(Me.tableUser_Details.CVCColumn),Integer)
5115 Catch e As Global.System.InvalidCastException
5116 Throw New Global.System.Data.StrongTypingException("The value for column 'CVC' in table 'User_Details' is DBNull.", e)
5120 Me(Me.tableUser_Details.CVCColumn) = value
5124 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5125 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5126 Public Property IGN() As String
5129 Return CType(Me(Me.tableUser_Details.IGNColumn),String)
5130 Catch e As Global.System.InvalidCastException
5131 Throw New Global.System.Data.StrongTypingException("The value for column 'IGN' in table 'User_Details' is DBNull.", e)
5135 Me(Me.tableUser_Details.IGNColumn) = value
5139 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5140 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5141 Public Property Email() As String
5144 Return CType(Me(Me.tableUser_Details.EmailColumn),String)
5145 Catch e As Global.System.InvalidCastException
5146 Throw New Global.System.Data.StrongTypingException("The value for column 'Email' in table 'User_Details' is DBNull.", e)
5150 Me(Me.tableUser_Details.EmailColumn) = value
5154 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5155 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5156 Public Property ProfilePic() As Byte()
5159 Return CType(Me(Me.tableUser_Details.ProfilePicColumn),Byte())
5160 Catch e As Global.System.InvalidCastException
5161 Throw New Global.System.Data.StrongTypingException("The value for column 'ProfilePic' in table 'User_Details' is DBNull.", e)
5165 Me(Me.tableUser_Details.ProfilePicColumn) = value
5169 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5170 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5171 Public Function IsFirstNameNull() As Boolean
5172 Return Me.IsNull(Me.tableUser_Details.FirstNameColumn)
5175 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5176 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5177 Public Sub SetFirstNameNull()
5178 Me(Me.tableUser_Details.FirstNameColumn) = Global.System.Convert.DBNull
5181 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5182 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5183 Public Function IsLastNameNull() As Boolean
5184 Return Me.IsNull(Me.tableUser_Details.LastNameColumn)
5187 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5188 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5189 Public Sub SetLastNameNull()
5190 Me(Me.tableUser_Details.LastNameColumn) = Global.System.Convert.DBNull
5193 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5194 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5195 Public Function IsAddressLine1Null() As Boolean
5196 Return Me.IsNull(Me.tableUser_Details.AddressLine1Column)
5199 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5200 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5201 Public Sub SetAddressLine1Null()
5202 Me(Me.tableUser_Details.AddressLine1Column) = Global.System.Convert.DBNull
5205 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5206 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5207 Public Function IsTownNull() As Boolean
5208 Return Me.IsNull(Me.tableUser_Details.TownColumn)
5211 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5212 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5213 Public Sub SetTownNull()
5214 Me(Me.tableUser_Details.TownColumn) = Global.System.Convert.DBNull
5217 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5218 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5219 Public Function IsPostcodeNull() As Boolean
5220 Return Me.IsNull(Me.tableUser_Details.PostcodeColumn)
5223 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5224 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5225 Public Sub SetPostcodeNull()
5226 Me(Me.tableUser_Details.PostcodeColumn) = Global.System.Convert.DBNull
5229 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5230 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5231 Public Function IsCardNumberNull() As Boolean
5232 Return Me.IsNull(Me.tableUser_Details.CardNumberColumn)
5235 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5236 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5237 Public Sub SetCardNumberNull()
5238 Me(Me.tableUser_Details.CardNumberColumn) = Global.System.Convert.DBNull
5241 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5242 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5243 Public Function IsCVCNull() As Boolean
5244 Return Me.IsNull(Me.tableUser_Details.CVCColumn)
5247 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5248 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5249 Public Sub SetCVCNull()
5250 Me(Me.tableUser_Details.CVCColumn) = Global.System.Convert.DBNull
5253 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5254 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5255 Public Function IsIGNNull() As Boolean
5256 Return Me.IsNull(Me.tableUser_Details.IGNColumn)
5259 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5260 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5261 Public Sub SetIGNNull()
5262 Me(Me.tableUser_Details.IGNColumn) = Global.System.Convert.DBNull
5265 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5266 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5267 Public Function IsEmailNull() As Boolean
5268 Return Me.IsNull(Me.tableUser_Details.EmailColumn)
5271 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5272 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5273 Public Sub SetEmailNull()
5274 Me(Me.tableUser_Details.EmailColumn) = Global.System.Convert.DBNull
5277 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5278 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5279 Public Function IsProfilePicNull() As Boolean
5280 Return Me.IsNull(Me.tableUser_Details.ProfilePicColumn)
5283 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5284 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5285 Public Sub SetProfilePicNull()
5286 Me(Me.tableUser_Details.ProfilePicColumn) = Global.System.Convert.DBNull
5289 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5290 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5291 Public Function GetUsersRows() As UsersRow()
5292 If (Me.Table.ChildRelations("User_DetailsUsers") Is Nothing) Then
5293 Return New UsersRow(-1) {}
5295 Return CType(MyBase.GetChildRows(Me.Table.ChildRelations("User_DetailsUsers")),UsersRow())
5301 '''Row event argument class
5303 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5304 Public Class AchievementRowChangeEvent
5305 Inherits Global.System.EventArgs
5307 Private eventRow As AchievementRow
5309 Private eventAction As Global.System.Data.DataRowAction
5311 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5312 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5313 Public Sub New(ByVal row As AchievementRow, ByVal action As Global.System.Data.DataRowAction)
5316 Me.eventAction = action
5319 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5320 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5321 Public ReadOnly Property Row() As AchievementRow
5327 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5328 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5329 Public ReadOnly Property Action() As Global.System.Data.DataRowAction
5331 Return Me.eventAction
5337 '''Row event argument class
5339 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5340 Public Class DOWRowChangeEvent
5341 Inherits Global.System.EventArgs
5343 Private eventRow As DOWRow
5345 Private eventAction As Global.System.Data.DataRowAction
5347 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5348 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5349 Public Sub New(ByVal row As DOWRow, ByVal action As Global.System.Data.DataRowAction)
5352 Me.eventAction = action
5355 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5356 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5357 Public ReadOnly Property Row() As DOWRow
5363 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5364 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5365 Public ReadOnly Property Action() As Global.System.Data.DataRowAction
5367 Return Me.eventAction
5373 '''Row event argument class
5375 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5376 Public Class FriendsRowChangeEvent
5377 Inherits Global.System.EventArgs
5379 Private eventRow As FriendsRow
5381 Private eventAction As Global.System.Data.DataRowAction
5383 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5384 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5385 Public Sub New(ByVal row As FriendsRow, ByVal action As Global.System.Data.DataRowAction)
5388 Me.eventAction = action
5391 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5392 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5393 Public ReadOnly Property Row() As FriendsRow
5399 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5400 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5401 Public ReadOnly Property Action() As Global.System.Data.DataRowAction
5403 Return Me.eventAction
5409 '''Row event argument class
5411 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5412 Public Class GamesRowChangeEvent
5413 Inherits Global.System.EventArgs
5415 Private eventRow As GamesRow
5417 Private eventAction As Global.System.Data.DataRowAction
5419 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5420 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5421 Public Sub New(ByVal row As GamesRow, ByVal action As Global.System.Data.DataRowAction)
5424 Me.eventAction = action
5427 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5428 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5429 Public ReadOnly Property Row() As GamesRow
5435 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5436 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5437 Public ReadOnly Property Action() As Global.System.Data.DataRowAction
5439 Return Me.eventAction
5445 '''Row event argument class
5447 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5448 Public Class PurchasedRowChangeEvent
5449 Inherits Global.System.EventArgs
5451 Private eventRow As PurchasedRow
5453 Private eventAction As Global.System.Data.DataRowAction
5455 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5456 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5457 Public Sub New(ByVal row As PurchasedRow, ByVal action As Global.System.Data.DataRowAction)
5460 Me.eventAction = action
5463 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5464 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5465 Public ReadOnly Property Row() As PurchasedRow
5471 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5472 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5473 Public ReadOnly Property Action() As Global.System.Data.DataRowAction
5475 Return Me.eventAction
5481 '''Row event argument class
5483 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5484 Public Class ReviewsRowChangeEvent
5485 Inherits Global.System.EventArgs
5487 Private eventRow As ReviewsRow
5489 Private eventAction As Global.System.Data.DataRowAction
5491 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5492 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5493 Public Sub New(ByVal row As ReviewsRow, ByVal action As Global.System.Data.DataRowAction)
5496 Me.eventAction = action
5499 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5500 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5501 Public ReadOnly Property Row() As ReviewsRow
5507 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5508 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5509 Public ReadOnly Property Action() As Global.System.Data.DataRowAction
5511 Return Me.eventAction
5517 '''Row event argument class
5519 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5520 Public Class TagsRowChangeEvent
5521 Inherits Global.System.EventArgs
5523 Private eventRow As TagsRow
5525 Private eventAction As Global.System.Data.DataRowAction
5527 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5528 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5529 Public Sub New(ByVal row As TagsRow, ByVal action As Global.System.Data.DataRowAction)
5532 Me.eventAction = action
5535 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5536 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5537 Public ReadOnly Property Row() As TagsRow
5543 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5544 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5545 Public ReadOnly Property Action() As Global.System.Data.DataRowAction
5547 Return Me.eventAction
5553 '''Row event argument class
5555 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5556 Public Class WishlistRowChangeEvent
5557 Inherits Global.System.EventArgs
5559 Private eventRow As WishlistRow
5561 Private eventAction As Global.System.Data.DataRowAction
5563 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5564 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5565 Public Sub New(ByVal row As WishlistRow, ByVal action As Global.System.Data.DataRowAction)
5568 Me.eventAction = action
5571 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5572 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5573 Public ReadOnly Property Row() As WishlistRow
5579 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5580 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5581 Public ReadOnly Property Action() As Global.System.Data.DataRowAction
5583 Return Me.eventAction
5589 '''Row event argument class
5591 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5592 Public Class UsersRowChangeEvent
5593 Inherits Global.System.EventArgs
5595 Private eventRow As UsersRow
5597 Private eventAction As Global.System.Data.DataRowAction
5599 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5600 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5601 Public Sub New(ByVal row As UsersRow, ByVal action As Global.System.Data.DataRowAction)
5604 Me.eventAction = action
5607 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5608 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5609 Public ReadOnly Property Row() As UsersRow
5615 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5616 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5617 Public ReadOnly Property Action() As Global.System.Data.DataRowAction
5619 Return Me.eventAction
5625 '''Row event argument class
5627 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5628 Public Class User_DetailsRowChangeEvent
5629 Inherits Global.System.EventArgs
5631 Private eventRow As User_DetailsRow
5633 Private eventAction As Global.System.Data.DataRowAction
5635 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5636 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5637 Public Sub New(ByVal row As User_DetailsRow, ByVal action As Global.System.Data.DataRowAction)
5640 Me.eventAction = action
5643 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5644 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5645 Public ReadOnly Property Row() As User_DetailsRow
5651 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5652 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5653 Public ReadOnly Property Action() As Global.System.Data.DataRowAction
5655 Return Me.eventAction
5661 Namespace NEADataSetTableAdapters
5664 '''Represents the connection and commands used to retrieve and save data.
5666 <Global.System.ComponentModel.DesignerCategoryAttribute("code"), _
5667 Global.System.ComponentModel.ToolboxItem(true), _
5668 Global.System.ComponentModel.DataObjectAttribute(true), _
5669 Global.System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner"& _
5670 ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"), _
5671 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
5672 Partial Public Class AchievementTableAdapter
5673 Inherits Global.System.ComponentModel.Component
5675 Private WithEvents _adapter As Global.System.Data.OleDb.OleDbDataAdapter
5677 Private _connection As Global.System.Data.OleDb.OleDbConnection
5679 Private _transaction As Global.System.Data.OleDb.OleDbTransaction
5681 Private _commandCollection() As Global.System.Data.OleDb.OleDbCommand
5683 Private _clearBeforeFill As Boolean
5685 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5686 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5689 Me.ClearBeforeFill = true
5692 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5693 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5694 Protected Friend ReadOnly Property Adapter() As Global.System.Data.OleDb.OleDbDataAdapter
5696 If (Me._adapter Is Nothing) Then
5703 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5704 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5705 Friend Property Connection() As Global.System.Data.OleDb.OleDbConnection
5707 If (Me._connection Is Nothing) Then
5710 Return Me._connection
5713 Me._connection = value
5714 If (Not (Me.Adapter.InsertCommand) Is Nothing) Then
5715 Me.Adapter.InsertCommand.Connection = value
5717 If (Not (Me.Adapter.DeleteCommand) Is Nothing) Then
5718 Me.Adapter.DeleteCommand.Connection = value
5720 If (Not (Me.Adapter.UpdateCommand) Is Nothing) Then
5721 Me.Adapter.UpdateCommand.Connection = value
5723 Dim i As Integer = 0
5724 Do While (i < Me.CommandCollection.Length)
5725 If (Not (Me.CommandCollection(i)) Is Nothing) Then
5726 CType(Me.CommandCollection(i),Global.System.Data.OleDb.OleDbCommand).Connection = value
5733 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5734 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5735 Friend Property Transaction() As Global.System.Data.OleDb.OleDbTransaction
5737 Return Me._transaction
5740 Me._transaction = value
5741 Dim i As Integer = 0
5742 Do While (i < Me.CommandCollection.Length)
5743 Me.CommandCollection(i).Transaction = Me._transaction
5746 If ((Not (Me.Adapter) Is Nothing) _
5747 AndAlso (Not (Me.Adapter.DeleteCommand) Is Nothing)) Then
5748 Me.Adapter.DeleteCommand.Transaction = Me._transaction
5750 If ((Not (Me.Adapter) Is Nothing) _
5751 AndAlso (Not (Me.Adapter.InsertCommand) Is Nothing)) Then
5752 Me.Adapter.InsertCommand.Transaction = Me._transaction
5754 If ((Not (Me.Adapter) Is Nothing) _
5755 AndAlso (Not (Me.Adapter.UpdateCommand) Is Nothing)) Then
5756 Me.Adapter.UpdateCommand.Transaction = Me._transaction
5761 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5762 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5763 Protected ReadOnly Property CommandCollection() As Global.System.Data.OleDb.OleDbCommand()
5765 If (Me._commandCollection Is Nothing) Then
5766 Me.InitCommandCollection
5768 Return Me._commandCollection
5772 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5773 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5774 Public Property ClearBeforeFill() As Boolean
5776 Return Me._clearBeforeFill
5779 Me._clearBeforeFill = value
5783 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5784 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5785 Private Sub InitAdapter()
5786 Me._adapter = New Global.System.Data.OleDb.OleDbDataAdapter()
5787 Dim tableMapping As Global.System.Data.Common.DataTableMapping = New Global.System.Data.Common.DataTableMapping()
5788 tableMapping.SourceTable = "Table"
5789 tableMapping.DataSetTable = "Achievement"
5790 tableMapping.ColumnMappings.Add("AchievementID", "AchievementID")
5791 tableMapping.ColumnMappings.Add("GameID", "GameID")
5792 tableMapping.ColumnMappings.Add("UserID", "UserID")
5793 tableMapping.ColumnMappings.Add("Achievment 1", "Achievment 1")
5794 tableMapping.ColumnMappings.Add("Achievment 2", "Achievment 2")
5795 tableMapping.ColumnMappings.Add("Achievment 3", "Achievment 3")
5796 tableMapping.ColumnMappings.Add("Achievment 4", "Achievment 4")
5797 tableMapping.ColumnMappings.Add("Achievment 5", "Achievment 5")
5798 Me._adapter.TableMappings.Add(tableMapping)
5799 Me._adapter.DeleteCommand = New Global.System.Data.OleDb.OleDbCommand()
5800 Me._adapter.DeleteCommand.Connection = Me.Connection
5801 Me._adapter.DeleteCommand.CommandText = "DELETE FROM `Achievement` WHERE ((`AchievementID` = ?) AND ((? = 1 AND `GameID` I"& _
5802 "S NULL) OR (`GameID` = ?)) AND ((? = 1 AND `UserID` IS NULL) OR (`UserID` = ?)))"& _
5804 Me._adapter.DeleteCommand.CommandType = Global.System.Data.CommandType.Text
5805 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_AchievementID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "AchievementID", Global.System.Data.DataRowVersion.Original, false, Nothing))
5806 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IsNull_GameID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "GameID", Global.System.Data.DataRowVersion.Original, true, Nothing))
5807 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_GameID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "GameID", Global.System.Data.DataRowVersion.Original, false, Nothing))
5808 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IsNull_UserID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "UserID", Global.System.Data.DataRowVersion.Original, true, Nothing))
5809 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_UserID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "UserID", Global.System.Data.DataRowVersion.Original, false, Nothing))
5810 Me._adapter.InsertCommand = New Global.System.Data.OleDb.OleDbCommand()
5811 Me._adapter.InsertCommand.Connection = Me.Connection
5812 Me._adapter.InsertCommand.CommandText = "INSERT INTO `Achievement` (`GameID`, `UserID`, `Achievment 1`, `Achievment 2`, `A"& _
5813 "chievment 3`, `Achievment 4`, `Achievment 5`) VALUES (?, ?, ?, ?, ?, ?, ?)"
5814 Me._adapter.InsertCommand.CommandType = Global.System.Data.CommandType.Text
5815 Me._adapter.InsertCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("GameID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "GameID", Global.System.Data.DataRowVersion.Current, false, Nothing))
5816 Me._adapter.InsertCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("UserID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "UserID", Global.System.Data.DataRowVersion.Current, false, Nothing))
5817 Me._adapter.InsertCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Achievment_1", Global.System.Data.OleDb.OleDbType.LongVarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Achievment 1", Global.System.Data.DataRowVersion.Current, false, Nothing))
5818 Me._adapter.InsertCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Achievment_2", Global.System.Data.OleDb.OleDbType.LongVarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Achievment 2", Global.System.Data.DataRowVersion.Current, false, Nothing))
5819 Me._adapter.InsertCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Achievment_3", Global.System.Data.OleDb.OleDbType.LongVarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Achievment 3", Global.System.Data.DataRowVersion.Current, false, Nothing))
5820 Me._adapter.InsertCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Achievment_4", Global.System.Data.OleDb.OleDbType.LongVarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Achievment 4", Global.System.Data.DataRowVersion.Current, false, Nothing))
5821 Me._adapter.InsertCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Achievment_5", Global.System.Data.OleDb.OleDbType.LongVarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Achievment 5", Global.System.Data.DataRowVersion.Current, false, Nothing))
5822 Me._adapter.UpdateCommand = New Global.System.Data.OleDb.OleDbCommand()
5823 Me._adapter.UpdateCommand.Connection = Me.Connection
5824 Me._adapter.UpdateCommand.CommandText = "UPDATE `Achievement` SET `GameID` = ?, `UserID` = ?, `Achievment 1` = ?, `Achievm"& _
5825 "ent 2` = ?, `Achievment 3` = ?, `Achievment 4` = ?, `Achievment 5` = ? WHERE ((`"& _
5826 "AchievementID` = ?) AND ((? = 1 AND `GameID` IS NULL) OR (`GameID` = ?)) AND ((?"& _
5827 " = 1 AND `UserID` IS NULL) OR (`UserID` = ?)))"
5828 Me._adapter.UpdateCommand.CommandType = Global.System.Data.CommandType.Text
5829 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("GameID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "GameID", Global.System.Data.DataRowVersion.Current, false, Nothing))
5830 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("UserID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "UserID", Global.System.Data.DataRowVersion.Current, false, Nothing))
5831 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Achievment_1", Global.System.Data.OleDb.OleDbType.LongVarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Achievment 1", Global.System.Data.DataRowVersion.Current, false, Nothing))
5832 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Achievment_2", Global.System.Data.OleDb.OleDbType.LongVarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Achievment 2", Global.System.Data.DataRowVersion.Current, false, Nothing))
5833 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Achievment_3", Global.System.Data.OleDb.OleDbType.LongVarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Achievment 3", Global.System.Data.DataRowVersion.Current, false, Nothing))
5834 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Achievment_4", Global.System.Data.OleDb.OleDbType.LongVarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Achievment 4", Global.System.Data.DataRowVersion.Current, false, Nothing))
5835 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Achievment_5", Global.System.Data.OleDb.OleDbType.LongVarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Achievment 5", Global.System.Data.DataRowVersion.Current, false, Nothing))
5836 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_AchievementID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "AchievementID", Global.System.Data.DataRowVersion.Original, false, Nothing))
5837 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IsNull_GameID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "GameID", Global.System.Data.DataRowVersion.Original, true, Nothing))
5838 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_GameID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "GameID", Global.System.Data.DataRowVersion.Original, false, Nothing))
5839 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IsNull_UserID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "UserID", Global.System.Data.DataRowVersion.Original, true, Nothing))
5840 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_UserID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "UserID", Global.System.Data.DataRowVersion.Original, false, Nothing))
5843 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5844 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5845 Private Sub InitConnection()
5846 Me._connection = New Global.System.Data.OleDb.OleDbConnection()
5847 Me._connection.ConnectionString = Global.NEA.MySettings.Default.NEAConnectionString_accdb
5850 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5851 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5852 Private Sub InitCommandCollection()
5853 Me._commandCollection = New Global.System.Data.OleDb.OleDbCommand(0) {}
5854 Me._commandCollection(0) = New Global.System.Data.OleDb.OleDbCommand()
5855 Me._commandCollection(0).Connection = Me.Connection
5856 Me._commandCollection(0).CommandText = "SELECT AchievementID, GameID, UserID, [Achievment 1], [Achievment 2], [Achievment"& _
5857 " 3], [Achievment 4], [Achievment 5] FROM Achievement"
5858 Me._commandCollection(0).CommandType = Global.System.Data.CommandType.Text
5861 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5862 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
5863 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
5864 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Fill, true)> _
5865 Public Overloads Overridable Function Fill(ByVal dataTable As NEADataSet.AchievementDataTable) As Integer
5866 Me.Adapter.SelectCommand = Me.CommandCollection(0)
5867 If (Me.ClearBeforeFill = true) Then
5870 Dim returnValue As Integer = Me.Adapter.Fill(dataTable)
5874 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5875 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
5876 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
5877 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.[Select], true)> _
5878 Public Overloads Overridable Function GetData() As NEADataSet.AchievementDataTable
5879 Me.Adapter.SelectCommand = Me.CommandCollection(0)
5880 Dim dataTable As NEADataSet.AchievementDataTable = New NEADataSet.AchievementDataTable()
5881 Me.Adapter.Fill(dataTable)
5885 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5886 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
5887 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
5888 Public Overloads Overridable Function Update(ByVal dataTable As NEADataSet.AchievementDataTable) As Integer
5889 Return Me.Adapter.Update(dataTable)
5892 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5893 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
5894 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
5895 Public Overloads Overridable Function Update(ByVal dataSet As NEADataSet) As Integer
5896 Return Me.Adapter.Update(dataSet, "Achievement")
5899 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5900 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
5901 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
5902 Public Overloads Overridable Function Update(ByVal dataRow As Global.System.Data.DataRow) As Integer
5903 Return Me.Adapter.Update(New Global.System.Data.DataRow() {dataRow})
5906 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5907 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
5908 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
5909 Public Overloads Overridable Function Update(ByVal dataRows() As Global.System.Data.DataRow) As Integer
5910 Return Me.Adapter.Update(dataRows)
5913 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5914 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
5915 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
5916 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Delete, true)> _
5917 Public Overloads Overridable Function Delete(ByVal Original_AchievementID As Integer, ByVal Original_GameID As Global.System.Nullable(Of Integer), ByVal Original_UserID As Global.System.Nullable(Of Integer)) As Integer
5918 Me.Adapter.DeleteCommand.Parameters(0).Value = CType(Original_AchievementID,Integer)
5919 If (Original_GameID.HasValue = true) Then
5920 Me.Adapter.DeleteCommand.Parameters(1).Value = CType(0,Object)
5921 Me.Adapter.DeleteCommand.Parameters(2).Value = CType(Original_GameID.Value,Integer)
5923 Me.Adapter.DeleteCommand.Parameters(1).Value = CType(1,Object)
5924 Me.Adapter.DeleteCommand.Parameters(2).Value = Global.System.DBNull.Value
5926 If (Original_UserID.HasValue = true) Then
5927 Me.Adapter.DeleteCommand.Parameters(3).Value = CType(0,Object)
5928 Me.Adapter.DeleteCommand.Parameters(4).Value = CType(Original_UserID.Value,Integer)
5930 Me.Adapter.DeleteCommand.Parameters(3).Value = CType(1,Object)
5931 Me.Adapter.DeleteCommand.Parameters(4).Value = Global.System.DBNull.Value
5933 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.DeleteCommand.Connection.State
5934 If ((Me.Adapter.DeleteCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
5935 <> Global.System.Data.ConnectionState.Open) Then
5936 Me.Adapter.DeleteCommand.Connection.Open
5939 Dim returnValue As Integer = Me.Adapter.DeleteCommand.ExecuteNonQuery
5942 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
5943 Me.Adapter.DeleteCommand.Connection.Close
5948 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5949 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
5950 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
5951 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Insert, true)> _
5952 Public Overloads Overridable Function Insert(ByVal GameID As Global.System.Nullable(Of Integer), ByVal UserID As Global.System.Nullable(Of Integer), ByVal Achievment_1 As String, ByVal Achievment_2 As String, ByVal Achievment_3 As String, ByVal Achievment_4 As String, ByVal Achievment_5 As String) As Integer
5953 If (GameID.HasValue = true) Then
5954 Me.Adapter.InsertCommand.Parameters(0).Value = CType(GameID.Value,Integer)
5956 Me.Adapter.InsertCommand.Parameters(0).Value = Global.System.DBNull.Value
5958 If (UserID.HasValue = true) Then
5959 Me.Adapter.InsertCommand.Parameters(1).Value = CType(UserID.Value,Integer)
5961 Me.Adapter.InsertCommand.Parameters(1).Value = Global.System.DBNull.Value
5963 If (Achievment_1 Is Nothing) Then
5964 Me.Adapter.InsertCommand.Parameters(2).Value = Global.System.DBNull.Value
5966 Me.Adapter.InsertCommand.Parameters(2).Value = CType(Achievment_1,String)
5968 If (Achievment_2 Is Nothing) Then
5969 Me.Adapter.InsertCommand.Parameters(3).Value = Global.System.DBNull.Value
5971 Me.Adapter.InsertCommand.Parameters(3).Value = CType(Achievment_2,String)
5973 If (Achievment_3 Is Nothing) Then
5974 Me.Adapter.InsertCommand.Parameters(4).Value = Global.System.DBNull.Value
5976 Me.Adapter.InsertCommand.Parameters(4).Value = CType(Achievment_3,String)
5978 If (Achievment_4 Is Nothing) Then
5979 Me.Adapter.InsertCommand.Parameters(5).Value = Global.System.DBNull.Value
5981 Me.Adapter.InsertCommand.Parameters(5).Value = CType(Achievment_4,String)
5983 If (Achievment_5 Is Nothing) Then
5984 Me.Adapter.InsertCommand.Parameters(6).Value = Global.System.DBNull.Value
5986 Me.Adapter.InsertCommand.Parameters(6).Value = CType(Achievment_5,String)
5988 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.InsertCommand.Connection.State
5989 If ((Me.Adapter.InsertCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
5990 <> Global.System.Data.ConnectionState.Open) Then
5991 Me.Adapter.InsertCommand.Connection.Open
5994 Dim returnValue As Integer = Me.Adapter.InsertCommand.ExecuteNonQuery
5997 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
5998 Me.Adapter.InsertCommand.Connection.Close
6003 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6004 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
6005 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
6006 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Update, true)> _
6007 Public Overloads Overridable Function Update(ByVal GameID As Global.System.Nullable(Of Integer), ByVal UserID As Global.System.Nullable(Of Integer), ByVal Achievment_1 As String, ByVal Achievment_2 As String, ByVal Achievment_3 As String, ByVal Achievment_4 As String, ByVal Achievment_5 As String, ByVal Original_AchievementID As Integer, ByVal Original_GameID As Global.System.Nullable(Of Integer), ByVal Original_UserID As Global.System.Nullable(Of Integer)) As Integer
6008 If (GameID.HasValue = true) Then
6009 Me.Adapter.UpdateCommand.Parameters(0).Value = CType(GameID.Value,Integer)
6011 Me.Adapter.UpdateCommand.Parameters(0).Value = Global.System.DBNull.Value
6013 If (UserID.HasValue = true) Then
6014 Me.Adapter.UpdateCommand.Parameters(1).Value = CType(UserID.Value,Integer)
6016 Me.Adapter.UpdateCommand.Parameters(1).Value = Global.System.DBNull.Value
6018 If (Achievment_1 Is Nothing) Then
6019 Me.Adapter.UpdateCommand.Parameters(2).Value = Global.System.DBNull.Value
6021 Me.Adapter.UpdateCommand.Parameters(2).Value = CType(Achievment_1,String)
6023 If (Achievment_2 Is Nothing) Then
6024 Me.Adapter.UpdateCommand.Parameters(3).Value = Global.System.DBNull.Value
6026 Me.Adapter.UpdateCommand.Parameters(3).Value = CType(Achievment_2,String)
6028 If (Achievment_3 Is Nothing) Then
6029 Me.Adapter.UpdateCommand.Parameters(4).Value = Global.System.DBNull.Value
6031 Me.Adapter.UpdateCommand.Parameters(4).Value = CType(Achievment_3,String)
6033 If (Achievment_4 Is Nothing) Then
6034 Me.Adapter.UpdateCommand.Parameters(5).Value = Global.System.DBNull.Value
6036 Me.Adapter.UpdateCommand.Parameters(5).Value = CType(Achievment_4,String)
6038 If (Achievment_5 Is Nothing) Then
6039 Me.Adapter.UpdateCommand.Parameters(6).Value = Global.System.DBNull.Value
6041 Me.Adapter.UpdateCommand.Parameters(6).Value = CType(Achievment_5,String)
6043 Me.Adapter.UpdateCommand.Parameters(7).Value = CType(Original_AchievementID,Integer)
6044 If (Original_GameID.HasValue = true) Then
6045 Me.Adapter.UpdateCommand.Parameters(8).Value = CType(0,Object)
6046 Me.Adapter.UpdateCommand.Parameters(9).Value = CType(Original_GameID.Value,Integer)
6048 Me.Adapter.UpdateCommand.Parameters(8).Value = CType(1,Object)
6049 Me.Adapter.UpdateCommand.Parameters(9).Value = Global.System.DBNull.Value
6051 If (Original_UserID.HasValue = true) Then
6052 Me.Adapter.UpdateCommand.Parameters(10).Value = CType(0,Object)
6053 Me.Adapter.UpdateCommand.Parameters(11).Value = CType(Original_UserID.Value,Integer)
6055 Me.Adapter.UpdateCommand.Parameters(10).Value = CType(1,Object)
6056 Me.Adapter.UpdateCommand.Parameters(11).Value = Global.System.DBNull.Value
6058 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.UpdateCommand.Connection.State
6059 If ((Me.Adapter.UpdateCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
6060 <> Global.System.Data.ConnectionState.Open) Then
6061 Me.Adapter.UpdateCommand.Connection.Open
6064 Dim returnValue As Integer = Me.Adapter.UpdateCommand.ExecuteNonQuery
6067 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
6068 Me.Adapter.UpdateCommand.Connection.Close
6075 '''Represents the connection and commands used to retrieve and save data.
6077 <Global.System.ComponentModel.DesignerCategoryAttribute("code"), _
6078 Global.System.ComponentModel.ToolboxItem(true), _
6079 Global.System.ComponentModel.DataObjectAttribute(true), _
6080 Global.System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner"& _
6081 ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"), _
6082 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
6083 Partial Public Class DOWTableAdapter
6084 Inherits Global.System.ComponentModel.Component
6086 Private WithEvents _adapter As Global.System.Data.OleDb.OleDbDataAdapter
6088 Private _connection As Global.System.Data.OleDb.OleDbConnection
6090 Private _transaction As Global.System.Data.OleDb.OleDbTransaction
6092 Private _commandCollection() As Global.System.Data.OleDb.OleDbCommand
6094 Private _clearBeforeFill As Boolean
6096 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6097 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6100 Me.ClearBeforeFill = true
6103 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6104 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6105 Protected Friend ReadOnly Property Adapter() As Global.System.Data.OleDb.OleDbDataAdapter
6107 If (Me._adapter Is Nothing) Then
6114 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6115 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6116 Friend Property Connection() As Global.System.Data.OleDb.OleDbConnection
6118 If (Me._connection Is Nothing) Then
6121 Return Me._connection
6124 Me._connection = value
6125 If (Not (Me.Adapter.InsertCommand) Is Nothing) Then
6126 Me.Adapter.InsertCommand.Connection = value
6128 If (Not (Me.Adapter.DeleteCommand) Is Nothing) Then
6129 Me.Adapter.DeleteCommand.Connection = value
6131 If (Not (Me.Adapter.UpdateCommand) Is Nothing) Then
6132 Me.Adapter.UpdateCommand.Connection = value
6134 Dim i As Integer = 0
6135 Do While (i < Me.CommandCollection.Length)
6136 If (Not (Me.CommandCollection(i)) Is Nothing) Then
6137 CType(Me.CommandCollection(i),Global.System.Data.OleDb.OleDbCommand).Connection = value
6144 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6145 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6146 Friend Property Transaction() As Global.System.Data.OleDb.OleDbTransaction
6148 Return Me._transaction
6151 Me._transaction = value
6152 Dim i As Integer = 0
6153 Do While (i < Me.CommandCollection.Length)
6154 Me.CommandCollection(i).Transaction = Me._transaction
6157 If ((Not (Me.Adapter) Is Nothing) _
6158 AndAlso (Not (Me.Adapter.DeleteCommand) Is Nothing)) Then
6159 Me.Adapter.DeleteCommand.Transaction = Me._transaction
6161 If ((Not (Me.Adapter) Is Nothing) _
6162 AndAlso (Not (Me.Adapter.InsertCommand) Is Nothing)) Then
6163 Me.Adapter.InsertCommand.Transaction = Me._transaction
6165 If ((Not (Me.Adapter) Is Nothing) _
6166 AndAlso (Not (Me.Adapter.UpdateCommand) Is Nothing)) Then
6167 Me.Adapter.UpdateCommand.Transaction = Me._transaction
6172 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6173 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6174 Protected ReadOnly Property CommandCollection() As Global.System.Data.OleDb.OleDbCommand()
6176 If (Me._commandCollection Is Nothing) Then
6177 Me.InitCommandCollection
6179 Return Me._commandCollection
6183 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6184 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6185 Public Property ClearBeforeFill() As Boolean
6187 Return Me._clearBeforeFill
6190 Me._clearBeforeFill = value
6194 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6195 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6196 Private Sub InitAdapter()
6197 Me._adapter = New Global.System.Data.OleDb.OleDbDataAdapter()
6198 Dim tableMapping As Global.System.Data.Common.DataTableMapping = New Global.System.Data.Common.DataTableMapping()
6199 tableMapping.SourceTable = "Table"
6200 tableMapping.DataSetTable = "DOW"
6201 tableMapping.ColumnMappings.Add("DOWID", "DOWID")
6202 tableMapping.ColumnMappings.Add("Start", "Start")
6203 tableMapping.ColumnMappings.Add("End", "End")
6204 tableMapping.ColumnMappings.Add("GameID", "GameID")
6205 Me._adapter.TableMappings.Add(tableMapping)
6206 Me._adapter.DeleteCommand = New Global.System.Data.OleDb.OleDbCommand()
6207 Me._adapter.DeleteCommand.Connection = Me.Connection
6208 Me._adapter.DeleteCommand.CommandText = "DELETE FROM `DOW` WHERE ((`DOWID` = ?) AND ((? = 1 AND `Start` IS NULL) OR (`Star"& _
6209 "t` = ?)) AND ((? = 1 AND `End` IS NULL) OR (`End` = ?)) AND ((? = 1 AND `GameID`"& _
6210 " IS NULL) OR (`GameID` = ?)))"
6211 Me._adapter.DeleteCommand.CommandType = Global.System.Data.CommandType.Text
6212 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_DOWID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "DOWID", Global.System.Data.DataRowVersion.Original, false, Nothing))
6213 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IsNull_Start", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Start", Global.System.Data.DataRowVersion.Original, true, Nothing))
6214 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_Start", Global.System.Data.OleDb.OleDbType.[Date], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Start", Global.System.Data.DataRowVersion.Original, false, Nothing))
6215 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IsNull_End", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "End", Global.System.Data.DataRowVersion.Original, true, Nothing))
6216 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_End", Global.System.Data.OleDb.OleDbType.[Date], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "End", Global.System.Data.DataRowVersion.Original, false, Nothing))
6217 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IsNull_GameID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "GameID", Global.System.Data.DataRowVersion.Original, true, Nothing))
6218 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_GameID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "GameID", Global.System.Data.DataRowVersion.Original, false, Nothing))
6219 Me._adapter.InsertCommand = New Global.System.Data.OleDb.OleDbCommand()
6220 Me._adapter.InsertCommand.Connection = Me.Connection
6221 Me._adapter.InsertCommand.CommandText = "INSERT INTO `DOW` (`Start`, `End`, `GameID`) VALUES (?, ?, ?)"
6222 Me._adapter.InsertCommand.CommandType = Global.System.Data.CommandType.Text
6223 Me._adapter.InsertCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Start", Global.System.Data.OleDb.OleDbType.[Date], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Start", Global.System.Data.DataRowVersion.Current, false, Nothing))
6224 Me._adapter.InsertCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("End", Global.System.Data.OleDb.OleDbType.[Date], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "End", Global.System.Data.DataRowVersion.Current, false, Nothing))
6225 Me._adapter.InsertCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("GameID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "GameID", Global.System.Data.DataRowVersion.Current, false, Nothing))
6226 Me._adapter.UpdateCommand = New Global.System.Data.OleDb.OleDbCommand()
6227 Me._adapter.UpdateCommand.Connection = Me.Connection
6228 Me._adapter.UpdateCommand.CommandText = "UPDATE `DOW` SET `Start` = ?, `End` = ?, `GameID` = ? WHERE ((`DOWID` = ?) AND (("& _
6229 "? = 1 AND `Start` IS NULL) OR (`Start` = ?)) AND ((? = 1 AND `End` IS NULL) OR ("& _
6230 "`End` = ?)) AND ((? = 1 AND `GameID` IS NULL) OR (`GameID` = ?)))"
6231 Me._adapter.UpdateCommand.CommandType = Global.System.Data.CommandType.Text
6232 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Start", Global.System.Data.OleDb.OleDbType.[Date], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Start", Global.System.Data.DataRowVersion.Current, false, Nothing))
6233 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("End", Global.System.Data.OleDb.OleDbType.[Date], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "End", Global.System.Data.DataRowVersion.Current, false, Nothing))
6234 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("GameID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "GameID", Global.System.Data.DataRowVersion.Current, false, Nothing))
6235 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_DOWID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "DOWID", Global.System.Data.DataRowVersion.Original, false, Nothing))
6236 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IsNull_Start", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Start", Global.System.Data.DataRowVersion.Original, true, Nothing))
6237 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_Start", Global.System.Data.OleDb.OleDbType.[Date], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Start", Global.System.Data.DataRowVersion.Original, false, Nothing))
6238 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IsNull_End", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "End", Global.System.Data.DataRowVersion.Original, true, Nothing))
6239 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_End", Global.System.Data.OleDb.OleDbType.[Date], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "End", Global.System.Data.DataRowVersion.Original, false, Nothing))
6240 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IsNull_GameID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "GameID", Global.System.Data.DataRowVersion.Original, true, Nothing))
6241 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_GameID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "GameID", Global.System.Data.DataRowVersion.Original, false, Nothing))
6244 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6245 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6246 Private Sub InitConnection()
6247 Me._connection = New Global.System.Data.OleDb.OleDbConnection()
6248 Me._connection.ConnectionString = Global.NEA.MySettings.Default.NEAConnectionString_accdb
6251 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6252 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6253 Private Sub InitCommandCollection()
6254 Me._commandCollection = New Global.System.Data.OleDb.OleDbCommand(0) {}
6255 Me._commandCollection(0) = New Global.System.Data.OleDb.OleDbCommand()
6256 Me._commandCollection(0).Connection = Me.Connection
6257 Me._commandCollection(0).CommandText = "SELECT DOWID, Start, [End], GameID FROM DOW"
6258 Me._commandCollection(0).CommandType = Global.System.Data.CommandType.Text
6261 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6262 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
6263 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
6264 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Fill, true)> _
6265 Public Overloads Overridable Function Fill(ByVal dataTable As NEADataSet.DOWDataTable) As Integer
6266 Me.Adapter.SelectCommand = Me.CommandCollection(0)
6267 If (Me.ClearBeforeFill = true) Then
6270 Dim returnValue As Integer = Me.Adapter.Fill(dataTable)
6274 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6275 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
6276 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
6277 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.[Select], true)> _
6278 Public Overloads Overridable Function GetData() As NEADataSet.DOWDataTable
6279 Me.Adapter.SelectCommand = Me.CommandCollection(0)
6280 Dim dataTable As NEADataSet.DOWDataTable = New NEADataSet.DOWDataTable()
6281 Me.Adapter.Fill(dataTable)
6285 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6286 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
6287 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
6288 Public Overloads Overridable Function Update(ByVal dataTable As NEADataSet.DOWDataTable) As Integer
6289 Return Me.Adapter.Update(dataTable)
6292 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6293 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
6294 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
6295 Public Overloads Overridable Function Update(ByVal dataSet As NEADataSet) As Integer
6296 Return Me.Adapter.Update(dataSet, "DOW")
6299 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6300 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
6301 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
6302 Public Overloads Overridable Function Update(ByVal dataRow As Global.System.Data.DataRow) As Integer
6303 Return Me.Adapter.Update(New Global.System.Data.DataRow() {dataRow})
6306 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6307 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
6308 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
6309 Public Overloads Overridable Function Update(ByVal dataRows() As Global.System.Data.DataRow) As Integer
6310 Return Me.Adapter.Update(dataRows)
6313 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6314 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
6315 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
6316 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Delete, true)> _
6317 Public Overloads Overridable Function Delete(ByVal Original_DOWID As Integer, ByVal Original_Start As Global.System.Nullable(Of Date), ByVal Original_End As Global.System.Nullable(Of Date), ByVal Original_GameID As Global.System.Nullable(Of Integer)) As Integer
6318 Me.Adapter.DeleteCommand.Parameters(0).Value = CType(Original_DOWID,Integer)
6319 If (Original_Start.HasValue = true) Then
6320 Me.Adapter.DeleteCommand.Parameters(1).Value = CType(0,Object)
6321 Me.Adapter.DeleteCommand.Parameters(2).Value = CType(Original_Start.Value,Date)
6323 Me.Adapter.DeleteCommand.Parameters(1).Value = CType(1,Object)
6324 Me.Adapter.DeleteCommand.Parameters(2).Value = Global.System.DBNull.Value
6326 If (Original_End.HasValue = true) Then
6327 Me.Adapter.DeleteCommand.Parameters(3).Value = CType(0,Object)
6328 Me.Adapter.DeleteCommand.Parameters(4).Value = CType(Original_End.Value,Date)
6330 Me.Adapter.DeleteCommand.Parameters(3).Value = CType(1,Object)
6331 Me.Adapter.DeleteCommand.Parameters(4).Value = Global.System.DBNull.Value
6333 If (Original_GameID.HasValue = true) Then
6334 Me.Adapter.DeleteCommand.Parameters(5).Value = CType(0,Object)
6335 Me.Adapter.DeleteCommand.Parameters(6).Value = CType(Original_GameID.Value,Integer)
6337 Me.Adapter.DeleteCommand.Parameters(5).Value = CType(1,Object)
6338 Me.Adapter.DeleteCommand.Parameters(6).Value = Global.System.DBNull.Value
6340 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.DeleteCommand.Connection.State
6341 If ((Me.Adapter.DeleteCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
6342 <> Global.System.Data.ConnectionState.Open) Then
6343 Me.Adapter.DeleteCommand.Connection.Open
6346 Dim returnValue As Integer = Me.Adapter.DeleteCommand.ExecuteNonQuery
6349 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
6350 Me.Adapter.DeleteCommand.Connection.Close
6355 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6356 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
6357 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
6358 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Insert, true)> _
6359 Public Overloads Overridable Function Insert(ByVal Start As Global.System.Nullable(Of Date), ByVal _End As Global.System.Nullable(Of Date), ByVal GameID As Global.System.Nullable(Of Integer)) As Integer
6360 If (Start.HasValue = true) Then
6361 Me.Adapter.InsertCommand.Parameters(0).Value = CType(Start.Value,Date)
6363 Me.Adapter.InsertCommand.Parameters(0).Value = Global.System.DBNull.Value
6365 If (_End.HasValue = true) Then
6366 Me.Adapter.InsertCommand.Parameters(1).Value = CType(_End.Value,Date)
6368 Me.Adapter.InsertCommand.Parameters(1).Value = Global.System.DBNull.Value
6370 If (GameID.HasValue = true) Then
6371 Me.Adapter.InsertCommand.Parameters(2).Value = CType(GameID.Value,Integer)
6373 Me.Adapter.InsertCommand.Parameters(2).Value = Global.System.DBNull.Value
6375 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.InsertCommand.Connection.State
6376 If ((Me.Adapter.InsertCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
6377 <> Global.System.Data.ConnectionState.Open) Then
6378 Me.Adapter.InsertCommand.Connection.Open
6381 Dim returnValue As Integer = Me.Adapter.InsertCommand.ExecuteNonQuery
6384 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
6385 Me.Adapter.InsertCommand.Connection.Close
6390 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6391 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
6392 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
6393 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Update, true)> _
6394 Public Overloads Overridable Function Update(ByVal Start As Global.System.Nullable(Of Date), ByVal _End As Global.System.Nullable(Of Date), ByVal GameID As Global.System.Nullable(Of Integer), ByVal Original_DOWID As Integer, ByVal Original_Start As Global.System.Nullable(Of Date), ByVal Original_End As Global.System.Nullable(Of Date), ByVal Original_GameID As Global.System.Nullable(Of Integer)) As Integer
6395 If (Start.HasValue = true) Then
6396 Me.Adapter.UpdateCommand.Parameters(0).Value = CType(Start.Value,Date)
6398 Me.Adapter.UpdateCommand.Parameters(0).Value = Global.System.DBNull.Value
6400 If (_End.HasValue = true) Then
6401 Me.Adapter.UpdateCommand.Parameters(1).Value = CType(_End.Value,Date)
6403 Me.Adapter.UpdateCommand.Parameters(1).Value = Global.System.DBNull.Value
6405 If (GameID.HasValue = true) Then
6406 Me.Adapter.UpdateCommand.Parameters(2).Value = CType(GameID.Value,Integer)
6408 Me.Adapter.UpdateCommand.Parameters(2).Value = Global.System.DBNull.Value
6410 Me.Adapter.UpdateCommand.Parameters(3).Value = CType(Original_DOWID,Integer)
6411 If (Original_Start.HasValue = true) Then
6412 Me.Adapter.UpdateCommand.Parameters(4).Value = CType(0,Object)
6413 Me.Adapter.UpdateCommand.Parameters(5).Value = CType(Original_Start.Value,Date)
6415 Me.Adapter.UpdateCommand.Parameters(4).Value = CType(1,Object)
6416 Me.Adapter.UpdateCommand.Parameters(5).Value = Global.System.DBNull.Value
6418 If (Original_End.HasValue = true) Then
6419 Me.Adapter.UpdateCommand.Parameters(6).Value = CType(0,Object)
6420 Me.Adapter.UpdateCommand.Parameters(7).Value = CType(Original_End.Value,Date)
6422 Me.Adapter.UpdateCommand.Parameters(6).Value = CType(1,Object)
6423 Me.Adapter.UpdateCommand.Parameters(7).Value = Global.System.DBNull.Value
6425 If (Original_GameID.HasValue = true) Then
6426 Me.Adapter.UpdateCommand.Parameters(8).Value = CType(0,Object)
6427 Me.Adapter.UpdateCommand.Parameters(9).Value = CType(Original_GameID.Value,Integer)
6429 Me.Adapter.UpdateCommand.Parameters(8).Value = CType(1,Object)
6430 Me.Adapter.UpdateCommand.Parameters(9).Value = Global.System.DBNull.Value
6432 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.UpdateCommand.Connection.State
6433 If ((Me.Adapter.UpdateCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
6434 <> Global.System.Data.ConnectionState.Open) Then
6435 Me.Adapter.UpdateCommand.Connection.Open
6438 Dim returnValue As Integer = Me.Adapter.UpdateCommand.ExecuteNonQuery
6441 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
6442 Me.Adapter.UpdateCommand.Connection.Close
6449 '''Represents the connection and commands used to retrieve and save data.
6451 <Global.System.ComponentModel.DesignerCategoryAttribute("code"), _
6452 Global.System.ComponentModel.ToolboxItem(true), _
6453 Global.System.ComponentModel.DataObjectAttribute(true), _
6454 Global.System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner"& _
6455 ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"), _
6456 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
6457 Partial Public Class FriendsTableAdapter
6458 Inherits Global.System.ComponentModel.Component
6460 Private WithEvents _adapter As Global.System.Data.OleDb.OleDbDataAdapter
6462 Private _connection As Global.System.Data.OleDb.OleDbConnection
6464 Private _transaction As Global.System.Data.OleDb.OleDbTransaction
6466 Private _commandCollection() As Global.System.Data.OleDb.OleDbCommand
6468 Private _clearBeforeFill As Boolean
6470 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6471 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6474 Me.ClearBeforeFill = true
6477 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6478 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6479 Protected Friend ReadOnly Property Adapter() As Global.System.Data.OleDb.OleDbDataAdapter
6481 If (Me._adapter Is Nothing) Then
6488 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6489 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6490 Friend Property Connection() As Global.System.Data.OleDb.OleDbConnection
6492 If (Me._connection Is Nothing) Then
6495 Return Me._connection
6498 Me._connection = value
6499 If (Not (Me.Adapter.InsertCommand) Is Nothing) Then
6500 Me.Adapter.InsertCommand.Connection = value
6502 If (Not (Me.Adapter.DeleteCommand) Is Nothing) Then
6503 Me.Adapter.DeleteCommand.Connection = value
6505 If (Not (Me.Adapter.UpdateCommand) Is Nothing) Then
6506 Me.Adapter.UpdateCommand.Connection = value
6508 Dim i As Integer = 0
6509 Do While (i < Me.CommandCollection.Length)
6510 If (Not (Me.CommandCollection(i)) Is Nothing) Then
6511 CType(Me.CommandCollection(i),Global.System.Data.OleDb.OleDbCommand).Connection = value
6518 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6519 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6520 Friend Property Transaction() As Global.System.Data.OleDb.OleDbTransaction
6522 Return Me._transaction
6525 Me._transaction = value
6526 Dim i As Integer = 0
6527 Do While (i < Me.CommandCollection.Length)
6528 Me.CommandCollection(i).Transaction = Me._transaction
6531 If ((Not (Me.Adapter) Is Nothing) _
6532 AndAlso (Not (Me.Adapter.DeleteCommand) Is Nothing)) Then
6533 Me.Adapter.DeleteCommand.Transaction = Me._transaction
6535 If ((Not (Me.Adapter) Is Nothing) _
6536 AndAlso (Not (Me.Adapter.InsertCommand) Is Nothing)) Then
6537 Me.Adapter.InsertCommand.Transaction = Me._transaction
6539 If ((Not (Me.Adapter) Is Nothing) _
6540 AndAlso (Not (Me.Adapter.UpdateCommand) Is Nothing)) Then
6541 Me.Adapter.UpdateCommand.Transaction = Me._transaction
6546 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6547 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6548 Protected ReadOnly Property CommandCollection() As Global.System.Data.OleDb.OleDbCommand()
6550 If (Me._commandCollection Is Nothing) Then
6551 Me.InitCommandCollection
6553 Return Me._commandCollection
6557 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6558 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6559 Public Property ClearBeforeFill() As Boolean
6561 Return Me._clearBeforeFill
6564 Me._clearBeforeFill = value
6568 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6569 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6570 Private Sub InitAdapter()
6571 Me._adapter = New Global.System.Data.OleDb.OleDbDataAdapter()
6572 Dim tableMapping As Global.System.Data.Common.DataTableMapping = New Global.System.Data.Common.DataTableMapping()
6573 tableMapping.SourceTable = "Table"
6574 tableMapping.DataSetTable = "Friends"
6575 tableMapping.ColumnMappings.Add("ID", "ID")
6576 tableMapping.ColumnMappings.Add("FriendID", "FriendID")
6577 tableMapping.ColumnMappings.Add("UserID", "UserID")
6578 Me._adapter.TableMappings.Add(tableMapping)
6579 Me._adapter.DeleteCommand = New Global.System.Data.OleDb.OleDbCommand()
6580 Me._adapter.DeleteCommand.Connection = Me.Connection
6581 Me._adapter.DeleteCommand.CommandText = "DELETE FROM `Friends` WHERE ((`ID` = ?) AND ((? = 1 AND `FriendID` IS NULL) OR (`"& _
6582 "FriendID` = ?)) AND ((? = 1 AND `UserID` IS NULL) OR (`UserID` = ?)))"
6583 Me._adapter.DeleteCommand.CommandType = Global.System.Data.CommandType.Text
6584 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_ID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "ID", Global.System.Data.DataRowVersion.Original, false, Nothing))
6585 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IsNull_FriendID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "FriendID", Global.System.Data.DataRowVersion.Original, true, Nothing))
6586 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_FriendID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "FriendID", Global.System.Data.DataRowVersion.Original, false, Nothing))
6587 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IsNull_UserID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "UserID", Global.System.Data.DataRowVersion.Original, true, Nothing))
6588 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_UserID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "UserID", Global.System.Data.DataRowVersion.Original, false, Nothing))
6589 Me._adapter.InsertCommand = New Global.System.Data.OleDb.OleDbCommand()
6590 Me._adapter.InsertCommand.Connection = Me.Connection
6591 Me._adapter.InsertCommand.CommandText = "INSERT INTO `Friends` (`FriendID`, `UserID`) VALUES (?, ?)"
6592 Me._adapter.InsertCommand.CommandType = Global.System.Data.CommandType.Text
6593 Me._adapter.InsertCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("FriendID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "FriendID", Global.System.Data.DataRowVersion.Current, false, Nothing))
6594 Me._adapter.InsertCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("UserID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "UserID", Global.System.Data.DataRowVersion.Current, false, Nothing))
6595 Me._adapter.UpdateCommand = New Global.System.Data.OleDb.OleDbCommand()
6596 Me._adapter.UpdateCommand.Connection = Me.Connection
6597 Me._adapter.UpdateCommand.CommandText = "UPDATE `Friends` SET `FriendID` = ?, `UserID` = ? WHERE ((`ID` = ?) AND ((? = 1 A"& _
6598 "ND `FriendID` IS NULL) OR (`FriendID` = ?)) AND ((? = 1 AND `UserID` IS NULL) OR"& _
6600 Me._adapter.UpdateCommand.CommandType = Global.System.Data.CommandType.Text
6601 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("FriendID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "FriendID", Global.System.Data.DataRowVersion.Current, false, Nothing))
6602 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("UserID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "UserID", Global.System.Data.DataRowVersion.Current, false, Nothing))
6603 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_ID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "ID", Global.System.Data.DataRowVersion.Original, false, Nothing))
6604 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IsNull_FriendID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "FriendID", Global.System.Data.DataRowVersion.Original, true, Nothing))
6605 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_FriendID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "FriendID", Global.System.Data.DataRowVersion.Original, false, Nothing))
6606 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IsNull_UserID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "UserID", Global.System.Data.DataRowVersion.Original, true, Nothing))
6607 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_UserID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "UserID", Global.System.Data.DataRowVersion.Original, false, Nothing))
6610 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6611 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6612 Private Sub InitConnection()
6613 Me._connection = New Global.System.Data.OleDb.OleDbConnection()
6614 Me._connection.ConnectionString = Global.NEA.MySettings.Default.NEAConnectionString_accdb
6617 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6618 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6619 Private Sub InitCommandCollection()
6620 Me._commandCollection = New Global.System.Data.OleDb.OleDbCommand(0) {}
6621 Me._commandCollection(0) = New Global.System.Data.OleDb.OleDbCommand()
6622 Me._commandCollection(0).Connection = Me.Connection
6623 Me._commandCollection(0).CommandText = "SELECT ID, FriendID, UserID FROM Friends"
6624 Me._commandCollection(0).CommandType = Global.System.Data.CommandType.Text
6627 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6628 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
6629 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
6630 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Fill, true)> _
6631 Public Overloads Overridable Function Fill(ByVal dataTable As NEADataSet.FriendsDataTable) As Integer
6632 Me.Adapter.SelectCommand = Me.CommandCollection(0)
6633 If (Me.ClearBeforeFill = true) Then
6636 Dim returnValue As Integer = Me.Adapter.Fill(dataTable)
6640 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6641 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
6642 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
6643 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.[Select], true)> _
6644 Public Overloads Overridable Function GetData() As NEADataSet.FriendsDataTable
6645 Me.Adapter.SelectCommand = Me.CommandCollection(0)
6646 Dim dataTable As NEADataSet.FriendsDataTable = New NEADataSet.FriendsDataTable()
6647 Me.Adapter.Fill(dataTable)
6651 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6652 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
6653 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
6654 Public Overloads Overridable Function Update(ByVal dataTable As NEADataSet.FriendsDataTable) As Integer
6655 Return Me.Adapter.Update(dataTable)
6658 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6659 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
6660 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
6661 Public Overloads Overridable Function Update(ByVal dataSet As NEADataSet) As Integer
6662 Return Me.Adapter.Update(dataSet, "Friends")
6665 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6666 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
6667 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
6668 Public Overloads Overridable Function Update(ByVal dataRow As Global.System.Data.DataRow) As Integer
6669 Return Me.Adapter.Update(New Global.System.Data.DataRow() {dataRow})
6672 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6673 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
6674 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
6675 Public Overloads Overridable Function Update(ByVal dataRows() As Global.System.Data.DataRow) As Integer
6676 Return Me.Adapter.Update(dataRows)
6679 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6680 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
6681 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
6682 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Delete, true)> _
6683 Public Overloads Overridable Function Delete(ByVal Original_ID As Integer, ByVal Original_FriendID As Integer, ByVal Original_UserID As Global.System.Nullable(Of Integer)) As Integer
6684 Me.Adapter.DeleteCommand.Parameters(0).Value = CType(Original_ID,Integer)
6685 Me.Adapter.DeleteCommand.Parameters(1).Value = CType(0,Object)
6686 Me.Adapter.DeleteCommand.Parameters(2).Value = CType(Original_FriendID,Integer)
6687 If (Original_UserID.HasValue = true) Then
6688 Me.Adapter.DeleteCommand.Parameters(3).Value = CType(0,Object)
6689 Me.Adapter.DeleteCommand.Parameters(4).Value = CType(Original_UserID.Value,Integer)
6691 Me.Adapter.DeleteCommand.Parameters(3).Value = CType(1,Object)
6692 Me.Adapter.DeleteCommand.Parameters(4).Value = Global.System.DBNull.Value
6694 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.DeleteCommand.Connection.State
6695 If ((Me.Adapter.DeleteCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
6696 <> Global.System.Data.ConnectionState.Open) Then
6697 Me.Adapter.DeleteCommand.Connection.Open
6700 Dim returnValue As Integer = Me.Adapter.DeleteCommand.ExecuteNonQuery
6703 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
6704 Me.Adapter.DeleteCommand.Connection.Close
6709 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6710 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
6711 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
6712 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Insert, true)> _
6713 Public Overloads Overridable Function Insert(ByVal FriendID As Integer, ByVal UserID As Global.System.Nullable(Of Integer)) As Integer
6714 Me.Adapter.InsertCommand.Parameters(0).Value = CType(FriendID,Integer)
6715 If (UserID.HasValue = true) Then
6716 Me.Adapter.InsertCommand.Parameters(1).Value = CType(UserID.Value,Integer)
6718 Me.Adapter.InsertCommand.Parameters(1).Value = Global.System.DBNull.Value
6720 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.InsertCommand.Connection.State
6721 If ((Me.Adapter.InsertCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
6722 <> Global.System.Data.ConnectionState.Open) Then
6723 Me.Adapter.InsertCommand.Connection.Open
6726 Dim returnValue As Integer = Me.Adapter.InsertCommand.ExecuteNonQuery
6729 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
6730 Me.Adapter.InsertCommand.Connection.Close
6735 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6736 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
6737 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
6738 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Update, true)> _
6739 Public Overloads Overridable Function Update(ByVal FriendID As Integer, ByVal UserID As Global.System.Nullable(Of Integer), ByVal Original_ID As Integer, ByVal Original_FriendID As Integer, ByVal Original_UserID As Global.System.Nullable(Of Integer)) As Integer
6740 Me.Adapter.UpdateCommand.Parameters(0).Value = CType(FriendID,Integer)
6741 If (UserID.HasValue = true) Then
6742 Me.Adapter.UpdateCommand.Parameters(1).Value = CType(UserID.Value,Integer)
6744 Me.Adapter.UpdateCommand.Parameters(1).Value = Global.System.DBNull.Value
6746 Me.Adapter.UpdateCommand.Parameters(2).Value = CType(Original_ID,Integer)
6747 Me.Adapter.UpdateCommand.Parameters(3).Value = CType(0,Object)
6748 Me.Adapter.UpdateCommand.Parameters(4).Value = CType(Original_FriendID,Integer)
6749 If (Original_UserID.HasValue = true) Then
6750 Me.Adapter.UpdateCommand.Parameters(5).Value = CType(0,Object)
6751 Me.Adapter.UpdateCommand.Parameters(6).Value = CType(Original_UserID.Value,Integer)
6753 Me.Adapter.UpdateCommand.Parameters(5).Value = CType(1,Object)
6754 Me.Adapter.UpdateCommand.Parameters(6).Value = Global.System.DBNull.Value
6756 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.UpdateCommand.Connection.State
6757 If ((Me.Adapter.UpdateCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
6758 <> Global.System.Data.ConnectionState.Open) Then
6759 Me.Adapter.UpdateCommand.Connection.Open
6762 Dim returnValue As Integer = Me.Adapter.UpdateCommand.ExecuteNonQuery
6765 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
6766 Me.Adapter.UpdateCommand.Connection.Close
6773 '''Represents the connection and commands used to retrieve and save data.
6775 <Global.System.ComponentModel.DesignerCategoryAttribute("code"), _
6776 Global.System.ComponentModel.ToolboxItem(true), _
6777 Global.System.ComponentModel.DataObjectAttribute(true), _
6778 Global.System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner"& _
6779 ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"), _
6780 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
6781 Partial Public Class GamesTableAdapter
6782 Inherits Global.System.ComponentModel.Component
6784 Private WithEvents _adapter As Global.System.Data.OleDb.OleDbDataAdapter
6786 Private _connection As Global.System.Data.OleDb.OleDbConnection
6788 Private _transaction As Global.System.Data.OleDb.OleDbTransaction
6790 Private _commandCollection() As Global.System.Data.OleDb.OleDbCommand
6792 Private _clearBeforeFill As Boolean
6794 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6795 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6798 Me.ClearBeforeFill = true
6801 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6802 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6803 Protected Friend ReadOnly Property Adapter() As Global.System.Data.OleDb.OleDbDataAdapter
6805 If (Me._adapter Is Nothing) Then
6812 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6813 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6814 Friend Property Connection() As Global.System.Data.OleDb.OleDbConnection
6816 If (Me._connection Is Nothing) Then
6819 Return Me._connection
6822 Me._connection = value
6823 If (Not (Me.Adapter.InsertCommand) Is Nothing) Then
6824 Me.Adapter.InsertCommand.Connection = value
6826 If (Not (Me.Adapter.DeleteCommand) Is Nothing) Then
6827 Me.Adapter.DeleteCommand.Connection = value
6829 If (Not (Me.Adapter.UpdateCommand) Is Nothing) Then
6830 Me.Adapter.UpdateCommand.Connection = value
6832 Dim i As Integer = 0
6833 Do While (i < Me.CommandCollection.Length)
6834 If (Not (Me.CommandCollection(i)) Is Nothing) Then
6835 CType(Me.CommandCollection(i),Global.System.Data.OleDb.OleDbCommand).Connection = value
6842 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6843 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6844 Friend Property Transaction() As Global.System.Data.OleDb.OleDbTransaction
6846 Return Me._transaction
6849 Me._transaction = value
6850 Dim i As Integer = 0
6851 Do While (i < Me.CommandCollection.Length)
6852 Me.CommandCollection(i).Transaction = Me._transaction
6855 If ((Not (Me.Adapter) Is Nothing) _
6856 AndAlso (Not (Me.Adapter.DeleteCommand) Is Nothing)) Then
6857 Me.Adapter.DeleteCommand.Transaction = Me._transaction
6859 If ((Not (Me.Adapter) Is Nothing) _
6860 AndAlso (Not (Me.Adapter.InsertCommand) Is Nothing)) Then
6861 Me.Adapter.InsertCommand.Transaction = Me._transaction
6863 If ((Not (Me.Adapter) Is Nothing) _
6864 AndAlso (Not (Me.Adapter.UpdateCommand) Is Nothing)) Then
6865 Me.Adapter.UpdateCommand.Transaction = Me._transaction
6870 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6871 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6872 Protected ReadOnly Property CommandCollection() As Global.System.Data.OleDb.OleDbCommand()
6874 If (Me._commandCollection Is Nothing) Then
6875 Me.InitCommandCollection
6877 Return Me._commandCollection
6881 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6882 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6883 Public Property ClearBeforeFill() As Boolean
6885 Return Me._clearBeforeFill
6888 Me._clearBeforeFill = value
6892 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6893 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6894 Private Sub InitAdapter()
6895 Me._adapter = New Global.System.Data.OleDb.OleDbDataAdapter()
6896 Dim tableMapping As Global.System.Data.Common.DataTableMapping = New Global.System.Data.Common.DataTableMapping()
6897 tableMapping.SourceTable = "Table"
6898 tableMapping.DataSetTable = "Games"
6899 tableMapping.ColumnMappings.Add("GameID", "GameID")
6900 tableMapping.ColumnMappings.Add("Name", "Name")
6901 tableMapping.ColumnMappings.Add("Price", "Price")
6902 tableMapping.ColumnMappings.Add("Rating", "Rating")
6903 tableMapping.ColumnMappings.Add("Certificate", "Certificate")
6904 tableMapping.ColumnMappings.Add("Dev", "Dev")
6905 tableMapping.ColumnMappings.Add("Publisher", "Publisher")
6906 tableMapping.ColumnMappings.Add("Icon", "Icon")
6907 tableMapping.ColumnMappings.Add("Tags", "Tags")
6908 tableMapping.ColumnMappings.Add("Theme Colour", "Theme Colour")
6909 Me._adapter.TableMappings.Add(tableMapping)
6910 Me._adapter.DeleteCommand = New Global.System.Data.OleDb.OleDbCommand()
6911 Me._adapter.DeleteCommand.Connection = Me.Connection
6912 Me._adapter.DeleteCommand.CommandText = "DELETE FROM `Games` WHERE ((`GameID` = ?) AND ((? = 1 AND `Price` IS NULL) OR (`P"& _
6913 "rice` = ?)) AND ((? = 1 AND `Rating` IS NULL) OR (`Rating` = ?)) AND ((? = 1 AND"& _
6914 " `Certificate` IS NULL) OR (`Certificate` = ?)) AND ((? = 1 AND `Theme Colour` I"& _
6915 "S NULL) OR (`Theme Colour` = ?)))"
6916 Me._adapter.DeleteCommand.CommandType = Global.System.Data.CommandType.Text
6917 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_GameID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "GameID", Global.System.Data.DataRowVersion.Original, false, Nothing))
6918 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IsNull_Price", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Price", Global.System.Data.DataRowVersion.Original, true, Nothing))
6919 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_Price", Global.System.Data.OleDb.OleDbType.Currency, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Price", Global.System.Data.DataRowVersion.Original, false, Nothing))
6920 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IsNull_Rating", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Rating", Global.System.Data.DataRowVersion.Original, true, Nothing))
6921 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_Rating", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Rating", Global.System.Data.DataRowVersion.Original, false, Nothing))
6922 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IsNull_Certificate", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Certificate", Global.System.Data.DataRowVersion.Original, true, Nothing))
6923 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_Certificate", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Certificate", Global.System.Data.DataRowVersion.Original, false, Nothing))
6924 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IsNull_Theme_Colour", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Theme Colour", Global.System.Data.DataRowVersion.Original, true, Nothing))
6925 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_Theme_Colour", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Theme Colour", Global.System.Data.DataRowVersion.Original, false, Nothing))
6926 Me._adapter.InsertCommand = New Global.System.Data.OleDb.OleDbCommand()
6927 Me._adapter.InsertCommand.Connection = Me.Connection
6928 Me._adapter.InsertCommand.CommandText = "INSERT INTO `Games` (`Name`, `Price`, `Rating`, `Certificate`, `Dev`, `Publisher`"& _
6929 ", `Icon`, `Tags`, `Theme Colour`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)"
6930 Me._adapter.InsertCommand.CommandType = Global.System.Data.CommandType.Text
6931 Me._adapter.InsertCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Name", Global.System.Data.OleDb.OleDbType.LongVarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Name", Global.System.Data.DataRowVersion.Current, false, Nothing))
6932 Me._adapter.InsertCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Price", Global.System.Data.OleDb.OleDbType.Currency, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Price", Global.System.Data.DataRowVersion.Current, false, Nothing))
6933 Me._adapter.InsertCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Rating", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Rating", Global.System.Data.DataRowVersion.Current, false, Nothing))
6934 Me._adapter.InsertCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Certificate", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Certificate", Global.System.Data.DataRowVersion.Current, false, Nothing))
6935 Me._adapter.InsertCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Dev", Global.System.Data.OleDb.OleDbType.LongVarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Dev", Global.System.Data.DataRowVersion.Current, false, Nothing))
6936 Me._adapter.InsertCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Publisher", Global.System.Data.OleDb.OleDbType.LongVarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Publisher", Global.System.Data.DataRowVersion.Current, false, Nothing))
6937 Me._adapter.InsertCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Icon", Global.System.Data.OleDb.OleDbType.LongVarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Icon", Global.System.Data.DataRowVersion.Current, false, Nothing))
6938 Me._adapter.InsertCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Tags", Global.System.Data.OleDb.OleDbType.LongVarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Tags", Global.System.Data.DataRowVersion.Current, false, Nothing))
6939 Me._adapter.InsertCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Theme_Colour", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Theme Colour", Global.System.Data.DataRowVersion.Current, false, Nothing))
6940 Me._adapter.UpdateCommand = New Global.System.Data.OleDb.OleDbCommand()
6941 Me._adapter.UpdateCommand.Connection = Me.Connection
6942 Me._adapter.UpdateCommand.CommandText = "UPDATE `Games` SET `Name` = ?, `Price` = ?, `Rating` = ?, `Certificate` = ?, `Dev"& _
6943 "` = ?, `Publisher` = ?, `Icon` = ?, `Tags` = ?, `Theme Colour` = ? WHERE ((`Game"& _
6944 "ID` = ?) AND ((? = 1 AND `Price` IS NULL) OR (`Price` = ?)) AND ((? = 1 AND `Rat"& _
6945 "ing` IS NULL) OR (`Rating` = ?)) AND ((? = 1 AND `Certificate` IS NULL) OR (`Cer"& _
6946 "tificate` = ?)) AND ((? = 1 AND `Theme Colour` IS NULL) OR (`Theme Colour` = ?))"& _
6948 Me._adapter.UpdateCommand.CommandType = Global.System.Data.CommandType.Text
6949 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Name", Global.System.Data.OleDb.OleDbType.LongVarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Name", Global.System.Data.DataRowVersion.Current, false, Nothing))
6950 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Price", Global.System.Data.OleDb.OleDbType.Currency, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Price", Global.System.Data.DataRowVersion.Current, false, Nothing))
6951 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Rating", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Rating", Global.System.Data.DataRowVersion.Current, false, Nothing))
6952 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Certificate", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Certificate", Global.System.Data.DataRowVersion.Current, false, Nothing))
6953 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Dev", Global.System.Data.OleDb.OleDbType.LongVarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Dev", Global.System.Data.DataRowVersion.Current, false, Nothing))
6954 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Publisher", Global.System.Data.OleDb.OleDbType.LongVarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Publisher", Global.System.Data.DataRowVersion.Current, false, Nothing))
6955 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Icon", Global.System.Data.OleDb.OleDbType.LongVarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Icon", Global.System.Data.DataRowVersion.Current, false, Nothing))
6956 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Tags", Global.System.Data.OleDb.OleDbType.LongVarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Tags", Global.System.Data.DataRowVersion.Current, false, Nothing))
6957 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Theme_Colour", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Theme Colour", Global.System.Data.DataRowVersion.Current, false, Nothing))
6958 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_GameID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "GameID", Global.System.Data.DataRowVersion.Original, false, Nothing))
6959 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IsNull_Price", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Price", Global.System.Data.DataRowVersion.Original, true, Nothing))
6960 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_Price", Global.System.Data.OleDb.OleDbType.Currency, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Price", Global.System.Data.DataRowVersion.Original, false, Nothing))
6961 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IsNull_Rating", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Rating", Global.System.Data.DataRowVersion.Original, true, Nothing))
6962 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_Rating", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Rating", Global.System.Data.DataRowVersion.Original, false, Nothing))
6963 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IsNull_Certificate", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Certificate", Global.System.Data.DataRowVersion.Original, true, Nothing))
6964 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_Certificate", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Certificate", Global.System.Data.DataRowVersion.Original, false, Nothing))
6965 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IsNull_Theme_Colour", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Theme Colour", Global.System.Data.DataRowVersion.Original, true, Nothing))
6966 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_Theme_Colour", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Theme Colour", Global.System.Data.DataRowVersion.Original, false, Nothing))
6969 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6970 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6971 Private Sub InitConnection()
6972 Me._connection = New Global.System.Data.OleDb.OleDbConnection()
6973 Me._connection.ConnectionString = Global.NEA.MySettings.Default.NEAConnectionString_accdb
6976 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6977 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6978 Private Sub InitCommandCollection()
6979 Me._commandCollection = New Global.System.Data.OleDb.OleDbCommand(0) {}
6980 Me._commandCollection(0) = New Global.System.Data.OleDb.OleDbCommand()
6981 Me._commandCollection(0).Connection = Me.Connection
6982 Me._commandCollection(0).CommandText = "SELECT GameID, Name, Price, Rating, Certificate, Dev, Publisher, Icon, Tags, [The"& _
6983 "me Colour] FROM Games"
6984 Me._commandCollection(0).CommandType = Global.System.Data.CommandType.Text
6987 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6988 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
6989 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
6990 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Fill, true)> _
6991 Public Overloads Overridable Function Fill(ByVal dataTable As NEADataSet.GamesDataTable) As Integer
6992 Me.Adapter.SelectCommand = Me.CommandCollection(0)
6993 If (Me.ClearBeforeFill = true) Then
6996 Dim returnValue As Integer = Me.Adapter.Fill(dataTable)
7000 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7001 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7002 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
7003 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.[Select], true)> _
7004 Public Overloads Overridable Function GetData() As NEADataSet.GamesDataTable
7005 Me.Adapter.SelectCommand = Me.CommandCollection(0)
7006 Dim dataTable As NEADataSet.GamesDataTable = New NEADataSet.GamesDataTable()
7007 Me.Adapter.Fill(dataTable)
7011 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7012 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7013 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
7014 Public Overloads Overridable Function Update(ByVal dataTable As NEADataSet.GamesDataTable) As Integer
7015 Return Me.Adapter.Update(dataTable)
7018 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7019 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7020 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
7021 Public Overloads Overridable Function Update(ByVal dataSet As NEADataSet) As Integer
7022 Return Me.Adapter.Update(dataSet, "Games")
7025 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7026 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7027 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
7028 Public Overloads Overridable Function Update(ByVal dataRow As Global.System.Data.DataRow) As Integer
7029 Return Me.Adapter.Update(New Global.System.Data.DataRow() {dataRow})
7032 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7033 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7034 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
7035 Public Overloads Overridable Function Update(ByVal dataRows() As Global.System.Data.DataRow) As Integer
7036 Return Me.Adapter.Update(dataRows)
7039 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7040 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7041 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
7042 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Delete, true)> _
7043 Public Overloads Overridable Function Delete(ByVal Original_GameID As Integer, ByVal Original_Price As Global.System.Nullable(Of Decimal), ByVal Original_Rating As Global.System.Nullable(Of Integer), ByVal Original_Certificate As Global.System.Nullable(Of Integer), ByVal Original_Theme_Colour As Global.System.Nullable(Of Integer)) As Integer
7044 Me.Adapter.DeleteCommand.Parameters(0).Value = CType(Original_GameID,Integer)
7045 If (Original_Price.HasValue = true) Then
7046 Me.Adapter.DeleteCommand.Parameters(1).Value = CType(0,Object)
7047 Me.Adapter.DeleteCommand.Parameters(2).Value = CType(Original_Price.Value,Decimal)
7049 Me.Adapter.DeleteCommand.Parameters(1).Value = CType(1,Object)
7050 Me.Adapter.DeleteCommand.Parameters(2).Value = Global.System.DBNull.Value
7052 If (Original_Rating.HasValue = true) Then
7053 Me.Adapter.DeleteCommand.Parameters(3).Value = CType(0,Object)
7054 Me.Adapter.DeleteCommand.Parameters(4).Value = CType(Original_Rating.Value,Integer)
7056 Me.Adapter.DeleteCommand.Parameters(3).Value = CType(1,Object)
7057 Me.Adapter.DeleteCommand.Parameters(4).Value = Global.System.DBNull.Value
7059 If (Original_Certificate.HasValue = true) Then
7060 Me.Adapter.DeleteCommand.Parameters(5).Value = CType(0,Object)
7061 Me.Adapter.DeleteCommand.Parameters(6).Value = CType(Original_Certificate.Value,Integer)
7063 Me.Adapter.DeleteCommand.Parameters(5).Value = CType(1,Object)
7064 Me.Adapter.DeleteCommand.Parameters(6).Value = Global.System.DBNull.Value
7066 If (Original_Theme_Colour.HasValue = true) Then
7067 Me.Adapter.DeleteCommand.Parameters(7).Value = CType(0,Object)
7068 Me.Adapter.DeleteCommand.Parameters(8).Value = CType(Original_Theme_Colour.Value,Integer)
7070 Me.Adapter.DeleteCommand.Parameters(7).Value = CType(1,Object)
7071 Me.Adapter.DeleteCommand.Parameters(8).Value = Global.System.DBNull.Value
7073 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.DeleteCommand.Connection.State
7074 If ((Me.Adapter.DeleteCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
7075 <> Global.System.Data.ConnectionState.Open) Then
7076 Me.Adapter.DeleteCommand.Connection.Open
7079 Dim returnValue As Integer = Me.Adapter.DeleteCommand.ExecuteNonQuery
7082 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
7083 Me.Adapter.DeleteCommand.Connection.Close
7088 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7089 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7090 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
7091 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Insert, true)> _
7092 Public Overloads Overridable Function Insert(ByVal Name As String, ByVal Price As Global.System.Nullable(Of Decimal), ByVal Rating As Global.System.Nullable(Of Integer), ByVal Certificate As Global.System.Nullable(Of Integer), ByVal Dev As String, ByVal Publisher As String, ByVal Icon As String, ByVal Tags As String, ByVal Theme_Colour As Global.System.Nullable(Of Integer)) As Integer
7093 If (Name Is Nothing) Then
7094 Me.Adapter.InsertCommand.Parameters(0).Value = Global.System.DBNull.Value
7096 Me.Adapter.InsertCommand.Parameters(0).Value = CType(Name,String)
7098 If (Price.HasValue = true) Then
7099 Me.Adapter.InsertCommand.Parameters(1).Value = CType(Price.Value,Decimal)
7101 Me.Adapter.InsertCommand.Parameters(1).Value = Global.System.DBNull.Value
7103 If (Rating.HasValue = true) Then
7104 Me.Adapter.InsertCommand.Parameters(2).Value = CType(Rating.Value,Integer)
7106 Me.Adapter.InsertCommand.Parameters(2).Value = Global.System.DBNull.Value
7108 If (Certificate.HasValue = true) Then
7109 Me.Adapter.InsertCommand.Parameters(3).Value = CType(Certificate.Value,Integer)
7111 Me.Adapter.InsertCommand.Parameters(3).Value = Global.System.DBNull.Value
7113 If (Dev Is Nothing) Then
7114 Me.Adapter.InsertCommand.Parameters(4).Value = Global.System.DBNull.Value
7116 Me.Adapter.InsertCommand.Parameters(4).Value = CType(Dev,String)
7118 If (Publisher Is Nothing) Then
7119 Me.Adapter.InsertCommand.Parameters(5).Value = Global.System.DBNull.Value
7121 Me.Adapter.InsertCommand.Parameters(5).Value = CType(Publisher,String)
7123 If (Icon Is Nothing) Then
7124 Me.Adapter.InsertCommand.Parameters(6).Value = Global.System.DBNull.Value
7126 Me.Adapter.InsertCommand.Parameters(6).Value = CType(Icon,String)
7128 If (Tags Is Nothing) Then
7129 Me.Adapter.InsertCommand.Parameters(7).Value = Global.System.DBNull.Value
7131 Me.Adapter.InsertCommand.Parameters(7).Value = CType(Tags,String)
7133 If (Theme_Colour.HasValue = true) Then
7134 Me.Adapter.InsertCommand.Parameters(8).Value = CType(Theme_Colour.Value,Integer)
7136 Me.Adapter.InsertCommand.Parameters(8).Value = Global.System.DBNull.Value
7138 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.InsertCommand.Connection.State
7139 If ((Me.Adapter.InsertCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
7140 <> Global.System.Data.ConnectionState.Open) Then
7141 Me.Adapter.InsertCommand.Connection.Open
7144 Dim returnValue As Integer = Me.Adapter.InsertCommand.ExecuteNonQuery
7147 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
7148 Me.Adapter.InsertCommand.Connection.Close
7153 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7154 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7155 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
7156 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Update, true)> _
7157 Public Overloads Overridable Function Update(ByVal Name As String, ByVal Price As Global.System.Nullable(Of Decimal), ByVal Rating As Global.System.Nullable(Of Integer), ByVal Certificate As Global.System.Nullable(Of Integer), ByVal Dev As String, ByVal Publisher As String, ByVal Icon As String, ByVal Tags As String, ByVal Theme_Colour As Global.System.Nullable(Of Integer), ByVal Original_GameID As Integer, ByVal Original_Price As Global.System.Nullable(Of Decimal), ByVal Original_Rating As Global.System.Nullable(Of Integer), ByVal Original_Certificate As Global.System.Nullable(Of Integer), ByVal Original_Theme_Colour As Global.System.Nullable(Of Integer)) As Integer
7158 If (Name Is Nothing) Then
7159 Me.Adapter.UpdateCommand.Parameters(0).Value = Global.System.DBNull.Value
7161 Me.Adapter.UpdateCommand.Parameters(0).Value = CType(Name,String)
7163 If (Price.HasValue = true) Then
7164 Me.Adapter.UpdateCommand.Parameters(1).Value = CType(Price.Value,Decimal)
7166 Me.Adapter.UpdateCommand.Parameters(1).Value = Global.System.DBNull.Value
7168 If (Rating.HasValue = true) Then
7169 Me.Adapter.UpdateCommand.Parameters(2).Value = CType(Rating.Value,Integer)
7171 Me.Adapter.UpdateCommand.Parameters(2).Value = Global.System.DBNull.Value
7173 If (Certificate.HasValue = true) Then
7174 Me.Adapter.UpdateCommand.Parameters(3).Value = CType(Certificate.Value,Integer)
7176 Me.Adapter.UpdateCommand.Parameters(3).Value = Global.System.DBNull.Value
7178 If (Dev Is Nothing) Then
7179 Me.Adapter.UpdateCommand.Parameters(4).Value = Global.System.DBNull.Value
7181 Me.Adapter.UpdateCommand.Parameters(4).Value = CType(Dev,String)
7183 If (Publisher Is Nothing) Then
7184 Me.Adapter.UpdateCommand.Parameters(5).Value = Global.System.DBNull.Value
7186 Me.Adapter.UpdateCommand.Parameters(5).Value = CType(Publisher,String)
7188 If (Icon Is Nothing) Then
7189 Me.Adapter.UpdateCommand.Parameters(6).Value = Global.System.DBNull.Value
7191 Me.Adapter.UpdateCommand.Parameters(6).Value = CType(Icon,String)
7193 If (Tags Is Nothing) Then
7194 Me.Adapter.UpdateCommand.Parameters(7).Value = Global.System.DBNull.Value
7196 Me.Adapter.UpdateCommand.Parameters(7).Value = CType(Tags,String)
7198 If (Theme_Colour.HasValue = true) Then
7199 Me.Adapter.UpdateCommand.Parameters(8).Value = CType(Theme_Colour.Value,Integer)
7201 Me.Adapter.UpdateCommand.Parameters(8).Value = Global.System.DBNull.Value
7203 Me.Adapter.UpdateCommand.Parameters(9).Value = CType(Original_GameID,Integer)
7204 If (Original_Price.HasValue = true) Then
7205 Me.Adapter.UpdateCommand.Parameters(10).Value = CType(0,Object)
7206 Me.Adapter.UpdateCommand.Parameters(11).Value = CType(Original_Price.Value,Decimal)
7208 Me.Adapter.UpdateCommand.Parameters(10).Value = CType(1,Object)
7209 Me.Adapter.UpdateCommand.Parameters(11).Value = Global.System.DBNull.Value
7211 If (Original_Rating.HasValue = true) Then
7212 Me.Adapter.UpdateCommand.Parameters(12).Value = CType(0,Object)
7213 Me.Adapter.UpdateCommand.Parameters(13).Value = CType(Original_Rating.Value,Integer)
7215 Me.Adapter.UpdateCommand.Parameters(12).Value = CType(1,Object)
7216 Me.Adapter.UpdateCommand.Parameters(13).Value = Global.System.DBNull.Value
7218 If (Original_Certificate.HasValue = true) Then
7219 Me.Adapter.UpdateCommand.Parameters(14).Value = CType(0,Object)
7220 Me.Adapter.UpdateCommand.Parameters(15).Value = CType(Original_Certificate.Value,Integer)
7222 Me.Adapter.UpdateCommand.Parameters(14).Value = CType(1,Object)
7223 Me.Adapter.UpdateCommand.Parameters(15).Value = Global.System.DBNull.Value
7225 If (Original_Theme_Colour.HasValue = true) Then
7226 Me.Adapter.UpdateCommand.Parameters(16).Value = CType(0,Object)
7227 Me.Adapter.UpdateCommand.Parameters(17).Value = CType(Original_Theme_Colour.Value,Integer)
7229 Me.Adapter.UpdateCommand.Parameters(16).Value = CType(1,Object)
7230 Me.Adapter.UpdateCommand.Parameters(17).Value = Global.System.DBNull.Value
7232 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.UpdateCommand.Connection.State
7233 If ((Me.Adapter.UpdateCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
7234 <> Global.System.Data.ConnectionState.Open) Then
7235 Me.Adapter.UpdateCommand.Connection.Open
7238 Dim returnValue As Integer = Me.Adapter.UpdateCommand.ExecuteNonQuery
7241 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
7242 Me.Adapter.UpdateCommand.Connection.Close
7249 '''Represents the connection and commands used to retrieve and save data.
7251 <Global.System.ComponentModel.DesignerCategoryAttribute("code"), _
7252 Global.System.ComponentModel.ToolboxItem(true), _
7253 Global.System.ComponentModel.DataObjectAttribute(true), _
7254 Global.System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner"& _
7255 ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"), _
7256 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
7257 Partial Public Class PurchasedTableAdapter
7258 Inherits Global.System.ComponentModel.Component
7260 Private WithEvents _adapter As Global.System.Data.OleDb.OleDbDataAdapter
7262 Private _connection As Global.System.Data.OleDb.OleDbConnection
7264 Private _transaction As Global.System.Data.OleDb.OleDbTransaction
7266 Private _commandCollection() As Global.System.Data.OleDb.OleDbCommand
7268 Private _clearBeforeFill As Boolean
7270 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7271 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7274 Me.ClearBeforeFill = true
7277 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7278 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7279 Protected Friend ReadOnly Property Adapter() As Global.System.Data.OleDb.OleDbDataAdapter
7281 If (Me._adapter Is Nothing) Then
7288 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7289 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7290 Friend Property Connection() As Global.System.Data.OleDb.OleDbConnection
7292 If (Me._connection Is Nothing) Then
7295 Return Me._connection
7298 Me._connection = value
7299 If (Not (Me.Adapter.InsertCommand) Is Nothing) Then
7300 Me.Adapter.InsertCommand.Connection = value
7302 If (Not (Me.Adapter.DeleteCommand) Is Nothing) Then
7303 Me.Adapter.DeleteCommand.Connection = value
7305 If (Not (Me.Adapter.UpdateCommand) Is Nothing) Then
7306 Me.Adapter.UpdateCommand.Connection = value
7308 Dim i As Integer = 0
7309 Do While (i < Me.CommandCollection.Length)
7310 If (Not (Me.CommandCollection(i)) Is Nothing) Then
7311 CType(Me.CommandCollection(i),Global.System.Data.OleDb.OleDbCommand).Connection = value
7318 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7319 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7320 Friend Property Transaction() As Global.System.Data.OleDb.OleDbTransaction
7322 Return Me._transaction
7325 Me._transaction = value
7326 Dim i As Integer = 0
7327 Do While (i < Me.CommandCollection.Length)
7328 Me.CommandCollection(i).Transaction = Me._transaction
7331 If ((Not (Me.Adapter) Is Nothing) _
7332 AndAlso (Not (Me.Adapter.DeleteCommand) Is Nothing)) Then
7333 Me.Adapter.DeleteCommand.Transaction = Me._transaction
7335 If ((Not (Me.Adapter) Is Nothing) _
7336 AndAlso (Not (Me.Adapter.InsertCommand) Is Nothing)) Then
7337 Me.Adapter.InsertCommand.Transaction = Me._transaction
7339 If ((Not (Me.Adapter) Is Nothing) _
7340 AndAlso (Not (Me.Adapter.UpdateCommand) Is Nothing)) Then
7341 Me.Adapter.UpdateCommand.Transaction = Me._transaction
7346 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7347 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7348 Protected ReadOnly Property CommandCollection() As Global.System.Data.OleDb.OleDbCommand()
7350 If (Me._commandCollection Is Nothing) Then
7351 Me.InitCommandCollection
7353 Return Me._commandCollection
7357 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7358 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7359 Public Property ClearBeforeFill() As Boolean
7361 Return Me._clearBeforeFill
7364 Me._clearBeforeFill = value
7368 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7369 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7370 Private Sub InitAdapter()
7371 Me._adapter = New Global.System.Data.OleDb.OleDbDataAdapter()
7372 Dim tableMapping As Global.System.Data.Common.DataTableMapping = New Global.System.Data.Common.DataTableMapping()
7373 tableMapping.SourceTable = "Table"
7374 tableMapping.DataSetTable = "Purchased"
7375 tableMapping.ColumnMappings.Add("PurchaseID", "PurchaseID")
7376 tableMapping.ColumnMappings.Add("UserID", "UserID")
7377 tableMapping.ColumnMappings.Add("GameID", "GameID")
7378 Me._adapter.TableMappings.Add(tableMapping)
7379 Me._adapter.DeleteCommand = New Global.System.Data.OleDb.OleDbCommand()
7380 Me._adapter.DeleteCommand.Connection = Me.Connection
7381 Me._adapter.DeleteCommand.CommandText = "DELETE FROM `Purchased` WHERE ((`PurchaseID` = ?) AND ((? = 1 AND `UserID` IS NUL"& _
7382 "L) OR (`UserID` = ?)) AND ((? = 1 AND `GameID` IS NULL) OR (`GameID` = ?)))"
7383 Me._adapter.DeleteCommand.CommandType = Global.System.Data.CommandType.Text
7384 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_PurchaseID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "PurchaseID", Global.System.Data.DataRowVersion.Original, false, Nothing))
7385 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IsNull_UserID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "UserID", Global.System.Data.DataRowVersion.Original, true, Nothing))
7386 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_UserID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "UserID", Global.System.Data.DataRowVersion.Original, false, Nothing))
7387 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IsNull_GameID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "GameID", Global.System.Data.DataRowVersion.Original, true, Nothing))
7388 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_GameID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "GameID", Global.System.Data.DataRowVersion.Original, false, Nothing))
7389 Me._adapter.InsertCommand = New Global.System.Data.OleDb.OleDbCommand()
7390 Me._adapter.InsertCommand.Connection = Me.Connection
7391 Me._adapter.InsertCommand.CommandText = "INSERT INTO `Purchased` (`UserID`, `GameID`) VALUES (?, ?)"
7392 Me._adapter.InsertCommand.CommandType = Global.System.Data.CommandType.Text
7393 Me._adapter.InsertCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("UserID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "UserID", Global.System.Data.DataRowVersion.Current, false, Nothing))
7394 Me._adapter.InsertCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("GameID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "GameID", Global.System.Data.DataRowVersion.Current, false, Nothing))
7395 Me._adapter.UpdateCommand = New Global.System.Data.OleDb.OleDbCommand()
7396 Me._adapter.UpdateCommand.Connection = Me.Connection
7397 Me._adapter.UpdateCommand.CommandText = "UPDATE `Purchased` SET `UserID` = ?, `GameID` = ? WHERE ((`PurchaseID` = ?) AND ("& _
7398 "(? = 1 AND `UserID` IS NULL) OR (`UserID` = ?)) AND ((? = 1 AND `GameID` IS NULL"& _
7399 ") OR (`GameID` = ?)))"
7400 Me._adapter.UpdateCommand.CommandType = Global.System.Data.CommandType.Text
7401 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("UserID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "UserID", Global.System.Data.DataRowVersion.Current, false, Nothing))
7402 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("GameID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "GameID", Global.System.Data.DataRowVersion.Current, false, Nothing))
7403 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_PurchaseID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "PurchaseID", Global.System.Data.DataRowVersion.Original, false, Nothing))
7404 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IsNull_UserID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "UserID", Global.System.Data.DataRowVersion.Original, true, Nothing))
7405 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_UserID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "UserID", Global.System.Data.DataRowVersion.Original, false, Nothing))
7406 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IsNull_GameID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "GameID", Global.System.Data.DataRowVersion.Original, true, Nothing))
7407 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_GameID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "GameID", Global.System.Data.DataRowVersion.Original, false, Nothing))
7410 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7411 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7412 Private Sub InitConnection()
7413 Me._connection = New Global.System.Data.OleDb.OleDbConnection()
7414 Me._connection.ConnectionString = Global.NEA.MySettings.Default.NEAConnectionString_accdb
7417 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7418 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7419 Private Sub InitCommandCollection()
7420 Me._commandCollection = New Global.System.Data.OleDb.OleDbCommand(0) {}
7421 Me._commandCollection(0) = New Global.System.Data.OleDb.OleDbCommand()
7422 Me._commandCollection(0).Connection = Me.Connection
7423 Me._commandCollection(0).CommandText = "SELECT PurchaseID, UserID, GameID FROM Purchased"
7424 Me._commandCollection(0).CommandType = Global.System.Data.CommandType.Text
7427 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7428 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7429 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
7430 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Fill, true)> _
7431 Public Overloads Overridable Function Fill(ByVal dataTable As NEADataSet.PurchasedDataTable) As Integer
7432 Me.Adapter.SelectCommand = Me.CommandCollection(0)
7433 If (Me.ClearBeforeFill = true) Then
7436 Dim returnValue As Integer = Me.Adapter.Fill(dataTable)
7440 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7441 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7442 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
7443 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.[Select], true)> _
7444 Public Overloads Overridable Function GetData() As NEADataSet.PurchasedDataTable
7445 Me.Adapter.SelectCommand = Me.CommandCollection(0)
7446 Dim dataTable As NEADataSet.PurchasedDataTable = New NEADataSet.PurchasedDataTable()
7447 Me.Adapter.Fill(dataTable)
7451 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7452 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7453 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
7454 Public Overloads Overridable Function Update(ByVal dataTable As NEADataSet.PurchasedDataTable) As Integer
7455 Return Me.Adapter.Update(dataTable)
7458 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7459 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7460 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
7461 Public Overloads Overridable Function Update(ByVal dataSet As NEADataSet) As Integer
7462 Return Me.Adapter.Update(dataSet, "Purchased")
7465 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7466 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7467 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
7468 Public Overloads Overridable Function Update(ByVal dataRow As Global.System.Data.DataRow) As Integer
7469 Return Me.Adapter.Update(New Global.System.Data.DataRow() {dataRow})
7472 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7473 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7474 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
7475 Public Overloads Overridable Function Update(ByVal dataRows() As Global.System.Data.DataRow) As Integer
7476 Return Me.Adapter.Update(dataRows)
7479 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7480 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7481 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
7482 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Delete, true)> _
7483 Public Overloads Overridable Function Delete(ByVal Original_PurchaseID As Integer, ByVal Original_UserID As Global.System.Nullable(Of Integer), ByVal Original_GameID As Global.System.Nullable(Of Integer)) As Integer
7484 Me.Adapter.DeleteCommand.Parameters(0).Value = CType(Original_PurchaseID,Integer)
7485 If (Original_UserID.HasValue = true) Then
7486 Me.Adapter.DeleteCommand.Parameters(1).Value = CType(0,Object)
7487 Me.Adapter.DeleteCommand.Parameters(2).Value = CType(Original_UserID.Value,Integer)
7489 Me.Adapter.DeleteCommand.Parameters(1).Value = CType(1,Object)
7490 Me.Adapter.DeleteCommand.Parameters(2).Value = Global.System.DBNull.Value
7492 If (Original_GameID.HasValue = true) Then
7493 Me.Adapter.DeleteCommand.Parameters(3).Value = CType(0,Object)
7494 Me.Adapter.DeleteCommand.Parameters(4).Value = CType(Original_GameID.Value,Integer)
7496 Me.Adapter.DeleteCommand.Parameters(3).Value = CType(1,Object)
7497 Me.Adapter.DeleteCommand.Parameters(4).Value = Global.System.DBNull.Value
7499 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.DeleteCommand.Connection.State
7500 If ((Me.Adapter.DeleteCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
7501 <> Global.System.Data.ConnectionState.Open) Then
7502 Me.Adapter.DeleteCommand.Connection.Open
7505 Dim returnValue As Integer = Me.Adapter.DeleteCommand.ExecuteNonQuery
7508 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
7509 Me.Adapter.DeleteCommand.Connection.Close
7514 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7515 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7516 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
7517 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Insert, true)> _
7518 Public Overloads Overridable Function Insert(ByVal UserID As Global.System.Nullable(Of Integer), ByVal GameID As Global.System.Nullable(Of Integer)) As Integer
7519 If (UserID.HasValue = true) Then
7520 Me.Adapter.InsertCommand.Parameters(0).Value = CType(UserID.Value,Integer)
7522 Me.Adapter.InsertCommand.Parameters(0).Value = Global.System.DBNull.Value
7524 If (GameID.HasValue = true) Then
7525 Me.Adapter.InsertCommand.Parameters(1).Value = CType(GameID.Value,Integer)
7527 Me.Adapter.InsertCommand.Parameters(1).Value = Global.System.DBNull.Value
7529 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.InsertCommand.Connection.State
7530 If ((Me.Adapter.InsertCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
7531 <> Global.System.Data.ConnectionState.Open) Then
7532 Me.Adapter.InsertCommand.Connection.Open
7535 Dim returnValue As Integer = Me.Adapter.InsertCommand.ExecuteNonQuery
7538 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
7539 Me.Adapter.InsertCommand.Connection.Close
7544 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7545 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7546 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
7547 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Update, true)> _
7548 Public Overloads Overridable Function Update(ByVal UserID As Global.System.Nullable(Of Integer), ByVal GameID As Global.System.Nullable(Of Integer), ByVal Original_PurchaseID As Integer, ByVal Original_UserID As Global.System.Nullable(Of Integer), ByVal Original_GameID As Global.System.Nullable(Of Integer)) As Integer
7549 If (UserID.HasValue = true) Then
7550 Me.Adapter.UpdateCommand.Parameters(0).Value = CType(UserID.Value,Integer)
7552 Me.Adapter.UpdateCommand.Parameters(0).Value = Global.System.DBNull.Value
7554 If (GameID.HasValue = true) Then
7555 Me.Adapter.UpdateCommand.Parameters(1).Value = CType(GameID.Value,Integer)
7557 Me.Adapter.UpdateCommand.Parameters(1).Value = Global.System.DBNull.Value
7559 Me.Adapter.UpdateCommand.Parameters(2).Value = CType(Original_PurchaseID,Integer)
7560 If (Original_UserID.HasValue = true) Then
7561 Me.Adapter.UpdateCommand.Parameters(3).Value = CType(0,Object)
7562 Me.Adapter.UpdateCommand.Parameters(4).Value = CType(Original_UserID.Value,Integer)
7564 Me.Adapter.UpdateCommand.Parameters(3).Value = CType(1,Object)
7565 Me.Adapter.UpdateCommand.Parameters(4).Value = Global.System.DBNull.Value
7567 If (Original_GameID.HasValue = true) Then
7568 Me.Adapter.UpdateCommand.Parameters(5).Value = CType(0,Object)
7569 Me.Adapter.UpdateCommand.Parameters(6).Value = CType(Original_GameID.Value,Integer)
7571 Me.Adapter.UpdateCommand.Parameters(5).Value = CType(1,Object)
7572 Me.Adapter.UpdateCommand.Parameters(6).Value = Global.System.DBNull.Value
7574 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.UpdateCommand.Connection.State
7575 If ((Me.Adapter.UpdateCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
7576 <> Global.System.Data.ConnectionState.Open) Then
7577 Me.Adapter.UpdateCommand.Connection.Open
7580 Dim returnValue As Integer = Me.Adapter.UpdateCommand.ExecuteNonQuery
7583 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
7584 Me.Adapter.UpdateCommand.Connection.Close
7591 '''Represents the connection and commands used to retrieve and save data.
7593 <Global.System.ComponentModel.DesignerCategoryAttribute("code"), _
7594 Global.System.ComponentModel.ToolboxItem(true), _
7595 Global.System.ComponentModel.DataObjectAttribute(true), _
7596 Global.System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner"& _
7597 ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"), _
7598 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
7599 Partial Public Class ReviewsTableAdapter
7600 Inherits Global.System.ComponentModel.Component
7602 Private WithEvents _adapter As Global.System.Data.OleDb.OleDbDataAdapter
7604 Private _connection As Global.System.Data.OleDb.OleDbConnection
7606 Private _transaction As Global.System.Data.OleDb.OleDbTransaction
7608 Private _commandCollection() As Global.System.Data.OleDb.OleDbCommand
7610 Private _clearBeforeFill As Boolean
7612 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7613 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7616 Me.ClearBeforeFill = true
7619 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7620 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7621 Protected Friend ReadOnly Property Adapter() As Global.System.Data.OleDb.OleDbDataAdapter
7623 If (Me._adapter Is Nothing) Then
7630 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7631 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7632 Friend Property Connection() As Global.System.Data.OleDb.OleDbConnection
7634 If (Me._connection Is Nothing) Then
7637 Return Me._connection
7640 Me._connection = value
7641 If (Not (Me.Adapter.InsertCommand) Is Nothing) Then
7642 Me.Adapter.InsertCommand.Connection = value
7644 If (Not (Me.Adapter.DeleteCommand) Is Nothing) Then
7645 Me.Adapter.DeleteCommand.Connection = value
7647 If (Not (Me.Adapter.UpdateCommand) Is Nothing) Then
7648 Me.Adapter.UpdateCommand.Connection = value
7650 Dim i As Integer = 0
7651 Do While (i < Me.CommandCollection.Length)
7652 If (Not (Me.CommandCollection(i)) Is Nothing) Then
7653 CType(Me.CommandCollection(i),Global.System.Data.OleDb.OleDbCommand).Connection = value
7660 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7661 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7662 Friend Property Transaction() As Global.System.Data.OleDb.OleDbTransaction
7664 Return Me._transaction
7667 Me._transaction = value
7668 Dim i As Integer = 0
7669 Do While (i < Me.CommandCollection.Length)
7670 Me.CommandCollection(i).Transaction = Me._transaction
7673 If ((Not (Me.Adapter) Is Nothing) _
7674 AndAlso (Not (Me.Adapter.DeleteCommand) Is Nothing)) Then
7675 Me.Adapter.DeleteCommand.Transaction = Me._transaction
7677 If ((Not (Me.Adapter) Is Nothing) _
7678 AndAlso (Not (Me.Adapter.InsertCommand) Is Nothing)) Then
7679 Me.Adapter.InsertCommand.Transaction = Me._transaction
7681 If ((Not (Me.Adapter) Is Nothing) _
7682 AndAlso (Not (Me.Adapter.UpdateCommand) Is Nothing)) Then
7683 Me.Adapter.UpdateCommand.Transaction = Me._transaction
7688 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7689 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7690 Protected ReadOnly Property CommandCollection() As Global.System.Data.OleDb.OleDbCommand()
7692 If (Me._commandCollection Is Nothing) Then
7693 Me.InitCommandCollection
7695 Return Me._commandCollection
7699 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7700 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7701 Public Property ClearBeforeFill() As Boolean
7703 Return Me._clearBeforeFill
7706 Me._clearBeforeFill = value
7710 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7711 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7712 Private Sub InitAdapter()
7713 Me._adapter = New Global.System.Data.OleDb.OleDbDataAdapter()
7714 Dim tableMapping As Global.System.Data.Common.DataTableMapping = New Global.System.Data.Common.DataTableMapping()
7715 tableMapping.SourceTable = "Table"
7716 tableMapping.DataSetTable = "Reviews"
7717 tableMapping.ColumnMappings.Add("ReviewID", "ReviewID")
7718 tableMapping.ColumnMappings.Add("GameID", "GameID")
7719 tableMapping.ColumnMappings.Add("Review", "Review")
7720 Me._adapter.TableMappings.Add(tableMapping)
7721 Me._adapter.DeleteCommand = New Global.System.Data.OleDb.OleDbCommand()
7722 Me._adapter.DeleteCommand.Connection = Me.Connection
7723 Me._adapter.DeleteCommand.CommandText = "DELETE FROM `Reviews` WHERE ((`ReviewID` = ?) AND ((? = 1 AND `GameID` IS NULL) O"& _
7724 "R (`GameID` = ?)))"
7725 Me._adapter.DeleteCommand.CommandType = Global.System.Data.CommandType.Text
7726 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_ReviewID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "ReviewID", Global.System.Data.DataRowVersion.Original, false, Nothing))
7727 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IsNull_GameID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "GameID", Global.System.Data.DataRowVersion.Original, true, Nothing))
7728 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_GameID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "GameID", Global.System.Data.DataRowVersion.Original, false, Nothing))
7729 Me._adapter.InsertCommand = New Global.System.Data.OleDb.OleDbCommand()
7730 Me._adapter.InsertCommand.Connection = Me.Connection
7731 Me._adapter.InsertCommand.CommandText = "INSERT INTO `Reviews` (`GameID`, `Review`) VALUES (?, ?)"
7732 Me._adapter.InsertCommand.CommandType = Global.System.Data.CommandType.Text
7733 Me._adapter.InsertCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("GameID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "GameID", Global.System.Data.DataRowVersion.Current, false, Nothing))
7734 Me._adapter.InsertCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Review", Global.System.Data.OleDb.OleDbType.LongVarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Review", Global.System.Data.DataRowVersion.Current, false, Nothing))
7735 Me._adapter.UpdateCommand = New Global.System.Data.OleDb.OleDbCommand()
7736 Me._adapter.UpdateCommand.Connection = Me.Connection
7737 Me._adapter.UpdateCommand.CommandText = "UPDATE `Reviews` SET `GameID` = ?, `Review` = ? WHERE ((`ReviewID` = ?) AND ((? ="& _
7738 " 1 AND `GameID` IS NULL) OR (`GameID` = ?)))"
7739 Me._adapter.UpdateCommand.CommandType = Global.System.Data.CommandType.Text
7740 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("GameID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "GameID", Global.System.Data.DataRowVersion.Current, false, Nothing))
7741 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Review", Global.System.Data.OleDb.OleDbType.LongVarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Review", Global.System.Data.DataRowVersion.Current, false, Nothing))
7742 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_ReviewID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "ReviewID", Global.System.Data.DataRowVersion.Original, false, Nothing))
7743 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IsNull_GameID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "GameID", Global.System.Data.DataRowVersion.Original, true, Nothing))
7744 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_GameID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "GameID", Global.System.Data.DataRowVersion.Original, false, Nothing))
7747 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7748 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7749 Private Sub InitConnection()
7750 Me._connection = New Global.System.Data.OleDb.OleDbConnection()
7751 Me._connection.ConnectionString = Global.NEA.MySettings.Default.NEAConnectionString_accdb
7754 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7755 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7756 Private Sub InitCommandCollection()
7757 Me._commandCollection = New Global.System.Data.OleDb.OleDbCommand(0) {}
7758 Me._commandCollection(0) = New Global.System.Data.OleDb.OleDbCommand()
7759 Me._commandCollection(0).Connection = Me.Connection
7760 Me._commandCollection(0).CommandText = "SELECT ReviewID, GameID, Review FROM Reviews"
7761 Me._commandCollection(0).CommandType = Global.System.Data.CommandType.Text
7764 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7765 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7766 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
7767 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Fill, true)> _
7768 Public Overloads Overridable Function Fill(ByVal dataTable As NEADataSet.ReviewsDataTable) As Integer
7769 Me.Adapter.SelectCommand = Me.CommandCollection(0)
7770 If (Me.ClearBeforeFill = true) Then
7773 Dim returnValue As Integer = Me.Adapter.Fill(dataTable)
7777 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7778 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7779 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
7780 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.[Select], true)> _
7781 Public Overloads Overridable Function GetData() As NEADataSet.ReviewsDataTable
7782 Me.Adapter.SelectCommand = Me.CommandCollection(0)
7783 Dim dataTable As NEADataSet.ReviewsDataTable = New NEADataSet.ReviewsDataTable()
7784 Me.Adapter.Fill(dataTable)
7788 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7789 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7790 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
7791 Public Overloads Overridable Function Update(ByVal dataTable As NEADataSet.ReviewsDataTable) As Integer
7792 Return Me.Adapter.Update(dataTable)
7795 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7796 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7797 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
7798 Public Overloads Overridable Function Update(ByVal dataSet As NEADataSet) As Integer
7799 Return Me.Adapter.Update(dataSet, "Reviews")
7802 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7803 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7804 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
7805 Public Overloads Overridable Function Update(ByVal dataRow As Global.System.Data.DataRow) As Integer
7806 Return Me.Adapter.Update(New Global.System.Data.DataRow() {dataRow})
7809 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7810 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7811 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
7812 Public Overloads Overridable Function Update(ByVal dataRows() As Global.System.Data.DataRow) As Integer
7813 Return Me.Adapter.Update(dataRows)
7816 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7817 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7818 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
7819 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Delete, true)> _
7820 Public Overloads Overridable Function Delete(ByVal Original_ReviewID As Integer, ByVal Original_GameID As Global.System.Nullable(Of Integer)) As Integer
7821 Me.Adapter.DeleteCommand.Parameters(0).Value = CType(Original_ReviewID,Integer)
7822 If (Original_GameID.HasValue = true) Then
7823 Me.Adapter.DeleteCommand.Parameters(1).Value = CType(0,Object)
7824 Me.Adapter.DeleteCommand.Parameters(2).Value = CType(Original_GameID.Value,Integer)
7826 Me.Adapter.DeleteCommand.Parameters(1).Value = CType(1,Object)
7827 Me.Adapter.DeleteCommand.Parameters(2).Value = Global.System.DBNull.Value
7829 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.DeleteCommand.Connection.State
7830 If ((Me.Adapter.DeleteCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
7831 <> Global.System.Data.ConnectionState.Open) Then
7832 Me.Adapter.DeleteCommand.Connection.Open
7835 Dim returnValue As Integer = Me.Adapter.DeleteCommand.ExecuteNonQuery
7838 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
7839 Me.Adapter.DeleteCommand.Connection.Close
7844 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7845 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7846 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
7847 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Insert, true)> _
7848 Public Overloads Overridable Function Insert(ByVal GameID As Global.System.Nullable(Of Integer), ByVal Review As String) As Integer
7849 If (GameID.HasValue = true) Then
7850 Me.Adapter.InsertCommand.Parameters(0).Value = CType(GameID.Value,Integer)
7852 Me.Adapter.InsertCommand.Parameters(0).Value = Global.System.DBNull.Value
7854 If (Review Is Nothing) Then
7855 Me.Adapter.InsertCommand.Parameters(1).Value = Global.System.DBNull.Value
7857 Me.Adapter.InsertCommand.Parameters(1).Value = CType(Review,String)
7859 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.InsertCommand.Connection.State
7860 If ((Me.Adapter.InsertCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
7861 <> Global.System.Data.ConnectionState.Open) Then
7862 Me.Adapter.InsertCommand.Connection.Open
7865 Dim returnValue As Integer = Me.Adapter.InsertCommand.ExecuteNonQuery
7868 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
7869 Me.Adapter.InsertCommand.Connection.Close
7874 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7875 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7876 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
7877 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Update, true)> _
7878 Public Overloads Overridable Function Update(ByVal GameID As Global.System.Nullable(Of Integer), ByVal Review As String, ByVal Original_ReviewID As Integer, ByVal Original_GameID As Global.System.Nullable(Of Integer)) As Integer
7879 If (GameID.HasValue = true) Then
7880 Me.Adapter.UpdateCommand.Parameters(0).Value = CType(GameID.Value,Integer)
7882 Me.Adapter.UpdateCommand.Parameters(0).Value = Global.System.DBNull.Value
7884 If (Review Is Nothing) Then
7885 Me.Adapter.UpdateCommand.Parameters(1).Value = Global.System.DBNull.Value
7887 Me.Adapter.UpdateCommand.Parameters(1).Value = CType(Review,String)
7889 Me.Adapter.UpdateCommand.Parameters(2).Value = CType(Original_ReviewID,Integer)
7890 If (Original_GameID.HasValue = true) Then
7891 Me.Adapter.UpdateCommand.Parameters(3).Value = CType(0,Object)
7892 Me.Adapter.UpdateCommand.Parameters(4).Value = CType(Original_GameID.Value,Integer)
7894 Me.Adapter.UpdateCommand.Parameters(3).Value = CType(1,Object)
7895 Me.Adapter.UpdateCommand.Parameters(4).Value = Global.System.DBNull.Value
7897 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.UpdateCommand.Connection.State
7898 If ((Me.Adapter.UpdateCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
7899 <> Global.System.Data.ConnectionState.Open) Then
7900 Me.Adapter.UpdateCommand.Connection.Open
7903 Dim returnValue As Integer = Me.Adapter.UpdateCommand.ExecuteNonQuery
7906 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
7907 Me.Adapter.UpdateCommand.Connection.Close
7914 '''Represents the connection and commands used to retrieve and save data.
7916 <Global.System.ComponentModel.DesignerCategoryAttribute("code"), _
7917 Global.System.ComponentModel.ToolboxItem(true), _
7918 Global.System.ComponentModel.DataObjectAttribute(true), _
7919 Global.System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner"& _
7920 ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"), _
7921 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
7922 Partial Public Class TagsTableAdapter
7923 Inherits Global.System.ComponentModel.Component
7925 Private WithEvents _adapter As Global.System.Data.OleDb.OleDbDataAdapter
7927 Private _connection As Global.System.Data.OleDb.OleDbConnection
7929 Private _transaction As Global.System.Data.OleDb.OleDbTransaction
7931 Private _commandCollection() As Global.System.Data.OleDb.OleDbCommand
7933 Private _clearBeforeFill As Boolean
7935 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7936 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7939 Me.ClearBeforeFill = true
7942 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7943 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7944 Protected Friend ReadOnly Property Adapter() As Global.System.Data.OleDb.OleDbDataAdapter
7946 If (Me._adapter Is Nothing) Then
7953 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7954 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7955 Friend Property Connection() As Global.System.Data.OleDb.OleDbConnection
7957 If (Me._connection Is Nothing) Then
7960 Return Me._connection
7963 Me._connection = value
7964 If (Not (Me.Adapter.InsertCommand) Is Nothing) Then
7965 Me.Adapter.InsertCommand.Connection = value
7967 If (Not (Me.Adapter.DeleteCommand) Is Nothing) Then
7968 Me.Adapter.DeleteCommand.Connection = value
7970 If (Not (Me.Adapter.UpdateCommand) Is Nothing) Then
7971 Me.Adapter.UpdateCommand.Connection = value
7973 Dim i As Integer = 0
7974 Do While (i < Me.CommandCollection.Length)
7975 If (Not (Me.CommandCollection(i)) Is Nothing) Then
7976 CType(Me.CommandCollection(i),Global.System.Data.OleDb.OleDbCommand).Connection = value
7983 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7984 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7985 Friend Property Transaction() As Global.System.Data.OleDb.OleDbTransaction
7987 Return Me._transaction
7990 Me._transaction = value
7991 Dim i As Integer = 0
7992 Do While (i < Me.CommandCollection.Length)
7993 Me.CommandCollection(i).Transaction = Me._transaction
7996 If ((Not (Me.Adapter) Is Nothing) _
7997 AndAlso (Not (Me.Adapter.DeleteCommand) Is Nothing)) Then
7998 Me.Adapter.DeleteCommand.Transaction = Me._transaction
8000 If ((Not (Me.Adapter) Is Nothing) _
8001 AndAlso (Not (Me.Adapter.InsertCommand) Is Nothing)) Then
8002 Me.Adapter.InsertCommand.Transaction = Me._transaction
8004 If ((Not (Me.Adapter) Is Nothing) _
8005 AndAlso (Not (Me.Adapter.UpdateCommand) Is Nothing)) Then
8006 Me.Adapter.UpdateCommand.Transaction = Me._transaction
8011 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8012 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8013 Protected ReadOnly Property CommandCollection() As Global.System.Data.OleDb.OleDbCommand()
8015 If (Me._commandCollection Is Nothing) Then
8016 Me.InitCommandCollection
8018 Return Me._commandCollection
8022 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8023 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8024 Public Property ClearBeforeFill() As Boolean
8026 Return Me._clearBeforeFill
8029 Me._clearBeforeFill = value
8033 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8034 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8035 Private Sub InitAdapter()
8036 Me._adapter = New Global.System.Data.OleDb.OleDbDataAdapter()
8037 Dim tableMapping As Global.System.Data.Common.DataTableMapping = New Global.System.Data.Common.DataTableMapping()
8038 tableMapping.SourceTable = "Table"
8039 tableMapping.DataSetTable = "Tags"
8040 tableMapping.ColumnMappings.Add("ID", "ID")
8041 Me._adapter.TableMappings.Add(tableMapping)
8042 Me._adapter.DeleteCommand = New Global.System.Data.OleDb.OleDbCommand()
8043 Me._adapter.DeleteCommand.Connection = Me.Connection
8044 Me._adapter.DeleteCommand.CommandText = "DELETE FROM `Tags` WHERE ((`ID` = ?))"
8045 Me._adapter.DeleteCommand.CommandType = Global.System.Data.CommandType.Text
8046 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_ID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "ID", Global.System.Data.DataRowVersion.Original, false, Nothing))
8047 Me._adapter.InsertCommand = New Global.System.Data.OleDb.OleDbCommand()
8048 Me._adapter.InsertCommand.Connection = Me.Connection
8049 Me._adapter.InsertCommand.CommandText = "INSERT INTO `Tags` DEFAULT VALUES"
8050 Me._adapter.InsertCommand.CommandType = Global.System.Data.CommandType.Text
8051 Me._adapter.UpdateCommand = New Global.System.Data.OleDb.OleDbCommand()
8052 Me._adapter.UpdateCommand.Connection = Me.Connection
8053 Me._adapter.UpdateCommand.CommandText = "UPDATE `Tags` WHERE ((`ID` = ?))"
8054 Me._adapter.UpdateCommand.CommandType = Global.System.Data.CommandType.Text
8055 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_ID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "ID", Global.System.Data.DataRowVersion.Original, false, Nothing))
8058 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8059 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8060 Private Sub InitConnection()
8061 Me._connection = New Global.System.Data.OleDb.OleDbConnection()
8062 Me._connection.ConnectionString = Global.NEA.MySettings.Default.NEAConnectionString_accdb
8065 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8066 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8067 Private Sub InitCommandCollection()
8068 Me._commandCollection = New Global.System.Data.OleDb.OleDbCommand(0) {}
8069 Me._commandCollection(0) = New Global.System.Data.OleDb.OleDbCommand()
8070 Me._commandCollection(0).Connection = Me.Connection
8071 Me._commandCollection(0).CommandText = "SELECT ID FROM Tags"
8072 Me._commandCollection(0).CommandType = Global.System.Data.CommandType.Text
8075 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8076 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8077 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
8078 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Fill, true)> _
8079 Public Overloads Overridable Function Fill(ByVal dataTable As NEADataSet.TagsDataTable) As Integer
8080 Me.Adapter.SelectCommand = Me.CommandCollection(0)
8081 If (Me.ClearBeforeFill = true) Then
8084 Dim returnValue As Integer = Me.Adapter.Fill(dataTable)
8088 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8089 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8090 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
8091 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.[Select], true)> _
8092 Public Overloads Overridable Function GetData() As NEADataSet.TagsDataTable
8093 Me.Adapter.SelectCommand = Me.CommandCollection(0)
8094 Dim dataTable As NEADataSet.TagsDataTable = New NEADataSet.TagsDataTable()
8095 Me.Adapter.Fill(dataTable)
8099 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8100 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8101 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
8102 Public Overloads Overridable Function Update(ByVal dataTable As NEADataSet.TagsDataTable) As Integer
8103 Return Me.Adapter.Update(dataTable)
8106 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8107 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8108 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
8109 Public Overloads Overridable Function Update(ByVal dataSet As NEADataSet) As Integer
8110 Return Me.Adapter.Update(dataSet, "Tags")
8113 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8114 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8115 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
8116 Public Overloads Overridable Function Update(ByVal dataRow As Global.System.Data.DataRow) As Integer
8117 Return Me.Adapter.Update(New Global.System.Data.DataRow() {dataRow})
8120 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8121 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8122 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
8123 Public Overloads Overridable Function Update(ByVal dataRows() As Global.System.Data.DataRow) As Integer
8124 Return Me.Adapter.Update(dataRows)
8127 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8128 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8129 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
8130 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Delete, true)> _
8131 Public Overloads Overridable Function Delete(ByVal Original_ID As Integer) As Integer
8132 Me.Adapter.DeleteCommand.Parameters(0).Value = CType(Original_ID,Integer)
8133 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.DeleteCommand.Connection.State
8134 If ((Me.Adapter.DeleteCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
8135 <> Global.System.Data.ConnectionState.Open) Then
8136 Me.Adapter.DeleteCommand.Connection.Open
8139 Dim returnValue As Integer = Me.Adapter.DeleteCommand.ExecuteNonQuery
8142 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
8143 Me.Adapter.DeleteCommand.Connection.Close
8148 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8149 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8150 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
8151 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Insert, true)> _
8152 Public Overloads Overridable Function Insert() As Integer
8153 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.InsertCommand.Connection.State
8154 If ((Me.Adapter.InsertCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
8155 <> Global.System.Data.ConnectionState.Open) Then
8156 Me.Adapter.InsertCommand.Connection.Open
8159 Dim returnValue As Integer = Me.Adapter.InsertCommand.ExecuteNonQuery
8162 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
8163 Me.Adapter.InsertCommand.Connection.Close
8168 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8169 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8170 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
8171 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Update, true)> _
8172 Public Overloads Overridable Function Update(ByVal Original_ID As Integer) As Integer
8173 Me.Adapter.UpdateCommand.Parameters(0).Value = CType(Original_ID,Integer)
8174 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.UpdateCommand.Connection.State
8175 If ((Me.Adapter.UpdateCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
8176 <> Global.System.Data.ConnectionState.Open) Then
8177 Me.Adapter.UpdateCommand.Connection.Open
8180 Dim returnValue As Integer = Me.Adapter.UpdateCommand.ExecuteNonQuery
8183 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
8184 Me.Adapter.UpdateCommand.Connection.Close
8191 '''Represents the connection and commands used to retrieve and save data.
8193 <Global.System.ComponentModel.DesignerCategoryAttribute("code"), _
8194 Global.System.ComponentModel.ToolboxItem(true), _
8195 Global.System.ComponentModel.DataObjectAttribute(true), _
8196 Global.System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner"& _
8197 ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"), _
8198 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
8199 Partial Public Class WishlistTableAdapter
8200 Inherits Global.System.ComponentModel.Component
8202 Private WithEvents _adapter As Global.System.Data.OleDb.OleDbDataAdapter
8204 Private _connection As Global.System.Data.OleDb.OleDbConnection
8206 Private _transaction As Global.System.Data.OleDb.OleDbTransaction
8208 Private _commandCollection() As Global.System.Data.OleDb.OleDbCommand
8210 Private _clearBeforeFill As Boolean
8212 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8213 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8216 Me.ClearBeforeFill = true
8219 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8220 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8221 Protected Friend ReadOnly Property Adapter() As Global.System.Data.OleDb.OleDbDataAdapter
8223 If (Me._adapter Is Nothing) Then
8230 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8231 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8232 Friend Property Connection() As Global.System.Data.OleDb.OleDbConnection
8234 If (Me._connection Is Nothing) Then
8237 Return Me._connection
8240 Me._connection = value
8241 If (Not (Me.Adapter.InsertCommand) Is Nothing) Then
8242 Me.Adapter.InsertCommand.Connection = value
8244 If (Not (Me.Adapter.DeleteCommand) Is Nothing) Then
8245 Me.Adapter.DeleteCommand.Connection = value
8247 If (Not (Me.Adapter.UpdateCommand) Is Nothing) Then
8248 Me.Adapter.UpdateCommand.Connection = value
8250 Dim i As Integer = 0
8251 Do While (i < Me.CommandCollection.Length)
8252 If (Not (Me.CommandCollection(i)) Is Nothing) Then
8253 CType(Me.CommandCollection(i),Global.System.Data.OleDb.OleDbCommand).Connection = value
8260 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8261 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8262 Friend Property Transaction() As Global.System.Data.OleDb.OleDbTransaction
8264 Return Me._transaction
8267 Me._transaction = value
8268 Dim i As Integer = 0
8269 Do While (i < Me.CommandCollection.Length)
8270 Me.CommandCollection(i).Transaction = Me._transaction
8273 If ((Not (Me.Adapter) Is Nothing) _
8274 AndAlso (Not (Me.Adapter.DeleteCommand) Is Nothing)) Then
8275 Me.Adapter.DeleteCommand.Transaction = Me._transaction
8277 If ((Not (Me.Adapter) Is Nothing) _
8278 AndAlso (Not (Me.Adapter.InsertCommand) Is Nothing)) Then
8279 Me.Adapter.InsertCommand.Transaction = Me._transaction
8281 If ((Not (Me.Adapter) Is Nothing) _
8282 AndAlso (Not (Me.Adapter.UpdateCommand) Is Nothing)) Then
8283 Me.Adapter.UpdateCommand.Transaction = Me._transaction
8288 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8289 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8290 Protected ReadOnly Property CommandCollection() As Global.System.Data.OleDb.OleDbCommand()
8292 If (Me._commandCollection Is Nothing) Then
8293 Me.InitCommandCollection
8295 Return Me._commandCollection
8299 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8300 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8301 Public Property ClearBeforeFill() As Boolean
8303 Return Me._clearBeforeFill
8306 Me._clearBeforeFill = value
8310 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8311 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8312 Private Sub InitAdapter()
8313 Me._adapter = New Global.System.Data.OleDb.OleDbDataAdapter()
8314 Dim tableMapping As Global.System.Data.Common.DataTableMapping = New Global.System.Data.Common.DataTableMapping()
8315 tableMapping.SourceTable = "Table"
8316 tableMapping.DataSetTable = "Wishlist"
8317 tableMapping.ColumnMappings.Add("WishlistID", "WishlistID")
8318 tableMapping.ColumnMappings.Add("UserID", "UserID")
8319 tableMapping.ColumnMappings.Add("GameID", "GameID")
8320 Me._adapter.TableMappings.Add(tableMapping)
8321 Me._adapter.DeleteCommand = New Global.System.Data.OleDb.OleDbCommand()
8322 Me._adapter.DeleteCommand.Connection = Me.Connection
8323 Me._adapter.DeleteCommand.CommandText = "DELETE FROM `Wishlist` WHERE ((`WishlistID` = ?) AND ((? = 1 AND `UserID` IS NULL"& _
8324 ") OR (`UserID` = ?)) AND ((? = 1 AND `GameID` IS NULL) OR (`GameID` = ?)))"
8325 Me._adapter.DeleteCommand.CommandType = Global.System.Data.CommandType.Text
8326 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_WishlistID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "WishlistID", Global.System.Data.DataRowVersion.Original, false, Nothing))
8327 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IsNull_UserID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "UserID", Global.System.Data.DataRowVersion.Original, true, Nothing))
8328 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_UserID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "UserID", Global.System.Data.DataRowVersion.Original, false, Nothing))
8329 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IsNull_GameID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "GameID", Global.System.Data.DataRowVersion.Original, true, Nothing))
8330 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_GameID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "GameID", Global.System.Data.DataRowVersion.Original, false, Nothing))
8331 Me._adapter.InsertCommand = New Global.System.Data.OleDb.OleDbCommand()
8332 Me._adapter.InsertCommand.Connection = Me.Connection
8333 Me._adapter.InsertCommand.CommandText = "INSERT INTO `Wishlist` (`UserID`, `GameID`) VALUES (?, ?)"
8334 Me._adapter.InsertCommand.CommandType = Global.System.Data.CommandType.Text
8335 Me._adapter.InsertCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("UserID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "UserID", Global.System.Data.DataRowVersion.Current, false, Nothing))
8336 Me._adapter.InsertCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("GameID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "GameID", Global.System.Data.DataRowVersion.Current, false, Nothing))
8337 Me._adapter.UpdateCommand = New Global.System.Data.OleDb.OleDbCommand()
8338 Me._adapter.UpdateCommand.Connection = Me.Connection
8339 Me._adapter.UpdateCommand.CommandText = "UPDATE `Wishlist` SET `UserID` = ?, `GameID` = ? WHERE ((`WishlistID` = ?) AND (("& _
8340 "? = 1 AND `UserID` IS NULL) OR (`UserID` = ?)) AND ((? = 1 AND `GameID` IS NULL)"& _
8341 " OR (`GameID` = ?)))"
8342 Me._adapter.UpdateCommand.CommandType = Global.System.Data.CommandType.Text
8343 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("UserID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "UserID", Global.System.Data.DataRowVersion.Current, false, Nothing))
8344 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("GameID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "GameID", Global.System.Data.DataRowVersion.Current, false, Nothing))
8345 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_WishlistID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "WishlistID", Global.System.Data.DataRowVersion.Original, false, Nothing))
8346 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IsNull_UserID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "UserID", Global.System.Data.DataRowVersion.Original, true, Nothing))
8347 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_UserID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "UserID", Global.System.Data.DataRowVersion.Original, false, Nothing))
8348 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IsNull_GameID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "GameID", Global.System.Data.DataRowVersion.Original, true, Nothing))
8349 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_GameID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "GameID", Global.System.Data.DataRowVersion.Original, false, Nothing))
8352 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8353 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8354 Private Sub InitConnection()
8355 Me._connection = New Global.System.Data.OleDb.OleDbConnection()
8356 Me._connection.ConnectionString = Global.NEA.MySettings.Default.NEAConnectionString_accdb
8359 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8360 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8361 Private Sub InitCommandCollection()
8362 Me._commandCollection = New Global.System.Data.OleDb.OleDbCommand(0) {}
8363 Me._commandCollection(0) = New Global.System.Data.OleDb.OleDbCommand()
8364 Me._commandCollection(0).Connection = Me.Connection
8365 Me._commandCollection(0).CommandText = "SELECT WishlistID, UserID, GameID FROM Wishlist"
8366 Me._commandCollection(0).CommandType = Global.System.Data.CommandType.Text
8369 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8370 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8371 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
8372 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Fill, true)> _
8373 Public Overloads Overridable Function Fill(ByVal dataTable As NEADataSet.WishlistDataTable) As Integer
8374 Me.Adapter.SelectCommand = Me.CommandCollection(0)
8375 If (Me.ClearBeforeFill = true) Then
8378 Dim returnValue As Integer = Me.Adapter.Fill(dataTable)
8382 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8383 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8384 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
8385 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.[Select], true)> _
8386 Public Overloads Overridable Function GetData() As NEADataSet.WishlistDataTable
8387 Me.Adapter.SelectCommand = Me.CommandCollection(0)
8388 Dim dataTable As NEADataSet.WishlistDataTable = New NEADataSet.WishlistDataTable()
8389 Me.Adapter.Fill(dataTable)
8393 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8394 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8395 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
8396 Public Overloads Overridable Function Update(ByVal dataTable As NEADataSet.WishlistDataTable) As Integer
8397 Return Me.Adapter.Update(dataTable)
8400 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8401 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8402 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
8403 Public Overloads Overridable Function Update(ByVal dataSet As NEADataSet) As Integer
8404 Return Me.Adapter.Update(dataSet, "Wishlist")
8407 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8408 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8409 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
8410 Public Overloads Overridable Function Update(ByVal dataRow As Global.System.Data.DataRow) As Integer
8411 Return Me.Adapter.Update(New Global.System.Data.DataRow() {dataRow})
8414 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8415 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8416 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
8417 Public Overloads Overridable Function Update(ByVal dataRows() As Global.System.Data.DataRow) As Integer
8418 Return Me.Adapter.Update(dataRows)
8421 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8422 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8423 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
8424 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Delete, true)> _
8425 Public Overloads Overridable Function Delete(ByVal Original_WishlistID As Integer, ByVal Original_UserID As Global.System.Nullable(Of Integer), ByVal Original_GameID As Global.System.Nullable(Of Integer)) As Integer
8426 Me.Adapter.DeleteCommand.Parameters(0).Value = CType(Original_WishlistID,Integer)
8427 If (Original_UserID.HasValue = true) Then
8428 Me.Adapter.DeleteCommand.Parameters(1).Value = CType(0,Object)
8429 Me.Adapter.DeleteCommand.Parameters(2).Value = CType(Original_UserID.Value,Integer)
8431 Me.Adapter.DeleteCommand.Parameters(1).Value = CType(1,Object)
8432 Me.Adapter.DeleteCommand.Parameters(2).Value = Global.System.DBNull.Value
8434 If (Original_GameID.HasValue = true) Then
8435 Me.Adapter.DeleteCommand.Parameters(3).Value = CType(0,Object)
8436 Me.Adapter.DeleteCommand.Parameters(4).Value = CType(Original_GameID.Value,Integer)
8438 Me.Adapter.DeleteCommand.Parameters(3).Value = CType(1,Object)
8439 Me.Adapter.DeleteCommand.Parameters(4).Value = Global.System.DBNull.Value
8441 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.DeleteCommand.Connection.State
8442 If ((Me.Adapter.DeleteCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
8443 <> Global.System.Data.ConnectionState.Open) Then
8444 Me.Adapter.DeleteCommand.Connection.Open
8447 Dim returnValue As Integer = Me.Adapter.DeleteCommand.ExecuteNonQuery
8450 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
8451 Me.Adapter.DeleteCommand.Connection.Close
8456 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8457 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8458 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
8459 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Insert, true)> _
8460 Public Overloads Overridable Function Insert(ByVal UserID As Global.System.Nullable(Of Integer), ByVal GameID As Global.System.Nullable(Of Integer)) As Integer
8461 If (UserID.HasValue = true) Then
8462 Me.Adapter.InsertCommand.Parameters(0).Value = CType(UserID.Value,Integer)
8464 Me.Adapter.InsertCommand.Parameters(0).Value = Global.System.DBNull.Value
8466 If (GameID.HasValue = true) Then
8467 Me.Adapter.InsertCommand.Parameters(1).Value = CType(GameID.Value,Integer)
8469 Me.Adapter.InsertCommand.Parameters(1).Value = Global.System.DBNull.Value
8471 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.InsertCommand.Connection.State
8472 If ((Me.Adapter.InsertCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
8473 <> Global.System.Data.ConnectionState.Open) Then
8474 Me.Adapter.InsertCommand.Connection.Open
8477 Dim returnValue As Integer = Me.Adapter.InsertCommand.ExecuteNonQuery
8480 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
8481 Me.Adapter.InsertCommand.Connection.Close
8486 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8487 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8488 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
8489 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Update, true)> _
8490 Public Overloads Overridable Function Update(ByVal UserID As Global.System.Nullable(Of Integer), ByVal GameID As Global.System.Nullable(Of Integer), ByVal Original_WishlistID As Integer, ByVal Original_UserID As Global.System.Nullable(Of Integer), ByVal Original_GameID As Global.System.Nullable(Of Integer)) As Integer
8491 If (UserID.HasValue = true) Then
8492 Me.Adapter.UpdateCommand.Parameters(0).Value = CType(UserID.Value,Integer)
8494 Me.Adapter.UpdateCommand.Parameters(0).Value = Global.System.DBNull.Value
8496 If (GameID.HasValue = true) Then
8497 Me.Adapter.UpdateCommand.Parameters(1).Value = CType(GameID.Value,Integer)
8499 Me.Adapter.UpdateCommand.Parameters(1).Value = Global.System.DBNull.Value
8501 Me.Adapter.UpdateCommand.Parameters(2).Value = CType(Original_WishlistID,Integer)
8502 If (Original_UserID.HasValue = true) Then
8503 Me.Adapter.UpdateCommand.Parameters(3).Value = CType(0,Object)
8504 Me.Adapter.UpdateCommand.Parameters(4).Value = CType(Original_UserID.Value,Integer)
8506 Me.Adapter.UpdateCommand.Parameters(3).Value = CType(1,Object)
8507 Me.Adapter.UpdateCommand.Parameters(4).Value = Global.System.DBNull.Value
8509 If (Original_GameID.HasValue = true) Then
8510 Me.Adapter.UpdateCommand.Parameters(5).Value = CType(0,Object)
8511 Me.Adapter.UpdateCommand.Parameters(6).Value = CType(Original_GameID.Value,Integer)
8513 Me.Adapter.UpdateCommand.Parameters(5).Value = CType(1,Object)
8514 Me.Adapter.UpdateCommand.Parameters(6).Value = Global.System.DBNull.Value
8516 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.UpdateCommand.Connection.State
8517 If ((Me.Adapter.UpdateCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
8518 <> Global.System.Data.ConnectionState.Open) Then
8519 Me.Adapter.UpdateCommand.Connection.Open
8522 Dim returnValue As Integer = Me.Adapter.UpdateCommand.ExecuteNonQuery
8525 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
8526 Me.Adapter.UpdateCommand.Connection.Close
8533 '''Represents the connection and commands used to retrieve and save data.
8535 <Global.System.ComponentModel.DesignerCategoryAttribute("code"), _
8536 Global.System.ComponentModel.ToolboxItem(true), _
8537 Global.System.ComponentModel.DataObjectAttribute(true), _
8538 Global.System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner"& _
8539 ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"), _
8540 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
8541 Partial Public Class UsersTableAdapter
8542 Inherits Global.System.ComponentModel.Component
8544 Private WithEvents _adapter As Global.System.Data.OleDb.OleDbDataAdapter
8546 Private _connection As Global.System.Data.OleDb.OleDbConnection
8548 Private _transaction As Global.System.Data.OleDb.OleDbTransaction
8550 Private _commandCollection() As Global.System.Data.OleDb.OleDbCommand
8552 Private _clearBeforeFill As Boolean
8554 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8555 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8558 Me.ClearBeforeFill = true
8561 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8562 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8563 Protected Friend ReadOnly Property Adapter() As Global.System.Data.OleDb.OleDbDataAdapter
8565 If (Me._adapter Is Nothing) Then
8572 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8573 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8574 Friend Property Connection() As Global.System.Data.OleDb.OleDbConnection
8576 If (Me._connection Is Nothing) Then
8579 Return Me._connection
8582 Me._connection = value
8583 If (Not (Me.Adapter.InsertCommand) Is Nothing) Then
8584 Me.Adapter.InsertCommand.Connection = value
8586 If (Not (Me.Adapter.DeleteCommand) Is Nothing) Then
8587 Me.Adapter.DeleteCommand.Connection = value
8589 If (Not (Me.Adapter.UpdateCommand) Is Nothing) Then
8590 Me.Adapter.UpdateCommand.Connection = value
8592 Dim i As Integer = 0
8593 Do While (i < Me.CommandCollection.Length)
8594 If (Not (Me.CommandCollection(i)) Is Nothing) Then
8595 CType(Me.CommandCollection(i),Global.System.Data.OleDb.OleDbCommand).Connection = value
8602 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8603 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8604 Friend Property Transaction() As Global.System.Data.OleDb.OleDbTransaction
8606 Return Me._transaction
8609 Me._transaction = value
8610 Dim i As Integer = 0
8611 Do While (i < Me.CommandCollection.Length)
8612 Me.CommandCollection(i).Transaction = Me._transaction
8615 If ((Not (Me.Adapter) Is Nothing) _
8616 AndAlso (Not (Me.Adapter.DeleteCommand) Is Nothing)) Then
8617 Me.Adapter.DeleteCommand.Transaction = Me._transaction
8619 If ((Not (Me.Adapter) Is Nothing) _
8620 AndAlso (Not (Me.Adapter.InsertCommand) Is Nothing)) Then
8621 Me.Adapter.InsertCommand.Transaction = Me._transaction
8623 If ((Not (Me.Adapter) Is Nothing) _
8624 AndAlso (Not (Me.Adapter.UpdateCommand) Is Nothing)) Then
8625 Me.Adapter.UpdateCommand.Transaction = Me._transaction
8630 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8631 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8632 Protected ReadOnly Property CommandCollection() As Global.System.Data.OleDb.OleDbCommand()
8634 If (Me._commandCollection Is Nothing) Then
8635 Me.InitCommandCollection
8637 Return Me._commandCollection
8641 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8642 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8643 Public Property ClearBeforeFill() As Boolean
8645 Return Me._clearBeforeFill
8648 Me._clearBeforeFill = value
8652 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8653 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8654 Private Sub InitAdapter()
8655 Me._adapter = New Global.System.Data.OleDb.OleDbDataAdapter()
8656 Dim tableMapping As Global.System.Data.Common.DataTableMapping = New Global.System.Data.Common.DataTableMapping()
8657 tableMapping.SourceTable = "Table"
8658 tableMapping.DataSetTable = "Users"
8659 tableMapping.ColumnMappings.Add("UserID", "UserID")
8660 tableMapping.ColumnMappings.Add("User_DetailsID", "User_DetailsID")
8661 tableMapping.ColumnMappings.Add("Username", "Username")
8662 tableMapping.ColumnMappings.Add("Password", "Password")
8663 Me._adapter.TableMappings.Add(tableMapping)
8664 Me._adapter.DeleteCommand = New Global.System.Data.OleDb.OleDbCommand()
8665 Me._adapter.DeleteCommand.Connection = Me.Connection
8666 Me._adapter.DeleteCommand.CommandText = "DELETE FROM `Users` WHERE ((`UserID` = ?) AND ((? = 1 AND `User_DetailsID` IS NUL"& _
8667 "L) OR (`User_DetailsID` = ?)))"
8668 Me._adapter.DeleteCommand.CommandType = Global.System.Data.CommandType.Text
8669 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_UserID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "UserID", Global.System.Data.DataRowVersion.Original, false, Nothing))
8670 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IsNull_User_DetailsID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "User_DetailsID", Global.System.Data.DataRowVersion.Original, true, Nothing))
8671 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_User_DetailsID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "User_DetailsID", Global.System.Data.DataRowVersion.Original, false, Nothing))
8672 Me._adapter.InsertCommand = New Global.System.Data.OleDb.OleDbCommand()
8673 Me._adapter.InsertCommand.Connection = Me.Connection
8674 Me._adapter.InsertCommand.CommandText = "INSERT INTO `Users` (`User_DetailsID`, `Username`, `Password`) VALUES (?, ?, ?)"
8675 Me._adapter.InsertCommand.CommandType = Global.System.Data.CommandType.Text
8676 Me._adapter.InsertCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("User_DetailsID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "User_DetailsID", Global.System.Data.DataRowVersion.Current, false, Nothing))
8677 Me._adapter.InsertCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Username", Global.System.Data.OleDb.OleDbType.LongVarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Username", Global.System.Data.DataRowVersion.Current, false, Nothing))
8678 Me._adapter.InsertCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Password", Global.System.Data.OleDb.OleDbType.LongVarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Password", Global.System.Data.DataRowVersion.Current, false, Nothing))
8679 Me._adapter.UpdateCommand = New Global.System.Data.OleDb.OleDbCommand()
8680 Me._adapter.UpdateCommand.Connection = Me.Connection
8681 Me._adapter.UpdateCommand.CommandText = "UPDATE `Users` SET `User_DetailsID` = ?, `Username` = ?, `Password` = ? WHERE ((`"& _
8682 "UserID` = ?) AND ((? = 1 AND `User_DetailsID` IS NULL) OR (`User_DetailsID` = ?)"& _
8684 Me._adapter.UpdateCommand.CommandType = Global.System.Data.CommandType.Text
8685 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("User_DetailsID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "User_DetailsID", Global.System.Data.DataRowVersion.Current, false, Nothing))
8686 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Username", Global.System.Data.OleDb.OleDbType.LongVarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Username", Global.System.Data.DataRowVersion.Current, false, Nothing))
8687 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Password", Global.System.Data.OleDb.OleDbType.LongVarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Password", Global.System.Data.DataRowVersion.Current, false, Nothing))
8688 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_UserID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "UserID", Global.System.Data.DataRowVersion.Original, false, Nothing))
8689 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IsNull_User_DetailsID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "User_DetailsID", Global.System.Data.DataRowVersion.Original, true, Nothing))
8690 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_User_DetailsID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "User_DetailsID", Global.System.Data.DataRowVersion.Original, false, Nothing))
8693 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8694 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8695 Private Sub InitConnection()
8696 Me._connection = New Global.System.Data.OleDb.OleDbConnection()
8697 Me._connection.ConnectionString = Global.NEA.MySettings.Default.NEAConnectionString2
8700 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8701 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8702 Private Sub InitCommandCollection()
8703 Me._commandCollection = New Global.System.Data.OleDb.OleDbCommand(0) {}
8704 Me._commandCollection(0) = New Global.System.Data.OleDb.OleDbCommand()
8705 Me._commandCollection(0).Connection = Me.Connection
8706 Me._commandCollection(0).CommandText = "SELECT Users.*"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"FROM Users"
8707 Me._commandCollection(0).CommandType = Global.System.Data.CommandType.Text
8710 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8711 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8712 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
8713 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Fill, true)> _
8714 Public Overloads Overridable Function Fill(ByVal dataTable As NEADataSet.UsersDataTable) As Integer
8715 Me.Adapter.SelectCommand = Me.CommandCollection(0)
8716 If (Me.ClearBeforeFill = true) Then
8719 Dim returnValue As Integer = Me.Adapter.Fill(dataTable)
8723 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8724 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8725 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
8726 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.[Select], true)> _
8727 Public Overloads Overridable Function GetData() As NEADataSet.UsersDataTable
8728 Me.Adapter.SelectCommand = Me.CommandCollection(0)
8729 Dim dataTable As NEADataSet.UsersDataTable = New NEADataSet.UsersDataTable()
8730 Me.Adapter.Fill(dataTable)
8734 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8735 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8736 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
8737 Public Overloads Overridable Function Update(ByVal dataTable As NEADataSet.UsersDataTable) As Integer
8738 Return Me.Adapter.Update(dataTable)
8741 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8742 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8743 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
8744 Public Overloads Overridable Function Update(ByVal dataSet As NEADataSet) As Integer
8745 Return Me.Adapter.Update(dataSet, "Users")
8748 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8749 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8750 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
8751 Public Overloads Overridable Function Update(ByVal dataRow As Global.System.Data.DataRow) As Integer
8752 Return Me.Adapter.Update(New Global.System.Data.DataRow() {dataRow})
8755 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8756 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8757 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
8758 Public Overloads Overridable Function Update(ByVal dataRows() As Global.System.Data.DataRow) As Integer
8759 Return Me.Adapter.Update(dataRows)
8762 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8763 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8764 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
8765 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Delete, true)> _
8766 Public Overloads Overridable Function Delete(ByVal Original_UserID As Integer, ByVal Original_User_DetailsID As Global.System.Nullable(Of Integer)) As Integer
8767 Me.Adapter.DeleteCommand.Parameters(0).Value = CType(Original_UserID,Integer)
8768 If (Original_User_DetailsID.HasValue = true) Then
8769 Me.Adapter.DeleteCommand.Parameters(1).Value = CType(0,Object)
8770 Me.Adapter.DeleteCommand.Parameters(2).Value = CType(Original_User_DetailsID.Value,Integer)
8772 Me.Adapter.DeleteCommand.Parameters(1).Value = CType(1,Object)
8773 Me.Adapter.DeleteCommand.Parameters(2).Value = Global.System.DBNull.Value
8775 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.DeleteCommand.Connection.State
8776 If ((Me.Adapter.DeleteCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
8777 <> Global.System.Data.ConnectionState.Open) Then
8778 Me.Adapter.DeleteCommand.Connection.Open
8781 Dim returnValue As Integer = Me.Adapter.DeleteCommand.ExecuteNonQuery
8784 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
8785 Me.Adapter.DeleteCommand.Connection.Close
8790 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8791 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8792 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
8793 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Insert, true)> _
8794 Public Overloads Overridable Function Insert(ByVal User_DetailsID As Global.System.Nullable(Of Integer), ByVal Username As String, ByVal Password As String) As Integer
8795 If (User_DetailsID.HasValue = true) Then
8796 Me.Adapter.InsertCommand.Parameters(0).Value = CType(User_DetailsID.Value,Integer)
8798 Me.Adapter.InsertCommand.Parameters(0).Value = Global.System.DBNull.Value
8800 If (Username Is Nothing) Then
8801 Me.Adapter.InsertCommand.Parameters(1).Value = Global.System.DBNull.Value
8803 Me.Adapter.InsertCommand.Parameters(1).Value = CType(Username,String)
8805 If (Password Is Nothing) Then
8806 Me.Adapter.InsertCommand.Parameters(2).Value = Global.System.DBNull.Value
8808 Me.Adapter.InsertCommand.Parameters(2).Value = CType(Password,String)
8810 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.InsertCommand.Connection.State
8811 If ((Me.Adapter.InsertCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
8812 <> Global.System.Data.ConnectionState.Open) Then
8813 Me.Adapter.InsertCommand.Connection.Open
8816 Dim returnValue As Integer = Me.Adapter.InsertCommand.ExecuteNonQuery
8819 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
8820 Me.Adapter.InsertCommand.Connection.Close
8825 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8826 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8827 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
8828 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Update, true)> _
8829 Public Overloads Overridable Function Update(ByVal User_DetailsID As Global.System.Nullable(Of Integer), ByVal Username As String, ByVal Password As String, ByVal Original_UserID As Integer, ByVal Original_User_DetailsID As Global.System.Nullable(Of Integer)) As Integer
8830 If (User_DetailsID.HasValue = true) Then
8831 Me.Adapter.UpdateCommand.Parameters(0).Value = CType(User_DetailsID.Value,Integer)
8833 Me.Adapter.UpdateCommand.Parameters(0).Value = Global.System.DBNull.Value
8835 If (Username Is Nothing) Then
8836 Me.Adapter.UpdateCommand.Parameters(1).Value = Global.System.DBNull.Value
8838 Me.Adapter.UpdateCommand.Parameters(1).Value = CType(Username,String)
8840 If (Password Is Nothing) Then
8841 Me.Adapter.UpdateCommand.Parameters(2).Value = Global.System.DBNull.Value
8843 Me.Adapter.UpdateCommand.Parameters(2).Value = CType(Password,String)
8845 Me.Adapter.UpdateCommand.Parameters(3).Value = CType(Original_UserID,Integer)
8846 If (Original_User_DetailsID.HasValue = true) Then
8847 Me.Adapter.UpdateCommand.Parameters(4).Value = CType(0,Object)
8848 Me.Adapter.UpdateCommand.Parameters(5).Value = CType(Original_User_DetailsID.Value,Integer)
8850 Me.Adapter.UpdateCommand.Parameters(4).Value = CType(1,Object)
8851 Me.Adapter.UpdateCommand.Parameters(5).Value = Global.System.DBNull.Value
8853 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.UpdateCommand.Connection.State
8854 If ((Me.Adapter.UpdateCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
8855 <> Global.System.Data.ConnectionState.Open) Then
8856 Me.Adapter.UpdateCommand.Connection.Open
8859 Dim returnValue As Integer = Me.Adapter.UpdateCommand.ExecuteNonQuery
8862 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
8863 Me.Adapter.UpdateCommand.Connection.Close
8870 '''Represents the connection and commands used to retrieve and save data.
8872 <Global.System.ComponentModel.DesignerCategoryAttribute("code"), _
8873 Global.System.ComponentModel.ToolboxItem(true), _
8874 Global.System.ComponentModel.DataObjectAttribute(true), _
8875 Global.System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner"& _
8876 ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"), _
8877 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
8878 Partial Public Class User_DetailsTableAdapter
8879 Inherits Global.System.ComponentModel.Component
8881 Private WithEvents _adapter As Global.System.Data.OleDb.OleDbDataAdapter
8883 Private _connection As Global.System.Data.OleDb.OleDbConnection
8885 Private _transaction As Global.System.Data.OleDb.OleDbTransaction
8887 Private _commandCollection() As Global.System.Data.OleDb.OleDbCommand
8889 Private _clearBeforeFill As Boolean
8891 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8892 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8895 Me.ClearBeforeFill = true
8898 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8899 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8900 Protected Friend ReadOnly Property Adapter() As Global.System.Data.OleDb.OleDbDataAdapter
8902 If (Me._adapter Is Nothing) Then
8909 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8910 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8911 Friend Property Connection() As Global.System.Data.OleDb.OleDbConnection
8913 If (Me._connection Is Nothing) Then
8916 Return Me._connection
8919 Me._connection = value
8920 If (Not (Me.Adapter.InsertCommand) Is Nothing) Then
8921 Me.Adapter.InsertCommand.Connection = value
8923 If (Not (Me.Adapter.DeleteCommand) Is Nothing) Then
8924 Me.Adapter.DeleteCommand.Connection = value
8926 If (Not (Me.Adapter.UpdateCommand) Is Nothing) Then
8927 Me.Adapter.UpdateCommand.Connection = value
8929 Dim i As Integer = 0
8930 Do While (i < Me.CommandCollection.Length)
8931 If (Not (Me.CommandCollection(i)) Is Nothing) Then
8932 CType(Me.CommandCollection(i),Global.System.Data.OleDb.OleDbCommand).Connection = value
8939 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8940 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8941 Friend Property Transaction() As Global.System.Data.OleDb.OleDbTransaction
8943 Return Me._transaction
8946 Me._transaction = value
8947 Dim i As Integer = 0
8948 Do While (i < Me.CommandCollection.Length)
8949 Me.CommandCollection(i).Transaction = Me._transaction
8952 If ((Not (Me.Adapter) Is Nothing) _
8953 AndAlso (Not (Me.Adapter.DeleteCommand) Is Nothing)) Then
8954 Me.Adapter.DeleteCommand.Transaction = Me._transaction
8956 If ((Not (Me.Adapter) Is Nothing) _
8957 AndAlso (Not (Me.Adapter.InsertCommand) Is Nothing)) Then
8958 Me.Adapter.InsertCommand.Transaction = Me._transaction
8960 If ((Not (Me.Adapter) Is Nothing) _
8961 AndAlso (Not (Me.Adapter.UpdateCommand) Is Nothing)) Then
8962 Me.Adapter.UpdateCommand.Transaction = Me._transaction
8967 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8968 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8969 Protected ReadOnly Property CommandCollection() As Global.System.Data.OleDb.OleDbCommand()
8971 If (Me._commandCollection Is Nothing) Then
8972 Me.InitCommandCollection
8974 Return Me._commandCollection
8978 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8979 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8980 Public Property ClearBeforeFill() As Boolean
8982 Return Me._clearBeforeFill
8985 Me._clearBeforeFill = value
8989 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8990 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8991 Private Sub InitAdapter()
8992 Me._adapter = New Global.System.Data.OleDb.OleDbDataAdapter()
8993 Dim tableMapping As Global.System.Data.Common.DataTableMapping = New Global.System.Data.Common.DataTableMapping()
8994 tableMapping.SourceTable = "Table"
8995 tableMapping.DataSetTable = "User_Details"
8996 tableMapping.ColumnMappings.Add("UserDetailsID", "UserDetailsID")
8997 tableMapping.ColumnMappings.Add("FirstName", "FirstName")
8998 tableMapping.ColumnMappings.Add("LastName", "LastName")
8999 tableMapping.ColumnMappings.Add("AddressLine1", "AddressLine1")
9000 tableMapping.ColumnMappings.Add("Town", "Town")
9001 tableMapping.ColumnMappings.Add("Postcode", "Postcode")
9002 tableMapping.ColumnMappings.Add("CardNumber", "CardNumber")
9003 tableMapping.ColumnMappings.Add("CVC", "CVC")
9004 tableMapping.ColumnMappings.Add("IGN", "IGN")
9005 tableMapping.ColumnMappings.Add("Email", "Email")
9006 tableMapping.ColumnMappings.Add("ProfilePic", "ProfilePic")
9007 Me._adapter.TableMappings.Add(tableMapping)
9008 Me._adapter.DeleteCommand = New Global.System.Data.OleDb.OleDbCommand()
9009 Me._adapter.DeleteCommand.Connection = Me.Connection
9010 Me._adapter.DeleteCommand.CommandText = "DELETE FROM `User_Details` WHERE ((`UserDetailsID` = ?) AND ((? = 1 AND `Town` IS"& _
9011 " NULL) OR (`Town` = ?)) AND ((? = 1 AND `CardNumber` IS NULL) OR (`CardNumber` ="& _
9012 " ?)) AND ((? = 1 AND `CVC` IS NULL) OR (`CVC` = ?)))"
9013 Me._adapter.DeleteCommand.CommandType = Global.System.Data.CommandType.Text
9014 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_UserDetailsID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "UserDetailsID", Global.System.Data.DataRowVersion.Original, false, Nothing))
9015 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IsNull_Town", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Town", Global.System.Data.DataRowVersion.Original, true, Nothing))
9016 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_Town", Global.System.Data.OleDb.OleDbType.VarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Town", Global.System.Data.DataRowVersion.Original, false, Nothing))
9017 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IsNull_CardNumber", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "CardNumber", Global.System.Data.DataRowVersion.Original, true, Nothing))
9018 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_CardNumber", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "CardNumber", Global.System.Data.DataRowVersion.Original, false, Nothing))
9019 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IsNull_CVC", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "CVC", Global.System.Data.DataRowVersion.Original, true, Nothing))
9020 Me._adapter.DeleteCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_CVC", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "CVC", Global.System.Data.DataRowVersion.Original, false, Nothing))
9021 Me._adapter.InsertCommand = New Global.System.Data.OleDb.OleDbCommand()
9022 Me._adapter.InsertCommand.Connection = Me.Connection
9023 Me._adapter.InsertCommand.CommandText = "INSERT INTO `User_Details` (`FirstName`, `LastName`, `AddressLine1`, `Town`, `Pos"& _
9024 "tcode`, `CardNumber`, `CVC`, `IGN`, `Email`, `ProfilePic`) VALUES (?, ?, ?, ?, ?"& _
9026 Me._adapter.InsertCommand.CommandType = Global.System.Data.CommandType.Text
9027 Me._adapter.InsertCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("FirstName", Global.System.Data.OleDb.OleDbType.LongVarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "FirstName", Global.System.Data.DataRowVersion.Current, false, Nothing))
9028 Me._adapter.InsertCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("LastName", Global.System.Data.OleDb.OleDbType.LongVarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "LastName", Global.System.Data.DataRowVersion.Current, false, Nothing))
9029 Me._adapter.InsertCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("AddressLine1", Global.System.Data.OleDb.OleDbType.LongVarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "AddressLine1", Global.System.Data.DataRowVersion.Current, false, Nothing))
9030 Me._adapter.InsertCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Town", Global.System.Data.OleDb.OleDbType.VarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Town", Global.System.Data.DataRowVersion.Current, false, Nothing))
9031 Me._adapter.InsertCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Postcode", Global.System.Data.OleDb.OleDbType.LongVarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Postcode", Global.System.Data.DataRowVersion.Current, false, Nothing))
9032 Me._adapter.InsertCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("CardNumber", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "CardNumber", Global.System.Data.DataRowVersion.Current, false, Nothing))
9033 Me._adapter.InsertCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("CVC", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "CVC", Global.System.Data.DataRowVersion.Current, false, Nothing))
9034 Me._adapter.InsertCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IGN", Global.System.Data.OleDb.OleDbType.LongVarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "IGN", Global.System.Data.DataRowVersion.Current, false, Nothing))
9035 Me._adapter.InsertCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Email", Global.System.Data.OleDb.OleDbType.LongVarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Email", Global.System.Data.DataRowVersion.Current, false, Nothing))
9036 Me._adapter.InsertCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("ProfilePic", Global.System.Data.OleDb.OleDbType.LongVarBinary, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "ProfilePic", Global.System.Data.DataRowVersion.Current, false, Nothing))
9037 Me._adapter.UpdateCommand = New Global.System.Data.OleDb.OleDbCommand()
9038 Me._adapter.UpdateCommand.Connection = Me.Connection
9039 Me._adapter.UpdateCommand.CommandText = "UPDATE `User_Details` SET `FirstName` = ?, `LastName` = ?, `AddressLine1` = ?, `T"& _
9040 "own` = ?, `Postcode` = ?, `CardNumber` = ?, `CVC` = ?, `IGN` = ?, `Email` = ?, `"& _
9041 "ProfilePic` = ? WHERE ((`UserDetailsID` = ?) AND ((? = 1 AND `Town` IS NULL) OR "& _
9042 "(`Town` = ?)) AND ((? = 1 AND `CardNumber` IS NULL) OR (`CardNumber` = ?)) AND ("& _
9043 "(? = 1 AND `CVC` IS NULL) OR (`CVC` = ?)))"
9044 Me._adapter.UpdateCommand.CommandType = Global.System.Data.CommandType.Text
9045 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("FirstName", Global.System.Data.OleDb.OleDbType.LongVarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "FirstName", Global.System.Data.DataRowVersion.Current, false, Nothing))
9046 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("LastName", Global.System.Data.OleDb.OleDbType.LongVarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "LastName", Global.System.Data.DataRowVersion.Current, false, Nothing))
9047 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("AddressLine1", Global.System.Data.OleDb.OleDbType.LongVarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "AddressLine1", Global.System.Data.DataRowVersion.Current, false, Nothing))
9048 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Town", Global.System.Data.OleDb.OleDbType.VarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Town", Global.System.Data.DataRowVersion.Current, false, Nothing))
9049 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Postcode", Global.System.Data.OleDb.OleDbType.LongVarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Postcode", Global.System.Data.DataRowVersion.Current, false, Nothing))
9050 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("CardNumber", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "CardNumber", Global.System.Data.DataRowVersion.Current, false, Nothing))
9051 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("CVC", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "CVC", Global.System.Data.DataRowVersion.Current, false, Nothing))
9052 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IGN", Global.System.Data.OleDb.OleDbType.LongVarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "IGN", Global.System.Data.DataRowVersion.Current, false, Nothing))
9053 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Email", Global.System.Data.OleDb.OleDbType.LongVarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Email", Global.System.Data.DataRowVersion.Current, false, Nothing))
9054 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("ProfilePic", Global.System.Data.OleDb.OleDbType.LongVarBinary, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "ProfilePic", Global.System.Data.DataRowVersion.Current, false, Nothing))
9055 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_UserDetailsID", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "UserDetailsID", Global.System.Data.DataRowVersion.Original, false, Nothing))
9056 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IsNull_Town", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Town", Global.System.Data.DataRowVersion.Original, true, Nothing))
9057 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_Town", Global.System.Data.OleDb.OleDbType.VarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Town", Global.System.Data.DataRowVersion.Original, false, Nothing))
9058 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IsNull_CardNumber", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "CardNumber", Global.System.Data.DataRowVersion.Original, true, Nothing))
9059 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_CardNumber", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "CardNumber", Global.System.Data.DataRowVersion.Original, false, Nothing))
9060 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IsNull_CVC", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "CVC", Global.System.Data.DataRowVersion.Original, true, Nothing))
9061 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Original_CVC", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "CVC", Global.System.Data.DataRowVersion.Original, false, Nothing))
9064 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9065 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
9066 Private Sub InitConnection()
9067 Me._connection = New Global.System.Data.OleDb.OleDbConnection()
9068 Me._connection.ConnectionString = Global.NEA.MySettings.Default.NEAConnectionString2
9071 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9072 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
9073 Private Sub InitCommandCollection()
9074 Me._commandCollection = New Global.System.Data.OleDb.OleDbCommand(1) {}
9075 Me._commandCollection(0) = New Global.System.Data.OleDb.OleDbCommand()
9076 Me._commandCollection(0).Connection = Me.Connection
9077 Me._commandCollection(0).CommandText = "SELECT User_Details.*"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"FROM User_Details"
9078 Me._commandCollection(0).CommandType = Global.System.Data.CommandType.Text
9079 Me._commandCollection(1) = New Global.System.Data.OleDb.OleDbCommand()
9080 Me._commandCollection(1).Connection = Me.Connection
9081 Me._commandCollection(1).CommandText = "INSERT INTO `User_Details` (`FirstName`, `LastName`, `AddressLine1`, `Town`, `Pos"& _
9082 "tcode`, `CardNumber`, `CVC`, `IGN`, `Email`, `ProfilePic`) VALUES (?, ?, ?, ?, ?"& _
9084 Me._commandCollection(1).CommandType = Global.System.Data.CommandType.Text
9085 Me._commandCollection(1).Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("FirstName", Global.System.Data.OleDb.OleDbType.WChar, 1024, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "FirstName", Global.System.Data.DataRowVersion.Current, false, Nothing))
9086 Me._commandCollection(1).Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("LastName", Global.System.Data.OleDb.OleDbType.WChar, 1024, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "LastName", Global.System.Data.DataRowVersion.Current, false, Nothing))
9087 Me._commandCollection(1).Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("AddressLine1", Global.System.Data.OleDb.OleDbType.WChar, 1024, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "AddressLine1", Global.System.Data.DataRowVersion.Current, false, Nothing))
9088 Me._commandCollection(1).Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Town", Global.System.Data.OleDb.OleDbType.WChar, 255, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Town", Global.System.Data.DataRowVersion.Current, false, Nothing))
9089 Me._commandCollection(1).Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Postcode", Global.System.Data.OleDb.OleDbType.WChar, 1024, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Postcode", Global.System.Data.DataRowVersion.Current, false, Nothing))
9090 Me._commandCollection(1).Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("CardNumber", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "CardNumber", Global.System.Data.DataRowVersion.Current, false, Nothing))
9091 Me._commandCollection(1).Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("CVC", Global.System.Data.OleDb.OleDbType.[Integer], 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "CVC", Global.System.Data.DataRowVersion.Current, false, Nothing))
9092 Me._commandCollection(1).Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("IGN", Global.System.Data.OleDb.OleDbType.WChar, 1024, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "IGN", Global.System.Data.DataRowVersion.Current, false, Nothing))
9093 Me._commandCollection(1).Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("Email", Global.System.Data.OleDb.OleDbType.WChar, 1024, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "Email", Global.System.Data.DataRowVersion.Current, false, Nothing))
9094 Me._commandCollection(1).Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("ProfilePic", Global.System.Data.OleDb.OleDbType.Binary, 1024, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "ProfilePic", Global.System.Data.DataRowVersion.Current, false, Nothing))
9097 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9098 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9099 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
9100 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Fill, true)> _
9101 Public Overloads Overridable Function Fill(ByVal dataTable As NEADataSet.User_DetailsDataTable) As Integer
9102 Me.Adapter.SelectCommand = Me.CommandCollection(0)
9103 If (Me.ClearBeforeFill = true) Then
9106 Dim returnValue As Integer = Me.Adapter.Fill(dataTable)
9110 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9111 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9112 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
9113 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.[Select], true)> _
9114 Public Overloads Overridable Function GetData() As NEADataSet.User_DetailsDataTable
9115 Me.Adapter.SelectCommand = Me.CommandCollection(0)
9116 Dim dataTable As NEADataSet.User_DetailsDataTable = New NEADataSet.User_DetailsDataTable()
9117 Me.Adapter.Fill(dataTable)
9121 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9122 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9123 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
9124 Public Overloads Overridable Function Update(ByVal dataTable As NEADataSet.User_DetailsDataTable) As Integer
9125 Return Me.Adapter.Update(dataTable)
9128 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9129 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9130 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
9131 Public Overloads Overridable Function Update(ByVal dataSet As NEADataSet) As Integer
9132 Return Me.Adapter.Update(dataSet, "User_Details")
9135 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9136 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9137 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
9138 Public Overloads Overridable Function Update(ByVal dataRow As Global.System.Data.DataRow) As Integer
9139 Return Me.Adapter.Update(New Global.System.Data.DataRow() {dataRow})
9142 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9143 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9144 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
9145 Public Overloads Overridable Function Update(ByVal dataRows() As Global.System.Data.DataRow) As Integer
9146 Return Me.Adapter.Update(dataRows)
9149 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9150 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9151 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
9152 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Delete, true)> _
9153 Public Overloads Overridable Function Delete(ByVal Original_UserDetailsID As Integer, ByVal Original_Town As String, ByVal Original_CardNumber As Global.System.Nullable(Of Integer), ByVal Original_CVC As Global.System.Nullable(Of Integer)) As Integer
9154 Me.Adapter.DeleteCommand.Parameters(0).Value = CType(Original_UserDetailsID,Integer)
9155 If (Original_Town Is Nothing) Then
9156 Me.Adapter.DeleteCommand.Parameters(1).Value = CType(1,Object)
9157 Me.Adapter.DeleteCommand.Parameters(2).Value = Global.System.DBNull.Value
9159 Me.Adapter.DeleteCommand.Parameters(1).Value = CType(0,Object)
9160 Me.Adapter.DeleteCommand.Parameters(2).Value = CType(Original_Town,String)
9162 If (Original_CardNumber.HasValue = true) Then
9163 Me.Adapter.DeleteCommand.Parameters(3).Value = CType(0,Object)
9164 Me.Adapter.DeleteCommand.Parameters(4).Value = CType(Original_CardNumber.Value,Integer)
9166 Me.Adapter.DeleteCommand.Parameters(3).Value = CType(1,Object)
9167 Me.Adapter.DeleteCommand.Parameters(4).Value = Global.System.DBNull.Value
9169 If (Original_CVC.HasValue = true) Then
9170 Me.Adapter.DeleteCommand.Parameters(5).Value = CType(0,Object)
9171 Me.Adapter.DeleteCommand.Parameters(6).Value = CType(Original_CVC.Value,Integer)
9173 Me.Adapter.DeleteCommand.Parameters(5).Value = CType(1,Object)
9174 Me.Adapter.DeleteCommand.Parameters(6).Value = Global.System.DBNull.Value
9176 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.DeleteCommand.Connection.State
9177 If ((Me.Adapter.DeleteCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
9178 <> Global.System.Data.ConnectionState.Open) Then
9179 Me.Adapter.DeleteCommand.Connection.Open
9182 Dim returnValue As Integer = Me.Adapter.DeleteCommand.ExecuteNonQuery
9185 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
9186 Me.Adapter.DeleteCommand.Connection.Close
9191 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9192 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9193 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
9194 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Insert, true)> _
9195 Public Overloads Overridable Function Insert(ByVal FirstName As String, ByVal LastName As String, ByVal AddressLine1 As String, ByVal Town As String, ByVal Postcode As String, ByVal CardNumber As Global.System.Nullable(Of Integer), ByVal CVC As Global.System.Nullable(Of Integer), ByVal IGN As String, ByVal Email As String, ByVal ProfilePic() As Byte) As Integer
9196 If (FirstName Is Nothing) Then
9197 Me.Adapter.InsertCommand.Parameters(0).Value = Global.System.DBNull.Value
9199 Me.Adapter.InsertCommand.Parameters(0).Value = CType(FirstName,String)
9201 If (LastName Is Nothing) Then
9202 Me.Adapter.InsertCommand.Parameters(1).Value = Global.System.DBNull.Value
9204 Me.Adapter.InsertCommand.Parameters(1).Value = CType(LastName,String)
9206 If (AddressLine1 Is Nothing) Then
9207 Me.Adapter.InsertCommand.Parameters(2).Value = Global.System.DBNull.Value
9209 Me.Adapter.InsertCommand.Parameters(2).Value = CType(AddressLine1,String)
9211 If (Town Is Nothing) Then
9212 Me.Adapter.InsertCommand.Parameters(3).Value = Global.System.DBNull.Value
9214 Me.Adapter.InsertCommand.Parameters(3).Value = CType(Town,String)
9216 If (Postcode Is Nothing) Then
9217 Me.Adapter.InsertCommand.Parameters(4).Value = Global.System.DBNull.Value
9219 Me.Adapter.InsertCommand.Parameters(4).Value = CType(Postcode,String)
9221 If (CardNumber.HasValue = true) Then
9222 Me.Adapter.InsertCommand.Parameters(5).Value = CType(CardNumber.Value,Integer)
9224 Me.Adapter.InsertCommand.Parameters(5).Value = Global.System.DBNull.Value
9226 If (CVC.HasValue = true) Then
9227 Me.Adapter.InsertCommand.Parameters(6).Value = CType(CVC.Value,Integer)
9229 Me.Adapter.InsertCommand.Parameters(6).Value = Global.System.DBNull.Value
9231 If (IGN Is Nothing) Then
9232 Me.Adapter.InsertCommand.Parameters(7).Value = Global.System.DBNull.Value
9234 Me.Adapter.InsertCommand.Parameters(7).Value = CType(IGN,String)
9236 If (Email Is Nothing) Then
9237 Me.Adapter.InsertCommand.Parameters(8).Value = Global.System.DBNull.Value
9239 Me.Adapter.InsertCommand.Parameters(8).Value = CType(Email,String)
9241 If (ProfilePic Is Nothing) Then
9242 Me.Adapter.InsertCommand.Parameters(9).Value = Global.System.DBNull.Value
9244 Me.Adapter.InsertCommand.Parameters(9).Value = CType(ProfilePic,Byte())
9246 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.InsertCommand.Connection.State
9247 If ((Me.Adapter.InsertCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
9248 <> Global.System.Data.ConnectionState.Open) Then
9249 Me.Adapter.InsertCommand.Connection.Open
9252 Dim returnValue As Integer = Me.Adapter.InsertCommand.ExecuteNonQuery
9255 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
9256 Me.Adapter.InsertCommand.Connection.Close
9261 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9262 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9263 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
9264 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Update, true)> _
9265 Public Overloads Overridable Function Update(ByVal FirstName As String, ByVal LastName As String, ByVal AddressLine1 As String, ByVal Town As String, ByVal Postcode As String, ByVal CardNumber As Global.System.Nullable(Of Integer), ByVal CVC As Global.System.Nullable(Of Integer), ByVal IGN As String, ByVal Email As String, ByVal ProfilePic() As Byte, ByVal Original_UserDetailsID As Integer, ByVal Original_Town As String, ByVal Original_CardNumber As Global.System.Nullable(Of Integer), ByVal Original_CVC As Global.System.Nullable(Of Integer)) As Integer
9266 If (FirstName Is Nothing) Then
9267 Me.Adapter.UpdateCommand.Parameters(0).Value = Global.System.DBNull.Value
9269 Me.Adapter.UpdateCommand.Parameters(0).Value = CType(FirstName,String)
9271 If (LastName Is Nothing) Then
9272 Me.Adapter.UpdateCommand.Parameters(1).Value = Global.System.DBNull.Value
9274 Me.Adapter.UpdateCommand.Parameters(1).Value = CType(LastName,String)
9276 If (AddressLine1 Is Nothing) Then
9277 Me.Adapter.UpdateCommand.Parameters(2).Value = Global.System.DBNull.Value
9279 Me.Adapter.UpdateCommand.Parameters(2).Value = CType(AddressLine1,String)
9281 If (Town Is Nothing) Then
9282 Me.Adapter.UpdateCommand.Parameters(3).Value = Global.System.DBNull.Value
9284 Me.Adapter.UpdateCommand.Parameters(3).Value = CType(Town,String)
9286 If (Postcode Is Nothing) Then
9287 Me.Adapter.UpdateCommand.Parameters(4).Value = Global.System.DBNull.Value
9289 Me.Adapter.UpdateCommand.Parameters(4).Value = CType(Postcode,String)
9291 If (CardNumber.HasValue = true) Then
9292 Me.Adapter.UpdateCommand.Parameters(5).Value = CType(CardNumber.Value,Integer)
9294 Me.Adapter.UpdateCommand.Parameters(5).Value = Global.System.DBNull.Value
9296 If (CVC.HasValue = true) Then
9297 Me.Adapter.UpdateCommand.Parameters(6).Value = CType(CVC.Value,Integer)
9299 Me.Adapter.UpdateCommand.Parameters(6).Value = Global.System.DBNull.Value
9301 If (IGN Is Nothing) Then
9302 Me.Adapter.UpdateCommand.Parameters(7).Value = Global.System.DBNull.Value
9304 Me.Adapter.UpdateCommand.Parameters(7).Value = CType(IGN,String)
9306 If (Email Is Nothing) Then
9307 Me.Adapter.UpdateCommand.Parameters(8).Value = Global.System.DBNull.Value
9309 Me.Adapter.UpdateCommand.Parameters(8).Value = CType(Email,String)
9311 If (ProfilePic Is Nothing) Then
9312 Me.Adapter.UpdateCommand.Parameters(9).Value = Global.System.DBNull.Value
9314 Me.Adapter.UpdateCommand.Parameters(9).Value = CType(ProfilePic,Byte())
9316 Me.Adapter.UpdateCommand.Parameters(10).Value = CType(Original_UserDetailsID,Integer)
9317 If (Original_Town Is Nothing) Then
9318 Me.Adapter.UpdateCommand.Parameters(11).Value = CType(1,Object)
9319 Me.Adapter.UpdateCommand.Parameters(12).Value = Global.System.DBNull.Value
9321 Me.Adapter.UpdateCommand.Parameters(11).Value = CType(0,Object)
9322 Me.Adapter.UpdateCommand.Parameters(12).Value = CType(Original_Town,String)
9324 If (Original_CardNumber.HasValue = true) Then
9325 Me.Adapter.UpdateCommand.Parameters(13).Value = CType(0,Object)
9326 Me.Adapter.UpdateCommand.Parameters(14).Value = CType(Original_CardNumber.Value,Integer)
9328 Me.Adapter.UpdateCommand.Parameters(13).Value = CType(1,Object)
9329 Me.Adapter.UpdateCommand.Parameters(14).Value = Global.System.DBNull.Value
9331 If (Original_CVC.HasValue = true) Then
9332 Me.Adapter.UpdateCommand.Parameters(15).Value = CType(0,Object)
9333 Me.Adapter.UpdateCommand.Parameters(16).Value = CType(Original_CVC.Value,Integer)
9335 Me.Adapter.UpdateCommand.Parameters(15).Value = CType(1,Object)
9336 Me.Adapter.UpdateCommand.Parameters(16).Value = Global.System.DBNull.Value
9338 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.UpdateCommand.Connection.State
9339 If ((Me.Adapter.UpdateCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
9340 <> Global.System.Data.ConnectionState.Open) Then
9341 Me.Adapter.UpdateCommand.Connection.Open
9344 Dim returnValue As Integer = Me.Adapter.UpdateCommand.ExecuteNonQuery
9347 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
9348 Me.Adapter.UpdateCommand.Connection.Close
9353 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9354 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9355 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
9356 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Insert, false)> _
9357 Public Overloads Overridable Function InsertQuery(ByVal FirstName As String, ByVal LastName As String, ByVal AddressLine1 As String, ByVal Town As String, ByVal Postcode As String, ByVal CardNumber As Global.System.Nullable(Of Integer), ByVal CVC As Global.System.Nullable(Of Integer), ByVal IGN As String, ByVal Email As String, ByVal ProfilePic() As Byte) As Integer
9358 Dim command As Global.System.Data.OleDb.OleDbCommand = Me.CommandCollection(1)
9359 If (FirstName Is Nothing) Then
9360 command.Parameters(0).Value = Global.System.DBNull.Value
9362 command.Parameters(0).Value = CType(FirstName,String)
9364 If (LastName Is Nothing) Then
9365 command.Parameters(1).Value = Global.System.DBNull.Value
9367 command.Parameters(1).Value = CType(LastName,String)
9369 If (AddressLine1 Is Nothing) Then
9370 command.Parameters(2).Value = Global.System.DBNull.Value
9372 command.Parameters(2).Value = CType(AddressLine1,String)
9374 If (Town Is Nothing) Then
9375 command.Parameters(3).Value = Global.System.DBNull.Value
9377 command.Parameters(3).Value = CType(Town,String)
9379 If (Postcode Is Nothing) Then
9380 command.Parameters(4).Value = Global.System.DBNull.Value
9382 command.Parameters(4).Value = CType(Postcode,String)
9384 If (CardNumber.HasValue = true) Then
9385 command.Parameters(5).Value = CType(CardNumber.Value,Integer)
9387 command.Parameters(5).Value = Global.System.DBNull.Value
9389 If (CVC.HasValue = true) Then
9390 command.Parameters(6).Value = CType(CVC.Value,Integer)
9392 command.Parameters(6).Value = Global.System.DBNull.Value
9394 If (IGN Is Nothing) Then
9395 command.Parameters(7).Value = Global.System.DBNull.Value
9397 command.Parameters(7).Value = CType(IGN,String)
9399 If (Email Is Nothing) Then
9400 command.Parameters(8).Value = Global.System.DBNull.Value
9402 command.Parameters(8).Value = CType(Email,String)
9404 If (ProfilePic Is Nothing) Then
9405 command.Parameters(9).Value = Global.System.DBNull.Value
9407 command.Parameters(9).Value = CType(ProfilePic,Byte())
9409 Dim previousConnectionState As Global.System.Data.ConnectionState = command.Connection.State
9410 If ((command.Connection.State And Global.System.Data.ConnectionState.Open) _
9411 <> Global.System.Data.ConnectionState.Open) Then
9412 command.Connection.Open
9414 Dim returnValue As Integer
9416 returnValue = command.ExecuteNonQuery
9418 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
9419 command.Connection.Close
9427 '''TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
9429 <Global.System.ComponentModel.DesignerCategoryAttribute("code"), _
9430 Global.System.ComponentModel.ToolboxItem(true), _
9431 Global.System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD"& _
9432 "esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"), _
9433 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")> _
9434 Partial Public Class TableAdapterManager
9435 Inherits Global.System.ComponentModel.Component
9437 Private _updateOrder As UpdateOrderOption
9439 Private _achievementTableAdapter As AchievementTableAdapter
9441 Private _dOWTableAdapter As DOWTableAdapter
9443 Private _friendsTableAdapter As FriendsTableAdapter
9445 Private _gamesTableAdapter As GamesTableAdapter
9447 Private _purchasedTableAdapter As PurchasedTableAdapter
9449 Private _reviewsTableAdapter As ReviewsTableAdapter
9451 Private _tagsTableAdapter As TagsTableAdapter
9453 Private _wishlistTableAdapter As WishlistTableAdapter
9455 Private _usersTableAdapter As UsersTableAdapter
9457 Private _user_DetailsTableAdapter As User_DetailsTableAdapter
9459 Private _backupDataSetBeforeUpdate As Boolean
9461 Private _connection As Global.System.Data.IDbConnection
9463 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9464 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
9465 Public Property UpdateOrder() As UpdateOrderOption
9467 Return Me._updateOrder
9470 Me._updateOrder = value
9474 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9475 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9476 Global.System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso"& _
9477 "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3"& _
9478 "a", "System.Drawing.Design.UITypeEditor")> _
9479 Public Property AchievementTableAdapter() As AchievementTableAdapter
9481 Return Me._achievementTableAdapter
9484 Me._achievementTableAdapter = value
9488 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9489 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9490 Global.System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso"& _
9491 "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3"& _
9492 "a", "System.Drawing.Design.UITypeEditor")> _
9493 Public Property DOWTableAdapter() As DOWTableAdapter
9495 Return Me._dOWTableAdapter
9498 Me._dOWTableAdapter = value
9502 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9503 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9504 Global.System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso"& _
9505 "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3"& _
9506 "a", "System.Drawing.Design.UITypeEditor")> _
9507 Public Property FriendsTableAdapter() As FriendsTableAdapter
9509 Return Me._friendsTableAdapter
9512 Me._friendsTableAdapter = value
9516 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9517 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9518 Global.System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso"& _
9519 "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3"& _
9520 "a", "System.Drawing.Design.UITypeEditor")> _
9521 Public Property GamesTableAdapter() As GamesTableAdapter
9523 Return Me._gamesTableAdapter
9526 Me._gamesTableAdapter = value
9530 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9531 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9532 Global.System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso"& _
9533 "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3"& _
9534 "a", "System.Drawing.Design.UITypeEditor")> _
9535 Public Property PurchasedTableAdapter() As PurchasedTableAdapter
9537 Return Me._purchasedTableAdapter
9540 Me._purchasedTableAdapter = value
9544 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9545 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9546 Global.System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso"& _
9547 "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3"& _
9548 "a", "System.Drawing.Design.UITypeEditor")> _
9549 Public Property ReviewsTableAdapter() As ReviewsTableAdapter
9551 Return Me._reviewsTableAdapter
9554 Me._reviewsTableAdapter = value
9558 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9559 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9560 Global.System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso"& _
9561 "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3"& _
9562 "a", "System.Drawing.Design.UITypeEditor")> _
9563 Public Property TagsTableAdapter() As TagsTableAdapter
9565 Return Me._tagsTableAdapter
9568 Me._tagsTableAdapter = value
9572 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9573 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9574 Global.System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso"& _
9575 "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3"& _
9576 "a", "System.Drawing.Design.UITypeEditor")> _
9577 Public Property WishlistTableAdapter() As WishlistTableAdapter
9579 Return Me._wishlistTableAdapter
9582 Me._wishlistTableAdapter = value
9586 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9587 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9588 Global.System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso"& _
9589 "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3"& _
9590 "a", "System.Drawing.Design.UITypeEditor")> _
9591 Public Property UsersTableAdapter() As UsersTableAdapter
9593 Return Me._usersTableAdapter
9596 Me._usersTableAdapter = value
9600 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9601 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9602 Global.System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso"& _
9603 "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3"& _
9604 "a", "System.Drawing.Design.UITypeEditor")> _
9605 Public Property User_DetailsTableAdapter() As User_DetailsTableAdapter
9607 Return Me._user_DetailsTableAdapter
9610 Me._user_DetailsTableAdapter = value
9614 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9615 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
9616 Public Property BackupDataSetBeforeUpdate() As Boolean
9618 Return Me._backupDataSetBeforeUpdate
9621 Me._backupDataSetBeforeUpdate = value
9625 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9626 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9627 Global.System.ComponentModel.Browsable(false)> _
9628 Public Property Connection() As Global.System.Data.IDbConnection
9630 If (Not (Me._connection) Is Nothing) Then
9631 Return Me._connection
9633 If ((Not (Me._achievementTableAdapter) Is Nothing) _
9634 AndAlso (Not (Me._achievementTableAdapter.Connection) Is Nothing)) Then
9635 Return Me._achievementTableAdapter.Connection
9637 If ((Not (Me._dOWTableAdapter) Is Nothing) _
9638 AndAlso (Not (Me._dOWTableAdapter.Connection) Is Nothing)) Then
9639 Return Me._dOWTableAdapter.Connection
9641 If ((Not (Me._friendsTableAdapter) Is Nothing) _
9642 AndAlso (Not (Me._friendsTableAdapter.Connection) Is Nothing)) Then
9643 Return Me._friendsTableAdapter.Connection
9645 If ((Not (Me._gamesTableAdapter) Is Nothing) _
9646 AndAlso (Not (Me._gamesTableAdapter.Connection) Is Nothing)) Then
9647 Return Me._gamesTableAdapter.Connection
9649 If ((Not (Me._purchasedTableAdapter) Is Nothing) _
9650 AndAlso (Not (Me._purchasedTableAdapter.Connection) Is Nothing)) Then
9651 Return Me._purchasedTableAdapter.Connection
9653 If ((Not (Me._reviewsTableAdapter) Is Nothing) _
9654 AndAlso (Not (Me._reviewsTableAdapter.Connection) Is Nothing)) Then
9655 Return Me._reviewsTableAdapter.Connection
9657 If ((Not (Me._tagsTableAdapter) Is Nothing) _
9658 AndAlso (Not (Me._tagsTableAdapter.Connection) Is Nothing)) Then
9659 Return Me._tagsTableAdapter.Connection
9661 If ((Not (Me._wishlistTableAdapter) Is Nothing) _
9662 AndAlso (Not (Me._wishlistTableAdapter.Connection) Is Nothing)) Then
9663 Return Me._wishlistTableAdapter.Connection
9665 If ((Not (Me._usersTableAdapter) Is Nothing) _
9666 AndAlso (Not (Me._usersTableAdapter.Connection) Is Nothing)) Then
9667 Return Me._usersTableAdapter.Connection
9669 If ((Not (Me._user_DetailsTableAdapter) Is Nothing) _
9670 AndAlso (Not (Me._user_DetailsTableAdapter.Connection) Is Nothing)) Then
9671 Return Me._user_DetailsTableAdapter.Connection
9676 Me._connection = value
9680 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9681 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9682 Global.System.ComponentModel.Browsable(false)> _
9683 Public ReadOnly Property TableAdapterInstanceCount() As Integer
9685 Dim count As Integer = 0
9686 If (Not (Me._achievementTableAdapter) Is Nothing) Then
9689 If (Not (Me._dOWTableAdapter) Is Nothing) Then
9692 If (Not (Me._friendsTableAdapter) Is Nothing) Then
9695 If (Not (Me._gamesTableAdapter) Is Nothing) Then
9698 If (Not (Me._purchasedTableAdapter) Is Nothing) Then
9701 If (Not (Me._reviewsTableAdapter) Is Nothing) Then
9704 If (Not (Me._tagsTableAdapter) Is Nothing) Then
9707 If (Not (Me._wishlistTableAdapter) Is Nothing) Then
9710 If (Not (Me._usersTableAdapter) Is Nothing) Then
9713 If (Not (Me._user_DetailsTableAdapter) Is Nothing) Then
9721 '''Update rows in top-down order.
9723 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9724 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
9725 Private Function UpdateUpdatedRows(ByVal dataSet As NEADataSet, ByVal allChangedRows As Global.System.Collections.Generic.List(Of Global.System.Data.DataRow), ByVal allAddedRows As Global.System.Collections.Generic.List(Of Global.System.Data.DataRow)) As Integer
9726 Dim result As Integer = 0
9727 If (Not (Me._gamesTableAdapter) Is Nothing) Then
9728 Dim updatedRows() As Global.System.Data.DataRow = dataSet.Games.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.ModifiedCurrent)
9729 updatedRows = Me.GetRealUpdatedRows(updatedRows, allAddedRows)
9730 If ((Not (updatedRows) Is Nothing) _
9731 AndAlso (0 < updatedRows.Length)) Then
9732 result = (result + Me._gamesTableAdapter.Update(updatedRows))
9733 allChangedRows.AddRange(updatedRows)
9736 If (Not (Me._user_DetailsTableAdapter) Is Nothing) Then
9737 Dim updatedRows() As Global.System.Data.DataRow = dataSet.User_Details.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.ModifiedCurrent)
9738 updatedRows = Me.GetRealUpdatedRows(updatedRows, allAddedRows)
9739 If ((Not (updatedRows) Is Nothing) _
9740 AndAlso (0 < updatedRows.Length)) Then
9741 result = (result + Me._user_DetailsTableAdapter.Update(updatedRows))
9742 allChangedRows.AddRange(updatedRows)
9745 If (Not (Me._achievementTableAdapter) Is Nothing) Then
9746 Dim updatedRows() As Global.System.Data.DataRow = dataSet.Achievement.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.ModifiedCurrent)
9747 updatedRows = Me.GetRealUpdatedRows(updatedRows, allAddedRows)
9748 If ((Not (updatedRows) Is Nothing) _
9749 AndAlso (0 < updatedRows.Length)) Then
9750 result = (result + Me._achievementTableAdapter.Update(updatedRows))
9751 allChangedRows.AddRange(updatedRows)
9754 If (Not (Me._dOWTableAdapter) Is Nothing) Then
9755 Dim updatedRows() As Global.System.Data.DataRow = dataSet.DOW.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.ModifiedCurrent)
9756 updatedRows = Me.GetRealUpdatedRows(updatedRows, allAddedRows)
9757 If ((Not (updatedRows) Is Nothing) _
9758 AndAlso (0 < updatedRows.Length)) Then
9759 result = (result + Me._dOWTableAdapter.Update(updatedRows))
9760 allChangedRows.AddRange(updatedRows)
9763 If (Not (Me._friendsTableAdapter) Is Nothing) Then
9764 Dim updatedRows() As Global.System.Data.DataRow = dataSet.Friends.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.ModifiedCurrent)
9765 updatedRows = Me.GetRealUpdatedRows(updatedRows, allAddedRows)
9766 If ((Not (updatedRows) Is Nothing) _
9767 AndAlso (0 < updatedRows.Length)) Then
9768 result = (result + Me._friendsTableAdapter.Update(updatedRows))
9769 allChangedRows.AddRange(updatedRows)
9772 If (Not (Me._purchasedTableAdapter) Is Nothing) Then
9773 Dim updatedRows() As Global.System.Data.DataRow = dataSet.Purchased.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.ModifiedCurrent)
9774 updatedRows = Me.GetRealUpdatedRows(updatedRows, allAddedRows)
9775 If ((Not (updatedRows) Is Nothing) _
9776 AndAlso (0 < updatedRows.Length)) Then
9777 result = (result + Me._purchasedTableAdapter.Update(updatedRows))
9778 allChangedRows.AddRange(updatedRows)
9781 If (Not (Me._reviewsTableAdapter) Is Nothing) Then
9782 Dim updatedRows() As Global.System.Data.DataRow = dataSet.Reviews.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.ModifiedCurrent)
9783 updatedRows = Me.GetRealUpdatedRows(updatedRows, allAddedRows)
9784 If ((Not (updatedRows) Is Nothing) _
9785 AndAlso (0 < updatedRows.Length)) Then
9786 result = (result + Me._reviewsTableAdapter.Update(updatedRows))
9787 allChangedRows.AddRange(updatedRows)
9790 If (Not (Me._tagsTableAdapter) Is Nothing) Then
9791 Dim updatedRows() As Global.System.Data.DataRow = dataSet.Tags.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.ModifiedCurrent)
9792 updatedRows = Me.GetRealUpdatedRows(updatedRows, allAddedRows)
9793 If ((Not (updatedRows) Is Nothing) _
9794 AndAlso (0 < updatedRows.Length)) Then
9795 result = (result + Me._tagsTableAdapter.Update(updatedRows))
9796 allChangedRows.AddRange(updatedRows)
9799 If (Not (Me._wishlistTableAdapter) Is Nothing) Then
9800 Dim updatedRows() As Global.System.Data.DataRow = dataSet.Wishlist.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.ModifiedCurrent)
9801 updatedRows = Me.GetRealUpdatedRows(updatedRows, allAddedRows)
9802 If ((Not (updatedRows) Is Nothing) _
9803 AndAlso (0 < updatedRows.Length)) Then
9804 result = (result + Me._wishlistTableAdapter.Update(updatedRows))
9805 allChangedRows.AddRange(updatedRows)
9808 If (Not (Me._usersTableAdapter) Is Nothing) Then
9809 Dim updatedRows() As Global.System.Data.DataRow = dataSet.Users.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.ModifiedCurrent)
9810 updatedRows = Me.GetRealUpdatedRows(updatedRows, allAddedRows)
9811 If ((Not (updatedRows) Is Nothing) _
9812 AndAlso (0 < updatedRows.Length)) Then
9813 result = (result + Me._usersTableAdapter.Update(updatedRows))
9814 allChangedRows.AddRange(updatedRows)
9821 '''Insert rows in top-down order.
9823 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9824 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
9825 Private Function UpdateInsertedRows(ByVal dataSet As NEADataSet, ByVal allAddedRows As Global.System.Collections.Generic.List(Of Global.System.Data.DataRow)) As Integer
9826 Dim result As Integer = 0
9827 If (Not (Me._gamesTableAdapter) Is Nothing) Then
9828 Dim addedRows() As Global.System.Data.DataRow = dataSet.Games.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Added)
9829 If ((Not (addedRows) Is Nothing) _
9830 AndAlso (0 < addedRows.Length)) Then
9831 result = (result + Me._gamesTableAdapter.Update(addedRows))
9832 allAddedRows.AddRange(addedRows)
9835 If (Not (Me._user_DetailsTableAdapter) Is Nothing) Then
9836 Dim addedRows() As Global.System.Data.DataRow = dataSet.User_Details.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Added)
9837 If ((Not (addedRows) Is Nothing) _
9838 AndAlso (0 < addedRows.Length)) Then
9839 result = (result + Me._user_DetailsTableAdapter.Update(addedRows))
9840 allAddedRows.AddRange(addedRows)
9843 If (Not (Me._achievementTableAdapter) Is Nothing) Then
9844 Dim addedRows() As Global.System.Data.DataRow = dataSet.Achievement.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Added)
9845 If ((Not (addedRows) Is Nothing) _
9846 AndAlso (0 < addedRows.Length)) Then
9847 result = (result + Me._achievementTableAdapter.Update(addedRows))
9848 allAddedRows.AddRange(addedRows)
9851 If (Not (Me._dOWTableAdapter) Is Nothing) Then
9852 Dim addedRows() As Global.System.Data.DataRow = dataSet.DOW.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Added)
9853 If ((Not (addedRows) Is Nothing) _
9854 AndAlso (0 < addedRows.Length)) Then
9855 result = (result + Me._dOWTableAdapter.Update(addedRows))
9856 allAddedRows.AddRange(addedRows)
9859 If (Not (Me._friendsTableAdapter) Is Nothing) Then
9860 Dim addedRows() As Global.System.Data.DataRow = dataSet.Friends.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Added)
9861 If ((Not (addedRows) Is Nothing) _
9862 AndAlso (0 < addedRows.Length)) Then
9863 result = (result + Me._friendsTableAdapter.Update(addedRows))
9864 allAddedRows.AddRange(addedRows)
9867 If (Not (Me._purchasedTableAdapter) Is Nothing) Then
9868 Dim addedRows() As Global.System.Data.DataRow = dataSet.Purchased.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Added)
9869 If ((Not (addedRows) Is Nothing) _
9870 AndAlso (0 < addedRows.Length)) Then
9871 result = (result + Me._purchasedTableAdapter.Update(addedRows))
9872 allAddedRows.AddRange(addedRows)
9875 If (Not (Me._reviewsTableAdapter) Is Nothing) Then
9876 Dim addedRows() As Global.System.Data.DataRow = dataSet.Reviews.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Added)
9877 If ((Not (addedRows) Is Nothing) _
9878 AndAlso (0 < addedRows.Length)) Then
9879 result = (result + Me._reviewsTableAdapter.Update(addedRows))
9880 allAddedRows.AddRange(addedRows)
9883 If (Not (Me._tagsTableAdapter) Is Nothing) Then
9884 Dim addedRows() As Global.System.Data.DataRow = dataSet.Tags.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Added)
9885 If ((Not (addedRows) Is Nothing) _
9886 AndAlso (0 < addedRows.Length)) Then
9887 result = (result + Me._tagsTableAdapter.Update(addedRows))
9888 allAddedRows.AddRange(addedRows)
9891 If (Not (Me._wishlistTableAdapter) Is Nothing) Then
9892 Dim addedRows() As Global.System.Data.DataRow = dataSet.Wishlist.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Added)
9893 If ((Not (addedRows) Is Nothing) _
9894 AndAlso (0 < addedRows.Length)) Then
9895 result = (result + Me._wishlistTableAdapter.Update(addedRows))
9896 allAddedRows.AddRange(addedRows)
9899 If (Not (Me._usersTableAdapter) Is Nothing) Then
9900 Dim addedRows() As Global.System.Data.DataRow = dataSet.Users.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Added)
9901 If ((Not (addedRows) Is Nothing) _
9902 AndAlso (0 < addedRows.Length)) Then
9903 result = (result + Me._usersTableAdapter.Update(addedRows))
9904 allAddedRows.AddRange(addedRows)
9911 '''Delete rows in bottom-up order.
9913 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9914 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
9915 Private Function UpdateDeletedRows(ByVal dataSet As NEADataSet, ByVal allChangedRows As Global.System.Collections.Generic.List(Of Global.System.Data.DataRow)) As Integer
9916 Dim result As Integer = 0
9917 If (Not (Me._usersTableAdapter) Is Nothing) Then
9918 Dim deletedRows() As Global.System.Data.DataRow = dataSet.Users.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Deleted)
9919 If ((Not (deletedRows) Is Nothing) _
9920 AndAlso (0 < deletedRows.Length)) Then
9921 result = (result + Me._usersTableAdapter.Update(deletedRows))
9922 allChangedRows.AddRange(deletedRows)
9925 If (Not (Me._wishlistTableAdapter) Is Nothing) Then
9926 Dim deletedRows() As Global.System.Data.DataRow = dataSet.Wishlist.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Deleted)
9927 If ((Not (deletedRows) Is Nothing) _
9928 AndAlso (0 < deletedRows.Length)) Then
9929 result = (result + Me._wishlistTableAdapter.Update(deletedRows))
9930 allChangedRows.AddRange(deletedRows)
9933 If (Not (Me._tagsTableAdapter) Is Nothing) Then
9934 Dim deletedRows() As Global.System.Data.DataRow = dataSet.Tags.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Deleted)
9935 If ((Not (deletedRows) Is Nothing) _
9936 AndAlso (0 < deletedRows.Length)) Then
9937 result = (result + Me._tagsTableAdapter.Update(deletedRows))
9938 allChangedRows.AddRange(deletedRows)
9941 If (Not (Me._reviewsTableAdapter) Is Nothing) Then
9942 Dim deletedRows() As Global.System.Data.DataRow = dataSet.Reviews.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Deleted)
9943 If ((Not (deletedRows) Is Nothing) _
9944 AndAlso (0 < deletedRows.Length)) Then
9945 result = (result + Me._reviewsTableAdapter.Update(deletedRows))
9946 allChangedRows.AddRange(deletedRows)
9949 If (Not (Me._purchasedTableAdapter) Is Nothing) Then
9950 Dim deletedRows() As Global.System.Data.DataRow = dataSet.Purchased.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Deleted)
9951 If ((Not (deletedRows) Is Nothing) _
9952 AndAlso (0 < deletedRows.Length)) Then
9953 result = (result + Me._purchasedTableAdapter.Update(deletedRows))
9954 allChangedRows.AddRange(deletedRows)
9957 If (Not (Me._friendsTableAdapter) Is Nothing) Then
9958 Dim deletedRows() As Global.System.Data.DataRow = dataSet.Friends.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Deleted)
9959 If ((Not (deletedRows) Is Nothing) _
9960 AndAlso (0 < deletedRows.Length)) Then
9961 result = (result + Me._friendsTableAdapter.Update(deletedRows))
9962 allChangedRows.AddRange(deletedRows)
9965 If (Not (Me._dOWTableAdapter) Is Nothing) Then
9966 Dim deletedRows() As Global.System.Data.DataRow = dataSet.DOW.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Deleted)
9967 If ((Not (deletedRows) Is Nothing) _
9968 AndAlso (0 < deletedRows.Length)) Then
9969 result = (result + Me._dOWTableAdapter.Update(deletedRows))
9970 allChangedRows.AddRange(deletedRows)
9973 If (Not (Me._achievementTableAdapter) Is Nothing) Then
9974 Dim deletedRows() As Global.System.Data.DataRow = dataSet.Achievement.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Deleted)
9975 If ((Not (deletedRows) Is Nothing) _
9976 AndAlso (0 < deletedRows.Length)) Then
9977 result = (result + Me._achievementTableAdapter.Update(deletedRows))
9978 allChangedRows.AddRange(deletedRows)
9981 If (Not (Me._user_DetailsTableAdapter) Is Nothing) Then
9982 Dim deletedRows() As Global.System.Data.DataRow = dataSet.User_Details.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Deleted)
9983 If ((Not (deletedRows) Is Nothing) _
9984 AndAlso (0 < deletedRows.Length)) Then
9985 result = (result + Me._user_DetailsTableAdapter.Update(deletedRows))
9986 allChangedRows.AddRange(deletedRows)
9989 If (Not (Me._gamesTableAdapter) Is Nothing) Then
9990 Dim deletedRows() As Global.System.Data.DataRow = dataSet.Games.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Deleted)
9991 If ((Not (deletedRows) Is Nothing) _
9992 AndAlso (0 < deletedRows.Length)) Then
9993 result = (result + Me._gamesTableAdapter.Update(deletedRows))
9994 allChangedRows.AddRange(deletedRows)
10001 '''Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first
10003 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
10004 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
10005 Private Function GetRealUpdatedRows(ByVal updatedRows() As Global.System.Data.DataRow, ByVal allAddedRows As Global.System.Collections.Generic.List(Of Global.System.Data.DataRow)) As Global.System.Data.DataRow()
10006 If ((updatedRows Is Nothing) _
10007 OrElse (updatedRows.Length < 1)) Then
10010 If ((allAddedRows Is Nothing) _
10011 OrElse (allAddedRows.Count < 1)) Then
10014 Dim realUpdatedRows As Global.System.Collections.Generic.List(Of Global.System.Data.DataRow) = New Global.System.Collections.Generic.List(Of Global.System.Data.DataRow)()
10015 Dim i As Integer = 0
10016 Do While (i < updatedRows.Length)
10017 Dim row As Global.System.Data.DataRow = updatedRows(i)
10018 If (allAddedRows.Contains(row) = false) Then
10019 realUpdatedRows.Add(row)
10023 Return realUpdatedRows.ToArray
10027 '''Update all changes to the dataset.
10029 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
10030 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
10031 Public Overridable Function UpdateAll(ByVal dataSet As NEADataSet) As Integer
10032 If (dataSet Is Nothing) Then
10033 Throw New Global.System.ArgumentNullException("dataSet")
10035 If (dataSet.HasChanges = false) Then
10038 If ((Not (Me._achievementTableAdapter) Is Nothing) _
10039 AndAlso (Me.MatchTableAdapterConnection(Me._achievementTableAdapter.Connection) = false)) Then
10040 Throw New Global.System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s"& _
10043 If ((Not (Me._dOWTableAdapter) Is Nothing) _
10044 AndAlso (Me.MatchTableAdapterConnection(Me._dOWTableAdapter.Connection) = false)) Then
10045 Throw New Global.System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s"& _
10048 If ((Not (Me._friendsTableAdapter) Is Nothing) _
10049 AndAlso (Me.MatchTableAdapterConnection(Me._friendsTableAdapter.Connection) = false)) Then
10050 Throw New Global.System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s"& _
10053 If ((Not (Me._gamesTableAdapter) Is Nothing) _
10054 AndAlso (Me.MatchTableAdapterConnection(Me._gamesTableAdapter.Connection) = false)) Then
10055 Throw New Global.System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s"& _
10058 If ((Not (Me._purchasedTableAdapter) Is Nothing) _
10059 AndAlso (Me.MatchTableAdapterConnection(Me._purchasedTableAdapter.Connection) = false)) Then
10060 Throw New Global.System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s"& _
10063 If ((Not (Me._reviewsTableAdapter) Is Nothing) _
10064 AndAlso (Me.MatchTableAdapterConnection(Me._reviewsTableAdapter.Connection) = false)) Then
10065 Throw New Global.System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s"& _
10068 If ((Not (Me._tagsTableAdapter) Is Nothing) _
10069 AndAlso (Me.MatchTableAdapterConnection(Me._tagsTableAdapter.Connection) = false)) Then
10070 Throw New Global.System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s"& _
10073 If ((Not (Me._wishlistTableAdapter) Is Nothing) _
10074 AndAlso (Me.MatchTableAdapterConnection(Me._wishlistTableAdapter.Connection) = false)) Then
10075 Throw New Global.System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s"& _
10078 If ((Not (Me._usersTableAdapter) Is Nothing) _
10079 AndAlso (Me.MatchTableAdapterConnection(Me._usersTableAdapter.Connection) = false)) Then
10080 Throw New Global.System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s"& _
10083 If ((Not (Me._user_DetailsTableAdapter) Is Nothing) _
10084 AndAlso (Me.MatchTableAdapterConnection(Me._user_DetailsTableAdapter.Connection) = false)) Then
10085 Throw New Global.System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s"& _
10088 Dim workConnection As Global.System.Data.IDbConnection = Me.Connection
10089 If (workConnection Is Nothing) Then
10090 Throw New Global.System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana"& _
10091 "ger TableAdapter property to a valid TableAdapter instance.")
10093 Dim workConnOpened As Boolean = false
10094 If ((workConnection.State And Global.System.Data.ConnectionState.Broken) _
10095 = Global.System.Data.ConnectionState.Broken) Then
10096 workConnection.Close
10098 If (workConnection.State = Global.System.Data.ConnectionState.Closed) Then
10099 workConnection.Open
10100 workConnOpened = true
10102 Dim workTransaction As Global.System.Data.IDbTransaction = workConnection.BeginTransaction
10103 If (workTransaction Is Nothing) Then
10104 Throw New Global.System.ApplicationException("The transaction cannot begin. The current data connection does not support transa"& _
10105 "ctions or the current state is not allowing the transaction to begin.")
10107 Dim allChangedRows As Global.System.Collections.Generic.List(Of Global.System.Data.DataRow) = New Global.System.Collections.Generic.List(Of Global.System.Data.DataRow)()
10108 Dim allAddedRows As Global.System.Collections.Generic.List(Of Global.System.Data.DataRow) = New Global.System.Collections.Generic.List(Of Global.System.Data.DataRow)()
10109 Dim adaptersWithAcceptChangesDuringUpdate As Global.System.Collections.Generic.List(Of Global.System.Data.Common.DataAdapter) = New Global.System.Collections.Generic.List(Of Global.System.Data.Common.DataAdapter)()
10110 Dim revertConnections As Global.System.Collections.Generic.Dictionary(Of Object, Global.System.Data.IDbConnection) = New Global.System.Collections.Generic.Dictionary(Of Object, Global.System.Data.IDbConnection)()
10111 Dim result As Integer = 0
10112 Dim backupDataSet As Global.System.Data.DataSet = Nothing
10113 If Me.BackupDataSetBeforeUpdate Then
10114 backupDataSet = New Global.System.Data.DataSet()
10115 backupDataSet.Merge(dataSet)
10118 '---- Prepare for update -----------
10120 If (Not (Me._achievementTableAdapter) Is Nothing) Then
10121 revertConnections.Add(Me._achievementTableAdapter, Me._achievementTableAdapter.Connection)
10122 Me._achievementTableAdapter.Connection = CType(workConnection,Global.System.Data.OleDb.OleDbConnection)
10123 Me._achievementTableAdapter.Transaction = CType(workTransaction,Global.System.Data.OleDb.OleDbTransaction)
10124 If Me._achievementTableAdapter.Adapter.AcceptChangesDuringUpdate Then
10125 Me._achievementTableAdapter.Adapter.AcceptChangesDuringUpdate = false
10126 adaptersWithAcceptChangesDuringUpdate.Add(Me._achievementTableAdapter.Adapter)
10129 If (Not (Me._dOWTableAdapter) Is Nothing) Then
10130 revertConnections.Add(Me._dOWTableAdapter, Me._dOWTableAdapter.Connection)
10131 Me._dOWTableAdapter.Connection = CType(workConnection,Global.System.Data.OleDb.OleDbConnection)
10132 Me._dOWTableAdapter.Transaction = CType(workTransaction,Global.System.Data.OleDb.OleDbTransaction)
10133 If Me._dOWTableAdapter.Adapter.AcceptChangesDuringUpdate Then
10134 Me._dOWTableAdapter.Adapter.AcceptChangesDuringUpdate = false
10135 adaptersWithAcceptChangesDuringUpdate.Add(Me._dOWTableAdapter.Adapter)
10138 If (Not (Me._friendsTableAdapter) Is Nothing) Then
10139 revertConnections.Add(Me._friendsTableAdapter, Me._friendsTableAdapter.Connection)
10140 Me._friendsTableAdapter.Connection = CType(workConnection,Global.System.Data.OleDb.OleDbConnection)
10141 Me._friendsTableAdapter.Transaction = CType(workTransaction,Global.System.Data.OleDb.OleDbTransaction)
10142 If Me._friendsTableAdapter.Adapter.AcceptChangesDuringUpdate Then
10143 Me._friendsTableAdapter.Adapter.AcceptChangesDuringUpdate = false
10144 adaptersWithAcceptChangesDuringUpdate.Add(Me._friendsTableAdapter.Adapter)
10147 If (Not (Me._gamesTableAdapter) Is Nothing) Then
10148 revertConnections.Add(Me._gamesTableAdapter, Me._gamesTableAdapter.Connection)
10149 Me._gamesTableAdapter.Connection = CType(workConnection,Global.System.Data.OleDb.OleDbConnection)
10150 Me._gamesTableAdapter.Transaction = CType(workTransaction,Global.System.Data.OleDb.OleDbTransaction)
10151 If Me._gamesTableAdapter.Adapter.AcceptChangesDuringUpdate Then
10152 Me._gamesTableAdapter.Adapter.AcceptChangesDuringUpdate = false
10153 adaptersWithAcceptChangesDuringUpdate.Add(Me._gamesTableAdapter.Adapter)
10156 If (Not (Me._purchasedTableAdapter) Is Nothing) Then
10157 revertConnections.Add(Me._purchasedTableAdapter, Me._purchasedTableAdapter.Connection)
10158 Me._purchasedTableAdapter.Connection = CType(workConnection,Global.System.Data.OleDb.OleDbConnection)
10159 Me._purchasedTableAdapter.Transaction = CType(workTransaction,Global.System.Data.OleDb.OleDbTransaction)
10160 If Me._purchasedTableAdapter.Adapter.AcceptChangesDuringUpdate Then
10161 Me._purchasedTableAdapter.Adapter.AcceptChangesDuringUpdate = false
10162 adaptersWithAcceptChangesDuringUpdate.Add(Me._purchasedTableAdapter.Adapter)
10165 If (Not (Me._reviewsTableAdapter) Is Nothing) Then
10166 revertConnections.Add(Me._reviewsTableAdapter, Me._reviewsTableAdapter.Connection)
10167 Me._reviewsTableAdapter.Connection = CType(workConnection,Global.System.Data.OleDb.OleDbConnection)
10168 Me._reviewsTableAdapter.Transaction = CType(workTransaction,Global.System.Data.OleDb.OleDbTransaction)
10169 If Me._reviewsTableAdapter.Adapter.AcceptChangesDuringUpdate Then
10170 Me._reviewsTableAdapter.Adapter.AcceptChangesDuringUpdate = false
10171 adaptersWithAcceptChangesDuringUpdate.Add(Me._reviewsTableAdapter.Adapter)
10174 If (Not (Me._tagsTableAdapter) Is Nothing) Then
10175 revertConnections.Add(Me._tagsTableAdapter, Me._tagsTableAdapter.Connection)
10176 Me._tagsTableAdapter.Connection = CType(workConnection,Global.System.Data.OleDb.OleDbConnection)
10177 Me._tagsTableAdapter.Transaction = CType(workTransaction,Global.System.Data.OleDb.OleDbTransaction)
10178 If Me._tagsTableAdapter.Adapter.AcceptChangesDuringUpdate Then
10179 Me._tagsTableAdapter.Adapter.AcceptChangesDuringUpdate = false
10180 adaptersWithAcceptChangesDuringUpdate.Add(Me._tagsTableAdapter.Adapter)
10183 If (Not (Me._wishlistTableAdapter) Is Nothing) Then
10184 revertConnections.Add(Me._wishlistTableAdapter, Me._wishlistTableAdapter.Connection)
10185 Me._wishlistTableAdapter.Connection = CType(workConnection,Global.System.Data.OleDb.OleDbConnection)
10186 Me._wishlistTableAdapter.Transaction = CType(workTransaction,Global.System.Data.OleDb.OleDbTransaction)
10187 If Me._wishlistTableAdapter.Adapter.AcceptChangesDuringUpdate Then
10188 Me._wishlistTableAdapter.Adapter.AcceptChangesDuringUpdate = false
10189 adaptersWithAcceptChangesDuringUpdate.Add(Me._wishlistTableAdapter.Adapter)
10192 If (Not (Me._usersTableAdapter) Is Nothing) Then
10193 revertConnections.Add(Me._usersTableAdapter, Me._usersTableAdapter.Connection)
10194 Me._usersTableAdapter.Connection = CType(workConnection,Global.System.Data.OleDb.OleDbConnection)
10195 Me._usersTableAdapter.Transaction = CType(workTransaction,Global.System.Data.OleDb.OleDbTransaction)
10196 If Me._usersTableAdapter.Adapter.AcceptChangesDuringUpdate Then
10197 Me._usersTableAdapter.Adapter.AcceptChangesDuringUpdate = false
10198 adaptersWithAcceptChangesDuringUpdate.Add(Me._usersTableAdapter.Adapter)
10201 If (Not (Me._user_DetailsTableAdapter) Is Nothing) Then
10202 revertConnections.Add(Me._user_DetailsTableAdapter, Me._user_DetailsTableAdapter.Connection)
10203 Me._user_DetailsTableAdapter.Connection = CType(workConnection,Global.System.Data.OleDb.OleDbConnection)
10204 Me._user_DetailsTableAdapter.Transaction = CType(workTransaction,Global.System.Data.OleDb.OleDbTransaction)
10205 If Me._user_DetailsTableAdapter.Adapter.AcceptChangesDuringUpdate Then
10206 Me._user_DetailsTableAdapter.Adapter.AcceptChangesDuringUpdate = false
10207 adaptersWithAcceptChangesDuringUpdate.Add(Me._user_DetailsTableAdapter.Adapter)
10211 '---- Perform updates -----------
10213 If (Me.UpdateOrder = UpdateOrderOption.UpdateInsertDelete) Then
10214 result = (result + Me.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows))
10215 result = (result + Me.UpdateInsertedRows(dataSet, allAddedRows))
10217 result = (result + Me.UpdateInsertedRows(dataSet, allAddedRows))
10218 result = (result + Me.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows))
10220 result = (result + Me.UpdateDeletedRows(dataSet, allChangedRows))
10222 '---- Commit updates -----------
10224 workTransaction.Commit
10225 If (0 < allAddedRows.Count) Then
10226 Dim rows((allAddedRows.Count) - 1) As Global.System.Data.DataRow
10227 allAddedRows.CopyTo(rows)
10228 Dim i As Integer = 0
10229 Do While (i < rows.Length)
10230 Dim row As Global.System.Data.DataRow = rows(i)
10235 If (0 < allChangedRows.Count) Then
10236 Dim rows((allChangedRows.Count) - 1) As Global.System.Data.DataRow
10237 allChangedRows.CopyTo(rows)
10238 Dim i As Integer = 0
10239 Do While (i < rows.Length)
10240 Dim row As Global.System.Data.DataRow = rows(i)
10245 Catch ex As Global.System.Exception
10246 workTransaction.Rollback
10247 '---- Restore the dataset -----------
10248 If Me.BackupDataSetBeforeUpdate Then
10249 Global.System.Diagnostics.Debug.Assert((Not (backupDataSet) Is Nothing))
10251 dataSet.Merge(backupDataSet)
10253 If (0 < allAddedRows.Count) Then
10254 Dim rows((allAddedRows.Count) - 1) As Global.System.Data.DataRow
10255 allAddedRows.CopyTo(rows)
10256 Dim i As Integer = 0
10257 Do While (i < rows.Length)
10258 Dim row As Global.System.Data.DataRow = rows(i)
10267 If workConnOpened Then
10268 workConnection.Close
10270 If (Not (Me._achievementTableAdapter) Is Nothing) Then
10271 Me._achievementTableAdapter.Connection = CType(revertConnections(Me._achievementTableAdapter),Global.System.Data.OleDb.OleDbConnection)
10272 Me._achievementTableAdapter.Transaction = Nothing
10274 If (Not (Me._dOWTableAdapter) Is Nothing) Then
10275 Me._dOWTableAdapter.Connection = CType(revertConnections(Me._dOWTableAdapter),Global.System.Data.OleDb.OleDbConnection)
10276 Me._dOWTableAdapter.Transaction = Nothing
10278 If (Not (Me._friendsTableAdapter) Is Nothing) Then
10279 Me._friendsTableAdapter.Connection = CType(revertConnections(Me._friendsTableAdapter),Global.System.Data.OleDb.OleDbConnection)
10280 Me._friendsTableAdapter.Transaction = Nothing
10282 If (Not (Me._gamesTableAdapter) Is Nothing) Then
10283 Me._gamesTableAdapter.Connection = CType(revertConnections(Me._gamesTableAdapter),Global.System.Data.OleDb.OleDbConnection)
10284 Me._gamesTableAdapter.Transaction = Nothing
10286 If (Not (Me._purchasedTableAdapter) Is Nothing) Then
10287 Me._purchasedTableAdapter.Connection = CType(revertConnections(Me._purchasedTableAdapter),Global.System.Data.OleDb.OleDbConnection)
10288 Me._purchasedTableAdapter.Transaction = Nothing
10290 If (Not (Me._reviewsTableAdapter) Is Nothing) Then
10291 Me._reviewsTableAdapter.Connection = CType(revertConnections(Me._reviewsTableAdapter),Global.System.Data.OleDb.OleDbConnection)
10292 Me._reviewsTableAdapter.Transaction = Nothing
10294 If (Not (Me._tagsTableAdapter) Is Nothing) Then
10295 Me._tagsTableAdapter.Connection = CType(revertConnections(Me._tagsTableAdapter),Global.System.Data.OleDb.OleDbConnection)
10296 Me._tagsTableAdapter.Transaction = Nothing
10298 If (Not (Me._wishlistTableAdapter) Is Nothing) Then
10299 Me._wishlistTableAdapter.Connection = CType(revertConnections(Me._wishlistTableAdapter),Global.System.Data.OleDb.OleDbConnection)
10300 Me._wishlistTableAdapter.Transaction = Nothing
10302 If (Not (Me._usersTableAdapter) Is Nothing) Then
10303 Me._usersTableAdapter.Connection = CType(revertConnections(Me._usersTableAdapter),Global.System.Data.OleDb.OleDbConnection)
10304 Me._usersTableAdapter.Transaction = Nothing
10306 If (Not (Me._user_DetailsTableAdapter) Is Nothing) Then
10307 Me._user_DetailsTableAdapter.Connection = CType(revertConnections(Me._user_DetailsTableAdapter),Global.System.Data.OleDb.OleDbConnection)
10308 Me._user_DetailsTableAdapter.Transaction = Nothing
10310 If (0 < adaptersWithAcceptChangesDuringUpdate.Count) Then
10311 Dim adapters((adaptersWithAcceptChangesDuringUpdate.Count) - 1) As Global.System.Data.Common.DataAdapter
10312 adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters)
10313 Dim i As Integer = 0
10314 Do While (i < adapters.Length)
10315 Dim adapter As Global.System.Data.Common.DataAdapter = adapters(i)
10316 adapter.AcceptChangesDuringUpdate = true
10324 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
10325 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
10326 Protected Overridable Sub SortSelfReferenceRows(ByVal rows() As Global.System.Data.DataRow, ByVal relation As Global.System.Data.DataRelation, ByVal childFirst As Boolean)
10327 Global.System.Array.Sort(Of Global.System.Data.DataRow)(rows, New SelfReferenceComparer(relation, childFirst))
10330 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
10331 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
10332 Protected Overridable Function MatchTableAdapterConnection(ByVal inputConnection As Global.System.Data.IDbConnection) As Boolean
10333 If (Not (Me._connection) Is Nothing) Then
10336 If ((Me.Connection Is Nothing) _
10337 OrElse (inputConnection Is Nothing)) Then
10340 If String.Equals(Me.Connection.ConnectionString, inputConnection.ConnectionString, Global.System.StringComparison.Ordinal) Then
10347 '''Update Order Option
10349 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
10350 Public Enum UpdateOrderOption
10352 InsertUpdateDelete = 0
10354 UpdateInsertDelete = 1
10358 '''Used to sort self-referenced table's rows
10360 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
10361 Private Class SelfReferenceComparer
10363 Implements Global.System.Collections.Generic.IComparer(Of Global.System.Data.DataRow)
10365 Private _relation As Global.System.Data.DataRelation
10367 Private _childFirst As Integer
10369 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
10370 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
10371 Friend Sub New(ByVal relation As Global.System.Data.DataRelation, ByVal childFirst As Boolean)
10373 Me._relation = relation
10375 Me._childFirst = -1
10381 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
10382 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
10383 Private Function GetRoot(ByVal row As Global.System.Data.DataRow, ByRef distance As Integer) As Global.System.Data.DataRow
10384 Global.System.Diagnostics.Debug.Assert((Not (row) Is Nothing))
10385 Dim root As Global.System.Data.DataRow = row
10388 Dim traversedRows As Global.System.Collections.Generic.IDictionary(Of Global.System.Data.DataRow, Global.System.Data.DataRow) = New Global.System.Collections.Generic.Dictionary(Of Global.System.Data.DataRow, Global.System.Data.DataRow)()
10389 traversedRows(row) = row
10391 Dim parent As Global.System.Data.DataRow = row.GetParentRow(Me._relation, Global.System.Data.DataRowVersion.[Default])
10393 Do While ((Not (parent) Is Nothing) _
10394 AndAlso (traversedRows.ContainsKey(parent) = false))
10395 distance = (distance + 1)
10397 traversedRows(parent) = parent
10398 parent = parent.GetParentRow(Me._relation, Global.System.Data.DataRowVersion.[Default])
10402 If (distance = 0) Then
10403 traversedRows.Clear
10404 traversedRows(row) = row
10405 parent = row.GetParentRow(Me._relation, Global.System.Data.DataRowVersion.Original)
10407 Do While ((Not (parent) Is Nothing) _
10408 AndAlso (traversedRows.ContainsKey(parent) = false))
10409 distance = (distance + 1)
10411 traversedRows(parent) = parent
10412 parent = parent.GetParentRow(Me._relation, Global.System.Data.DataRowVersion.Original)
10420 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
10421 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
10422 Public Function Compare(ByVal row1 As Global.System.Data.DataRow, ByVal row2 As Global.System.Data.DataRow) As Integer Implements Global.System.Collections.Generic.IComparer(Of Global.System.Data.DataRow).Compare
10423 If Object.ReferenceEquals(row1, row2) Then
10426 If (row1 Is Nothing) Then
10429 If (row2 Is Nothing) Then
10433 Dim distance1 As Integer = 0
10434 Dim root1 As Global.System.Data.DataRow = Me.GetRoot(row1, distance1)
10436 Dim distance2 As Integer = 0
10437 Dim root2 As Global.System.Data.DataRow = Me.GetRoot(row2, distance2)
10439 If Object.ReferenceEquals(root1, root2) Then
10440 Return (Me._childFirst * distance1.CompareTo(distance2))
10442 Global.System.Diagnostics.Debug.Assert(((Not (root1.Table) Is Nothing) _
10443 AndAlso (Not (root2.Table) Is Nothing)))
10444 If (root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2)) Then