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 tableUser_Details As User_DetailsDataTable
44 Private tableUsers As UsersDataTable
46 Private tableWishlist As WishlistDataTable
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 relationUser_DetailsUsers As Global.System.Data.DataRelation
58 Private relationGamesWishlist 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("User_Details")) Is Nothing) Then
111 MyBase.Tables.Add(New User_DetailsDataTable(ds.Tables("User_Details")))
113 If (Not (ds.Tables("Users")) Is Nothing) Then
114 MyBase.Tables.Add(New UsersDataTable(ds.Tables("Users")))
116 If (Not (ds.Tables("Wishlist")) Is Nothing) Then
117 MyBase.Tables.Add(New WishlistDataTable(ds.Tables("Wishlist")))
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 User_Details() As User_DetailsDataTable
212 Return Me.tableUser_Details
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 Wishlist() As WishlistDataTable
232 Return Me.tableWishlist
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("User_Details")) Is Nothing) Then
325 MyBase.Tables.Add(New User_DetailsDataTable(ds.Tables("User_Details")))
327 If (Not (ds.Tables("Users")) Is Nothing) Then
328 MyBase.Tables.Add(New UsersDataTable(ds.Tables("Users")))
330 If (Not (ds.Tables("Wishlist")) Is Nothing) Then
331 MyBase.Tables.Add(New WishlistDataTable(ds.Tables("Wishlist")))
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.tableUser_Details = CType(MyBase.Tables("User_Details"),User_DetailsDataTable)
408 If (initTable = true) Then
409 If (Not (Me.tableUser_Details) Is Nothing) Then
410 Me.tableUser_Details.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.tableWishlist = CType(MyBase.Tables("Wishlist"),WishlistDataTable)
420 If (initTable = true) Then
421 If (Not (Me.tableWishlist) Is Nothing) Then
422 Me.tableWishlist.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.relationUser_DetailsUsers = Me.Relations("User_DetailsUsers")
430 Me.relationGamesWishlist = Me.Relations("GamesWishlist")
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.tableUser_Details = New User_DetailsDataTable()
456 MyBase.Tables.Add(Me.tableUser_Details)
457 Me.tableUsers = New UsersDataTable()
458 MyBase.Tables.Add(Me.tableUsers)
459 Me.tableWishlist = New WishlistDataTable()
460 MyBase.Tables.Add(Me.tableWishlist)
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.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)
470 Me.Relations.Add(Me.relationUser_DetailsUsers)
471 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)
472 Me.Relations.Add(Me.relationGamesWishlist)
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 ShouldSerializeUser_Details() 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 ShouldSerializeWishlist() 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 User_DetailsRowChangeEventHandler(ByVal sender As Object, ByVal e As User_DetailsRowChangeEvent)
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 WishlistRowChangeEventHandler(ByVal sender As Object, ByVal e As WishlistRowChangeEvent)
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 User_DetailsDataTable
2828 Inherits Global.System.Data.TypedTableBase(Of User_DetailsRow)
2830 Private columnUserDetailsID As Global.System.Data.DataColumn
2832 Private columnFirstName As Global.System.Data.DataColumn
2834 Private columnLastName As Global.System.Data.DataColumn
2836 Private columnAddressLine1 As Global.System.Data.DataColumn
2838 Private columnTown As Global.System.Data.DataColumn
2840 Private columnPostcode As Global.System.Data.DataColumn
2842 Private columnCardNumber As Global.System.Data.DataColumn
2844 Private columnCVC As Global.System.Data.DataColumn
2846 Private columnIGN As Global.System.Data.DataColumn
2848 Private columnEmail As Global.System.Data.DataColumn
2850 Private columnProfilePic As Global.System.Data.DataColumn
2852 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2853 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2856 Me.TableName = "User_Details"
2862 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2863 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2864 Friend Sub New(ByVal table As Global.System.Data.DataTable)
2866 Me.TableName = table.TableName
2867 If (table.CaseSensitive <> table.DataSet.CaseSensitive) Then
2868 Me.CaseSensitive = table.CaseSensitive
2870 If (table.Locale.ToString <> table.DataSet.Locale.ToString) Then
2871 Me.Locale = table.Locale
2873 If (table.Namespace <> table.DataSet.Namespace) Then
2874 Me.Namespace = table.Namespace
2876 Me.Prefix = table.Prefix
2877 Me.MinimumCapacity = table.MinimumCapacity
2880 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2881 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2882 Protected Sub New(ByVal info As Global.System.Runtime.Serialization.SerializationInfo, ByVal context As Global.System.Runtime.Serialization.StreamingContext)
2883 MyBase.New(info, context)
2887 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2888 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2889 Public ReadOnly Property UserDetailsIDColumn() As Global.System.Data.DataColumn
2891 Return Me.columnUserDetailsID
2895 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2896 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2897 Public ReadOnly Property FirstNameColumn() As Global.System.Data.DataColumn
2899 Return Me.columnFirstName
2903 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2904 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2905 Public ReadOnly Property LastNameColumn() As Global.System.Data.DataColumn
2907 Return Me.columnLastName
2911 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2912 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2913 Public ReadOnly Property AddressLine1Column() As Global.System.Data.DataColumn
2915 Return Me.columnAddressLine1
2919 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2920 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2921 Public ReadOnly Property TownColumn() As Global.System.Data.DataColumn
2923 Return Me.columnTown
2927 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2928 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2929 Public ReadOnly Property PostcodeColumn() As Global.System.Data.DataColumn
2931 Return Me.columnPostcode
2935 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2936 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2937 Public ReadOnly Property CardNumberColumn() As Global.System.Data.DataColumn
2939 Return Me.columnCardNumber
2943 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2944 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2945 Public ReadOnly Property CVCColumn() As Global.System.Data.DataColumn
2951 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2952 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2953 Public ReadOnly Property IGNColumn() As Global.System.Data.DataColumn
2959 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2960 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2961 Public ReadOnly Property EmailColumn() As Global.System.Data.DataColumn
2963 Return Me.columnEmail
2967 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2968 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2969 Public ReadOnly Property ProfilePicColumn() As Global.System.Data.DataColumn
2971 Return Me.columnProfilePic
2975 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2976 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
2977 Global.System.ComponentModel.Browsable(false)> _
2978 Public ReadOnly Property Count() As Integer
2980 Return Me.Rows.Count
2984 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
2985 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2986 Public Default ReadOnly Property Item(ByVal index As Integer) As User_DetailsRow
2988 Return CType(Me.Rows(index),User_DetailsRow)
2992 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2993 Public Event User_DetailsRowChanging As User_DetailsRowChangeEventHandler
2995 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2996 Public Event User_DetailsRowChanged As User_DetailsRowChangeEventHandler
2998 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
2999 Public Event User_DetailsRowDeleting As User_DetailsRowChangeEventHandler
3001 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3002 Public Event User_DetailsRowDeleted As User_DetailsRowChangeEventHandler
3004 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3005 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3006 Public Overloads Sub AddUser_DetailsRow(ByVal row As User_DetailsRow)
3010 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3011 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3012 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
3013 Dim rowUser_DetailsRow As User_DetailsRow = CType(Me.NewRow,User_DetailsRow)
3014 Dim columnValuesArray() As Object = New Object() {Nothing, FirstName, LastName, AddressLine1, Town, Postcode, CardNumber, CVC, IGN, Email, ProfilePic}
3015 rowUser_DetailsRow.ItemArray = columnValuesArray
3016 Me.Rows.Add(rowUser_DetailsRow)
3017 Return rowUser_DetailsRow
3020 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3021 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3022 Public Function FindByUserDetailsID(ByVal UserDetailsID As Integer) As User_DetailsRow
3023 Return CType(Me.Rows.Find(New Object() {UserDetailsID}),User_DetailsRow)
3026 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3027 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3028 Public Overrides Function Clone() As Global.System.Data.DataTable
3029 Dim cln As User_DetailsDataTable = CType(MyBase.Clone,User_DetailsDataTable)
3034 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3035 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3036 Protected Overrides Function CreateInstance() As Global.System.Data.DataTable
3037 Return New User_DetailsDataTable()
3040 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3041 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3042 Friend Sub InitVars()
3043 Me.columnUserDetailsID = MyBase.Columns("UserDetailsID")
3044 Me.columnFirstName = MyBase.Columns("FirstName")
3045 Me.columnLastName = MyBase.Columns("LastName")
3046 Me.columnAddressLine1 = MyBase.Columns("AddressLine1")
3047 Me.columnTown = MyBase.Columns("Town")
3048 Me.columnPostcode = MyBase.Columns("Postcode")
3049 Me.columnCardNumber = MyBase.Columns("CardNumber")
3050 Me.columnCVC = MyBase.Columns("CVC")
3051 Me.columnIGN = MyBase.Columns("IGN")
3052 Me.columnEmail = MyBase.Columns("Email")
3053 Me.columnProfilePic = MyBase.Columns("ProfilePic")
3056 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3057 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3058 Private Sub InitClass()
3059 Me.columnUserDetailsID = New Global.System.Data.DataColumn("UserDetailsID", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
3060 MyBase.Columns.Add(Me.columnUserDetailsID)
3061 Me.columnFirstName = New Global.System.Data.DataColumn("FirstName", GetType(String), Nothing, Global.System.Data.MappingType.Element)
3062 MyBase.Columns.Add(Me.columnFirstName)
3063 Me.columnLastName = New Global.System.Data.DataColumn("LastName", GetType(String), Nothing, Global.System.Data.MappingType.Element)
3064 MyBase.Columns.Add(Me.columnLastName)
3065 Me.columnAddressLine1 = New Global.System.Data.DataColumn("AddressLine1", GetType(String), Nothing, Global.System.Data.MappingType.Element)
3066 MyBase.Columns.Add(Me.columnAddressLine1)
3067 Me.columnTown = New Global.System.Data.DataColumn("Town", GetType(String), Nothing, Global.System.Data.MappingType.Element)
3068 MyBase.Columns.Add(Me.columnTown)
3069 Me.columnPostcode = New Global.System.Data.DataColumn("Postcode", GetType(String), Nothing, Global.System.Data.MappingType.Element)
3070 MyBase.Columns.Add(Me.columnPostcode)
3071 Me.columnCardNumber = New Global.System.Data.DataColumn("CardNumber", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
3072 MyBase.Columns.Add(Me.columnCardNumber)
3073 Me.columnCVC = New Global.System.Data.DataColumn("CVC", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
3074 MyBase.Columns.Add(Me.columnCVC)
3075 Me.columnIGN = New Global.System.Data.DataColumn("IGN", GetType(String), Nothing, Global.System.Data.MappingType.Element)
3076 MyBase.Columns.Add(Me.columnIGN)
3077 Me.columnEmail = New Global.System.Data.DataColumn("Email", GetType(String), Nothing, Global.System.Data.MappingType.Element)
3078 MyBase.Columns.Add(Me.columnEmail)
3079 Me.columnProfilePic = New Global.System.Data.DataColumn("ProfilePic", GetType(Byte()), Nothing, Global.System.Data.MappingType.Element)
3080 MyBase.Columns.Add(Me.columnProfilePic)
3081 Me.Constraints.Add(New Global.System.Data.UniqueConstraint("Constraint1", New Global.System.Data.DataColumn() {Me.columnUserDetailsID}, true))
3082 Me.columnUserDetailsID.AutoIncrement = true
3083 Me.columnUserDetailsID.AutoIncrementSeed = -1
3084 Me.columnUserDetailsID.AutoIncrementStep = -1
3085 Me.columnUserDetailsID.AllowDBNull = false
3086 Me.columnUserDetailsID.Unique = true
3087 Me.columnFirstName.MaxLength = 536870910
3088 Me.columnLastName.MaxLength = 536870910
3089 Me.columnAddressLine1.MaxLength = 536870910
3090 Me.columnTown.MaxLength = 255
3091 Me.columnPostcode.MaxLength = 536870910
3092 Me.columnIGN.MaxLength = 536870910
3093 Me.columnEmail.MaxLength = 536870910
3096 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3097 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3098 Public Function NewUser_DetailsRow() As User_DetailsRow
3099 Return CType(Me.NewRow,User_DetailsRow)
3102 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3103 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3104 Protected Overrides Function NewRowFromBuilder(ByVal builder As Global.System.Data.DataRowBuilder) As Global.System.Data.DataRow
3105 Return New User_DetailsRow(builder)
3108 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3109 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3110 Protected Overrides Function GetRowType() As Global.System.Type
3111 Return GetType(User_DetailsRow)
3114 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3115 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3116 Protected Overrides Sub OnRowChanged(ByVal e As Global.System.Data.DataRowChangeEventArgs)
3117 MyBase.OnRowChanged(e)
3118 If (Not (Me.User_DetailsRowChangedEvent) Is Nothing) Then
3119 RaiseEvent User_DetailsRowChanged(Me, New User_DetailsRowChangeEvent(CType(e.Row,User_DetailsRow), e.Action))
3123 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3124 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3125 Protected Overrides Sub OnRowChanging(ByVal e As Global.System.Data.DataRowChangeEventArgs)
3126 MyBase.OnRowChanging(e)
3127 If (Not (Me.User_DetailsRowChangingEvent) Is Nothing) Then
3128 RaiseEvent User_DetailsRowChanging(Me, New User_DetailsRowChangeEvent(CType(e.Row,User_DetailsRow), e.Action))
3132 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3133 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3134 Protected Overrides Sub OnRowDeleted(ByVal e As Global.System.Data.DataRowChangeEventArgs)
3135 MyBase.OnRowDeleted(e)
3136 If (Not (Me.User_DetailsRowDeletedEvent) Is Nothing) Then
3137 RaiseEvent User_DetailsRowDeleted(Me, New User_DetailsRowChangeEvent(CType(e.Row,User_DetailsRow), e.Action))
3141 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3142 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3143 Protected Overrides Sub OnRowDeleting(ByVal e As Global.System.Data.DataRowChangeEventArgs)
3144 MyBase.OnRowDeleting(e)
3145 If (Not (Me.User_DetailsRowDeletingEvent) Is Nothing) Then
3146 RaiseEvent User_DetailsRowDeleting(Me, New User_DetailsRowChangeEvent(CType(e.Row,User_DetailsRow), e.Action))
3150 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3151 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3152 Public Sub RemoveUser_DetailsRow(ByVal row As User_DetailsRow)
3156 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3157 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3158 Public Shared Function GetTypedTableSchema(ByVal xs As Global.System.Xml.Schema.XmlSchemaSet) As Global.System.Xml.Schema.XmlSchemaComplexType
3159 Dim type As Global.System.Xml.Schema.XmlSchemaComplexType = New Global.System.Xml.Schema.XmlSchemaComplexType()
3160 Dim sequence As Global.System.Xml.Schema.XmlSchemaSequence = New Global.System.Xml.Schema.XmlSchemaSequence()
3161 Dim ds As NEADataSet = New NEADataSet()
3162 Dim any1 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
3163 any1.Namespace = "http://www.w3.org/2001/XMLSchema"
3164 any1.MinOccurs = New Decimal(0)
3165 any1.MaxOccurs = Decimal.MaxValue
3166 any1.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
3167 sequence.Items.Add(any1)
3168 Dim any2 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
3169 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"
3170 any2.MinOccurs = New Decimal(1)
3171 any2.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
3172 sequence.Items.Add(any2)
3173 Dim attribute1 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
3174 attribute1.Name = "namespace"
3175 attribute1.FixedValue = ds.Namespace
3176 type.Attributes.Add(attribute1)
3177 Dim attribute2 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
3178 attribute2.Name = "tableTypeName"
3179 attribute2.FixedValue = "User_DetailsDataTable"
3180 type.Attributes.Add(attribute2)
3181 type.Particle = sequence
3182 Dim dsSchema As Global.System.Xml.Schema.XmlSchema = ds.GetSchemaSerializable
3183 If xs.Contains(dsSchema.TargetNamespace) Then
3184 Dim s1 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
3185 Dim s2 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
3187 Dim schema As Global.System.Xml.Schema.XmlSchema = Nothing
3189 Dim schemas As Global.System.Collections.IEnumerator = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator
3190 Do While schemas.MoveNext
3191 schema = CType(schemas.Current,Global.System.Xml.Schema.XmlSchema)
3194 If (s1.Length = s2.Length) Then
3198 Do While ((s1.Position <> s1.Length) _
3199 AndAlso (s1.ReadByte = s2.ReadByte))
3203 If (s1.Position = s1.Length) Then
3210 If (Not (s1) Is Nothing) Then
3213 If (Not (s2) Is Nothing) Then
3224 '''Represents the strongly named DataTable class.
3226 <Global.System.Serializable(), _
3227 Global.System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")> _
3228 Partial Public Class UsersDataTable
3229 Inherits Global.System.Data.TypedTableBase(Of UsersRow)
3231 Private columnUserID As Global.System.Data.DataColumn
3233 Private columnUser_DetailsID As Global.System.Data.DataColumn
3235 Private columnUsername As Global.System.Data.DataColumn
3237 Private columnPassword As Global.System.Data.DataColumn
3239 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3240 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3243 Me.TableName = "Users"
3249 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3250 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3251 Friend Sub New(ByVal table As Global.System.Data.DataTable)
3253 Me.TableName = table.TableName
3254 If (table.CaseSensitive <> table.DataSet.CaseSensitive) Then
3255 Me.CaseSensitive = table.CaseSensitive
3257 If (table.Locale.ToString <> table.DataSet.Locale.ToString) Then
3258 Me.Locale = table.Locale
3260 If (table.Namespace <> table.DataSet.Namespace) Then
3261 Me.Namespace = table.Namespace
3263 Me.Prefix = table.Prefix
3264 Me.MinimumCapacity = table.MinimumCapacity
3267 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3268 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3269 Protected Sub New(ByVal info As Global.System.Runtime.Serialization.SerializationInfo, ByVal context As Global.System.Runtime.Serialization.StreamingContext)
3270 MyBase.New(info, context)
3274 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3275 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3276 Public ReadOnly Property UserIDColumn() As Global.System.Data.DataColumn
3278 Return Me.columnUserID
3282 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3283 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3284 Public ReadOnly Property User_DetailsIDColumn() As Global.System.Data.DataColumn
3286 Return Me.columnUser_DetailsID
3290 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3291 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3292 Public ReadOnly Property UsernameColumn() As Global.System.Data.DataColumn
3294 Return Me.columnUsername
3298 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3299 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3300 Public ReadOnly Property PasswordColumn() As Global.System.Data.DataColumn
3302 Return Me.columnPassword
3306 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3307 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
3308 Global.System.ComponentModel.Browsable(false)> _
3309 Public ReadOnly Property Count() As Integer
3311 Return Me.Rows.Count
3315 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3316 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3317 Public Default ReadOnly Property Item(ByVal index As Integer) As UsersRow
3319 Return CType(Me.Rows(index),UsersRow)
3323 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3324 Public Event UsersRowChanging As UsersRowChangeEventHandler
3326 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3327 Public Event UsersRowChanged As UsersRowChangeEventHandler
3329 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3330 Public Event UsersRowDeleting As UsersRowChangeEventHandler
3332 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3333 Public Event UsersRowDeleted As UsersRowChangeEventHandler
3335 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3336 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3337 Public Overloads Sub AddUsersRow(ByVal row As UsersRow)
3341 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3342 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3343 Public Overloads Function AddUsersRow(ByVal parentUser_DetailsRowByUser_DetailsUsers As User_DetailsRow, ByVal Username As String, ByVal Password As String) As UsersRow
3344 Dim rowUsersRow As UsersRow = CType(Me.NewRow,UsersRow)
3345 Dim columnValuesArray() As Object = New Object() {Nothing, Nothing, Username, Password}
3346 If (Not (parentUser_DetailsRowByUser_DetailsUsers) Is Nothing) Then
3347 columnValuesArray(1) = parentUser_DetailsRowByUser_DetailsUsers(0)
3349 rowUsersRow.ItemArray = columnValuesArray
3350 Me.Rows.Add(rowUsersRow)
3354 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3355 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3356 Public Function FindByUserID(ByVal UserID As Integer) As UsersRow
3357 Return CType(Me.Rows.Find(New Object() {UserID}),UsersRow)
3360 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3361 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3362 Public Overrides Function Clone() As Global.System.Data.DataTable
3363 Dim cln As UsersDataTable = CType(MyBase.Clone,UsersDataTable)
3368 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3369 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3370 Protected Overrides Function CreateInstance() As Global.System.Data.DataTable
3371 Return New UsersDataTable()
3374 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3375 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3376 Friend Sub InitVars()
3377 Me.columnUserID = MyBase.Columns("UserID")
3378 Me.columnUser_DetailsID = MyBase.Columns("User_DetailsID")
3379 Me.columnUsername = MyBase.Columns("Username")
3380 Me.columnPassword = MyBase.Columns("Password")
3383 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3384 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3385 Private Sub InitClass()
3386 Me.columnUserID = New Global.System.Data.DataColumn("UserID", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
3387 MyBase.Columns.Add(Me.columnUserID)
3388 Me.columnUser_DetailsID = New Global.System.Data.DataColumn("User_DetailsID", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
3389 MyBase.Columns.Add(Me.columnUser_DetailsID)
3390 Me.columnUsername = New Global.System.Data.DataColumn("Username", GetType(String), Nothing, Global.System.Data.MappingType.Element)
3391 MyBase.Columns.Add(Me.columnUsername)
3392 Me.columnPassword = New Global.System.Data.DataColumn("Password", GetType(String), Nothing, Global.System.Data.MappingType.Element)
3393 MyBase.Columns.Add(Me.columnPassword)
3394 Me.Constraints.Add(New Global.System.Data.UniqueConstraint("Constraint1", New Global.System.Data.DataColumn() {Me.columnUserID}, true))
3395 Me.columnUserID.AutoIncrement = true
3396 Me.columnUserID.AutoIncrementSeed = -1
3397 Me.columnUserID.AutoIncrementStep = -1
3398 Me.columnUserID.AllowDBNull = false
3399 Me.columnUserID.Unique = true
3400 Me.columnUsername.MaxLength = 536870910
3401 Me.columnPassword.MaxLength = 536870910
3404 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3405 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3406 Public Function NewUsersRow() As UsersRow
3407 Return CType(Me.NewRow,UsersRow)
3410 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3411 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3412 Protected Overrides Function NewRowFromBuilder(ByVal builder As Global.System.Data.DataRowBuilder) As Global.System.Data.DataRow
3413 Return New UsersRow(builder)
3416 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3417 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3418 Protected Overrides Function GetRowType() As Global.System.Type
3419 Return GetType(UsersRow)
3422 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3423 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3424 Protected Overrides Sub OnRowChanged(ByVal e As Global.System.Data.DataRowChangeEventArgs)
3425 MyBase.OnRowChanged(e)
3426 If (Not (Me.UsersRowChangedEvent) Is Nothing) Then
3427 RaiseEvent UsersRowChanged(Me, New UsersRowChangeEvent(CType(e.Row,UsersRow), e.Action))
3431 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3432 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3433 Protected Overrides Sub OnRowChanging(ByVal e As Global.System.Data.DataRowChangeEventArgs)
3434 MyBase.OnRowChanging(e)
3435 If (Not (Me.UsersRowChangingEvent) Is Nothing) Then
3436 RaiseEvent UsersRowChanging(Me, New UsersRowChangeEvent(CType(e.Row,UsersRow), e.Action))
3440 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3441 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3442 Protected Overrides Sub OnRowDeleted(ByVal e As Global.System.Data.DataRowChangeEventArgs)
3443 MyBase.OnRowDeleted(e)
3444 If (Not (Me.UsersRowDeletedEvent) Is Nothing) Then
3445 RaiseEvent UsersRowDeleted(Me, New UsersRowChangeEvent(CType(e.Row,UsersRow), e.Action))
3449 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3450 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3451 Protected Overrides Sub OnRowDeleting(ByVal e As Global.System.Data.DataRowChangeEventArgs)
3452 MyBase.OnRowDeleting(e)
3453 If (Not (Me.UsersRowDeletingEvent) Is Nothing) Then
3454 RaiseEvent UsersRowDeleting(Me, New UsersRowChangeEvent(CType(e.Row,UsersRow), e.Action))
3458 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3459 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3460 Public Sub RemoveUsersRow(ByVal row As UsersRow)
3464 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3465 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3466 Public Shared Function GetTypedTableSchema(ByVal xs As Global.System.Xml.Schema.XmlSchemaSet) As Global.System.Xml.Schema.XmlSchemaComplexType
3467 Dim type As Global.System.Xml.Schema.XmlSchemaComplexType = New Global.System.Xml.Schema.XmlSchemaComplexType()
3468 Dim sequence As Global.System.Xml.Schema.XmlSchemaSequence = New Global.System.Xml.Schema.XmlSchemaSequence()
3469 Dim ds As NEADataSet = New NEADataSet()
3470 Dim any1 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
3471 any1.Namespace = "http://www.w3.org/2001/XMLSchema"
3472 any1.MinOccurs = New Decimal(0)
3473 any1.MaxOccurs = Decimal.MaxValue
3474 any1.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
3475 sequence.Items.Add(any1)
3476 Dim any2 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
3477 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"
3478 any2.MinOccurs = New Decimal(1)
3479 any2.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
3480 sequence.Items.Add(any2)
3481 Dim attribute1 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
3482 attribute1.Name = "namespace"
3483 attribute1.FixedValue = ds.Namespace
3484 type.Attributes.Add(attribute1)
3485 Dim attribute2 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
3486 attribute2.Name = "tableTypeName"
3487 attribute2.FixedValue = "UsersDataTable"
3488 type.Attributes.Add(attribute2)
3489 type.Particle = sequence
3490 Dim dsSchema As Global.System.Xml.Schema.XmlSchema = ds.GetSchemaSerializable
3491 If xs.Contains(dsSchema.TargetNamespace) Then
3492 Dim s1 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
3493 Dim s2 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
3495 Dim schema As Global.System.Xml.Schema.XmlSchema = Nothing
3497 Dim schemas As Global.System.Collections.IEnumerator = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator
3498 Do While schemas.MoveNext
3499 schema = CType(schemas.Current,Global.System.Xml.Schema.XmlSchema)
3502 If (s1.Length = s2.Length) Then
3506 Do While ((s1.Position <> s1.Length) _
3507 AndAlso (s1.ReadByte = s2.ReadByte))
3511 If (s1.Position = s1.Length) Then
3518 If (Not (s1) Is Nothing) Then
3521 If (Not (s2) Is Nothing) Then
3532 '''Represents the strongly named DataTable class.
3534 <Global.System.Serializable(), _
3535 Global.System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")> _
3536 Partial Public Class WishlistDataTable
3537 Inherits Global.System.Data.TypedTableBase(Of WishlistRow)
3539 Private columnWishlistID As Global.System.Data.DataColumn
3541 Private columnUserID As Global.System.Data.DataColumn
3543 Private columnGameID As Global.System.Data.DataColumn
3545 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3546 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3549 Me.TableName = "Wishlist"
3555 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3556 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3557 Friend Sub New(ByVal table As Global.System.Data.DataTable)
3559 Me.TableName = table.TableName
3560 If (table.CaseSensitive <> table.DataSet.CaseSensitive) Then
3561 Me.CaseSensitive = table.CaseSensitive
3563 If (table.Locale.ToString <> table.DataSet.Locale.ToString) Then
3564 Me.Locale = table.Locale
3566 If (table.Namespace <> table.DataSet.Namespace) Then
3567 Me.Namespace = table.Namespace
3569 Me.Prefix = table.Prefix
3570 Me.MinimumCapacity = table.MinimumCapacity
3573 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3574 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3575 Protected Sub New(ByVal info As Global.System.Runtime.Serialization.SerializationInfo, ByVal context As Global.System.Runtime.Serialization.StreamingContext)
3576 MyBase.New(info, context)
3580 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3581 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3582 Public ReadOnly Property WishlistIDColumn() As Global.System.Data.DataColumn
3584 Return Me.columnWishlistID
3588 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3589 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3590 Public ReadOnly Property UserIDColumn() As Global.System.Data.DataColumn
3592 Return Me.columnUserID
3596 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3597 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3598 Public ReadOnly Property GameIDColumn() As Global.System.Data.DataColumn
3600 Return Me.columnGameID
3604 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3605 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
3606 Global.System.ComponentModel.Browsable(false)> _
3607 Public ReadOnly Property Count() As Integer
3609 Return Me.Rows.Count
3613 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3614 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3615 Public Default ReadOnly Property Item(ByVal index As Integer) As WishlistRow
3617 Return CType(Me.Rows(index),WishlistRow)
3621 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3622 Public Event WishlistRowChanging As WishlistRowChangeEventHandler
3624 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3625 Public Event WishlistRowChanged As WishlistRowChangeEventHandler
3627 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3628 Public Event WishlistRowDeleting As WishlistRowChangeEventHandler
3630 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3631 Public Event WishlistRowDeleted As WishlistRowChangeEventHandler
3633 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3634 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3635 Public Overloads Sub AddWishlistRow(ByVal row As WishlistRow)
3639 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3640 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3641 Public Overloads Function AddWishlistRow(ByVal UserID As Integer, ByVal parentGamesRowByGamesWishlist As GamesRow) As WishlistRow
3642 Dim rowWishlistRow As WishlistRow = CType(Me.NewRow,WishlistRow)
3643 Dim columnValuesArray() As Object = New Object() {Nothing, UserID, Nothing}
3644 If (Not (parentGamesRowByGamesWishlist) Is Nothing) Then
3645 columnValuesArray(2) = parentGamesRowByGamesWishlist(0)
3647 rowWishlistRow.ItemArray = columnValuesArray
3648 Me.Rows.Add(rowWishlistRow)
3649 Return rowWishlistRow
3652 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3653 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3654 Public Function FindByWishlistID(ByVal WishlistID As Integer) As WishlistRow
3655 Return CType(Me.Rows.Find(New Object() {WishlistID}),WishlistRow)
3658 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3659 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3660 Public Overrides Function Clone() As Global.System.Data.DataTable
3661 Dim cln As WishlistDataTable = CType(MyBase.Clone,WishlistDataTable)
3666 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3667 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3668 Protected Overrides Function CreateInstance() As Global.System.Data.DataTable
3669 Return New WishlistDataTable()
3672 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3673 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3674 Friend Sub InitVars()
3675 Me.columnWishlistID = MyBase.Columns("WishlistID")
3676 Me.columnUserID = MyBase.Columns("UserID")
3677 Me.columnGameID = MyBase.Columns("GameID")
3680 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3681 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3682 Private Sub InitClass()
3683 Me.columnWishlistID = New Global.System.Data.DataColumn("WishlistID", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
3684 MyBase.Columns.Add(Me.columnWishlistID)
3685 Me.columnUserID = New Global.System.Data.DataColumn("UserID", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
3686 MyBase.Columns.Add(Me.columnUserID)
3687 Me.columnGameID = New Global.System.Data.DataColumn("GameID", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
3688 MyBase.Columns.Add(Me.columnGameID)
3689 Me.Constraints.Add(New Global.System.Data.UniqueConstraint("Constraint1", New Global.System.Data.DataColumn() {Me.columnWishlistID}, true))
3690 Me.columnWishlistID.AutoIncrement = true
3691 Me.columnWishlistID.AutoIncrementSeed = -1
3692 Me.columnWishlistID.AutoIncrementStep = -1
3693 Me.columnWishlistID.AllowDBNull = false
3694 Me.columnWishlistID.Unique = true
3697 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3698 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3699 Public Function NewWishlistRow() As WishlistRow
3700 Return CType(Me.NewRow,WishlistRow)
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 WishlistRow(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(WishlistRow)
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.WishlistRowChangedEvent) Is Nothing) Then
3720 RaiseEvent WishlistRowChanged(Me, New WishlistRowChangeEvent(CType(e.Row,WishlistRow), 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.WishlistRowChangingEvent) Is Nothing) Then
3729 RaiseEvent WishlistRowChanging(Me, New WishlistRowChangeEvent(CType(e.Row,WishlistRow), 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.WishlistRowDeletedEvent) Is Nothing) Then
3738 RaiseEvent WishlistRowDeleted(Me, New WishlistRowChangeEvent(CType(e.Row,WishlistRow), 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.WishlistRowDeletingEvent) Is Nothing) Then
3747 RaiseEvent WishlistRowDeleting(Me, New WishlistRowChangeEvent(CType(e.Row,WishlistRow), e.Action))
3751 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3752 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3753 Public Sub RemoveWishlistRow(ByVal row As WishlistRow)
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 = "WishlistDataTable"
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 User_DetailsRow
4786 Inherits Global.System.Data.DataRow
4788 Private tableUser_Details As User_DetailsDataTable
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.tableUser_Details = CType(Me.Table,User_DetailsDataTable)
4797 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4798 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4799 Public Property UserDetailsID() As Integer
4801 Return CType(Me(Me.tableUser_Details.UserDetailsIDColumn),Integer)
4804 Me(Me.tableUser_Details.UserDetailsIDColumn) = value
4808 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4809 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4810 Public Property FirstName() As String
4813 Return CType(Me(Me.tableUser_Details.FirstNameColumn),String)
4814 Catch e As Global.System.InvalidCastException
4815 Throw New Global.System.Data.StrongTypingException("The value for column 'FirstName' in table 'User_Details' is DBNull.", e)
4819 Me(Me.tableUser_Details.FirstNameColumn) = value
4823 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4824 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4825 Public Property LastName() As String
4828 Return CType(Me(Me.tableUser_Details.LastNameColumn),String)
4829 Catch e As Global.System.InvalidCastException
4830 Throw New Global.System.Data.StrongTypingException("The value for column 'LastName' in table 'User_Details' is DBNull.", e)
4834 Me(Me.tableUser_Details.LastNameColumn) = value
4838 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4839 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4840 Public Property AddressLine1() As String
4843 Return CType(Me(Me.tableUser_Details.AddressLine1Column),String)
4844 Catch e As Global.System.InvalidCastException
4845 Throw New Global.System.Data.StrongTypingException("The value for column 'AddressLine1' in table 'User_Details' is DBNull.", e)
4849 Me(Me.tableUser_Details.AddressLine1Column) = value
4853 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4854 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4855 Public Property Town() As String
4858 Return CType(Me(Me.tableUser_Details.TownColumn),String)
4859 Catch e As Global.System.InvalidCastException
4860 Throw New Global.System.Data.StrongTypingException("The value for column 'Town' in table 'User_Details' is DBNull.", e)
4864 Me(Me.tableUser_Details.TownColumn) = value
4868 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4869 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4870 Public Property Postcode() As String
4873 Return CType(Me(Me.tableUser_Details.PostcodeColumn),String)
4874 Catch e As Global.System.InvalidCastException
4875 Throw New Global.System.Data.StrongTypingException("The value for column 'Postcode' in table 'User_Details' is DBNull.", e)
4879 Me(Me.tableUser_Details.PostcodeColumn) = value
4883 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4884 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4885 Public Property CardNumber() As Integer
4888 Return CType(Me(Me.tableUser_Details.CardNumberColumn),Integer)
4889 Catch e As Global.System.InvalidCastException
4890 Throw New Global.System.Data.StrongTypingException("The value for column 'CardNumber' in table 'User_Details' is DBNull.", e)
4894 Me(Me.tableUser_Details.CardNumberColumn) = value
4898 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4899 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4900 Public Property CVC() As Integer
4903 Return CType(Me(Me.tableUser_Details.CVCColumn),Integer)
4904 Catch e As Global.System.InvalidCastException
4905 Throw New Global.System.Data.StrongTypingException("The value for column 'CVC' in table 'User_Details' is DBNull.", e)
4909 Me(Me.tableUser_Details.CVCColumn) = value
4913 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4914 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4915 Public Property IGN() As String
4918 Return CType(Me(Me.tableUser_Details.IGNColumn),String)
4919 Catch e As Global.System.InvalidCastException
4920 Throw New Global.System.Data.StrongTypingException("The value for column 'IGN' in table 'User_Details' is DBNull.", e)
4924 Me(Me.tableUser_Details.IGNColumn) = value
4928 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4929 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4930 Public Property Email() As String
4933 Return CType(Me(Me.tableUser_Details.EmailColumn),String)
4934 Catch e As Global.System.InvalidCastException
4935 Throw New Global.System.Data.StrongTypingException("The value for column 'Email' in table 'User_Details' is DBNull.", e)
4939 Me(Me.tableUser_Details.EmailColumn) = value
4943 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4944 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4945 Public Property ProfilePic() As Byte()
4948 Return CType(Me(Me.tableUser_Details.ProfilePicColumn),Byte())
4949 Catch e As Global.System.InvalidCastException
4950 Throw New Global.System.Data.StrongTypingException("The value for column 'ProfilePic' in table 'User_Details' is DBNull.", e)
4954 Me(Me.tableUser_Details.ProfilePicColumn) = value
4958 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4959 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4960 Public Function IsFirstNameNull() As Boolean
4961 Return Me.IsNull(Me.tableUser_Details.FirstNameColumn)
4964 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4965 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4966 Public Sub SetFirstNameNull()
4967 Me(Me.tableUser_Details.FirstNameColumn) = Global.System.Convert.DBNull
4970 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4971 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4972 Public Function IsLastNameNull() As Boolean
4973 Return Me.IsNull(Me.tableUser_Details.LastNameColumn)
4976 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4977 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4978 Public Sub SetLastNameNull()
4979 Me(Me.tableUser_Details.LastNameColumn) = Global.System.Convert.DBNull
4982 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4983 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4984 Public Function IsAddressLine1Null() As Boolean
4985 Return Me.IsNull(Me.tableUser_Details.AddressLine1Column)
4988 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4989 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4990 Public Sub SetAddressLine1Null()
4991 Me(Me.tableUser_Details.AddressLine1Column) = Global.System.Convert.DBNull
4994 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4995 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4996 Public Function IsTownNull() As Boolean
4997 Return Me.IsNull(Me.tableUser_Details.TownColumn)
5000 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5001 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5002 Public Sub SetTownNull()
5003 Me(Me.tableUser_Details.TownColumn) = Global.System.Convert.DBNull
5006 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5007 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5008 Public Function IsPostcodeNull() As Boolean
5009 Return Me.IsNull(Me.tableUser_Details.PostcodeColumn)
5012 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5013 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5014 Public Sub SetPostcodeNull()
5015 Me(Me.tableUser_Details.PostcodeColumn) = Global.System.Convert.DBNull
5018 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5019 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5020 Public Function IsCardNumberNull() As Boolean
5021 Return Me.IsNull(Me.tableUser_Details.CardNumberColumn)
5024 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5025 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5026 Public Sub SetCardNumberNull()
5027 Me(Me.tableUser_Details.CardNumberColumn) = Global.System.Convert.DBNull
5030 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5031 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5032 Public Function IsCVCNull() As Boolean
5033 Return Me.IsNull(Me.tableUser_Details.CVCColumn)
5036 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5037 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5038 Public Sub SetCVCNull()
5039 Me(Me.tableUser_Details.CVCColumn) = Global.System.Convert.DBNull
5042 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5043 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5044 Public Function IsIGNNull() As Boolean
5045 Return Me.IsNull(Me.tableUser_Details.IGNColumn)
5048 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5049 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5050 Public Sub SetIGNNull()
5051 Me(Me.tableUser_Details.IGNColumn) = Global.System.Convert.DBNull
5054 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5055 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5056 Public Function IsEmailNull() As Boolean
5057 Return Me.IsNull(Me.tableUser_Details.EmailColumn)
5060 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5061 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5062 Public Sub SetEmailNull()
5063 Me(Me.tableUser_Details.EmailColumn) = Global.System.Convert.DBNull
5066 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5067 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5068 Public Function IsProfilePicNull() As Boolean
5069 Return Me.IsNull(Me.tableUser_Details.ProfilePicColumn)
5072 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5073 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5074 Public Sub SetProfilePicNull()
5075 Me(Me.tableUser_Details.ProfilePicColumn) = Global.System.Convert.DBNull
5078 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5079 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5080 Public Function GetUsersRows() As UsersRow()
5081 If (Me.Table.ChildRelations("User_DetailsUsers") Is Nothing) Then
5082 Return New UsersRow(-1) {}
5084 Return CType(MyBase.GetChildRows(Me.Table.ChildRelations("User_DetailsUsers")),UsersRow())
5090 '''Represents strongly named DataRow class.
5092 Partial Public Class UsersRow
5093 Inherits Global.System.Data.DataRow
5095 Private tableUsers As UsersDataTable
5097 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5098 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5099 Friend Sub New(ByVal rb As Global.System.Data.DataRowBuilder)
5101 Me.tableUsers = CType(Me.Table,UsersDataTable)
5104 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5105 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5106 Public Property UserID() As Integer
5108 Return CType(Me(Me.tableUsers.UserIDColumn),Integer)
5111 Me(Me.tableUsers.UserIDColumn) = value
5115 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5116 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5117 Public Property User_DetailsID() As Integer
5120 Return CType(Me(Me.tableUsers.User_DetailsIDColumn),Integer)
5121 Catch e As Global.System.InvalidCastException
5122 Throw New Global.System.Data.StrongTypingException("The value for column 'User_DetailsID' in table 'Users' is DBNull.", e)
5126 Me(Me.tableUsers.User_DetailsIDColumn) = value
5130 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5131 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5132 Public Property Username() As String
5135 Return CType(Me(Me.tableUsers.UsernameColumn),String)
5136 Catch e As Global.System.InvalidCastException
5137 Throw New Global.System.Data.StrongTypingException("The value for column 'Username' in table 'Users' is DBNull.", e)
5141 Me(Me.tableUsers.UsernameColumn) = value
5145 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5146 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5147 Public Property Password() As String
5150 Return CType(Me(Me.tableUsers.PasswordColumn),String)
5151 Catch e As Global.System.InvalidCastException
5152 Throw New Global.System.Data.StrongTypingException("The value for column 'Password' in table 'Users' is DBNull.", e)
5156 Me(Me.tableUsers.PasswordColumn) = value
5160 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5161 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5162 Public Property User_DetailsRow() As User_DetailsRow
5164 Return CType(Me.GetParentRow(Me.Table.ParentRelations("User_DetailsUsers")),User_DetailsRow)
5167 Me.SetParentRow(value, Me.Table.ParentRelations("User_DetailsUsers"))
5171 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5172 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5173 Public Function IsUser_DetailsIDNull() As Boolean
5174 Return Me.IsNull(Me.tableUsers.User_DetailsIDColumn)
5177 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5178 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5179 Public Sub SetUser_DetailsIDNull()
5180 Me(Me.tableUsers.User_DetailsIDColumn) = Global.System.Convert.DBNull
5183 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5184 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5185 Public Function IsUsernameNull() As Boolean
5186 Return Me.IsNull(Me.tableUsers.UsernameColumn)
5189 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5190 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5191 Public Sub SetUsernameNull()
5192 Me(Me.tableUsers.UsernameColumn) = Global.System.Convert.DBNull
5195 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5196 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5197 Public Function IsPasswordNull() As Boolean
5198 Return Me.IsNull(Me.tableUsers.PasswordColumn)
5201 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5202 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5203 Public Sub SetPasswordNull()
5204 Me(Me.tableUsers.PasswordColumn) = Global.System.Convert.DBNull
5209 '''Represents strongly named DataRow class.
5211 Partial Public Class WishlistRow
5212 Inherits Global.System.Data.DataRow
5214 Private tableWishlist As WishlistDataTable
5216 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5217 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5218 Friend Sub New(ByVal rb As Global.System.Data.DataRowBuilder)
5220 Me.tableWishlist = CType(Me.Table,WishlistDataTable)
5223 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5224 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5225 Public Property WishlistID() As Integer
5227 Return CType(Me(Me.tableWishlist.WishlistIDColumn),Integer)
5230 Me(Me.tableWishlist.WishlistIDColumn) = value
5234 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5235 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5236 Public Property UserID() As Integer
5239 Return CType(Me(Me.tableWishlist.UserIDColumn),Integer)
5240 Catch e As Global.System.InvalidCastException
5241 Throw New Global.System.Data.StrongTypingException("The value for column 'UserID' in table 'Wishlist' is DBNull.", e)
5245 Me(Me.tableWishlist.UserIDColumn) = value
5249 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5250 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5251 Public Property GameID() As Integer
5254 Return CType(Me(Me.tableWishlist.GameIDColumn),Integer)
5255 Catch e As Global.System.InvalidCastException
5256 Throw New Global.System.Data.StrongTypingException("The value for column 'GameID' in table 'Wishlist' is DBNull.", e)
5260 Me(Me.tableWishlist.GameIDColumn) = value
5264 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5265 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5266 Public Property GamesRow() As GamesRow
5268 Return CType(Me.GetParentRow(Me.Table.ParentRelations("GamesWishlist")),GamesRow)
5271 Me.SetParentRow(value, Me.Table.ParentRelations("GamesWishlist"))
5275 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5276 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5277 Public Function IsUserIDNull() As Boolean
5278 Return Me.IsNull(Me.tableWishlist.UserIDColumn)
5281 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5282 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5283 Public Sub SetUserIDNull()
5284 Me(Me.tableWishlist.UserIDColumn) = Global.System.Convert.DBNull
5287 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5288 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5289 Public Function IsGameIDNull() As Boolean
5290 Return Me.IsNull(Me.tableWishlist.GameIDColumn)
5293 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5294 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5295 Public Sub SetGameIDNull()
5296 Me(Me.tableWishlist.GameIDColumn) = Global.System.Convert.DBNull
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 User_DetailsRowChangeEvent
5557 Inherits Global.System.EventArgs
5559 Private eventRow As User_DetailsRow
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 User_DetailsRow, 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 User_DetailsRow
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 WishlistRowChangeEvent
5629 Inherits Global.System.EventArgs
5631 Private eventRow As WishlistRow
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 WishlistRow, 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 WishlistRow
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.NEAConnectionString2
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.NEAConnectionString2
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.NEAConnectionString2
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.NEAConnectionString2
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.NEAConnectionString2
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.NEAConnectionString2
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.NEAConnectionString2
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 User_DetailsTableAdapter
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 = "User_Details"
8317 tableMapping.ColumnMappings.Add("UserDetailsID", "UserDetailsID")
8318 tableMapping.ColumnMappings.Add("FirstName", "FirstName")
8319 tableMapping.ColumnMappings.Add("LastName", "LastName")
8320 tableMapping.ColumnMappings.Add("AddressLine1", "AddressLine1")
8321 tableMapping.ColumnMappings.Add("Town", "Town")
8322 tableMapping.ColumnMappings.Add("Postcode", "Postcode")
8323 tableMapping.ColumnMappings.Add("CardNumber", "CardNumber")
8324 tableMapping.ColumnMappings.Add("CVC", "CVC")
8325 tableMapping.ColumnMappings.Add("IGN", "IGN")
8326 tableMapping.ColumnMappings.Add("Email", "Email")
8327 tableMapping.ColumnMappings.Add("ProfilePic", "ProfilePic")
8328 Me._adapter.TableMappings.Add(tableMapping)
8329 Me._adapter.DeleteCommand = New Global.System.Data.OleDb.OleDbCommand()
8330 Me._adapter.DeleteCommand.Connection = Me.Connection
8331 Me._adapter.DeleteCommand.CommandText = "DELETE FROM `User_Details` WHERE ((`UserDetailsID` = ?) AND ((? = 1 AND `Town` IS"& _
8332 " NULL) OR (`Town` = ?)) AND ((? = 1 AND `CardNumber` IS NULL) OR (`CardNumber` ="& _
8333 " ?)) AND ((? = 1 AND `CVC` IS NULL) OR (`CVC` = ?)))"
8334 Me._adapter.DeleteCommand.CommandType = Global.System.Data.CommandType.Text
8335 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))
8336 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))
8337 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))
8338 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))
8339 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))
8340 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))
8341 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))
8342 Me._adapter.InsertCommand = New Global.System.Data.OleDb.OleDbCommand()
8343 Me._adapter.InsertCommand.Connection = Me.Connection
8344 Me._adapter.InsertCommand.CommandText = "INSERT INTO `User_Details` (`FirstName`, `LastName`, `AddressLine1`, `Town`, `Pos"& _
8345 "tcode`, `CardNumber`, `CVC`, `IGN`, `Email`, `ProfilePic`) VALUES (?, ?, ?, ?, ?"& _
8347 Me._adapter.InsertCommand.CommandType = Global.System.Data.CommandType.Text
8348 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))
8349 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))
8350 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))
8351 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))
8352 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))
8353 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))
8354 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))
8355 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))
8356 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))
8357 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))
8358 Me._adapter.UpdateCommand = New Global.System.Data.OleDb.OleDbCommand()
8359 Me._adapter.UpdateCommand.Connection = Me.Connection
8360 Me._adapter.UpdateCommand.CommandText = "UPDATE `User_Details` SET `FirstName` = ?, `LastName` = ?, `AddressLine1` = ?, `T"& _
8361 "own` = ?, `Postcode` = ?, `CardNumber` = ?, `CVC` = ?, `IGN` = ?, `Email` = ?, `"& _
8362 "ProfilePic` = ? WHERE ((`UserDetailsID` = ?) AND ((? = 1 AND `Town` IS NULL) OR "& _
8363 "(`Town` = ?)) AND ((? = 1 AND `CardNumber` IS NULL) OR (`CardNumber` = ?)) AND ("& _
8364 "(? = 1 AND `CVC` IS NULL) OR (`CVC` = ?)))"
8365 Me._adapter.UpdateCommand.CommandType = Global.System.Data.CommandType.Text
8366 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))
8367 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))
8368 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))
8369 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))
8370 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))
8371 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))
8372 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))
8373 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))
8374 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))
8375 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))
8376 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))
8377 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))
8378 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))
8379 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))
8380 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))
8381 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))
8382 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))
8385 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8386 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8387 Private Sub InitConnection()
8388 Me._connection = New Global.System.Data.OleDb.OleDbConnection()
8389 Me._connection.ConnectionString = Global.NEA.MySettings.Default.NEAConnectionString2
8392 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8393 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8394 Private Sub InitCommandCollection()
8395 Me._commandCollection = New Global.System.Data.OleDb.OleDbCommand(0) {}
8396 Me._commandCollection(0) = New Global.System.Data.OleDb.OleDbCommand()
8397 Me._commandCollection(0).Connection = Me.Connection
8398 Me._commandCollection(0).CommandText = "SELECT UserDetailsID, FirstName, LastName, AddressLine1, Town, Postcode, CardNumb"& _
8399 "er, CVC, IGN, Email, ProfilePic FROM User_Details"
8400 Me._commandCollection(0).CommandType = Global.System.Data.CommandType.Text
8403 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8404 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8405 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
8406 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Fill, true)> _
8407 Public Overloads Overridable Function Fill(ByVal dataTable As NEADataSet.User_DetailsDataTable) As Integer
8408 Me.Adapter.SelectCommand = Me.CommandCollection(0)
8409 If (Me.ClearBeforeFill = true) Then
8412 Dim returnValue As Integer = Me.Adapter.Fill(dataTable)
8416 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8417 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8418 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
8419 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.[Select], true)> _
8420 Public Overloads Overridable Function GetData() As NEADataSet.User_DetailsDataTable
8421 Me.Adapter.SelectCommand = Me.CommandCollection(0)
8422 Dim dataTable As NEADataSet.User_DetailsDataTable = New NEADataSet.User_DetailsDataTable()
8423 Me.Adapter.Fill(dataTable)
8427 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8428 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8429 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
8430 Public Overloads Overridable Function Update(ByVal dataTable As NEADataSet.User_DetailsDataTable) As Integer
8431 Return Me.Adapter.Update(dataTable)
8434 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8435 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8436 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
8437 Public Overloads Overridable Function Update(ByVal dataSet As NEADataSet) As Integer
8438 Return Me.Adapter.Update(dataSet, "User_Details")
8441 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8442 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8443 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
8444 Public Overloads Overridable Function Update(ByVal dataRow As Global.System.Data.DataRow) As Integer
8445 Return Me.Adapter.Update(New Global.System.Data.DataRow() {dataRow})
8448 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8449 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8450 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
8451 Public Overloads Overridable Function Update(ByVal dataRows() As Global.System.Data.DataRow) As Integer
8452 Return Me.Adapter.Update(dataRows)
8455 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8456 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8457 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
8458 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Delete, true)> _
8459 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
8460 Me.Adapter.DeleteCommand.Parameters(0).Value = CType(Original_UserDetailsID,Integer)
8461 If (Original_Town Is Nothing) Then
8462 Me.Adapter.DeleteCommand.Parameters(1).Value = CType(1,Object)
8463 Me.Adapter.DeleteCommand.Parameters(2).Value = Global.System.DBNull.Value
8465 Me.Adapter.DeleteCommand.Parameters(1).Value = CType(0,Object)
8466 Me.Adapter.DeleteCommand.Parameters(2).Value = CType(Original_Town,String)
8468 If (Original_CardNumber.HasValue = true) Then
8469 Me.Adapter.DeleteCommand.Parameters(3).Value = CType(0,Object)
8470 Me.Adapter.DeleteCommand.Parameters(4).Value = CType(Original_CardNumber.Value,Integer)
8472 Me.Adapter.DeleteCommand.Parameters(3).Value = CType(1,Object)
8473 Me.Adapter.DeleteCommand.Parameters(4).Value = Global.System.DBNull.Value
8475 If (Original_CVC.HasValue = true) Then
8476 Me.Adapter.DeleteCommand.Parameters(5).Value = CType(0,Object)
8477 Me.Adapter.DeleteCommand.Parameters(6).Value = CType(Original_CVC.Value,Integer)
8479 Me.Adapter.DeleteCommand.Parameters(5).Value = CType(1,Object)
8480 Me.Adapter.DeleteCommand.Parameters(6).Value = Global.System.DBNull.Value
8482 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.DeleteCommand.Connection.State
8483 If ((Me.Adapter.DeleteCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
8484 <> Global.System.Data.ConnectionState.Open) Then
8485 Me.Adapter.DeleteCommand.Connection.Open
8488 Dim returnValue As Integer = Me.Adapter.DeleteCommand.ExecuteNonQuery
8491 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
8492 Me.Adapter.DeleteCommand.Connection.Close
8497 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8498 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8499 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
8500 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Insert, true)> _
8501 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
8502 If (FirstName Is Nothing) Then
8503 Me.Adapter.InsertCommand.Parameters(0).Value = Global.System.DBNull.Value
8505 Me.Adapter.InsertCommand.Parameters(0).Value = CType(FirstName,String)
8507 If (LastName Is Nothing) Then
8508 Me.Adapter.InsertCommand.Parameters(1).Value = Global.System.DBNull.Value
8510 Me.Adapter.InsertCommand.Parameters(1).Value = CType(LastName,String)
8512 If (AddressLine1 Is Nothing) Then
8513 Me.Adapter.InsertCommand.Parameters(2).Value = Global.System.DBNull.Value
8515 Me.Adapter.InsertCommand.Parameters(2).Value = CType(AddressLine1,String)
8517 If (Town Is Nothing) Then
8518 Me.Adapter.InsertCommand.Parameters(3).Value = Global.System.DBNull.Value
8520 Me.Adapter.InsertCommand.Parameters(3).Value = CType(Town,String)
8522 If (Postcode Is Nothing) Then
8523 Me.Adapter.InsertCommand.Parameters(4).Value = Global.System.DBNull.Value
8525 Me.Adapter.InsertCommand.Parameters(4).Value = CType(Postcode,String)
8527 If (CardNumber.HasValue = true) Then
8528 Me.Adapter.InsertCommand.Parameters(5).Value = CType(CardNumber.Value,Integer)
8530 Me.Adapter.InsertCommand.Parameters(5).Value = Global.System.DBNull.Value
8532 If (CVC.HasValue = true) Then
8533 Me.Adapter.InsertCommand.Parameters(6).Value = CType(CVC.Value,Integer)
8535 Me.Adapter.InsertCommand.Parameters(6).Value = Global.System.DBNull.Value
8537 If (IGN Is Nothing) Then
8538 Me.Adapter.InsertCommand.Parameters(7).Value = Global.System.DBNull.Value
8540 Me.Adapter.InsertCommand.Parameters(7).Value = CType(IGN,String)
8542 If (Email Is Nothing) Then
8543 Me.Adapter.InsertCommand.Parameters(8).Value = Global.System.DBNull.Value
8545 Me.Adapter.InsertCommand.Parameters(8).Value = CType(Email,String)
8547 If (ProfilePic Is Nothing) Then
8548 Me.Adapter.InsertCommand.Parameters(9).Value = Global.System.DBNull.Value
8550 Me.Adapter.InsertCommand.Parameters(9).Value = CType(ProfilePic,Byte())
8552 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.InsertCommand.Connection.State
8553 If ((Me.Adapter.InsertCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
8554 <> Global.System.Data.ConnectionState.Open) Then
8555 Me.Adapter.InsertCommand.Connection.Open
8558 Dim returnValue As Integer = Me.Adapter.InsertCommand.ExecuteNonQuery
8561 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
8562 Me.Adapter.InsertCommand.Connection.Close
8567 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8568 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8569 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
8570 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Update, true)> _
8571 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
8572 If (FirstName Is Nothing) Then
8573 Me.Adapter.UpdateCommand.Parameters(0).Value = Global.System.DBNull.Value
8575 Me.Adapter.UpdateCommand.Parameters(0).Value = CType(FirstName,String)
8577 If (LastName Is Nothing) Then
8578 Me.Adapter.UpdateCommand.Parameters(1).Value = Global.System.DBNull.Value
8580 Me.Adapter.UpdateCommand.Parameters(1).Value = CType(LastName,String)
8582 If (AddressLine1 Is Nothing) Then
8583 Me.Adapter.UpdateCommand.Parameters(2).Value = Global.System.DBNull.Value
8585 Me.Adapter.UpdateCommand.Parameters(2).Value = CType(AddressLine1,String)
8587 If (Town Is Nothing) Then
8588 Me.Adapter.UpdateCommand.Parameters(3).Value = Global.System.DBNull.Value
8590 Me.Adapter.UpdateCommand.Parameters(3).Value = CType(Town,String)
8592 If (Postcode Is Nothing) Then
8593 Me.Adapter.UpdateCommand.Parameters(4).Value = Global.System.DBNull.Value
8595 Me.Adapter.UpdateCommand.Parameters(4).Value = CType(Postcode,String)
8597 If (CardNumber.HasValue = true) Then
8598 Me.Adapter.UpdateCommand.Parameters(5).Value = CType(CardNumber.Value,Integer)
8600 Me.Adapter.UpdateCommand.Parameters(5).Value = Global.System.DBNull.Value
8602 If (CVC.HasValue = true) Then
8603 Me.Adapter.UpdateCommand.Parameters(6).Value = CType(CVC.Value,Integer)
8605 Me.Adapter.UpdateCommand.Parameters(6).Value = Global.System.DBNull.Value
8607 If (IGN Is Nothing) Then
8608 Me.Adapter.UpdateCommand.Parameters(7).Value = Global.System.DBNull.Value
8610 Me.Adapter.UpdateCommand.Parameters(7).Value = CType(IGN,String)
8612 If (Email Is Nothing) Then
8613 Me.Adapter.UpdateCommand.Parameters(8).Value = Global.System.DBNull.Value
8615 Me.Adapter.UpdateCommand.Parameters(8).Value = CType(Email,String)
8617 If (ProfilePic Is Nothing) Then
8618 Me.Adapter.UpdateCommand.Parameters(9).Value = Global.System.DBNull.Value
8620 Me.Adapter.UpdateCommand.Parameters(9).Value = CType(ProfilePic,Byte())
8622 Me.Adapter.UpdateCommand.Parameters(10).Value = CType(Original_UserDetailsID,Integer)
8623 If (Original_Town Is Nothing) Then
8624 Me.Adapter.UpdateCommand.Parameters(11).Value = CType(1,Object)
8625 Me.Adapter.UpdateCommand.Parameters(12).Value = Global.System.DBNull.Value
8627 Me.Adapter.UpdateCommand.Parameters(11).Value = CType(0,Object)
8628 Me.Adapter.UpdateCommand.Parameters(12).Value = CType(Original_Town,String)
8630 If (Original_CardNumber.HasValue = true) Then
8631 Me.Adapter.UpdateCommand.Parameters(13).Value = CType(0,Object)
8632 Me.Adapter.UpdateCommand.Parameters(14).Value = CType(Original_CardNumber.Value,Integer)
8634 Me.Adapter.UpdateCommand.Parameters(13).Value = CType(1,Object)
8635 Me.Adapter.UpdateCommand.Parameters(14).Value = Global.System.DBNull.Value
8637 If (Original_CVC.HasValue = true) Then
8638 Me.Adapter.UpdateCommand.Parameters(15).Value = CType(0,Object)
8639 Me.Adapter.UpdateCommand.Parameters(16).Value = CType(Original_CVC.Value,Integer)
8641 Me.Adapter.UpdateCommand.Parameters(15).Value = CType(1,Object)
8642 Me.Adapter.UpdateCommand.Parameters(16).Value = Global.System.DBNull.Value
8644 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.UpdateCommand.Connection.State
8645 If ((Me.Adapter.UpdateCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
8646 <> Global.System.Data.ConnectionState.Open) Then
8647 Me.Adapter.UpdateCommand.Connection.Open
8650 Dim returnValue As Integer = Me.Adapter.UpdateCommand.ExecuteNonQuery
8653 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
8654 Me.Adapter.UpdateCommand.Connection.Close
8661 '''Represents the connection and commands used to retrieve and save data.
8663 <Global.System.ComponentModel.DesignerCategoryAttribute("code"), _
8664 Global.System.ComponentModel.ToolboxItem(true), _
8665 Global.System.ComponentModel.DataObjectAttribute(true), _
8666 Global.System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner"& _
8667 ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"), _
8668 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
8669 Partial Public Class UsersTableAdapter
8670 Inherits Global.System.ComponentModel.Component
8672 Private WithEvents _adapter As Global.System.Data.OleDb.OleDbDataAdapter
8674 Private _connection As Global.System.Data.OleDb.OleDbConnection
8676 Private _transaction As Global.System.Data.OleDb.OleDbTransaction
8678 Private _commandCollection() As Global.System.Data.OleDb.OleDbCommand
8680 Private _clearBeforeFill As Boolean
8682 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8683 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8686 Me.ClearBeforeFill = true
8689 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8690 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8691 Protected Friend ReadOnly Property Adapter() As Global.System.Data.OleDb.OleDbDataAdapter
8693 If (Me._adapter Is Nothing) Then
8700 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8701 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8702 Friend Property Connection() As Global.System.Data.OleDb.OleDbConnection
8704 If (Me._connection Is Nothing) Then
8707 Return Me._connection
8710 Me._connection = value
8711 If (Not (Me.Adapter.InsertCommand) Is Nothing) Then
8712 Me.Adapter.InsertCommand.Connection = value
8714 If (Not (Me.Adapter.DeleteCommand) Is Nothing) Then
8715 Me.Adapter.DeleteCommand.Connection = value
8717 If (Not (Me.Adapter.UpdateCommand) Is Nothing) Then
8718 Me.Adapter.UpdateCommand.Connection = value
8720 Dim i As Integer = 0
8721 Do While (i < Me.CommandCollection.Length)
8722 If (Not (Me.CommandCollection(i)) Is Nothing) Then
8723 CType(Me.CommandCollection(i),Global.System.Data.OleDb.OleDbCommand).Connection = value
8730 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8731 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8732 Friend Property Transaction() As Global.System.Data.OleDb.OleDbTransaction
8734 Return Me._transaction
8737 Me._transaction = value
8738 Dim i As Integer = 0
8739 Do While (i < Me.CommandCollection.Length)
8740 Me.CommandCollection(i).Transaction = Me._transaction
8743 If ((Not (Me.Adapter) Is Nothing) _
8744 AndAlso (Not (Me.Adapter.DeleteCommand) Is Nothing)) Then
8745 Me.Adapter.DeleteCommand.Transaction = Me._transaction
8747 If ((Not (Me.Adapter) Is Nothing) _
8748 AndAlso (Not (Me.Adapter.InsertCommand) Is Nothing)) Then
8749 Me.Adapter.InsertCommand.Transaction = Me._transaction
8751 If ((Not (Me.Adapter) Is Nothing) _
8752 AndAlso (Not (Me.Adapter.UpdateCommand) Is Nothing)) Then
8753 Me.Adapter.UpdateCommand.Transaction = Me._transaction
8758 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8759 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8760 Protected ReadOnly Property CommandCollection() As Global.System.Data.OleDb.OleDbCommand()
8762 If (Me._commandCollection Is Nothing) Then
8763 Me.InitCommandCollection
8765 Return Me._commandCollection
8769 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8770 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8771 Public Property ClearBeforeFill() As Boolean
8773 Return Me._clearBeforeFill
8776 Me._clearBeforeFill = value
8780 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8781 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8782 Private Sub InitAdapter()
8783 Me._adapter = New Global.System.Data.OleDb.OleDbDataAdapter()
8784 Dim tableMapping As Global.System.Data.Common.DataTableMapping = New Global.System.Data.Common.DataTableMapping()
8785 tableMapping.SourceTable = "Table"
8786 tableMapping.DataSetTable = "Users"
8787 tableMapping.ColumnMappings.Add("UserID", "UserID")
8788 tableMapping.ColumnMappings.Add("User_DetailsID", "User_DetailsID")
8789 tableMapping.ColumnMappings.Add("Username", "Username")
8790 tableMapping.ColumnMappings.Add("Password", "Password")
8791 Me._adapter.TableMappings.Add(tableMapping)
8792 Me._adapter.DeleteCommand = New Global.System.Data.OleDb.OleDbCommand()
8793 Me._adapter.DeleteCommand.Connection = Me.Connection
8794 Me._adapter.DeleteCommand.CommandText = "DELETE FROM `Users` WHERE ((`UserID` = ?) AND ((? = 1 AND `User_DetailsID` IS NUL"& _
8795 "L) OR (`User_DetailsID` = ?)))"
8796 Me._adapter.DeleteCommand.CommandType = Global.System.Data.CommandType.Text
8797 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))
8798 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))
8799 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))
8800 Me._adapter.InsertCommand = New Global.System.Data.OleDb.OleDbCommand()
8801 Me._adapter.InsertCommand.Connection = Me.Connection
8802 Me._adapter.InsertCommand.CommandText = "INSERT INTO `Users` (`User_DetailsID`, `Username`, `Password`) VALUES (?, ?, ?)"
8803 Me._adapter.InsertCommand.CommandType = Global.System.Data.CommandType.Text
8804 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))
8805 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))
8806 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))
8807 Me._adapter.UpdateCommand = New Global.System.Data.OleDb.OleDbCommand()
8808 Me._adapter.UpdateCommand.Connection = Me.Connection
8809 Me._adapter.UpdateCommand.CommandText = "UPDATE `Users` SET `User_DetailsID` = ?, `Username` = ?, `Password` = ? WHERE ((`"& _
8810 "UserID` = ?) AND ((? = 1 AND `User_DetailsID` IS NULL) OR (`User_DetailsID` = ?)"& _
8812 Me._adapter.UpdateCommand.CommandType = Global.System.Data.CommandType.Text
8813 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))
8814 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))
8815 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))
8816 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))
8817 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))
8818 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))
8821 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8822 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8823 Private Sub InitConnection()
8824 Me._connection = New Global.System.Data.OleDb.OleDbConnection()
8825 Me._connection.ConnectionString = Global.NEA.MySettings.Default.NEAConnectionString2
8828 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8829 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8830 Private Sub InitCommandCollection()
8831 Me._commandCollection = New Global.System.Data.OleDb.OleDbCommand(0) {}
8832 Me._commandCollection(0) = New Global.System.Data.OleDb.OleDbCommand()
8833 Me._commandCollection(0).Connection = Me.Connection
8834 Me._commandCollection(0).CommandText = "SELECT UserID, User_DetailsID, Username, [Password] FROM Users"
8835 Me._commandCollection(0).CommandType = Global.System.Data.CommandType.Text
8838 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8839 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8840 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
8841 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Fill, true)> _
8842 Public Overloads Overridable Function Fill(ByVal dataTable As NEADataSet.UsersDataTable) As Integer
8843 Me.Adapter.SelectCommand = Me.CommandCollection(0)
8844 If (Me.ClearBeforeFill = true) Then
8847 Dim returnValue As Integer = Me.Adapter.Fill(dataTable)
8851 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8852 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8853 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
8854 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.[Select], true)> _
8855 Public Overloads Overridable Function GetData() As NEADataSet.UsersDataTable
8856 Me.Adapter.SelectCommand = Me.CommandCollection(0)
8857 Dim dataTable As NEADataSet.UsersDataTable = New NEADataSet.UsersDataTable()
8858 Me.Adapter.Fill(dataTable)
8862 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8863 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8864 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
8865 Public Overloads Overridable Function Update(ByVal dataTable As NEADataSet.UsersDataTable) As Integer
8866 Return Me.Adapter.Update(dataTable)
8869 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8870 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8871 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
8872 Public Overloads Overridable Function Update(ByVal dataSet As NEADataSet) As Integer
8873 Return Me.Adapter.Update(dataSet, "Users")
8876 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8877 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8878 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
8879 Public Overloads Overridable Function Update(ByVal dataRow As Global.System.Data.DataRow) As Integer
8880 Return Me.Adapter.Update(New Global.System.Data.DataRow() {dataRow})
8883 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8884 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8885 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
8886 Public Overloads Overridable Function Update(ByVal dataRows() As Global.System.Data.DataRow) As Integer
8887 Return Me.Adapter.Update(dataRows)
8890 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8891 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8892 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
8893 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Delete, true)> _
8894 Public Overloads Overridable Function Delete(ByVal Original_UserID As Integer, ByVal Original_User_DetailsID As Global.System.Nullable(Of Integer)) As Integer
8895 Me.Adapter.DeleteCommand.Parameters(0).Value = CType(Original_UserID,Integer)
8896 If (Original_User_DetailsID.HasValue = true) Then
8897 Me.Adapter.DeleteCommand.Parameters(1).Value = CType(0,Object)
8898 Me.Adapter.DeleteCommand.Parameters(2).Value = CType(Original_User_DetailsID.Value,Integer)
8900 Me.Adapter.DeleteCommand.Parameters(1).Value = CType(1,Object)
8901 Me.Adapter.DeleteCommand.Parameters(2).Value = Global.System.DBNull.Value
8903 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.DeleteCommand.Connection.State
8904 If ((Me.Adapter.DeleteCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
8905 <> Global.System.Data.ConnectionState.Open) Then
8906 Me.Adapter.DeleteCommand.Connection.Open
8909 Dim returnValue As Integer = Me.Adapter.DeleteCommand.ExecuteNonQuery
8912 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
8913 Me.Adapter.DeleteCommand.Connection.Close
8918 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8919 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8920 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
8921 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Insert, true)> _
8922 Public Overloads Overridable Function Insert(ByVal User_DetailsID As Global.System.Nullable(Of Integer), ByVal Username As String, ByVal Password As String) As Integer
8923 If (User_DetailsID.HasValue = true) Then
8924 Me.Adapter.InsertCommand.Parameters(0).Value = CType(User_DetailsID.Value,Integer)
8926 Me.Adapter.InsertCommand.Parameters(0).Value = Global.System.DBNull.Value
8928 If (Username Is Nothing) Then
8929 Me.Adapter.InsertCommand.Parameters(1).Value = Global.System.DBNull.Value
8931 Me.Adapter.InsertCommand.Parameters(1).Value = CType(Username,String)
8933 If (Password Is Nothing) Then
8934 Me.Adapter.InsertCommand.Parameters(2).Value = Global.System.DBNull.Value
8936 Me.Adapter.InsertCommand.Parameters(2).Value = CType(Password,String)
8938 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.InsertCommand.Connection.State
8939 If ((Me.Adapter.InsertCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
8940 <> Global.System.Data.ConnectionState.Open) Then
8941 Me.Adapter.InsertCommand.Connection.Open
8944 Dim returnValue As Integer = Me.Adapter.InsertCommand.ExecuteNonQuery
8947 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
8948 Me.Adapter.InsertCommand.Connection.Close
8953 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8954 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8955 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
8956 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Update, true)> _
8957 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
8958 If (User_DetailsID.HasValue = true) Then
8959 Me.Adapter.UpdateCommand.Parameters(0).Value = CType(User_DetailsID.Value,Integer)
8961 Me.Adapter.UpdateCommand.Parameters(0).Value = Global.System.DBNull.Value
8963 If (Username Is Nothing) Then
8964 Me.Adapter.UpdateCommand.Parameters(1).Value = Global.System.DBNull.Value
8966 Me.Adapter.UpdateCommand.Parameters(1).Value = CType(Username,String)
8968 If (Password Is Nothing) Then
8969 Me.Adapter.UpdateCommand.Parameters(2).Value = Global.System.DBNull.Value
8971 Me.Adapter.UpdateCommand.Parameters(2).Value = CType(Password,String)
8973 Me.Adapter.UpdateCommand.Parameters(3).Value = CType(Original_UserID,Integer)
8974 If (Original_User_DetailsID.HasValue = true) Then
8975 Me.Adapter.UpdateCommand.Parameters(4).Value = CType(0,Object)
8976 Me.Adapter.UpdateCommand.Parameters(5).Value = CType(Original_User_DetailsID.Value,Integer)
8978 Me.Adapter.UpdateCommand.Parameters(4).Value = CType(1,Object)
8979 Me.Adapter.UpdateCommand.Parameters(5).Value = Global.System.DBNull.Value
8981 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.UpdateCommand.Connection.State
8982 If ((Me.Adapter.UpdateCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
8983 <> Global.System.Data.ConnectionState.Open) Then
8984 Me.Adapter.UpdateCommand.Connection.Open
8987 Dim returnValue As Integer = Me.Adapter.UpdateCommand.ExecuteNonQuery
8990 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
8991 Me.Adapter.UpdateCommand.Connection.Close
8998 '''Represents the connection and commands used to retrieve and save data.
9000 <Global.System.ComponentModel.DesignerCategoryAttribute("code"), _
9001 Global.System.ComponentModel.ToolboxItem(true), _
9002 Global.System.ComponentModel.DataObjectAttribute(true), _
9003 Global.System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner"& _
9004 ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"), _
9005 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
9006 Partial Public Class WishlistTableAdapter
9007 Inherits Global.System.ComponentModel.Component
9009 Private WithEvents _adapter As Global.System.Data.OleDb.OleDbDataAdapter
9011 Private _connection As Global.System.Data.OleDb.OleDbConnection
9013 Private _transaction As Global.System.Data.OleDb.OleDbTransaction
9015 Private _commandCollection() As Global.System.Data.OleDb.OleDbCommand
9017 Private _clearBeforeFill As Boolean
9019 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9020 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
9023 Me.ClearBeforeFill = true
9026 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9027 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
9028 Protected Friend ReadOnly Property Adapter() As Global.System.Data.OleDb.OleDbDataAdapter
9030 If (Me._adapter Is Nothing) Then
9037 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9038 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
9039 Friend Property Connection() As Global.System.Data.OleDb.OleDbConnection
9041 If (Me._connection Is Nothing) Then
9044 Return Me._connection
9047 Me._connection = value
9048 If (Not (Me.Adapter.InsertCommand) Is Nothing) Then
9049 Me.Adapter.InsertCommand.Connection = value
9051 If (Not (Me.Adapter.DeleteCommand) Is Nothing) Then
9052 Me.Adapter.DeleteCommand.Connection = value
9054 If (Not (Me.Adapter.UpdateCommand) Is Nothing) Then
9055 Me.Adapter.UpdateCommand.Connection = value
9057 Dim i As Integer = 0
9058 Do While (i < Me.CommandCollection.Length)
9059 If (Not (Me.CommandCollection(i)) Is Nothing) Then
9060 CType(Me.CommandCollection(i),Global.System.Data.OleDb.OleDbCommand).Connection = value
9067 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9068 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
9069 Friend Property Transaction() As Global.System.Data.OleDb.OleDbTransaction
9071 Return Me._transaction
9074 Me._transaction = value
9075 Dim i As Integer = 0
9076 Do While (i < Me.CommandCollection.Length)
9077 Me.CommandCollection(i).Transaction = Me._transaction
9080 If ((Not (Me.Adapter) Is Nothing) _
9081 AndAlso (Not (Me.Adapter.DeleteCommand) Is Nothing)) Then
9082 Me.Adapter.DeleteCommand.Transaction = Me._transaction
9084 If ((Not (Me.Adapter) Is Nothing) _
9085 AndAlso (Not (Me.Adapter.InsertCommand) Is Nothing)) Then
9086 Me.Adapter.InsertCommand.Transaction = Me._transaction
9088 If ((Not (Me.Adapter) Is Nothing) _
9089 AndAlso (Not (Me.Adapter.UpdateCommand) Is Nothing)) Then
9090 Me.Adapter.UpdateCommand.Transaction = Me._transaction
9095 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9096 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
9097 Protected ReadOnly Property CommandCollection() As Global.System.Data.OleDb.OleDbCommand()
9099 If (Me._commandCollection Is Nothing) Then
9100 Me.InitCommandCollection
9102 Return Me._commandCollection
9106 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9107 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
9108 Public Property ClearBeforeFill() As Boolean
9110 Return Me._clearBeforeFill
9113 Me._clearBeforeFill = value
9117 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9118 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
9119 Private Sub InitAdapter()
9120 Me._adapter = New Global.System.Data.OleDb.OleDbDataAdapter()
9121 Dim tableMapping As Global.System.Data.Common.DataTableMapping = New Global.System.Data.Common.DataTableMapping()
9122 tableMapping.SourceTable = "Table"
9123 tableMapping.DataSetTable = "Wishlist"
9124 tableMapping.ColumnMappings.Add("WishlistID", "WishlistID")
9125 tableMapping.ColumnMappings.Add("UserID", "UserID")
9126 tableMapping.ColumnMappings.Add("GameID", "GameID")
9127 Me._adapter.TableMappings.Add(tableMapping)
9128 Me._adapter.DeleteCommand = New Global.System.Data.OleDb.OleDbCommand()
9129 Me._adapter.DeleteCommand.Connection = Me.Connection
9130 Me._adapter.DeleteCommand.CommandText = "DELETE FROM `Wishlist` WHERE ((`WishlistID` = ?) AND ((? = 1 AND `UserID` IS NULL"& _
9131 ") OR (`UserID` = ?)) AND ((? = 1 AND `GameID` IS NULL) OR (`GameID` = ?)))"
9132 Me._adapter.DeleteCommand.CommandType = Global.System.Data.CommandType.Text
9133 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))
9134 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))
9135 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))
9136 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))
9137 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))
9138 Me._adapter.InsertCommand = New Global.System.Data.OleDb.OleDbCommand()
9139 Me._adapter.InsertCommand.Connection = Me.Connection
9140 Me._adapter.InsertCommand.CommandText = "INSERT INTO `Wishlist` (`UserID`, `GameID`) VALUES (?, ?)"
9141 Me._adapter.InsertCommand.CommandType = Global.System.Data.CommandType.Text
9142 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))
9143 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))
9144 Me._adapter.UpdateCommand = New Global.System.Data.OleDb.OleDbCommand()
9145 Me._adapter.UpdateCommand.Connection = Me.Connection
9146 Me._adapter.UpdateCommand.CommandText = "UPDATE `Wishlist` SET `UserID` = ?, `GameID` = ? WHERE ((`WishlistID` = ?) AND (("& _
9147 "? = 1 AND `UserID` IS NULL) OR (`UserID` = ?)) AND ((? = 1 AND `GameID` IS NULL)"& _
9148 " OR (`GameID` = ?)))"
9149 Me._adapter.UpdateCommand.CommandType = Global.System.Data.CommandType.Text
9150 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))
9151 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))
9152 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))
9153 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))
9154 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))
9155 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))
9156 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))
9159 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9160 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
9161 Private Sub InitConnection()
9162 Me._connection = New Global.System.Data.OleDb.OleDbConnection()
9163 Me._connection.ConnectionString = Global.NEA.MySettings.Default.NEAConnectionString2
9166 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9167 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
9168 Private Sub InitCommandCollection()
9169 Me._commandCollection = New Global.System.Data.OleDb.OleDbCommand(0) {}
9170 Me._commandCollection(0) = New Global.System.Data.OleDb.OleDbCommand()
9171 Me._commandCollection(0).Connection = Me.Connection
9172 Me._commandCollection(0).CommandText = "SELECT WishlistID, UserID, GameID FROM Wishlist"
9173 Me._commandCollection(0).CommandType = Global.System.Data.CommandType.Text
9176 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9177 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9178 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
9179 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Fill, true)> _
9180 Public Overloads Overridable Function Fill(ByVal dataTable As NEADataSet.WishlistDataTable) As Integer
9181 Me.Adapter.SelectCommand = Me.CommandCollection(0)
9182 If (Me.ClearBeforeFill = true) Then
9185 Dim returnValue As Integer = Me.Adapter.Fill(dataTable)
9189 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9190 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9191 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
9192 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.[Select], true)> _
9193 Public Overloads Overridable Function GetData() As NEADataSet.WishlistDataTable
9194 Me.Adapter.SelectCommand = Me.CommandCollection(0)
9195 Dim dataTable As NEADataSet.WishlistDataTable = New NEADataSet.WishlistDataTable()
9196 Me.Adapter.Fill(dataTable)
9200 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9201 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9202 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
9203 Public Overloads Overridable Function Update(ByVal dataTable As NEADataSet.WishlistDataTable) As Integer
9204 Return Me.Adapter.Update(dataTable)
9207 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9208 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9209 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
9210 Public Overloads Overridable Function Update(ByVal dataSet As NEADataSet) As Integer
9211 Return Me.Adapter.Update(dataSet, "Wishlist")
9214 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9215 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9216 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
9217 Public Overloads Overridable Function Update(ByVal dataRow As Global.System.Data.DataRow) As Integer
9218 Return Me.Adapter.Update(New Global.System.Data.DataRow() {dataRow})
9221 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9222 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9223 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
9224 Public Overloads Overridable Function Update(ByVal dataRows() As Global.System.Data.DataRow) As Integer
9225 Return Me.Adapter.Update(dataRows)
9228 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9229 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9230 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
9231 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Delete, true)> _
9232 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
9233 Me.Adapter.DeleteCommand.Parameters(0).Value = CType(Original_WishlistID,Integer)
9234 If (Original_UserID.HasValue = true) Then
9235 Me.Adapter.DeleteCommand.Parameters(1).Value = CType(0,Object)
9236 Me.Adapter.DeleteCommand.Parameters(2).Value = CType(Original_UserID.Value,Integer)
9238 Me.Adapter.DeleteCommand.Parameters(1).Value = CType(1,Object)
9239 Me.Adapter.DeleteCommand.Parameters(2).Value = Global.System.DBNull.Value
9241 If (Original_GameID.HasValue = true) Then
9242 Me.Adapter.DeleteCommand.Parameters(3).Value = CType(0,Object)
9243 Me.Adapter.DeleteCommand.Parameters(4).Value = CType(Original_GameID.Value,Integer)
9245 Me.Adapter.DeleteCommand.Parameters(3).Value = CType(1,Object)
9246 Me.Adapter.DeleteCommand.Parameters(4).Value = Global.System.DBNull.Value
9248 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.DeleteCommand.Connection.State
9249 If ((Me.Adapter.DeleteCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
9250 <> Global.System.Data.ConnectionState.Open) Then
9251 Me.Adapter.DeleteCommand.Connection.Open
9254 Dim returnValue As Integer = Me.Adapter.DeleteCommand.ExecuteNonQuery
9257 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
9258 Me.Adapter.DeleteCommand.Connection.Close
9263 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9264 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9265 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
9266 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Insert, true)> _
9267 Public Overloads Overridable Function Insert(ByVal UserID As Global.System.Nullable(Of Integer), ByVal GameID As Global.System.Nullable(Of Integer)) As Integer
9268 If (UserID.HasValue = true) Then
9269 Me.Adapter.InsertCommand.Parameters(0).Value = CType(UserID.Value,Integer)
9271 Me.Adapter.InsertCommand.Parameters(0).Value = Global.System.DBNull.Value
9273 If (GameID.HasValue = true) Then
9274 Me.Adapter.InsertCommand.Parameters(1).Value = CType(GameID.Value,Integer)
9276 Me.Adapter.InsertCommand.Parameters(1).Value = Global.System.DBNull.Value
9278 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.InsertCommand.Connection.State
9279 If ((Me.Adapter.InsertCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
9280 <> Global.System.Data.ConnectionState.Open) Then
9281 Me.Adapter.InsertCommand.Connection.Open
9284 Dim returnValue As Integer = Me.Adapter.InsertCommand.ExecuteNonQuery
9287 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
9288 Me.Adapter.InsertCommand.Connection.Close
9293 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9294 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9295 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
9296 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Update, true)> _
9297 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
9298 If (UserID.HasValue = true) Then
9299 Me.Adapter.UpdateCommand.Parameters(0).Value = CType(UserID.Value,Integer)
9301 Me.Adapter.UpdateCommand.Parameters(0).Value = Global.System.DBNull.Value
9303 If (GameID.HasValue = true) Then
9304 Me.Adapter.UpdateCommand.Parameters(1).Value = CType(GameID.Value,Integer)
9306 Me.Adapter.UpdateCommand.Parameters(1).Value = Global.System.DBNull.Value
9308 Me.Adapter.UpdateCommand.Parameters(2).Value = CType(Original_WishlistID,Integer)
9309 If (Original_UserID.HasValue = true) Then
9310 Me.Adapter.UpdateCommand.Parameters(3).Value = CType(0,Object)
9311 Me.Adapter.UpdateCommand.Parameters(4).Value = CType(Original_UserID.Value,Integer)
9313 Me.Adapter.UpdateCommand.Parameters(3).Value = CType(1,Object)
9314 Me.Adapter.UpdateCommand.Parameters(4).Value = Global.System.DBNull.Value
9316 If (Original_GameID.HasValue = true) Then
9317 Me.Adapter.UpdateCommand.Parameters(5).Value = CType(0,Object)
9318 Me.Adapter.UpdateCommand.Parameters(6).Value = CType(Original_GameID.Value,Integer)
9320 Me.Adapter.UpdateCommand.Parameters(5).Value = CType(1,Object)
9321 Me.Adapter.UpdateCommand.Parameters(6).Value = Global.System.DBNull.Value
9323 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.UpdateCommand.Connection.State
9324 If ((Me.Adapter.UpdateCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
9325 <> Global.System.Data.ConnectionState.Open) Then
9326 Me.Adapter.UpdateCommand.Connection.Open
9329 Dim returnValue As Integer = Me.Adapter.UpdateCommand.ExecuteNonQuery
9332 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
9333 Me.Adapter.UpdateCommand.Connection.Close
9340 '''TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
9342 <Global.System.ComponentModel.DesignerCategoryAttribute("code"), _
9343 Global.System.ComponentModel.ToolboxItem(true), _
9344 Global.System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD"& _
9345 "esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"), _
9346 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")> _
9347 Partial Public Class TableAdapterManager
9348 Inherits Global.System.ComponentModel.Component
9350 Private _updateOrder As UpdateOrderOption
9352 Private _achievementTableAdapter As AchievementTableAdapter
9354 Private _dOWTableAdapter As DOWTableAdapter
9356 Private _friendsTableAdapter As FriendsTableAdapter
9358 Private _gamesTableAdapter As GamesTableAdapter
9360 Private _purchasedTableAdapter As PurchasedTableAdapter
9362 Private _reviewsTableAdapter As ReviewsTableAdapter
9364 Private _tagsTableAdapter As TagsTableAdapter
9366 Private _user_DetailsTableAdapter As User_DetailsTableAdapter
9368 Private _usersTableAdapter As UsersTableAdapter
9370 Private _wishlistTableAdapter As WishlistTableAdapter
9372 Private _backupDataSetBeforeUpdate As Boolean
9374 Private _connection As Global.System.Data.IDbConnection
9376 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9377 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
9378 Public Property UpdateOrder() As UpdateOrderOption
9380 Return Me._updateOrder
9383 Me._updateOrder = value
9387 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9388 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9389 Global.System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso"& _
9390 "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3"& _
9391 "a", "System.Drawing.Design.UITypeEditor")> _
9392 Public Property AchievementTableAdapter() As AchievementTableAdapter
9394 Return Me._achievementTableAdapter
9397 Me._achievementTableAdapter = value
9401 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9402 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9403 Global.System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso"& _
9404 "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3"& _
9405 "a", "System.Drawing.Design.UITypeEditor")> _
9406 Public Property DOWTableAdapter() As DOWTableAdapter
9408 Return Me._dOWTableAdapter
9411 Me._dOWTableAdapter = value
9415 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9416 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9417 Global.System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso"& _
9418 "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3"& _
9419 "a", "System.Drawing.Design.UITypeEditor")> _
9420 Public Property FriendsTableAdapter() As FriendsTableAdapter
9422 Return Me._friendsTableAdapter
9425 Me._friendsTableAdapter = value
9429 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9430 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9431 Global.System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso"& _
9432 "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3"& _
9433 "a", "System.Drawing.Design.UITypeEditor")> _
9434 Public Property GamesTableAdapter() As GamesTableAdapter
9436 Return Me._gamesTableAdapter
9439 Me._gamesTableAdapter = value
9443 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9444 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9445 Global.System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso"& _
9446 "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3"& _
9447 "a", "System.Drawing.Design.UITypeEditor")> _
9448 Public Property PurchasedTableAdapter() As PurchasedTableAdapter
9450 Return Me._purchasedTableAdapter
9453 Me._purchasedTableAdapter = value
9457 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9458 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9459 Global.System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso"& _
9460 "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3"& _
9461 "a", "System.Drawing.Design.UITypeEditor")> _
9462 Public Property ReviewsTableAdapter() As ReviewsTableAdapter
9464 Return Me._reviewsTableAdapter
9467 Me._reviewsTableAdapter = value
9471 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9472 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9473 Global.System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso"& _
9474 "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3"& _
9475 "a", "System.Drawing.Design.UITypeEditor")> _
9476 Public Property TagsTableAdapter() As TagsTableAdapter
9478 Return Me._tagsTableAdapter
9481 Me._tagsTableAdapter = value
9485 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9486 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9487 Global.System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso"& _
9488 "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3"& _
9489 "a", "System.Drawing.Design.UITypeEditor")> _
9490 Public Property User_DetailsTableAdapter() As User_DetailsTableAdapter
9492 Return Me._user_DetailsTableAdapter
9495 Me._user_DetailsTableAdapter = value
9499 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9500 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9501 Global.System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso"& _
9502 "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3"& _
9503 "a", "System.Drawing.Design.UITypeEditor")> _
9504 Public Property UsersTableAdapter() As UsersTableAdapter
9506 Return Me._usersTableAdapter
9509 Me._usersTableAdapter = value
9513 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9514 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9515 Global.System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso"& _
9516 "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3"& _
9517 "a", "System.Drawing.Design.UITypeEditor")> _
9518 Public Property WishlistTableAdapter() As WishlistTableAdapter
9520 Return Me._wishlistTableAdapter
9523 Me._wishlistTableAdapter = value
9527 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9528 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
9529 Public Property BackupDataSetBeforeUpdate() As Boolean
9531 Return Me._backupDataSetBeforeUpdate
9534 Me._backupDataSetBeforeUpdate = value
9538 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9539 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9540 Global.System.ComponentModel.Browsable(false)> _
9541 Public Property Connection() As Global.System.Data.IDbConnection
9543 If (Not (Me._connection) Is Nothing) Then
9544 Return Me._connection
9546 If ((Not (Me._achievementTableAdapter) Is Nothing) _
9547 AndAlso (Not (Me._achievementTableAdapter.Connection) Is Nothing)) Then
9548 Return Me._achievementTableAdapter.Connection
9550 If ((Not (Me._dOWTableAdapter) Is Nothing) _
9551 AndAlso (Not (Me._dOWTableAdapter.Connection) Is Nothing)) Then
9552 Return Me._dOWTableAdapter.Connection
9554 If ((Not (Me._friendsTableAdapter) Is Nothing) _
9555 AndAlso (Not (Me._friendsTableAdapter.Connection) Is Nothing)) Then
9556 Return Me._friendsTableAdapter.Connection
9558 If ((Not (Me._gamesTableAdapter) Is Nothing) _
9559 AndAlso (Not (Me._gamesTableAdapter.Connection) Is Nothing)) Then
9560 Return Me._gamesTableAdapter.Connection
9562 If ((Not (Me._purchasedTableAdapter) Is Nothing) _
9563 AndAlso (Not (Me._purchasedTableAdapter.Connection) Is Nothing)) Then
9564 Return Me._purchasedTableAdapter.Connection
9566 If ((Not (Me._reviewsTableAdapter) Is Nothing) _
9567 AndAlso (Not (Me._reviewsTableAdapter.Connection) Is Nothing)) Then
9568 Return Me._reviewsTableAdapter.Connection
9570 If ((Not (Me._tagsTableAdapter) Is Nothing) _
9571 AndAlso (Not (Me._tagsTableAdapter.Connection) Is Nothing)) Then
9572 Return Me._tagsTableAdapter.Connection
9574 If ((Not (Me._user_DetailsTableAdapter) Is Nothing) _
9575 AndAlso (Not (Me._user_DetailsTableAdapter.Connection) Is Nothing)) Then
9576 Return Me._user_DetailsTableAdapter.Connection
9578 If ((Not (Me._usersTableAdapter) Is Nothing) _
9579 AndAlso (Not (Me._usersTableAdapter.Connection) Is Nothing)) Then
9580 Return Me._usersTableAdapter.Connection
9582 If ((Not (Me._wishlistTableAdapter) Is Nothing) _
9583 AndAlso (Not (Me._wishlistTableAdapter.Connection) Is Nothing)) Then
9584 Return Me._wishlistTableAdapter.Connection
9589 Me._connection = value
9593 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9594 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9595 Global.System.ComponentModel.Browsable(false)> _
9596 Public ReadOnly Property TableAdapterInstanceCount() As Integer
9598 Dim count As Integer = 0
9599 If (Not (Me._achievementTableAdapter) Is Nothing) Then
9602 If (Not (Me._dOWTableAdapter) Is Nothing) Then
9605 If (Not (Me._friendsTableAdapter) Is Nothing) Then
9608 If (Not (Me._gamesTableAdapter) Is Nothing) Then
9611 If (Not (Me._purchasedTableAdapter) Is Nothing) Then
9614 If (Not (Me._reviewsTableAdapter) Is Nothing) Then
9617 If (Not (Me._tagsTableAdapter) Is Nothing) Then
9620 If (Not (Me._user_DetailsTableAdapter) Is Nothing) Then
9623 If (Not (Me._usersTableAdapter) Is Nothing) Then
9626 If (Not (Me._wishlistTableAdapter) Is Nothing) Then
9634 '''Update rows in top-down order.
9636 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9637 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
9638 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
9639 Dim result As Integer = 0
9640 If (Not (Me._gamesTableAdapter) Is Nothing) Then
9641 Dim updatedRows() As Global.System.Data.DataRow = dataSet.Games.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.ModifiedCurrent)
9642 updatedRows = Me.GetRealUpdatedRows(updatedRows, allAddedRows)
9643 If ((Not (updatedRows) Is Nothing) _
9644 AndAlso (0 < updatedRows.Length)) Then
9645 result = (result + Me._gamesTableAdapter.Update(updatedRows))
9646 allChangedRows.AddRange(updatedRows)
9649 If (Not (Me._user_DetailsTableAdapter) Is Nothing) Then
9650 Dim updatedRows() As Global.System.Data.DataRow = dataSet.User_Details.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.ModifiedCurrent)
9651 updatedRows = Me.GetRealUpdatedRows(updatedRows, allAddedRows)
9652 If ((Not (updatedRows) Is Nothing) _
9653 AndAlso (0 < updatedRows.Length)) Then
9654 result = (result + Me._user_DetailsTableAdapter.Update(updatedRows))
9655 allChangedRows.AddRange(updatedRows)
9658 If (Not (Me._achievementTableAdapter) Is Nothing) Then
9659 Dim updatedRows() As Global.System.Data.DataRow = dataSet.Achievement.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.ModifiedCurrent)
9660 updatedRows = Me.GetRealUpdatedRows(updatedRows, allAddedRows)
9661 If ((Not (updatedRows) Is Nothing) _
9662 AndAlso (0 < updatedRows.Length)) Then
9663 result = (result + Me._achievementTableAdapter.Update(updatedRows))
9664 allChangedRows.AddRange(updatedRows)
9667 If (Not (Me._dOWTableAdapter) Is Nothing) Then
9668 Dim updatedRows() As Global.System.Data.DataRow = dataSet.DOW.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.ModifiedCurrent)
9669 updatedRows = Me.GetRealUpdatedRows(updatedRows, allAddedRows)
9670 If ((Not (updatedRows) Is Nothing) _
9671 AndAlso (0 < updatedRows.Length)) Then
9672 result = (result + Me._dOWTableAdapter.Update(updatedRows))
9673 allChangedRows.AddRange(updatedRows)
9676 If (Not (Me._friendsTableAdapter) Is Nothing) Then
9677 Dim updatedRows() As Global.System.Data.DataRow = dataSet.Friends.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.ModifiedCurrent)
9678 updatedRows = Me.GetRealUpdatedRows(updatedRows, allAddedRows)
9679 If ((Not (updatedRows) Is Nothing) _
9680 AndAlso (0 < updatedRows.Length)) Then
9681 result = (result + Me._friendsTableAdapter.Update(updatedRows))
9682 allChangedRows.AddRange(updatedRows)
9685 If (Not (Me._purchasedTableAdapter) Is Nothing) Then
9686 Dim updatedRows() As Global.System.Data.DataRow = dataSet.Purchased.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.ModifiedCurrent)
9687 updatedRows = Me.GetRealUpdatedRows(updatedRows, allAddedRows)
9688 If ((Not (updatedRows) Is Nothing) _
9689 AndAlso (0 < updatedRows.Length)) Then
9690 result = (result + Me._purchasedTableAdapter.Update(updatedRows))
9691 allChangedRows.AddRange(updatedRows)
9694 If (Not (Me._reviewsTableAdapter) Is Nothing) Then
9695 Dim updatedRows() As Global.System.Data.DataRow = dataSet.Reviews.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.ModifiedCurrent)
9696 updatedRows = Me.GetRealUpdatedRows(updatedRows, allAddedRows)
9697 If ((Not (updatedRows) Is Nothing) _
9698 AndAlso (0 < updatedRows.Length)) Then
9699 result = (result + Me._reviewsTableAdapter.Update(updatedRows))
9700 allChangedRows.AddRange(updatedRows)
9703 If (Not (Me._tagsTableAdapter) Is Nothing) Then
9704 Dim updatedRows() As Global.System.Data.DataRow = dataSet.Tags.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.ModifiedCurrent)
9705 updatedRows = Me.GetRealUpdatedRows(updatedRows, allAddedRows)
9706 If ((Not (updatedRows) Is Nothing) _
9707 AndAlso (0 < updatedRows.Length)) Then
9708 result = (result + Me._tagsTableAdapter.Update(updatedRows))
9709 allChangedRows.AddRange(updatedRows)
9712 If (Not (Me._usersTableAdapter) Is Nothing) Then
9713 Dim updatedRows() As Global.System.Data.DataRow = dataSet.Users.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.ModifiedCurrent)
9714 updatedRows = Me.GetRealUpdatedRows(updatedRows, allAddedRows)
9715 If ((Not (updatedRows) Is Nothing) _
9716 AndAlso (0 < updatedRows.Length)) Then
9717 result = (result + Me._usersTableAdapter.Update(updatedRows))
9718 allChangedRows.AddRange(updatedRows)
9721 If (Not (Me._wishlistTableAdapter) Is Nothing) Then
9722 Dim updatedRows() As Global.System.Data.DataRow = dataSet.Wishlist.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.ModifiedCurrent)
9723 updatedRows = Me.GetRealUpdatedRows(updatedRows, allAddedRows)
9724 If ((Not (updatedRows) Is Nothing) _
9725 AndAlso (0 < updatedRows.Length)) Then
9726 result = (result + Me._wishlistTableAdapter.Update(updatedRows))
9727 allChangedRows.AddRange(updatedRows)
9734 '''Insert rows in top-down order.
9736 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9737 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
9738 Private Function UpdateInsertedRows(ByVal dataSet As NEADataSet, ByVal allAddedRows As Global.System.Collections.Generic.List(Of Global.System.Data.DataRow)) As Integer
9739 Dim result As Integer = 0
9740 If (Not (Me._gamesTableAdapter) Is Nothing) Then
9741 Dim addedRows() As Global.System.Data.DataRow = dataSet.Games.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Added)
9742 If ((Not (addedRows) Is Nothing) _
9743 AndAlso (0 < addedRows.Length)) Then
9744 result = (result + Me._gamesTableAdapter.Update(addedRows))
9745 allAddedRows.AddRange(addedRows)
9748 If (Not (Me._user_DetailsTableAdapter) Is Nothing) Then
9749 Dim addedRows() As Global.System.Data.DataRow = dataSet.User_Details.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Added)
9750 If ((Not (addedRows) Is Nothing) _
9751 AndAlso (0 < addedRows.Length)) Then
9752 result = (result + Me._user_DetailsTableAdapter.Update(addedRows))
9753 allAddedRows.AddRange(addedRows)
9756 If (Not (Me._achievementTableAdapter) Is Nothing) Then
9757 Dim addedRows() As Global.System.Data.DataRow = dataSet.Achievement.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Added)
9758 If ((Not (addedRows) Is Nothing) _
9759 AndAlso (0 < addedRows.Length)) Then
9760 result = (result + Me._achievementTableAdapter.Update(addedRows))
9761 allAddedRows.AddRange(addedRows)
9764 If (Not (Me._dOWTableAdapter) Is Nothing) Then
9765 Dim addedRows() As Global.System.Data.DataRow = dataSet.DOW.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Added)
9766 If ((Not (addedRows) Is Nothing) _
9767 AndAlso (0 < addedRows.Length)) Then
9768 result = (result + Me._dOWTableAdapter.Update(addedRows))
9769 allAddedRows.AddRange(addedRows)
9772 If (Not (Me._friendsTableAdapter) Is Nothing) Then
9773 Dim addedRows() As Global.System.Data.DataRow = dataSet.Friends.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Added)
9774 If ((Not (addedRows) Is Nothing) _
9775 AndAlso (0 < addedRows.Length)) Then
9776 result = (result + Me._friendsTableAdapter.Update(addedRows))
9777 allAddedRows.AddRange(addedRows)
9780 If (Not (Me._purchasedTableAdapter) Is Nothing) Then
9781 Dim addedRows() As Global.System.Data.DataRow = dataSet.Purchased.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Added)
9782 If ((Not (addedRows) Is Nothing) _
9783 AndAlso (0 < addedRows.Length)) Then
9784 result = (result + Me._purchasedTableAdapter.Update(addedRows))
9785 allAddedRows.AddRange(addedRows)
9788 If (Not (Me._reviewsTableAdapter) Is Nothing) Then
9789 Dim addedRows() As Global.System.Data.DataRow = dataSet.Reviews.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Added)
9790 If ((Not (addedRows) Is Nothing) _
9791 AndAlso (0 < addedRows.Length)) Then
9792 result = (result + Me._reviewsTableAdapter.Update(addedRows))
9793 allAddedRows.AddRange(addedRows)
9796 If (Not (Me._tagsTableAdapter) Is Nothing) Then
9797 Dim addedRows() As Global.System.Data.DataRow = dataSet.Tags.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Added)
9798 If ((Not (addedRows) Is Nothing) _
9799 AndAlso (0 < addedRows.Length)) Then
9800 result = (result + Me._tagsTableAdapter.Update(addedRows))
9801 allAddedRows.AddRange(addedRows)
9804 If (Not (Me._usersTableAdapter) Is Nothing) Then
9805 Dim addedRows() As Global.System.Data.DataRow = dataSet.Users.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Added)
9806 If ((Not (addedRows) Is Nothing) _
9807 AndAlso (0 < addedRows.Length)) Then
9808 result = (result + Me._usersTableAdapter.Update(addedRows))
9809 allAddedRows.AddRange(addedRows)
9812 If (Not (Me._wishlistTableAdapter) Is Nothing) Then
9813 Dim addedRows() As Global.System.Data.DataRow = dataSet.Wishlist.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Added)
9814 If ((Not (addedRows) Is Nothing) _
9815 AndAlso (0 < addedRows.Length)) Then
9816 result = (result + Me._wishlistTableAdapter.Update(addedRows))
9817 allAddedRows.AddRange(addedRows)
9824 '''Delete rows in bottom-up order.
9826 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9827 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
9828 Private Function UpdateDeletedRows(ByVal dataSet As NEADataSet, ByVal allChangedRows As Global.System.Collections.Generic.List(Of Global.System.Data.DataRow)) As Integer
9829 Dim result As Integer = 0
9830 If (Not (Me._wishlistTableAdapter) Is Nothing) Then
9831 Dim deletedRows() As Global.System.Data.DataRow = dataSet.Wishlist.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Deleted)
9832 If ((Not (deletedRows) Is Nothing) _
9833 AndAlso (0 < deletedRows.Length)) Then
9834 result = (result + Me._wishlistTableAdapter.Update(deletedRows))
9835 allChangedRows.AddRange(deletedRows)
9838 If (Not (Me._usersTableAdapter) Is Nothing) Then
9839 Dim deletedRows() As Global.System.Data.DataRow = dataSet.Users.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Deleted)
9840 If ((Not (deletedRows) Is Nothing) _
9841 AndAlso (0 < deletedRows.Length)) Then
9842 result = (result + Me._usersTableAdapter.Update(deletedRows))
9843 allChangedRows.AddRange(deletedRows)
9846 If (Not (Me._tagsTableAdapter) Is Nothing) Then
9847 Dim deletedRows() As Global.System.Data.DataRow = dataSet.Tags.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Deleted)
9848 If ((Not (deletedRows) Is Nothing) _
9849 AndAlso (0 < deletedRows.Length)) Then
9850 result = (result + Me._tagsTableAdapter.Update(deletedRows))
9851 allChangedRows.AddRange(deletedRows)
9854 If (Not (Me._reviewsTableAdapter) Is Nothing) Then
9855 Dim deletedRows() As Global.System.Data.DataRow = dataSet.Reviews.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Deleted)
9856 If ((Not (deletedRows) Is Nothing) _
9857 AndAlso (0 < deletedRows.Length)) Then
9858 result = (result + Me._reviewsTableAdapter.Update(deletedRows))
9859 allChangedRows.AddRange(deletedRows)
9862 If (Not (Me._purchasedTableAdapter) Is Nothing) Then
9863 Dim deletedRows() As Global.System.Data.DataRow = dataSet.Purchased.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Deleted)
9864 If ((Not (deletedRows) Is Nothing) _
9865 AndAlso (0 < deletedRows.Length)) Then
9866 result = (result + Me._purchasedTableAdapter.Update(deletedRows))
9867 allChangedRows.AddRange(deletedRows)
9870 If (Not (Me._friendsTableAdapter) Is Nothing) Then
9871 Dim deletedRows() As Global.System.Data.DataRow = dataSet.Friends.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Deleted)
9872 If ((Not (deletedRows) Is Nothing) _
9873 AndAlso (0 < deletedRows.Length)) Then
9874 result = (result + Me._friendsTableAdapter.Update(deletedRows))
9875 allChangedRows.AddRange(deletedRows)
9878 If (Not (Me._dOWTableAdapter) Is Nothing) Then
9879 Dim deletedRows() As Global.System.Data.DataRow = dataSet.DOW.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Deleted)
9880 If ((Not (deletedRows) Is Nothing) _
9881 AndAlso (0 < deletedRows.Length)) Then
9882 result = (result + Me._dOWTableAdapter.Update(deletedRows))
9883 allChangedRows.AddRange(deletedRows)
9886 If (Not (Me._achievementTableAdapter) Is Nothing) Then
9887 Dim deletedRows() As Global.System.Data.DataRow = dataSet.Achievement.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Deleted)
9888 If ((Not (deletedRows) Is Nothing) _
9889 AndAlso (0 < deletedRows.Length)) Then
9890 result = (result + Me._achievementTableAdapter.Update(deletedRows))
9891 allChangedRows.AddRange(deletedRows)
9894 If (Not (Me._user_DetailsTableAdapter) Is Nothing) Then
9895 Dim deletedRows() As Global.System.Data.DataRow = dataSet.User_Details.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Deleted)
9896 If ((Not (deletedRows) Is Nothing) _
9897 AndAlso (0 < deletedRows.Length)) Then
9898 result = (result + Me._user_DetailsTableAdapter.Update(deletedRows))
9899 allChangedRows.AddRange(deletedRows)
9902 If (Not (Me._gamesTableAdapter) Is Nothing) Then
9903 Dim deletedRows() As Global.System.Data.DataRow = dataSet.Games.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Deleted)
9904 If ((Not (deletedRows) Is Nothing) _
9905 AndAlso (0 < deletedRows.Length)) Then
9906 result = (result + Me._gamesTableAdapter.Update(deletedRows))
9907 allChangedRows.AddRange(deletedRows)
9914 '''Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first
9916 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9917 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
9918 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()
9919 If ((updatedRows Is Nothing) _
9920 OrElse (updatedRows.Length < 1)) Then
9923 If ((allAddedRows Is Nothing) _
9924 OrElse (allAddedRows.Count < 1)) Then
9927 Dim realUpdatedRows As Global.System.Collections.Generic.List(Of Global.System.Data.DataRow) = New Global.System.Collections.Generic.List(Of Global.System.Data.DataRow)()
9928 Dim i As Integer = 0
9929 Do While (i < updatedRows.Length)
9930 Dim row As Global.System.Data.DataRow = updatedRows(i)
9931 If (allAddedRows.Contains(row) = false) Then
9932 realUpdatedRows.Add(row)
9936 Return realUpdatedRows.ToArray
9940 '''Update all changes to the dataset.
9942 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9943 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
9944 Public Overridable Function UpdateAll(ByVal dataSet As NEADataSet) As Integer
9945 If (dataSet Is Nothing) Then
9946 Throw New Global.System.ArgumentNullException("dataSet")
9948 If (dataSet.HasChanges = false) Then
9951 If ((Not (Me._achievementTableAdapter) Is Nothing) _
9952 AndAlso (Me.MatchTableAdapterConnection(Me._achievementTableAdapter.Connection) = false)) Then
9953 Throw New Global.System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s"& _
9956 If ((Not (Me._dOWTableAdapter) Is Nothing) _
9957 AndAlso (Me.MatchTableAdapterConnection(Me._dOWTableAdapter.Connection) = false)) Then
9958 Throw New Global.System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s"& _
9961 If ((Not (Me._friendsTableAdapter) Is Nothing) _
9962 AndAlso (Me.MatchTableAdapterConnection(Me._friendsTableAdapter.Connection) = false)) Then
9963 Throw New Global.System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s"& _
9966 If ((Not (Me._gamesTableAdapter) Is Nothing) _
9967 AndAlso (Me.MatchTableAdapterConnection(Me._gamesTableAdapter.Connection) = false)) Then
9968 Throw New Global.System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s"& _
9971 If ((Not (Me._purchasedTableAdapter) Is Nothing) _
9972 AndAlso (Me.MatchTableAdapterConnection(Me._purchasedTableAdapter.Connection) = false)) Then
9973 Throw New Global.System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s"& _
9976 If ((Not (Me._reviewsTableAdapter) Is Nothing) _
9977 AndAlso (Me.MatchTableAdapterConnection(Me._reviewsTableAdapter.Connection) = false)) Then
9978 Throw New Global.System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s"& _
9981 If ((Not (Me._tagsTableAdapter) Is Nothing) _
9982 AndAlso (Me.MatchTableAdapterConnection(Me._tagsTableAdapter.Connection) = false)) Then
9983 Throw New Global.System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s"& _
9986 If ((Not (Me._user_DetailsTableAdapter) Is Nothing) _
9987 AndAlso (Me.MatchTableAdapterConnection(Me._user_DetailsTableAdapter.Connection) = false)) Then
9988 Throw New Global.System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s"& _
9991 If ((Not (Me._usersTableAdapter) Is Nothing) _
9992 AndAlso (Me.MatchTableAdapterConnection(Me._usersTableAdapter.Connection) = false)) Then
9993 Throw New Global.System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s"& _
9996 If ((Not (Me._wishlistTableAdapter) Is Nothing) _
9997 AndAlso (Me.MatchTableAdapterConnection(Me._wishlistTableAdapter.Connection) = false)) Then
9998 Throw New Global.System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s"& _
10001 Dim workConnection As Global.System.Data.IDbConnection = Me.Connection
10002 If (workConnection Is Nothing) Then
10003 Throw New Global.System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana"& _
10004 "ger TableAdapter property to a valid TableAdapter instance.")
10006 Dim workConnOpened As Boolean = false
10007 If ((workConnection.State And Global.System.Data.ConnectionState.Broken) _
10008 = Global.System.Data.ConnectionState.Broken) Then
10009 workConnection.Close
10011 If (workConnection.State = Global.System.Data.ConnectionState.Closed) Then
10012 workConnection.Open
10013 workConnOpened = true
10015 Dim workTransaction As Global.System.Data.IDbTransaction = workConnection.BeginTransaction
10016 If (workTransaction Is Nothing) Then
10017 Throw New Global.System.ApplicationException("The transaction cannot begin. The current data connection does not support transa"& _
10018 "ctions or the current state is not allowing the transaction to begin.")
10020 Dim allChangedRows As Global.System.Collections.Generic.List(Of Global.System.Data.DataRow) = New Global.System.Collections.Generic.List(Of Global.System.Data.DataRow)()
10021 Dim allAddedRows As Global.System.Collections.Generic.List(Of Global.System.Data.DataRow) = New Global.System.Collections.Generic.List(Of Global.System.Data.DataRow)()
10022 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)()
10023 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)()
10024 Dim result As Integer = 0
10025 Dim backupDataSet As Global.System.Data.DataSet = Nothing
10026 If Me.BackupDataSetBeforeUpdate Then
10027 backupDataSet = New Global.System.Data.DataSet()
10028 backupDataSet.Merge(dataSet)
10031 '---- Prepare for update -----------
10033 If (Not (Me._achievementTableAdapter) Is Nothing) Then
10034 revertConnections.Add(Me._achievementTableAdapter, Me._achievementTableAdapter.Connection)
10035 Me._achievementTableAdapter.Connection = CType(workConnection,Global.System.Data.OleDb.OleDbConnection)
10036 Me._achievementTableAdapter.Transaction = CType(workTransaction,Global.System.Data.OleDb.OleDbTransaction)
10037 If Me._achievementTableAdapter.Adapter.AcceptChangesDuringUpdate Then
10038 Me._achievementTableAdapter.Adapter.AcceptChangesDuringUpdate = false
10039 adaptersWithAcceptChangesDuringUpdate.Add(Me._achievementTableAdapter.Adapter)
10042 If (Not (Me._dOWTableAdapter) Is Nothing) Then
10043 revertConnections.Add(Me._dOWTableAdapter, Me._dOWTableAdapter.Connection)
10044 Me._dOWTableAdapter.Connection = CType(workConnection,Global.System.Data.OleDb.OleDbConnection)
10045 Me._dOWTableAdapter.Transaction = CType(workTransaction,Global.System.Data.OleDb.OleDbTransaction)
10046 If Me._dOWTableAdapter.Adapter.AcceptChangesDuringUpdate Then
10047 Me._dOWTableAdapter.Adapter.AcceptChangesDuringUpdate = false
10048 adaptersWithAcceptChangesDuringUpdate.Add(Me._dOWTableAdapter.Adapter)
10051 If (Not (Me._friendsTableAdapter) Is Nothing) Then
10052 revertConnections.Add(Me._friendsTableAdapter, Me._friendsTableAdapter.Connection)
10053 Me._friendsTableAdapter.Connection = CType(workConnection,Global.System.Data.OleDb.OleDbConnection)
10054 Me._friendsTableAdapter.Transaction = CType(workTransaction,Global.System.Data.OleDb.OleDbTransaction)
10055 If Me._friendsTableAdapter.Adapter.AcceptChangesDuringUpdate Then
10056 Me._friendsTableAdapter.Adapter.AcceptChangesDuringUpdate = false
10057 adaptersWithAcceptChangesDuringUpdate.Add(Me._friendsTableAdapter.Adapter)
10060 If (Not (Me._gamesTableAdapter) Is Nothing) Then
10061 revertConnections.Add(Me._gamesTableAdapter, Me._gamesTableAdapter.Connection)
10062 Me._gamesTableAdapter.Connection = CType(workConnection,Global.System.Data.OleDb.OleDbConnection)
10063 Me._gamesTableAdapter.Transaction = CType(workTransaction,Global.System.Data.OleDb.OleDbTransaction)
10064 If Me._gamesTableAdapter.Adapter.AcceptChangesDuringUpdate Then
10065 Me._gamesTableAdapter.Adapter.AcceptChangesDuringUpdate = false
10066 adaptersWithAcceptChangesDuringUpdate.Add(Me._gamesTableAdapter.Adapter)
10069 If (Not (Me._purchasedTableAdapter) Is Nothing) Then
10070 revertConnections.Add(Me._purchasedTableAdapter, Me._purchasedTableAdapter.Connection)
10071 Me._purchasedTableAdapter.Connection = CType(workConnection,Global.System.Data.OleDb.OleDbConnection)
10072 Me._purchasedTableAdapter.Transaction = CType(workTransaction,Global.System.Data.OleDb.OleDbTransaction)
10073 If Me._purchasedTableAdapter.Adapter.AcceptChangesDuringUpdate Then
10074 Me._purchasedTableAdapter.Adapter.AcceptChangesDuringUpdate = false
10075 adaptersWithAcceptChangesDuringUpdate.Add(Me._purchasedTableAdapter.Adapter)
10078 If (Not (Me._reviewsTableAdapter) Is Nothing) Then
10079 revertConnections.Add(Me._reviewsTableAdapter, Me._reviewsTableAdapter.Connection)
10080 Me._reviewsTableAdapter.Connection = CType(workConnection,Global.System.Data.OleDb.OleDbConnection)
10081 Me._reviewsTableAdapter.Transaction = CType(workTransaction,Global.System.Data.OleDb.OleDbTransaction)
10082 If Me._reviewsTableAdapter.Adapter.AcceptChangesDuringUpdate Then
10083 Me._reviewsTableAdapter.Adapter.AcceptChangesDuringUpdate = false
10084 adaptersWithAcceptChangesDuringUpdate.Add(Me._reviewsTableAdapter.Adapter)
10087 If (Not (Me._tagsTableAdapter) Is Nothing) Then
10088 revertConnections.Add(Me._tagsTableAdapter, Me._tagsTableAdapter.Connection)
10089 Me._tagsTableAdapter.Connection = CType(workConnection,Global.System.Data.OleDb.OleDbConnection)
10090 Me._tagsTableAdapter.Transaction = CType(workTransaction,Global.System.Data.OleDb.OleDbTransaction)
10091 If Me._tagsTableAdapter.Adapter.AcceptChangesDuringUpdate Then
10092 Me._tagsTableAdapter.Adapter.AcceptChangesDuringUpdate = false
10093 adaptersWithAcceptChangesDuringUpdate.Add(Me._tagsTableAdapter.Adapter)
10096 If (Not (Me._user_DetailsTableAdapter) Is Nothing) Then
10097 revertConnections.Add(Me._user_DetailsTableAdapter, Me._user_DetailsTableAdapter.Connection)
10098 Me._user_DetailsTableAdapter.Connection = CType(workConnection,Global.System.Data.OleDb.OleDbConnection)
10099 Me._user_DetailsTableAdapter.Transaction = CType(workTransaction,Global.System.Data.OleDb.OleDbTransaction)
10100 If Me._user_DetailsTableAdapter.Adapter.AcceptChangesDuringUpdate Then
10101 Me._user_DetailsTableAdapter.Adapter.AcceptChangesDuringUpdate = false
10102 adaptersWithAcceptChangesDuringUpdate.Add(Me._user_DetailsTableAdapter.Adapter)
10105 If (Not (Me._usersTableAdapter) Is Nothing) Then
10106 revertConnections.Add(Me._usersTableAdapter, Me._usersTableAdapter.Connection)
10107 Me._usersTableAdapter.Connection = CType(workConnection,Global.System.Data.OleDb.OleDbConnection)
10108 Me._usersTableAdapter.Transaction = CType(workTransaction,Global.System.Data.OleDb.OleDbTransaction)
10109 If Me._usersTableAdapter.Adapter.AcceptChangesDuringUpdate Then
10110 Me._usersTableAdapter.Adapter.AcceptChangesDuringUpdate = false
10111 adaptersWithAcceptChangesDuringUpdate.Add(Me._usersTableAdapter.Adapter)
10114 If (Not (Me._wishlistTableAdapter) Is Nothing) Then
10115 revertConnections.Add(Me._wishlistTableAdapter, Me._wishlistTableAdapter.Connection)
10116 Me._wishlistTableAdapter.Connection = CType(workConnection,Global.System.Data.OleDb.OleDbConnection)
10117 Me._wishlistTableAdapter.Transaction = CType(workTransaction,Global.System.Data.OleDb.OleDbTransaction)
10118 If Me._wishlistTableAdapter.Adapter.AcceptChangesDuringUpdate Then
10119 Me._wishlistTableAdapter.Adapter.AcceptChangesDuringUpdate = false
10120 adaptersWithAcceptChangesDuringUpdate.Add(Me._wishlistTableAdapter.Adapter)
10124 '---- Perform updates -----------
10126 If (Me.UpdateOrder = UpdateOrderOption.UpdateInsertDelete) Then
10127 result = (result + Me.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows))
10128 result = (result + Me.UpdateInsertedRows(dataSet, allAddedRows))
10130 result = (result + Me.UpdateInsertedRows(dataSet, allAddedRows))
10131 result = (result + Me.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows))
10133 result = (result + Me.UpdateDeletedRows(dataSet, allChangedRows))
10135 '---- Commit updates -----------
10137 workTransaction.Commit
10138 If (0 < allAddedRows.Count) Then
10139 Dim rows((allAddedRows.Count) - 1) As Global.System.Data.DataRow
10140 allAddedRows.CopyTo(rows)
10141 Dim i As Integer = 0
10142 Do While (i < rows.Length)
10143 Dim row As Global.System.Data.DataRow = rows(i)
10148 If (0 < allChangedRows.Count) Then
10149 Dim rows((allChangedRows.Count) - 1) As Global.System.Data.DataRow
10150 allChangedRows.CopyTo(rows)
10151 Dim i As Integer = 0
10152 Do While (i < rows.Length)
10153 Dim row As Global.System.Data.DataRow = rows(i)
10158 Catch ex As Global.System.Exception
10159 workTransaction.Rollback
10160 '---- Restore the dataset -----------
10161 If Me.BackupDataSetBeforeUpdate Then
10162 Global.System.Diagnostics.Debug.Assert((Not (backupDataSet) Is Nothing))
10164 dataSet.Merge(backupDataSet)
10166 If (0 < allAddedRows.Count) Then
10167 Dim rows((allAddedRows.Count) - 1) As Global.System.Data.DataRow
10168 allAddedRows.CopyTo(rows)
10169 Dim i As Integer = 0
10170 Do While (i < rows.Length)
10171 Dim row As Global.System.Data.DataRow = rows(i)
10180 If workConnOpened Then
10181 workConnection.Close
10183 If (Not (Me._achievementTableAdapter) Is Nothing) Then
10184 Me._achievementTableAdapter.Connection = CType(revertConnections(Me._achievementTableAdapter),Global.System.Data.OleDb.OleDbConnection)
10185 Me._achievementTableAdapter.Transaction = Nothing
10187 If (Not (Me._dOWTableAdapter) Is Nothing) Then
10188 Me._dOWTableAdapter.Connection = CType(revertConnections(Me._dOWTableAdapter),Global.System.Data.OleDb.OleDbConnection)
10189 Me._dOWTableAdapter.Transaction = Nothing
10191 If (Not (Me._friendsTableAdapter) Is Nothing) Then
10192 Me._friendsTableAdapter.Connection = CType(revertConnections(Me._friendsTableAdapter),Global.System.Data.OleDb.OleDbConnection)
10193 Me._friendsTableAdapter.Transaction = Nothing
10195 If (Not (Me._gamesTableAdapter) Is Nothing) Then
10196 Me._gamesTableAdapter.Connection = CType(revertConnections(Me._gamesTableAdapter),Global.System.Data.OleDb.OleDbConnection)
10197 Me._gamesTableAdapter.Transaction = Nothing
10199 If (Not (Me._purchasedTableAdapter) Is Nothing) Then
10200 Me._purchasedTableAdapter.Connection = CType(revertConnections(Me._purchasedTableAdapter),Global.System.Data.OleDb.OleDbConnection)
10201 Me._purchasedTableAdapter.Transaction = Nothing
10203 If (Not (Me._reviewsTableAdapter) Is Nothing) Then
10204 Me._reviewsTableAdapter.Connection = CType(revertConnections(Me._reviewsTableAdapter),Global.System.Data.OleDb.OleDbConnection)
10205 Me._reviewsTableAdapter.Transaction = Nothing
10207 If (Not (Me._tagsTableAdapter) Is Nothing) Then
10208 Me._tagsTableAdapter.Connection = CType(revertConnections(Me._tagsTableAdapter),Global.System.Data.OleDb.OleDbConnection)
10209 Me._tagsTableAdapter.Transaction = Nothing
10211 If (Not (Me._user_DetailsTableAdapter) Is Nothing) Then
10212 Me._user_DetailsTableAdapter.Connection = CType(revertConnections(Me._user_DetailsTableAdapter),Global.System.Data.OleDb.OleDbConnection)
10213 Me._user_DetailsTableAdapter.Transaction = Nothing
10215 If (Not (Me._usersTableAdapter) Is Nothing) Then
10216 Me._usersTableAdapter.Connection = CType(revertConnections(Me._usersTableAdapter),Global.System.Data.OleDb.OleDbConnection)
10217 Me._usersTableAdapter.Transaction = Nothing
10219 If (Not (Me._wishlistTableAdapter) Is Nothing) Then
10220 Me._wishlistTableAdapter.Connection = CType(revertConnections(Me._wishlistTableAdapter),Global.System.Data.OleDb.OleDbConnection)
10221 Me._wishlistTableAdapter.Transaction = Nothing
10223 If (0 < adaptersWithAcceptChangesDuringUpdate.Count) Then
10224 Dim adapters((adaptersWithAcceptChangesDuringUpdate.Count) - 1) As Global.System.Data.Common.DataAdapter
10225 adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters)
10226 Dim i As Integer = 0
10227 Do While (i < adapters.Length)
10228 Dim adapter As Global.System.Data.Common.DataAdapter = adapters(i)
10229 adapter.AcceptChangesDuringUpdate = true
10237 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
10238 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
10239 Protected Overridable Sub SortSelfReferenceRows(ByVal rows() As Global.System.Data.DataRow, ByVal relation As Global.System.Data.DataRelation, ByVal childFirst As Boolean)
10240 Global.System.Array.Sort(Of Global.System.Data.DataRow)(rows, New SelfReferenceComparer(relation, childFirst))
10243 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
10244 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
10245 Protected Overridable Function MatchTableAdapterConnection(ByVal inputConnection As Global.System.Data.IDbConnection) As Boolean
10246 If (Not (Me._connection) Is Nothing) Then
10249 If ((Me.Connection Is Nothing) _
10250 OrElse (inputConnection Is Nothing)) Then
10253 If String.Equals(Me.Connection.ConnectionString, inputConnection.ConnectionString, Global.System.StringComparison.Ordinal) Then
10260 '''Update Order Option
10262 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
10263 Public Enum UpdateOrderOption
10265 InsertUpdateDelete = 0
10267 UpdateInsertDelete = 1
10271 '''Used to sort self-referenced table's rows
10273 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
10274 Private Class SelfReferenceComparer
10276 Implements Global.System.Collections.Generic.IComparer(Of Global.System.Data.DataRow)
10278 Private _relation As Global.System.Data.DataRelation
10280 Private _childFirst As Integer
10282 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
10283 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
10284 Friend Sub New(ByVal relation As Global.System.Data.DataRelation, ByVal childFirst As Boolean)
10286 Me._relation = relation
10288 Me._childFirst = -1
10294 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
10295 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
10296 Private Function GetRoot(ByVal row As Global.System.Data.DataRow, ByRef distance As Integer) As Global.System.Data.DataRow
10297 Global.System.Diagnostics.Debug.Assert((Not (row) Is Nothing))
10298 Dim root As Global.System.Data.DataRow = row
10301 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)()
10302 traversedRows(row) = row
10304 Dim parent As Global.System.Data.DataRow = row.GetParentRow(Me._relation, Global.System.Data.DataRowVersion.[Default])
10306 Do While ((Not (parent) Is Nothing) _
10307 AndAlso (traversedRows.ContainsKey(parent) = false))
10308 distance = (distance + 1)
10310 traversedRows(parent) = parent
10311 parent = parent.GetParentRow(Me._relation, Global.System.Data.DataRowVersion.[Default])
10315 If (distance = 0) Then
10316 traversedRows.Clear
10317 traversedRows(row) = row
10318 parent = row.GetParentRow(Me._relation, Global.System.Data.DataRowVersion.Original)
10320 Do While ((Not (parent) Is Nothing) _
10321 AndAlso (traversedRows.ContainsKey(parent) = false))
10322 distance = (distance + 1)
10324 traversedRows(parent) = parent
10325 parent = parent.GetParentRow(Me._relation, Global.System.Data.DataRowVersion.Original)
10333 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
10334 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
10335 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
10336 If Object.ReferenceEquals(row1, row2) Then
10339 If (row1 Is Nothing) Then
10342 If (row2 Is Nothing) Then
10346 Dim distance1 As Integer = 0
10347 Dim root1 As Global.System.Data.DataRow = Me.GetRoot(row1, distance1)
10349 Dim distance2 As Integer = 0
10350 Dim root2 As Global.System.Data.DataRow = Me.GetRoot(row2, distance2)
10352 If Object.ReferenceEquals(root1, root2) Then
10353 Return (Me._childFirst * distance1.CompareTo(distance2))
10355 Global.System.Diagnostics.Debug.Assert(((Not (root1.Table) Is Nothing) _
10356 AndAlso (Not (root2.Table) Is Nothing)))
10357 If (root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2)) Then