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 String) 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(String), 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
3094 Me.columnProfilePic.MaxLength = 536870910
3097 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3098 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3099 Public Function NewUser_DetailsRow() As User_DetailsRow
3100 Return CType(Me.NewRow,User_DetailsRow)
3103 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3104 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3105 Protected Overrides Function NewRowFromBuilder(ByVal builder As Global.System.Data.DataRowBuilder) As Global.System.Data.DataRow
3106 Return New User_DetailsRow(builder)
3109 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3110 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3111 Protected Overrides Function GetRowType() As Global.System.Type
3112 Return GetType(User_DetailsRow)
3115 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3116 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3117 Protected Overrides Sub OnRowChanged(ByVal e As Global.System.Data.DataRowChangeEventArgs)
3118 MyBase.OnRowChanged(e)
3119 If (Not (Me.User_DetailsRowChangedEvent) Is Nothing) Then
3120 RaiseEvent User_DetailsRowChanged(Me, New User_DetailsRowChangeEvent(CType(e.Row,User_DetailsRow), e.Action))
3124 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3125 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3126 Protected Overrides Sub OnRowChanging(ByVal e As Global.System.Data.DataRowChangeEventArgs)
3127 MyBase.OnRowChanging(e)
3128 If (Not (Me.User_DetailsRowChangingEvent) Is Nothing) Then
3129 RaiseEvent User_DetailsRowChanging(Me, New User_DetailsRowChangeEvent(CType(e.Row,User_DetailsRow), e.Action))
3133 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3134 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3135 Protected Overrides Sub OnRowDeleted(ByVal e As Global.System.Data.DataRowChangeEventArgs)
3136 MyBase.OnRowDeleted(e)
3137 If (Not (Me.User_DetailsRowDeletedEvent) Is Nothing) Then
3138 RaiseEvent User_DetailsRowDeleted(Me, New User_DetailsRowChangeEvent(CType(e.Row,User_DetailsRow), e.Action))
3142 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3143 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3144 Protected Overrides Sub OnRowDeleting(ByVal e As Global.System.Data.DataRowChangeEventArgs)
3145 MyBase.OnRowDeleting(e)
3146 If (Not (Me.User_DetailsRowDeletingEvent) Is Nothing) Then
3147 RaiseEvent User_DetailsRowDeleting(Me, New User_DetailsRowChangeEvent(CType(e.Row,User_DetailsRow), e.Action))
3151 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3152 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3153 Public Sub RemoveUser_DetailsRow(ByVal row As User_DetailsRow)
3157 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3158 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3159 Public Shared Function GetTypedTableSchema(ByVal xs As Global.System.Xml.Schema.XmlSchemaSet) As Global.System.Xml.Schema.XmlSchemaComplexType
3160 Dim type As Global.System.Xml.Schema.XmlSchemaComplexType = New Global.System.Xml.Schema.XmlSchemaComplexType()
3161 Dim sequence As Global.System.Xml.Schema.XmlSchemaSequence = New Global.System.Xml.Schema.XmlSchemaSequence()
3162 Dim ds As NEADataSet = New NEADataSet()
3163 Dim any1 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
3164 any1.Namespace = "http://www.w3.org/2001/XMLSchema"
3165 any1.MinOccurs = New Decimal(0)
3166 any1.MaxOccurs = Decimal.MaxValue
3167 any1.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
3168 sequence.Items.Add(any1)
3169 Dim any2 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
3170 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"
3171 any2.MinOccurs = New Decimal(1)
3172 any2.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
3173 sequence.Items.Add(any2)
3174 Dim attribute1 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
3175 attribute1.Name = "namespace"
3176 attribute1.FixedValue = ds.Namespace
3177 type.Attributes.Add(attribute1)
3178 Dim attribute2 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
3179 attribute2.Name = "tableTypeName"
3180 attribute2.FixedValue = "User_DetailsDataTable"
3181 type.Attributes.Add(attribute2)
3182 type.Particle = sequence
3183 Dim dsSchema As Global.System.Xml.Schema.XmlSchema = ds.GetSchemaSerializable
3184 If xs.Contains(dsSchema.TargetNamespace) Then
3185 Dim s1 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
3186 Dim s2 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
3188 Dim schema As Global.System.Xml.Schema.XmlSchema = Nothing
3190 Dim schemas As Global.System.Collections.IEnumerator = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator
3191 Do While schemas.MoveNext
3192 schema = CType(schemas.Current,Global.System.Xml.Schema.XmlSchema)
3195 If (s1.Length = s2.Length) Then
3199 Do While ((s1.Position <> s1.Length) _
3200 AndAlso (s1.ReadByte = s2.ReadByte))
3204 If (s1.Position = s1.Length) Then
3211 If (Not (s1) Is Nothing) Then
3214 If (Not (s2) Is Nothing) Then
3225 '''Represents the strongly named DataTable class.
3227 <Global.System.Serializable(), _
3228 Global.System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")> _
3229 Partial Public Class UsersDataTable
3230 Inherits Global.System.Data.TypedTableBase(Of UsersRow)
3232 Private columnUserID As Global.System.Data.DataColumn
3234 Private columnUser_DetailsID As Global.System.Data.DataColumn
3236 Private columnUsername As Global.System.Data.DataColumn
3238 Private columnPassword As Global.System.Data.DataColumn
3240 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3241 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3244 Me.TableName = "Users"
3250 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3251 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3252 Friend Sub New(ByVal table As Global.System.Data.DataTable)
3254 Me.TableName = table.TableName
3255 If (table.CaseSensitive <> table.DataSet.CaseSensitive) Then
3256 Me.CaseSensitive = table.CaseSensitive
3258 If (table.Locale.ToString <> table.DataSet.Locale.ToString) Then
3259 Me.Locale = table.Locale
3261 If (table.Namespace <> table.DataSet.Namespace) Then
3262 Me.Namespace = table.Namespace
3264 Me.Prefix = table.Prefix
3265 Me.MinimumCapacity = table.MinimumCapacity
3268 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3269 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3270 Protected Sub New(ByVal info As Global.System.Runtime.Serialization.SerializationInfo, ByVal context As Global.System.Runtime.Serialization.StreamingContext)
3271 MyBase.New(info, context)
3275 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3276 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3277 Public ReadOnly Property UserIDColumn() As Global.System.Data.DataColumn
3279 Return Me.columnUserID
3283 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3284 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3285 Public ReadOnly Property User_DetailsIDColumn() As Global.System.Data.DataColumn
3287 Return Me.columnUser_DetailsID
3291 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3292 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3293 Public ReadOnly Property UsernameColumn() As Global.System.Data.DataColumn
3295 Return Me.columnUsername
3299 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3300 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3301 Public ReadOnly Property PasswordColumn() As Global.System.Data.DataColumn
3303 Return Me.columnPassword
3307 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3308 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
3309 Global.System.ComponentModel.Browsable(false)> _
3310 Public ReadOnly Property Count() As Integer
3312 Return Me.Rows.Count
3316 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3317 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3318 Public Default ReadOnly Property Item(ByVal index As Integer) As UsersRow
3320 Return CType(Me.Rows(index),UsersRow)
3324 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3325 Public Event UsersRowChanging As UsersRowChangeEventHandler
3327 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3328 Public Event UsersRowChanged As UsersRowChangeEventHandler
3330 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3331 Public Event UsersRowDeleting As UsersRowChangeEventHandler
3333 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3334 Public Event UsersRowDeleted As UsersRowChangeEventHandler
3336 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3337 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3338 Public Overloads Sub AddUsersRow(ByVal row As UsersRow)
3342 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3343 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3344 Public Overloads Function AddUsersRow(ByVal parentUser_DetailsRowByUser_DetailsUsers As User_DetailsRow, ByVal Username As String, ByVal Password As String) As UsersRow
3345 Dim rowUsersRow As UsersRow = CType(Me.NewRow,UsersRow)
3346 Dim columnValuesArray() As Object = New Object() {Nothing, Nothing, Username, Password}
3347 If (Not (parentUser_DetailsRowByUser_DetailsUsers) Is Nothing) Then
3348 columnValuesArray(1) = parentUser_DetailsRowByUser_DetailsUsers(0)
3350 rowUsersRow.ItemArray = columnValuesArray
3351 Me.Rows.Add(rowUsersRow)
3355 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3356 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3357 Public Function FindByUserID(ByVal UserID As Integer) As UsersRow
3358 Return CType(Me.Rows.Find(New Object() {UserID}),UsersRow)
3361 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3362 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3363 Public Overrides Function Clone() As Global.System.Data.DataTable
3364 Dim cln As UsersDataTable = CType(MyBase.Clone,UsersDataTable)
3369 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3370 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3371 Protected Overrides Function CreateInstance() As Global.System.Data.DataTable
3372 Return New UsersDataTable()
3375 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3376 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3377 Friend Sub InitVars()
3378 Me.columnUserID = MyBase.Columns("UserID")
3379 Me.columnUser_DetailsID = MyBase.Columns("User_DetailsID")
3380 Me.columnUsername = MyBase.Columns("Username")
3381 Me.columnPassword = MyBase.Columns("Password")
3384 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3385 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3386 Private Sub InitClass()
3387 Me.columnUserID = New Global.System.Data.DataColumn("UserID", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
3388 MyBase.Columns.Add(Me.columnUserID)
3389 Me.columnUser_DetailsID = New Global.System.Data.DataColumn("User_DetailsID", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
3390 MyBase.Columns.Add(Me.columnUser_DetailsID)
3391 Me.columnUsername = New Global.System.Data.DataColumn("Username", GetType(String), Nothing, Global.System.Data.MappingType.Element)
3392 MyBase.Columns.Add(Me.columnUsername)
3393 Me.columnPassword = New Global.System.Data.DataColumn("Password", GetType(String), Nothing, Global.System.Data.MappingType.Element)
3394 MyBase.Columns.Add(Me.columnPassword)
3395 Me.Constraints.Add(New Global.System.Data.UniqueConstraint("Constraint1", New Global.System.Data.DataColumn() {Me.columnUserID}, true))
3396 Me.columnUserID.AutoIncrement = true
3397 Me.columnUserID.AutoIncrementSeed = -1
3398 Me.columnUserID.AutoIncrementStep = -1
3399 Me.columnUserID.AllowDBNull = false
3400 Me.columnUserID.Unique = true
3401 Me.columnUsername.MaxLength = 536870910
3402 Me.columnPassword.MaxLength = 536870910
3405 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3406 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3407 Public Function NewUsersRow() As UsersRow
3408 Return CType(Me.NewRow,UsersRow)
3411 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3412 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3413 Protected Overrides Function NewRowFromBuilder(ByVal builder As Global.System.Data.DataRowBuilder) As Global.System.Data.DataRow
3414 Return New UsersRow(builder)
3417 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3418 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3419 Protected Overrides Function GetRowType() As Global.System.Type
3420 Return GetType(UsersRow)
3423 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3424 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3425 Protected Overrides Sub OnRowChanged(ByVal e As Global.System.Data.DataRowChangeEventArgs)
3426 MyBase.OnRowChanged(e)
3427 If (Not (Me.UsersRowChangedEvent) Is Nothing) Then
3428 RaiseEvent UsersRowChanged(Me, New UsersRowChangeEvent(CType(e.Row,UsersRow), e.Action))
3432 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3433 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3434 Protected Overrides Sub OnRowChanging(ByVal e As Global.System.Data.DataRowChangeEventArgs)
3435 MyBase.OnRowChanging(e)
3436 If (Not (Me.UsersRowChangingEvent) Is Nothing) Then
3437 RaiseEvent UsersRowChanging(Me, New UsersRowChangeEvent(CType(e.Row,UsersRow), e.Action))
3441 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3442 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3443 Protected Overrides Sub OnRowDeleted(ByVal e As Global.System.Data.DataRowChangeEventArgs)
3444 MyBase.OnRowDeleted(e)
3445 If (Not (Me.UsersRowDeletedEvent) Is Nothing) Then
3446 RaiseEvent UsersRowDeleted(Me, New UsersRowChangeEvent(CType(e.Row,UsersRow), e.Action))
3450 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3451 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3452 Protected Overrides Sub OnRowDeleting(ByVal e As Global.System.Data.DataRowChangeEventArgs)
3453 MyBase.OnRowDeleting(e)
3454 If (Not (Me.UsersRowDeletingEvent) Is Nothing) Then
3455 RaiseEvent UsersRowDeleting(Me, New UsersRowChangeEvent(CType(e.Row,UsersRow), e.Action))
3459 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3460 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3461 Public Sub RemoveUsersRow(ByVal row As UsersRow)
3465 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3466 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3467 Public Shared Function GetTypedTableSchema(ByVal xs As Global.System.Xml.Schema.XmlSchemaSet) As Global.System.Xml.Schema.XmlSchemaComplexType
3468 Dim type As Global.System.Xml.Schema.XmlSchemaComplexType = New Global.System.Xml.Schema.XmlSchemaComplexType()
3469 Dim sequence As Global.System.Xml.Schema.XmlSchemaSequence = New Global.System.Xml.Schema.XmlSchemaSequence()
3470 Dim ds As NEADataSet = New NEADataSet()
3471 Dim any1 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
3472 any1.Namespace = "http://www.w3.org/2001/XMLSchema"
3473 any1.MinOccurs = New Decimal(0)
3474 any1.MaxOccurs = Decimal.MaxValue
3475 any1.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
3476 sequence.Items.Add(any1)
3477 Dim any2 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
3478 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"
3479 any2.MinOccurs = New Decimal(1)
3480 any2.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
3481 sequence.Items.Add(any2)
3482 Dim attribute1 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
3483 attribute1.Name = "namespace"
3484 attribute1.FixedValue = ds.Namespace
3485 type.Attributes.Add(attribute1)
3486 Dim attribute2 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
3487 attribute2.Name = "tableTypeName"
3488 attribute2.FixedValue = "UsersDataTable"
3489 type.Attributes.Add(attribute2)
3490 type.Particle = sequence
3491 Dim dsSchema As Global.System.Xml.Schema.XmlSchema = ds.GetSchemaSerializable
3492 If xs.Contains(dsSchema.TargetNamespace) Then
3493 Dim s1 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
3494 Dim s2 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
3496 Dim schema As Global.System.Xml.Schema.XmlSchema = Nothing
3498 Dim schemas As Global.System.Collections.IEnumerator = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator
3499 Do While schemas.MoveNext
3500 schema = CType(schemas.Current,Global.System.Xml.Schema.XmlSchema)
3503 If (s1.Length = s2.Length) Then
3507 Do While ((s1.Position <> s1.Length) _
3508 AndAlso (s1.ReadByte = s2.ReadByte))
3512 If (s1.Position = s1.Length) Then
3519 If (Not (s1) Is Nothing) Then
3522 If (Not (s2) Is Nothing) Then
3533 '''Represents the strongly named DataTable class.
3535 <Global.System.Serializable(), _
3536 Global.System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")> _
3537 Partial Public Class WishlistDataTable
3538 Inherits Global.System.Data.TypedTableBase(Of WishlistRow)
3540 Private columnWishlistID As Global.System.Data.DataColumn
3542 Private columnUserID As Global.System.Data.DataColumn
3544 Private columnGameID As Global.System.Data.DataColumn
3546 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3547 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3550 Me.TableName = "Wishlist"
3556 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3557 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3558 Friend Sub New(ByVal table As Global.System.Data.DataTable)
3560 Me.TableName = table.TableName
3561 If (table.CaseSensitive <> table.DataSet.CaseSensitive) Then
3562 Me.CaseSensitive = table.CaseSensitive
3564 If (table.Locale.ToString <> table.DataSet.Locale.ToString) Then
3565 Me.Locale = table.Locale
3567 If (table.Namespace <> table.DataSet.Namespace) Then
3568 Me.Namespace = table.Namespace
3570 Me.Prefix = table.Prefix
3571 Me.MinimumCapacity = table.MinimumCapacity
3574 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3575 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3576 Protected Sub New(ByVal info As Global.System.Runtime.Serialization.SerializationInfo, ByVal context As Global.System.Runtime.Serialization.StreamingContext)
3577 MyBase.New(info, context)
3581 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3582 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3583 Public ReadOnly Property WishlistIDColumn() As Global.System.Data.DataColumn
3585 Return Me.columnWishlistID
3589 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3590 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3591 Public ReadOnly Property UserIDColumn() As Global.System.Data.DataColumn
3593 Return Me.columnUserID
3597 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3598 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3599 Public ReadOnly Property GameIDColumn() As Global.System.Data.DataColumn
3601 Return Me.columnGameID
3605 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3606 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
3607 Global.System.ComponentModel.Browsable(false)> _
3608 Public ReadOnly Property Count() As Integer
3610 Return Me.Rows.Count
3614 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3615 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3616 Public Default ReadOnly Property Item(ByVal index As Integer) As WishlistRow
3618 Return CType(Me.Rows(index),WishlistRow)
3622 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3623 Public Event WishlistRowChanging As WishlistRowChangeEventHandler
3625 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3626 Public Event WishlistRowChanged As WishlistRowChangeEventHandler
3628 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3629 Public Event WishlistRowDeleting As WishlistRowChangeEventHandler
3631 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3632 Public Event WishlistRowDeleted As WishlistRowChangeEventHandler
3634 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3635 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3636 Public Overloads Sub AddWishlistRow(ByVal row As WishlistRow)
3640 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3641 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3642 Public Overloads Function AddWishlistRow(ByVal UserID As Integer, ByVal parentGamesRowByGamesWishlist As GamesRow) As WishlistRow
3643 Dim rowWishlistRow As WishlistRow = CType(Me.NewRow,WishlistRow)
3644 Dim columnValuesArray() As Object = New Object() {Nothing, UserID, Nothing}
3645 If (Not (parentGamesRowByGamesWishlist) Is Nothing) Then
3646 columnValuesArray(2) = parentGamesRowByGamesWishlist(0)
3648 rowWishlistRow.ItemArray = columnValuesArray
3649 Me.Rows.Add(rowWishlistRow)
3650 Return rowWishlistRow
3653 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3654 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3655 Public Function FindByWishlistID(ByVal WishlistID As Integer) As WishlistRow
3656 Return CType(Me.Rows.Find(New Object() {WishlistID}),WishlistRow)
3659 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3660 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3661 Public Overrides Function Clone() As Global.System.Data.DataTable
3662 Dim cln As WishlistDataTable = CType(MyBase.Clone,WishlistDataTable)
3667 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3668 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3669 Protected Overrides Function CreateInstance() As Global.System.Data.DataTable
3670 Return New WishlistDataTable()
3673 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3674 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3675 Friend Sub InitVars()
3676 Me.columnWishlistID = MyBase.Columns("WishlistID")
3677 Me.columnUserID = MyBase.Columns("UserID")
3678 Me.columnGameID = MyBase.Columns("GameID")
3681 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3682 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3683 Private Sub InitClass()
3684 Me.columnWishlistID = New Global.System.Data.DataColumn("WishlistID", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
3685 MyBase.Columns.Add(Me.columnWishlistID)
3686 Me.columnUserID = New Global.System.Data.DataColumn("UserID", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
3687 MyBase.Columns.Add(Me.columnUserID)
3688 Me.columnGameID = New Global.System.Data.DataColumn("GameID", GetType(Integer), Nothing, Global.System.Data.MappingType.Element)
3689 MyBase.Columns.Add(Me.columnGameID)
3690 Me.Constraints.Add(New Global.System.Data.UniqueConstraint("Constraint1", New Global.System.Data.DataColumn() {Me.columnWishlistID}, true))
3691 Me.columnWishlistID.AutoIncrement = true
3692 Me.columnWishlistID.AutoIncrementSeed = -1
3693 Me.columnWishlistID.AutoIncrementStep = -1
3694 Me.columnWishlistID.AllowDBNull = false
3695 Me.columnWishlistID.Unique = true
3698 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3699 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3700 Public Function NewWishlistRow() As WishlistRow
3701 Return CType(Me.NewRow,WishlistRow)
3704 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3705 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3706 Protected Overrides Function NewRowFromBuilder(ByVal builder As Global.System.Data.DataRowBuilder) As Global.System.Data.DataRow
3707 Return New WishlistRow(builder)
3710 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3711 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3712 Protected Overrides Function GetRowType() As Global.System.Type
3713 Return GetType(WishlistRow)
3716 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3717 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3718 Protected Overrides Sub OnRowChanged(ByVal e As Global.System.Data.DataRowChangeEventArgs)
3719 MyBase.OnRowChanged(e)
3720 If (Not (Me.WishlistRowChangedEvent) Is Nothing) Then
3721 RaiseEvent WishlistRowChanged(Me, New WishlistRowChangeEvent(CType(e.Row,WishlistRow), e.Action))
3725 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3726 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3727 Protected Overrides Sub OnRowChanging(ByVal e As Global.System.Data.DataRowChangeEventArgs)
3728 MyBase.OnRowChanging(e)
3729 If (Not (Me.WishlistRowChangingEvent) Is Nothing) Then
3730 RaiseEvent WishlistRowChanging(Me, New WishlistRowChangeEvent(CType(e.Row,WishlistRow), e.Action))
3734 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3735 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3736 Protected Overrides Sub OnRowDeleted(ByVal e As Global.System.Data.DataRowChangeEventArgs)
3737 MyBase.OnRowDeleted(e)
3738 If (Not (Me.WishlistRowDeletedEvent) Is Nothing) Then
3739 RaiseEvent WishlistRowDeleted(Me, New WishlistRowChangeEvent(CType(e.Row,WishlistRow), e.Action))
3743 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3744 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3745 Protected Overrides Sub OnRowDeleting(ByVal e As Global.System.Data.DataRowChangeEventArgs)
3746 MyBase.OnRowDeleting(e)
3747 If (Not (Me.WishlistRowDeletingEvent) Is Nothing) Then
3748 RaiseEvent WishlistRowDeleting(Me, New WishlistRowChangeEvent(CType(e.Row,WishlistRow), e.Action))
3752 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3753 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3754 Public Sub RemoveWishlistRow(ByVal row As WishlistRow)
3758 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3759 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3760 Public Shared Function GetTypedTableSchema(ByVal xs As Global.System.Xml.Schema.XmlSchemaSet) As Global.System.Xml.Schema.XmlSchemaComplexType
3761 Dim type As Global.System.Xml.Schema.XmlSchemaComplexType = New Global.System.Xml.Schema.XmlSchemaComplexType()
3762 Dim sequence As Global.System.Xml.Schema.XmlSchemaSequence = New Global.System.Xml.Schema.XmlSchemaSequence()
3763 Dim ds As NEADataSet = New NEADataSet()
3764 Dim any1 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
3765 any1.Namespace = "http://www.w3.org/2001/XMLSchema"
3766 any1.MinOccurs = New Decimal(0)
3767 any1.MaxOccurs = Decimal.MaxValue
3768 any1.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
3769 sequence.Items.Add(any1)
3770 Dim any2 As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
3771 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"
3772 any2.MinOccurs = New Decimal(1)
3773 any2.ProcessContents = Global.System.Xml.Schema.XmlSchemaContentProcessing.Lax
3774 sequence.Items.Add(any2)
3775 Dim attribute1 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
3776 attribute1.Name = "namespace"
3777 attribute1.FixedValue = ds.Namespace
3778 type.Attributes.Add(attribute1)
3779 Dim attribute2 As Global.System.Xml.Schema.XmlSchemaAttribute = New Global.System.Xml.Schema.XmlSchemaAttribute()
3780 attribute2.Name = "tableTypeName"
3781 attribute2.FixedValue = "WishlistDataTable"
3782 type.Attributes.Add(attribute2)
3783 type.Particle = sequence
3784 Dim dsSchema As Global.System.Xml.Schema.XmlSchema = ds.GetSchemaSerializable
3785 If xs.Contains(dsSchema.TargetNamespace) Then
3786 Dim s1 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
3787 Dim s2 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
3789 Dim schema As Global.System.Xml.Schema.XmlSchema = Nothing
3791 Dim schemas As Global.System.Collections.IEnumerator = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator
3792 Do While schemas.MoveNext
3793 schema = CType(schemas.Current,Global.System.Xml.Schema.XmlSchema)
3796 If (s1.Length = s2.Length) Then
3800 Do While ((s1.Position <> s1.Length) _
3801 AndAlso (s1.ReadByte = s2.ReadByte))
3805 If (s1.Position = s1.Length) Then
3812 If (Not (s1) Is Nothing) Then
3815 If (Not (s2) Is Nothing) Then
3826 '''Represents strongly named DataRow class.
3828 Partial Public Class AchievementRow
3829 Inherits Global.System.Data.DataRow
3831 Private tableAchievement As AchievementDataTable
3833 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3834 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3835 Friend Sub New(ByVal rb As Global.System.Data.DataRowBuilder)
3837 Me.tableAchievement = CType(Me.Table,AchievementDataTable)
3840 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3841 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3842 Public Property AchievementID() As Integer
3844 Return CType(Me(Me.tableAchievement.AchievementIDColumn),Integer)
3847 Me(Me.tableAchievement.AchievementIDColumn) = value
3851 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3852 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3853 Public Property GameID() As Integer
3856 Return CType(Me(Me.tableAchievement.GameIDColumn),Integer)
3857 Catch e As Global.System.InvalidCastException
3858 Throw New Global.System.Data.StrongTypingException("The value for column 'GameID' in table 'Achievement' is DBNull.", e)
3862 Me(Me.tableAchievement.GameIDColumn) = value
3866 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3867 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3868 Public Property UserID() As Integer
3871 Return CType(Me(Me.tableAchievement.UserIDColumn),Integer)
3872 Catch e As Global.System.InvalidCastException
3873 Throw New Global.System.Data.StrongTypingException("The value for column 'UserID' in table 'Achievement' is DBNull.", e)
3877 Me(Me.tableAchievement.UserIDColumn) = value
3881 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3882 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3883 Public Property Achievment_1() As String
3886 Return CType(Me(Me.tableAchievement.Achievment_1Column),String)
3887 Catch e As Global.System.InvalidCastException
3888 Throw New Global.System.Data.StrongTypingException("The value for column 'Achievment 1' in table 'Achievement' is DBNull.", e)
3892 Me(Me.tableAchievement.Achievment_1Column) = value
3896 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3897 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3898 Public Property Achievment_2() As String
3901 Return CType(Me(Me.tableAchievement.Achievment_2Column),String)
3902 Catch e As Global.System.InvalidCastException
3903 Throw New Global.System.Data.StrongTypingException("The value for column 'Achievment 2' in table 'Achievement' is DBNull.", e)
3907 Me(Me.tableAchievement.Achievment_2Column) = value
3911 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3912 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3913 Public Property Achievment_3() As String
3916 Return CType(Me(Me.tableAchievement.Achievment_3Column),String)
3917 Catch e As Global.System.InvalidCastException
3918 Throw New Global.System.Data.StrongTypingException("The value for column 'Achievment 3' in table 'Achievement' is DBNull.", e)
3922 Me(Me.tableAchievement.Achievment_3Column) = value
3926 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3927 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3928 Public Property Achievment_4() As String
3931 Return CType(Me(Me.tableAchievement.Achievment_4Column),String)
3932 Catch e As Global.System.InvalidCastException
3933 Throw New Global.System.Data.StrongTypingException("The value for column 'Achievment 4' in table 'Achievement' is DBNull.", e)
3937 Me(Me.tableAchievement.Achievment_4Column) = value
3941 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3942 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3943 Public Property Achievment_5() As String
3946 Return CType(Me(Me.tableAchievement.Achievment_5Column),String)
3947 Catch e As Global.System.InvalidCastException
3948 Throw New Global.System.Data.StrongTypingException("The value for column 'Achievment 5' in table 'Achievement' is DBNull.", e)
3952 Me(Me.tableAchievement.Achievment_5Column) = value
3956 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3957 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3958 Public Property GamesRow() As GamesRow
3960 Return CType(Me.GetParentRow(Me.Table.ParentRelations("GamesAchievement")),GamesRow)
3963 Me.SetParentRow(value, Me.Table.ParentRelations("GamesAchievement"))
3967 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3968 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3969 Public Function IsGameIDNull() As Boolean
3970 Return Me.IsNull(Me.tableAchievement.GameIDColumn)
3973 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3974 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3975 Public Sub SetGameIDNull()
3976 Me(Me.tableAchievement.GameIDColumn) = Global.System.Convert.DBNull
3979 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3980 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3981 Public Function IsUserIDNull() As Boolean
3982 Return Me.IsNull(Me.tableAchievement.UserIDColumn)
3985 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3986 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3987 Public Sub SetUserIDNull()
3988 Me(Me.tableAchievement.UserIDColumn) = Global.System.Convert.DBNull
3991 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3992 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3993 Public Function IsAchievment_1Null() As Boolean
3994 Return Me.IsNull(Me.tableAchievement.Achievment_1Column)
3997 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
3998 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
3999 Public Sub SetAchievment_1Null()
4000 Me(Me.tableAchievement.Achievment_1Column) = Global.System.Convert.DBNull
4003 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4004 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4005 Public Function IsAchievment_2Null() As Boolean
4006 Return Me.IsNull(Me.tableAchievement.Achievment_2Column)
4009 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4010 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4011 Public Sub SetAchievment_2Null()
4012 Me(Me.tableAchievement.Achievment_2Column) = Global.System.Convert.DBNull
4015 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4016 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4017 Public Function IsAchievment_3Null() As Boolean
4018 Return Me.IsNull(Me.tableAchievement.Achievment_3Column)
4021 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4022 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4023 Public Sub SetAchievment_3Null()
4024 Me(Me.tableAchievement.Achievment_3Column) = Global.System.Convert.DBNull
4027 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4028 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4029 Public Function IsAchievment_4Null() As Boolean
4030 Return Me.IsNull(Me.tableAchievement.Achievment_4Column)
4033 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4034 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4035 Public Sub SetAchievment_4Null()
4036 Me(Me.tableAchievement.Achievment_4Column) = Global.System.Convert.DBNull
4039 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4040 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4041 Public Function IsAchievment_5Null() As Boolean
4042 Return Me.IsNull(Me.tableAchievement.Achievment_5Column)
4045 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4046 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4047 Public Sub SetAchievment_5Null()
4048 Me(Me.tableAchievement.Achievment_5Column) = Global.System.Convert.DBNull
4053 '''Represents strongly named DataRow class.
4055 Partial Public Class DOWRow
4056 Inherits Global.System.Data.DataRow
4058 Private tableDOW As DOWDataTable
4060 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4061 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4062 Friend Sub New(ByVal rb As Global.System.Data.DataRowBuilder)
4064 Me.tableDOW = CType(Me.Table,DOWDataTable)
4067 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4068 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4069 Public Property DOWID() As Integer
4071 Return CType(Me(Me.tableDOW.DOWIDColumn),Integer)
4074 Me(Me.tableDOW.DOWIDColumn) = value
4078 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4079 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4080 Public Property Start() As Date
4083 Return CType(Me(Me.tableDOW.StartColumn),Date)
4084 Catch e As Global.System.InvalidCastException
4085 Throw New Global.System.Data.StrongTypingException("The value for column 'Start' in table 'DOW' is DBNull.", e)
4089 Me(Me.tableDOW.StartColumn) = value
4093 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4094 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4095 Public Property _End() As Date
4098 Return CType(Me(Me.tableDOW.EndColumn),Date)
4099 Catch e As Global.System.InvalidCastException
4100 Throw New Global.System.Data.StrongTypingException("The value for column 'End' in table 'DOW' is DBNull.", e)
4104 Me(Me.tableDOW.EndColumn) = value
4108 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4109 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4110 Public Property GameID() As Integer
4113 Return CType(Me(Me.tableDOW.GameIDColumn),Integer)
4114 Catch e As Global.System.InvalidCastException
4115 Throw New Global.System.Data.StrongTypingException("The value for column 'GameID' in table 'DOW' is DBNull.", e)
4119 Me(Me.tableDOW.GameIDColumn) = value
4123 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4124 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4125 Public Property GamesRow() As GamesRow
4127 Return CType(Me.GetParentRow(Me.Table.ParentRelations("GamesDOW")),GamesRow)
4130 Me.SetParentRow(value, Me.Table.ParentRelations("GamesDOW"))
4134 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4135 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4136 Public Function IsStartNull() As Boolean
4137 Return Me.IsNull(Me.tableDOW.StartColumn)
4140 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4141 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4142 Public Sub SetStartNull()
4143 Me(Me.tableDOW.StartColumn) = Global.System.Convert.DBNull
4146 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4147 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4148 Public Function Is_EndNull() As Boolean
4149 Return Me.IsNull(Me.tableDOW.EndColumn)
4152 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4153 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4154 Public Sub Set_EndNull()
4155 Me(Me.tableDOW.EndColumn) = Global.System.Convert.DBNull
4158 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4159 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4160 Public Function IsGameIDNull() As Boolean
4161 Return Me.IsNull(Me.tableDOW.GameIDColumn)
4164 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4165 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4166 Public Sub SetGameIDNull()
4167 Me(Me.tableDOW.GameIDColumn) = Global.System.Convert.DBNull
4172 '''Represents strongly named DataRow class.
4174 Partial Public Class FriendsRow
4175 Inherits Global.System.Data.DataRow
4177 Private tableFriends As FriendsDataTable
4179 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4180 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4181 Friend Sub New(ByVal rb As Global.System.Data.DataRowBuilder)
4183 Me.tableFriends = CType(Me.Table,FriendsDataTable)
4186 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4187 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4188 Public Property ID() As Integer
4190 Return CType(Me(Me.tableFriends.IDColumn),Integer)
4193 Me(Me.tableFriends.IDColumn) = value
4197 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4198 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4199 Public Property FriendID() As Integer
4202 Return CType(Me(Me.tableFriends.FriendIDColumn),Integer)
4203 Catch e As Global.System.InvalidCastException
4204 Throw New Global.System.Data.StrongTypingException("The value for column 'FriendID' in table 'Friends' is DBNull.", e)
4208 Me(Me.tableFriends.FriendIDColumn) = value
4212 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4213 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4214 Public Property UserID() As Integer
4217 Return CType(Me(Me.tableFriends.UserIDColumn),Integer)
4218 Catch e As Global.System.InvalidCastException
4219 Throw New Global.System.Data.StrongTypingException("The value for column 'UserID' in table 'Friends' is DBNull.", e)
4223 Me(Me.tableFriends.UserIDColumn) = value
4227 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4228 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4229 Public Function IsFriendIDNull() As Boolean
4230 Return Me.IsNull(Me.tableFriends.FriendIDColumn)
4233 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4234 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4235 Public Sub SetFriendIDNull()
4236 Me(Me.tableFriends.FriendIDColumn) = Global.System.Convert.DBNull
4239 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4240 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4241 Public Function IsUserIDNull() As Boolean
4242 Return Me.IsNull(Me.tableFriends.UserIDColumn)
4245 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4246 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4247 Public Sub SetUserIDNull()
4248 Me(Me.tableFriends.UserIDColumn) = Global.System.Convert.DBNull
4253 '''Represents strongly named DataRow class.
4255 Partial Public Class GamesRow
4256 Inherits Global.System.Data.DataRow
4258 Private tableGames As GamesDataTable
4260 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4261 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4262 Friend Sub New(ByVal rb As Global.System.Data.DataRowBuilder)
4264 Me.tableGames = CType(Me.Table,GamesDataTable)
4267 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4268 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4269 Public Property GameID() As Integer
4271 Return CType(Me(Me.tableGames.GameIDColumn),Integer)
4274 Me(Me.tableGames.GameIDColumn) = value
4278 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4279 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4280 Public Property Name() As String
4283 Return CType(Me(Me.tableGames.NameColumn),String)
4284 Catch e As Global.System.InvalidCastException
4285 Throw New Global.System.Data.StrongTypingException("The value for column 'Name' in table 'Games' is DBNull.", e)
4289 Me(Me.tableGames.NameColumn) = value
4293 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4294 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4295 Public Property Price() As Decimal
4298 Return CType(Me(Me.tableGames.PriceColumn),Decimal)
4299 Catch e As Global.System.InvalidCastException
4300 Throw New Global.System.Data.StrongTypingException("The value for column 'Price' in table 'Games' is DBNull.", e)
4304 Me(Me.tableGames.PriceColumn) = value
4308 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4309 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4310 Public Property Rating() As Integer
4313 Return CType(Me(Me.tableGames.RatingColumn),Integer)
4314 Catch e As Global.System.InvalidCastException
4315 Throw New Global.System.Data.StrongTypingException("The value for column 'Rating' in table 'Games' is DBNull.", e)
4319 Me(Me.tableGames.RatingColumn) = value
4323 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4324 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4325 Public Property Certificate() As Integer
4328 Return CType(Me(Me.tableGames.CertificateColumn),Integer)
4329 Catch e As Global.System.InvalidCastException
4330 Throw New Global.System.Data.StrongTypingException("The value for column 'Certificate' in table 'Games' is DBNull.", e)
4334 Me(Me.tableGames.CertificateColumn) = value
4338 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4339 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4340 Public Property Dev() As String
4343 Return CType(Me(Me.tableGames.DevColumn),String)
4344 Catch e As Global.System.InvalidCastException
4345 Throw New Global.System.Data.StrongTypingException("The value for column 'Dev' in table 'Games' is DBNull.", e)
4349 Me(Me.tableGames.DevColumn) = value
4353 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4354 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4355 Public Property Publisher() As String
4358 Return CType(Me(Me.tableGames.PublisherColumn),String)
4359 Catch e As Global.System.InvalidCastException
4360 Throw New Global.System.Data.StrongTypingException("The value for column 'Publisher' in table 'Games' is DBNull.", e)
4364 Me(Me.tableGames.PublisherColumn) = value
4368 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4369 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4370 Public Property Icon() As String
4373 Return CType(Me(Me.tableGames.IconColumn),String)
4374 Catch e As Global.System.InvalidCastException
4375 Throw New Global.System.Data.StrongTypingException("The value for column 'Icon' in table 'Games' is DBNull.", e)
4379 Me(Me.tableGames.IconColumn) = value
4383 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4384 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4385 Public Property Tags() As String
4388 Return CType(Me(Me.tableGames.TagsColumn),String)
4389 Catch e As Global.System.InvalidCastException
4390 Throw New Global.System.Data.StrongTypingException("The value for column 'Tags' in table 'Games' is DBNull.", e)
4394 Me(Me.tableGames.TagsColumn) = value
4398 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4399 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4400 Public Property Theme_Colour() As Integer
4403 Return CType(Me(Me.tableGames.Theme_ColourColumn),Integer)
4404 Catch e As Global.System.InvalidCastException
4405 Throw New Global.System.Data.StrongTypingException("The value for column 'Theme Colour' in table 'Games' is DBNull.", e)
4409 Me(Me.tableGames.Theme_ColourColumn) = value
4413 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4414 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4415 Public Function IsNameNull() As Boolean
4416 Return Me.IsNull(Me.tableGames.NameColumn)
4419 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4420 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4421 Public Sub SetNameNull()
4422 Me(Me.tableGames.NameColumn) = Global.System.Convert.DBNull
4425 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4426 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4427 Public Function IsPriceNull() As Boolean
4428 Return Me.IsNull(Me.tableGames.PriceColumn)
4431 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4432 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4433 Public Sub SetPriceNull()
4434 Me(Me.tableGames.PriceColumn) = Global.System.Convert.DBNull
4437 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4438 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4439 Public Function IsRatingNull() As Boolean
4440 Return Me.IsNull(Me.tableGames.RatingColumn)
4443 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4444 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4445 Public Sub SetRatingNull()
4446 Me(Me.tableGames.RatingColumn) = Global.System.Convert.DBNull
4449 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4450 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4451 Public Function IsCertificateNull() As Boolean
4452 Return Me.IsNull(Me.tableGames.CertificateColumn)
4455 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4456 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4457 Public Sub SetCertificateNull()
4458 Me(Me.tableGames.CertificateColumn) = Global.System.Convert.DBNull
4461 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4462 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4463 Public Function IsDevNull() As Boolean
4464 Return Me.IsNull(Me.tableGames.DevColumn)
4467 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4468 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4469 Public Sub SetDevNull()
4470 Me(Me.tableGames.DevColumn) = Global.System.Convert.DBNull
4473 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4474 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4475 Public Function IsPublisherNull() As Boolean
4476 Return Me.IsNull(Me.tableGames.PublisherColumn)
4479 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4480 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4481 Public Sub SetPublisherNull()
4482 Me(Me.tableGames.PublisherColumn) = Global.System.Convert.DBNull
4485 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4486 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4487 Public Function IsIconNull() As Boolean
4488 Return Me.IsNull(Me.tableGames.IconColumn)
4491 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4492 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4493 Public Sub SetIconNull()
4494 Me(Me.tableGames.IconColumn) = Global.System.Convert.DBNull
4497 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4498 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4499 Public Function IsTagsNull() As Boolean
4500 Return Me.IsNull(Me.tableGames.TagsColumn)
4503 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4504 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4505 Public Sub SetTagsNull()
4506 Me(Me.tableGames.TagsColumn) = Global.System.Convert.DBNull
4509 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4510 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4511 Public Function IsTheme_ColourNull() As Boolean
4512 Return Me.IsNull(Me.tableGames.Theme_ColourColumn)
4515 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4516 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4517 Public Sub SetTheme_ColourNull()
4518 Me(Me.tableGames.Theme_ColourColumn) = Global.System.Convert.DBNull
4521 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4522 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4523 Public Function GetAchievementRows() As AchievementRow()
4524 If (Me.Table.ChildRelations("GamesAchievement") Is Nothing) Then
4525 Return New AchievementRow(-1) {}
4527 Return CType(MyBase.GetChildRows(Me.Table.ChildRelations("GamesAchievement")),AchievementRow())
4531 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4532 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4533 Public Function GetDOWRows() As DOWRow()
4534 If (Me.Table.ChildRelations("GamesDOW") Is Nothing) Then
4535 Return New DOWRow(-1) {}
4537 Return CType(MyBase.GetChildRows(Me.Table.ChildRelations("GamesDOW")),DOWRow())
4541 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4542 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4543 Public Function GetPurchasedRows() As PurchasedRow()
4544 If (Me.Table.ChildRelations("GamesPurchased") Is Nothing) Then
4545 Return New PurchasedRow(-1) {}
4547 Return CType(MyBase.GetChildRows(Me.Table.ChildRelations("GamesPurchased")),PurchasedRow())
4551 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4552 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4553 Public Function GetReviewsRows() As ReviewsRow()
4554 If (Me.Table.ChildRelations("GamesReviews") Is Nothing) Then
4555 Return New ReviewsRow(-1) {}
4557 Return CType(MyBase.GetChildRows(Me.Table.ChildRelations("GamesReviews")),ReviewsRow())
4561 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4562 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4563 Public Function GetWishlistRows() As WishlistRow()
4564 If (Me.Table.ChildRelations("GamesWishlist") Is Nothing) Then
4565 Return New WishlistRow(-1) {}
4567 Return CType(MyBase.GetChildRows(Me.Table.ChildRelations("GamesWishlist")),WishlistRow())
4573 '''Represents strongly named DataRow class.
4575 Partial Public Class PurchasedRow
4576 Inherits Global.System.Data.DataRow
4578 Private tablePurchased As PurchasedDataTable
4580 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4581 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4582 Friend Sub New(ByVal rb As Global.System.Data.DataRowBuilder)
4584 Me.tablePurchased = CType(Me.Table,PurchasedDataTable)
4587 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4588 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4589 Public Property PurchaseID() As Integer
4591 Return CType(Me(Me.tablePurchased.PurchaseIDColumn),Integer)
4594 Me(Me.tablePurchased.PurchaseIDColumn) = value
4598 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4599 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4600 Public Property UserID() As Integer
4603 Return CType(Me(Me.tablePurchased.UserIDColumn),Integer)
4604 Catch e As Global.System.InvalidCastException
4605 Throw New Global.System.Data.StrongTypingException("The value for column 'UserID' in table 'Purchased' is DBNull.", e)
4609 Me(Me.tablePurchased.UserIDColumn) = value
4613 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4614 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4615 Public Property GameID() As Integer
4618 Return CType(Me(Me.tablePurchased.GameIDColumn),Integer)
4619 Catch e As Global.System.InvalidCastException
4620 Throw New Global.System.Data.StrongTypingException("The value for column 'GameID' in table 'Purchased' is DBNull.", e)
4624 Me(Me.tablePurchased.GameIDColumn) = value
4628 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4629 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4630 Public Property GamesRow() As GamesRow
4632 Return CType(Me.GetParentRow(Me.Table.ParentRelations("GamesPurchased")),GamesRow)
4635 Me.SetParentRow(value, Me.Table.ParentRelations("GamesPurchased"))
4639 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4640 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4641 Public Function IsUserIDNull() As Boolean
4642 Return Me.IsNull(Me.tablePurchased.UserIDColumn)
4645 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4646 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4647 Public Sub SetUserIDNull()
4648 Me(Me.tablePurchased.UserIDColumn) = Global.System.Convert.DBNull
4651 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4652 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4653 Public Function IsGameIDNull() As Boolean
4654 Return Me.IsNull(Me.tablePurchased.GameIDColumn)
4657 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4658 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4659 Public Sub SetGameIDNull()
4660 Me(Me.tablePurchased.GameIDColumn) = Global.System.Convert.DBNull
4665 '''Represents strongly named DataRow class.
4667 Partial Public Class ReviewsRow
4668 Inherits Global.System.Data.DataRow
4670 Private tableReviews As ReviewsDataTable
4672 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4673 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4674 Friend Sub New(ByVal rb As Global.System.Data.DataRowBuilder)
4676 Me.tableReviews = CType(Me.Table,ReviewsDataTable)
4679 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4680 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4681 Public Property ReviewID() As Integer
4683 Return CType(Me(Me.tableReviews.ReviewIDColumn),Integer)
4686 Me(Me.tableReviews.ReviewIDColumn) = value
4690 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4691 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4692 Public Property GameID() As Integer
4695 Return CType(Me(Me.tableReviews.GameIDColumn),Integer)
4696 Catch e As Global.System.InvalidCastException
4697 Throw New Global.System.Data.StrongTypingException("The value for column 'GameID' in table 'Reviews' is DBNull.", e)
4701 Me(Me.tableReviews.GameIDColumn) = value
4705 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4706 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4707 Public Property Review() As String
4710 Return CType(Me(Me.tableReviews.ReviewColumn),String)
4711 Catch e As Global.System.InvalidCastException
4712 Throw New Global.System.Data.StrongTypingException("The value for column 'Review' in table 'Reviews' is DBNull.", e)
4716 Me(Me.tableReviews.ReviewColumn) = value
4720 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4721 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4722 Public Property GamesRow() As GamesRow
4724 Return CType(Me.GetParentRow(Me.Table.ParentRelations("GamesReviews")),GamesRow)
4727 Me.SetParentRow(value, Me.Table.ParentRelations("GamesReviews"))
4731 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4732 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4733 Public Function IsGameIDNull() As Boolean
4734 Return Me.IsNull(Me.tableReviews.GameIDColumn)
4737 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4738 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4739 Public Sub SetGameIDNull()
4740 Me(Me.tableReviews.GameIDColumn) = Global.System.Convert.DBNull
4743 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4744 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4745 Public Function IsReviewNull() As Boolean
4746 Return Me.IsNull(Me.tableReviews.ReviewColumn)
4749 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4750 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4751 Public Sub SetReviewNull()
4752 Me(Me.tableReviews.ReviewColumn) = Global.System.Convert.DBNull
4757 '''Represents strongly named DataRow class.
4759 Partial Public Class TagsRow
4760 Inherits Global.System.Data.DataRow
4762 Private tableTags As TagsDataTable
4764 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4765 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4766 Friend Sub New(ByVal rb As Global.System.Data.DataRowBuilder)
4768 Me.tableTags = CType(Me.Table,TagsDataTable)
4771 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4772 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4773 Public Property ID() As Integer
4775 Return CType(Me(Me.tableTags.IDColumn),Integer)
4778 Me(Me.tableTags.IDColumn) = value
4784 '''Represents strongly named DataRow class.
4786 Partial Public Class User_DetailsRow
4787 Inherits Global.System.Data.DataRow
4789 Private tableUser_Details As User_DetailsDataTable
4791 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4792 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4793 Friend Sub New(ByVal rb As Global.System.Data.DataRowBuilder)
4795 Me.tableUser_Details = CType(Me.Table,User_DetailsDataTable)
4798 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4799 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4800 Public Property UserDetailsID() As Integer
4802 Return CType(Me(Me.tableUser_Details.UserDetailsIDColumn),Integer)
4805 Me(Me.tableUser_Details.UserDetailsIDColumn) = value
4809 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4810 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4811 Public Property FirstName() As String
4814 Return CType(Me(Me.tableUser_Details.FirstNameColumn),String)
4815 Catch e As Global.System.InvalidCastException
4816 Throw New Global.System.Data.StrongTypingException("The value for column 'FirstName' in table 'User_Details' is DBNull.", e)
4820 Me(Me.tableUser_Details.FirstNameColumn) = value
4824 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4825 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4826 Public Property LastName() As String
4829 Return CType(Me(Me.tableUser_Details.LastNameColumn),String)
4830 Catch e As Global.System.InvalidCastException
4831 Throw New Global.System.Data.StrongTypingException("The value for column 'LastName' in table 'User_Details' is DBNull.", e)
4835 Me(Me.tableUser_Details.LastNameColumn) = value
4839 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4840 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4841 Public Property AddressLine1() As String
4844 Return CType(Me(Me.tableUser_Details.AddressLine1Column),String)
4845 Catch e As Global.System.InvalidCastException
4846 Throw New Global.System.Data.StrongTypingException("The value for column 'AddressLine1' in table 'User_Details' is DBNull.", e)
4850 Me(Me.tableUser_Details.AddressLine1Column) = value
4854 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4855 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4856 Public Property Town() As String
4859 Return CType(Me(Me.tableUser_Details.TownColumn),String)
4860 Catch e As Global.System.InvalidCastException
4861 Throw New Global.System.Data.StrongTypingException("The value for column 'Town' in table 'User_Details' is DBNull.", e)
4865 Me(Me.tableUser_Details.TownColumn) = value
4869 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4870 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4871 Public Property Postcode() As String
4874 Return CType(Me(Me.tableUser_Details.PostcodeColumn),String)
4875 Catch e As Global.System.InvalidCastException
4876 Throw New Global.System.Data.StrongTypingException("The value for column 'Postcode' in table 'User_Details' is DBNull.", e)
4880 Me(Me.tableUser_Details.PostcodeColumn) = value
4884 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4885 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4886 Public Property CardNumber() As Integer
4889 Return CType(Me(Me.tableUser_Details.CardNumberColumn),Integer)
4890 Catch e As Global.System.InvalidCastException
4891 Throw New Global.System.Data.StrongTypingException("The value for column 'CardNumber' in table 'User_Details' is DBNull.", e)
4895 Me(Me.tableUser_Details.CardNumberColumn) = value
4899 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4900 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4901 Public Property CVC() As Integer
4904 Return CType(Me(Me.tableUser_Details.CVCColumn),Integer)
4905 Catch e As Global.System.InvalidCastException
4906 Throw New Global.System.Data.StrongTypingException("The value for column 'CVC' in table 'User_Details' is DBNull.", e)
4910 Me(Me.tableUser_Details.CVCColumn) = value
4914 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4915 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4916 Public Property IGN() As String
4919 Return CType(Me(Me.tableUser_Details.IGNColumn),String)
4920 Catch e As Global.System.InvalidCastException
4921 Throw New Global.System.Data.StrongTypingException("The value for column 'IGN' in table 'User_Details' is DBNull.", e)
4925 Me(Me.tableUser_Details.IGNColumn) = value
4929 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4930 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4931 Public Property Email() As String
4934 Return CType(Me(Me.tableUser_Details.EmailColumn),String)
4935 Catch e As Global.System.InvalidCastException
4936 Throw New Global.System.Data.StrongTypingException("The value for column 'Email' in table 'User_Details' is DBNull.", e)
4940 Me(Me.tableUser_Details.EmailColumn) = value
4944 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4945 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4946 Public Property ProfilePic() As String
4949 Return CType(Me(Me.tableUser_Details.ProfilePicColumn),String)
4950 Catch e As Global.System.InvalidCastException
4951 Throw New Global.System.Data.StrongTypingException("The value for column 'ProfilePic' in table 'User_Details' is DBNull.", e)
4955 Me(Me.tableUser_Details.ProfilePicColumn) = value
4959 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4960 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4961 Public Function IsFirstNameNull() As Boolean
4962 Return Me.IsNull(Me.tableUser_Details.FirstNameColumn)
4965 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4966 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4967 Public Sub SetFirstNameNull()
4968 Me(Me.tableUser_Details.FirstNameColumn) = Global.System.Convert.DBNull
4971 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4972 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4973 Public Function IsLastNameNull() As Boolean
4974 Return Me.IsNull(Me.tableUser_Details.LastNameColumn)
4977 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4978 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4979 Public Sub SetLastNameNull()
4980 Me(Me.tableUser_Details.LastNameColumn) = Global.System.Convert.DBNull
4983 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4984 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4985 Public Function IsAddressLine1Null() As Boolean
4986 Return Me.IsNull(Me.tableUser_Details.AddressLine1Column)
4989 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4990 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4991 Public Sub SetAddressLine1Null()
4992 Me(Me.tableUser_Details.AddressLine1Column) = Global.System.Convert.DBNull
4995 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
4996 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
4997 Public Function IsTownNull() As Boolean
4998 Return Me.IsNull(Me.tableUser_Details.TownColumn)
5001 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5002 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5003 Public Sub SetTownNull()
5004 Me(Me.tableUser_Details.TownColumn) = Global.System.Convert.DBNull
5007 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5008 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5009 Public Function IsPostcodeNull() As Boolean
5010 Return Me.IsNull(Me.tableUser_Details.PostcodeColumn)
5013 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5014 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5015 Public Sub SetPostcodeNull()
5016 Me(Me.tableUser_Details.PostcodeColumn) = Global.System.Convert.DBNull
5019 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5020 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5021 Public Function IsCardNumberNull() As Boolean
5022 Return Me.IsNull(Me.tableUser_Details.CardNumberColumn)
5025 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5026 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5027 Public Sub SetCardNumberNull()
5028 Me(Me.tableUser_Details.CardNumberColumn) = Global.System.Convert.DBNull
5031 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5032 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5033 Public Function IsCVCNull() As Boolean
5034 Return Me.IsNull(Me.tableUser_Details.CVCColumn)
5037 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5038 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5039 Public Sub SetCVCNull()
5040 Me(Me.tableUser_Details.CVCColumn) = Global.System.Convert.DBNull
5043 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5044 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5045 Public Function IsIGNNull() As Boolean
5046 Return Me.IsNull(Me.tableUser_Details.IGNColumn)
5049 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5050 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5051 Public Sub SetIGNNull()
5052 Me(Me.tableUser_Details.IGNColumn) = Global.System.Convert.DBNull
5055 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5056 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5057 Public Function IsEmailNull() As Boolean
5058 Return Me.IsNull(Me.tableUser_Details.EmailColumn)
5061 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5062 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5063 Public Sub SetEmailNull()
5064 Me(Me.tableUser_Details.EmailColumn) = Global.System.Convert.DBNull
5067 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5068 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5069 Public Function IsProfilePicNull() As Boolean
5070 Return Me.IsNull(Me.tableUser_Details.ProfilePicColumn)
5073 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5074 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5075 Public Sub SetProfilePicNull()
5076 Me(Me.tableUser_Details.ProfilePicColumn) = Global.System.Convert.DBNull
5079 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5080 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5081 Public Function GetUsersRows() As UsersRow()
5082 If (Me.Table.ChildRelations("User_DetailsUsers") Is Nothing) Then
5083 Return New UsersRow(-1) {}
5085 Return CType(MyBase.GetChildRows(Me.Table.ChildRelations("User_DetailsUsers")),UsersRow())
5091 '''Represents strongly named DataRow class.
5093 Partial Public Class UsersRow
5094 Inherits Global.System.Data.DataRow
5096 Private tableUsers As UsersDataTable
5098 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5099 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5100 Friend Sub New(ByVal rb As Global.System.Data.DataRowBuilder)
5102 Me.tableUsers = CType(Me.Table,UsersDataTable)
5105 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5106 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5107 Public Property UserID() As Integer
5109 Return CType(Me(Me.tableUsers.UserIDColumn),Integer)
5112 Me(Me.tableUsers.UserIDColumn) = value
5116 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5117 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5118 Public Property User_DetailsID() As Integer
5121 Return CType(Me(Me.tableUsers.User_DetailsIDColumn),Integer)
5122 Catch e As Global.System.InvalidCastException
5123 Throw New Global.System.Data.StrongTypingException("The value for column 'User_DetailsID' in table 'Users' is DBNull.", e)
5127 Me(Me.tableUsers.User_DetailsIDColumn) = value
5131 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5132 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5133 Public Property Username() As String
5136 Return CType(Me(Me.tableUsers.UsernameColumn),String)
5137 Catch e As Global.System.InvalidCastException
5138 Throw New Global.System.Data.StrongTypingException("The value for column 'Username' in table 'Users' is DBNull.", e)
5142 Me(Me.tableUsers.UsernameColumn) = value
5146 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5147 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5148 Public Property Password() As String
5151 Return CType(Me(Me.tableUsers.PasswordColumn),String)
5152 Catch e As Global.System.InvalidCastException
5153 Throw New Global.System.Data.StrongTypingException("The value for column 'Password' in table 'Users' is DBNull.", e)
5157 Me(Me.tableUsers.PasswordColumn) = value
5161 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5162 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5163 Public Property User_DetailsRow() As User_DetailsRow
5165 Return CType(Me.GetParentRow(Me.Table.ParentRelations("User_DetailsUsers")),User_DetailsRow)
5168 Me.SetParentRow(value, Me.Table.ParentRelations("User_DetailsUsers"))
5172 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5173 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5174 Public Function IsUser_DetailsIDNull() As Boolean
5175 Return Me.IsNull(Me.tableUsers.User_DetailsIDColumn)
5178 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5179 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5180 Public Sub SetUser_DetailsIDNull()
5181 Me(Me.tableUsers.User_DetailsIDColumn) = Global.System.Convert.DBNull
5184 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5185 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5186 Public Function IsUsernameNull() As Boolean
5187 Return Me.IsNull(Me.tableUsers.UsernameColumn)
5190 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5191 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5192 Public Sub SetUsernameNull()
5193 Me(Me.tableUsers.UsernameColumn) = Global.System.Convert.DBNull
5196 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5197 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5198 Public Function IsPasswordNull() As Boolean
5199 Return Me.IsNull(Me.tableUsers.PasswordColumn)
5202 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5203 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5204 Public Sub SetPasswordNull()
5205 Me(Me.tableUsers.PasswordColumn) = Global.System.Convert.DBNull
5210 '''Represents strongly named DataRow class.
5212 Partial Public Class WishlistRow
5213 Inherits Global.System.Data.DataRow
5215 Private tableWishlist As WishlistDataTable
5217 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5218 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5219 Friend Sub New(ByVal rb As Global.System.Data.DataRowBuilder)
5221 Me.tableWishlist = CType(Me.Table,WishlistDataTable)
5224 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5225 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5226 Public Property WishlistID() As Integer
5228 Return CType(Me(Me.tableWishlist.WishlistIDColumn),Integer)
5231 Me(Me.tableWishlist.WishlistIDColumn) = value
5235 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5236 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5237 Public Property UserID() As Integer
5240 Return CType(Me(Me.tableWishlist.UserIDColumn),Integer)
5241 Catch e As Global.System.InvalidCastException
5242 Throw New Global.System.Data.StrongTypingException("The value for column 'UserID' in table 'Wishlist' is DBNull.", e)
5246 Me(Me.tableWishlist.UserIDColumn) = value
5250 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5251 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5252 Public Property GameID() As Integer
5255 Return CType(Me(Me.tableWishlist.GameIDColumn),Integer)
5256 Catch e As Global.System.InvalidCastException
5257 Throw New Global.System.Data.StrongTypingException("The value for column 'GameID' in table 'Wishlist' is DBNull.", e)
5261 Me(Me.tableWishlist.GameIDColumn) = value
5265 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5266 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5267 Public Property GamesRow() As GamesRow
5269 Return CType(Me.GetParentRow(Me.Table.ParentRelations("GamesWishlist")),GamesRow)
5272 Me.SetParentRow(value, Me.Table.ParentRelations("GamesWishlist"))
5276 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5277 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5278 Public Function IsUserIDNull() As Boolean
5279 Return Me.IsNull(Me.tableWishlist.UserIDColumn)
5282 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5283 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5284 Public Sub SetUserIDNull()
5285 Me(Me.tableWishlist.UserIDColumn) = Global.System.Convert.DBNull
5288 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5289 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5290 Public Function IsGameIDNull() As Boolean
5291 Return Me.IsNull(Me.tableWishlist.GameIDColumn)
5294 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5295 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5296 Public Sub SetGameIDNull()
5297 Me(Me.tableWishlist.GameIDColumn) = Global.System.Convert.DBNull
5302 '''Row event argument class
5304 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5305 Public Class AchievementRowChangeEvent
5306 Inherits Global.System.EventArgs
5308 Private eventRow As AchievementRow
5310 Private eventAction As Global.System.Data.DataRowAction
5312 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5313 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5314 Public Sub New(ByVal row As AchievementRow, ByVal action As Global.System.Data.DataRowAction)
5317 Me.eventAction = action
5320 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5321 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5322 Public ReadOnly Property Row() As AchievementRow
5328 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5329 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5330 Public ReadOnly Property Action() As Global.System.Data.DataRowAction
5332 Return Me.eventAction
5338 '''Row event argument class
5340 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5341 Public Class DOWRowChangeEvent
5342 Inherits Global.System.EventArgs
5344 Private eventRow As DOWRow
5346 Private eventAction As Global.System.Data.DataRowAction
5348 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5349 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5350 Public Sub New(ByVal row As DOWRow, ByVal action As Global.System.Data.DataRowAction)
5353 Me.eventAction = action
5356 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5357 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5358 Public ReadOnly Property Row() As DOWRow
5364 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5365 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5366 Public ReadOnly Property Action() As Global.System.Data.DataRowAction
5368 Return Me.eventAction
5374 '''Row event argument class
5376 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5377 Public Class FriendsRowChangeEvent
5378 Inherits Global.System.EventArgs
5380 Private eventRow As FriendsRow
5382 Private eventAction As Global.System.Data.DataRowAction
5384 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5385 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5386 Public Sub New(ByVal row As FriendsRow, ByVal action As Global.System.Data.DataRowAction)
5389 Me.eventAction = action
5392 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5393 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5394 Public ReadOnly Property Row() As FriendsRow
5400 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5401 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5402 Public ReadOnly Property Action() As Global.System.Data.DataRowAction
5404 Return Me.eventAction
5410 '''Row event argument class
5412 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5413 Public Class GamesRowChangeEvent
5414 Inherits Global.System.EventArgs
5416 Private eventRow As GamesRow
5418 Private eventAction As Global.System.Data.DataRowAction
5420 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5421 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5422 Public Sub New(ByVal row As GamesRow, ByVal action As Global.System.Data.DataRowAction)
5425 Me.eventAction = action
5428 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5429 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5430 Public ReadOnly Property Row() As GamesRow
5436 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5437 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5438 Public ReadOnly Property Action() As Global.System.Data.DataRowAction
5440 Return Me.eventAction
5446 '''Row event argument class
5448 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5449 Public Class PurchasedRowChangeEvent
5450 Inherits Global.System.EventArgs
5452 Private eventRow As PurchasedRow
5454 Private eventAction As Global.System.Data.DataRowAction
5456 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5457 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5458 Public Sub New(ByVal row As PurchasedRow, ByVal action As Global.System.Data.DataRowAction)
5461 Me.eventAction = action
5464 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5465 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5466 Public ReadOnly Property Row() As PurchasedRow
5472 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5473 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5474 Public ReadOnly Property Action() As Global.System.Data.DataRowAction
5476 Return Me.eventAction
5482 '''Row event argument class
5484 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5485 Public Class ReviewsRowChangeEvent
5486 Inherits Global.System.EventArgs
5488 Private eventRow As ReviewsRow
5490 Private eventAction As Global.System.Data.DataRowAction
5492 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5493 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5494 Public Sub New(ByVal row As ReviewsRow, ByVal action As Global.System.Data.DataRowAction)
5497 Me.eventAction = action
5500 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5501 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5502 Public ReadOnly Property Row() As ReviewsRow
5508 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5509 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5510 Public ReadOnly Property Action() As Global.System.Data.DataRowAction
5512 Return Me.eventAction
5518 '''Row event argument class
5520 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5521 Public Class TagsRowChangeEvent
5522 Inherits Global.System.EventArgs
5524 Private eventRow As TagsRow
5526 Private eventAction As Global.System.Data.DataRowAction
5528 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5529 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5530 Public Sub New(ByVal row As TagsRow, ByVal action As Global.System.Data.DataRowAction)
5533 Me.eventAction = action
5536 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5537 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5538 Public ReadOnly Property Row() As TagsRow
5544 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5545 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5546 Public ReadOnly Property Action() As Global.System.Data.DataRowAction
5548 Return Me.eventAction
5554 '''Row event argument class
5556 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5557 Public Class User_DetailsRowChangeEvent
5558 Inherits Global.System.EventArgs
5560 Private eventRow As User_DetailsRow
5562 Private eventAction As Global.System.Data.DataRowAction
5564 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5565 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5566 Public Sub New(ByVal row As User_DetailsRow, ByVal action As Global.System.Data.DataRowAction)
5569 Me.eventAction = action
5572 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5573 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5574 Public ReadOnly Property Row() As User_DetailsRow
5580 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5581 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5582 Public ReadOnly Property Action() As Global.System.Data.DataRowAction
5584 Return Me.eventAction
5590 '''Row event argument class
5592 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5593 Public Class UsersRowChangeEvent
5594 Inherits Global.System.EventArgs
5596 Private eventRow As UsersRow
5598 Private eventAction As Global.System.Data.DataRowAction
5600 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5601 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5602 Public Sub New(ByVal row As UsersRow, ByVal action As Global.System.Data.DataRowAction)
5605 Me.eventAction = action
5608 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5609 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5610 Public ReadOnly Property Row() As UsersRow
5616 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5617 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5618 Public ReadOnly Property Action() As Global.System.Data.DataRowAction
5620 Return Me.eventAction
5626 '''Row event argument class
5628 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5629 Public Class WishlistRowChangeEvent
5630 Inherits Global.System.EventArgs
5632 Private eventRow As WishlistRow
5634 Private eventAction As Global.System.Data.DataRowAction
5636 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5637 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5638 Public Sub New(ByVal row As WishlistRow, ByVal action As Global.System.Data.DataRowAction)
5641 Me.eventAction = action
5644 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5645 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5646 Public ReadOnly Property Row() As WishlistRow
5652 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5653 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5654 Public ReadOnly Property Action() As Global.System.Data.DataRowAction
5656 Return Me.eventAction
5662 Namespace NEADataSetTableAdapters
5665 '''Represents the connection and commands used to retrieve and save data.
5667 <Global.System.ComponentModel.DesignerCategoryAttribute("code"), _
5668 Global.System.ComponentModel.ToolboxItem(true), _
5669 Global.System.ComponentModel.DataObjectAttribute(true), _
5670 Global.System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner"& _
5671 ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"), _
5672 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
5673 Partial Public Class AchievementTableAdapter
5674 Inherits Global.System.ComponentModel.Component
5676 Private WithEvents _adapter As Global.System.Data.OleDb.OleDbDataAdapter
5678 Private _connection As Global.System.Data.OleDb.OleDbConnection
5680 Private _transaction As Global.System.Data.OleDb.OleDbTransaction
5682 Private _commandCollection() As Global.System.Data.OleDb.OleDbCommand
5684 Private _clearBeforeFill As Boolean
5686 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5687 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5690 Me.ClearBeforeFill = true
5693 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5694 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5695 Protected Friend ReadOnly Property Adapter() As Global.System.Data.OleDb.OleDbDataAdapter
5697 If (Me._adapter Is Nothing) Then
5704 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5705 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5706 Friend Property Connection() As Global.System.Data.OleDb.OleDbConnection
5708 If (Me._connection Is Nothing) Then
5711 Return Me._connection
5714 Me._connection = value
5715 If (Not (Me.Adapter.InsertCommand) Is Nothing) Then
5716 Me.Adapter.InsertCommand.Connection = value
5718 If (Not (Me.Adapter.DeleteCommand) Is Nothing) Then
5719 Me.Adapter.DeleteCommand.Connection = value
5721 If (Not (Me.Adapter.UpdateCommand) Is Nothing) Then
5722 Me.Adapter.UpdateCommand.Connection = value
5724 Dim i As Integer = 0
5725 Do While (i < Me.CommandCollection.Length)
5726 If (Not (Me.CommandCollection(i)) Is Nothing) Then
5727 CType(Me.CommandCollection(i),Global.System.Data.OleDb.OleDbCommand).Connection = value
5734 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5735 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5736 Friend Property Transaction() As Global.System.Data.OleDb.OleDbTransaction
5738 Return Me._transaction
5741 Me._transaction = value
5742 Dim i As Integer = 0
5743 Do While (i < Me.CommandCollection.Length)
5744 Me.CommandCollection(i).Transaction = Me._transaction
5747 If ((Not (Me.Adapter) Is Nothing) _
5748 AndAlso (Not (Me.Adapter.DeleteCommand) Is Nothing)) Then
5749 Me.Adapter.DeleteCommand.Transaction = Me._transaction
5751 If ((Not (Me.Adapter) Is Nothing) _
5752 AndAlso (Not (Me.Adapter.InsertCommand) Is Nothing)) Then
5753 Me.Adapter.InsertCommand.Transaction = Me._transaction
5755 If ((Not (Me.Adapter) Is Nothing) _
5756 AndAlso (Not (Me.Adapter.UpdateCommand) Is Nothing)) Then
5757 Me.Adapter.UpdateCommand.Transaction = Me._transaction
5762 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5763 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5764 Protected ReadOnly Property CommandCollection() As Global.System.Data.OleDb.OleDbCommand()
5766 If (Me._commandCollection Is Nothing) Then
5767 Me.InitCommandCollection
5769 Return Me._commandCollection
5773 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5774 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5775 Public Property ClearBeforeFill() As Boolean
5777 Return Me._clearBeforeFill
5780 Me._clearBeforeFill = value
5784 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5785 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5786 Private Sub InitAdapter()
5787 Me._adapter = New Global.System.Data.OleDb.OleDbDataAdapter()
5788 Dim tableMapping As Global.System.Data.Common.DataTableMapping = New Global.System.Data.Common.DataTableMapping()
5789 tableMapping.SourceTable = "Table"
5790 tableMapping.DataSetTable = "Achievement"
5791 tableMapping.ColumnMappings.Add("AchievementID", "AchievementID")
5792 tableMapping.ColumnMappings.Add("GameID", "GameID")
5793 tableMapping.ColumnMappings.Add("UserID", "UserID")
5794 tableMapping.ColumnMappings.Add("Achievment 1", "Achievment 1")
5795 tableMapping.ColumnMappings.Add("Achievment 2", "Achievment 2")
5796 tableMapping.ColumnMappings.Add("Achievment 3", "Achievment 3")
5797 tableMapping.ColumnMappings.Add("Achievment 4", "Achievment 4")
5798 tableMapping.ColumnMappings.Add("Achievment 5", "Achievment 5")
5799 Me._adapter.TableMappings.Add(tableMapping)
5800 Me._adapter.DeleteCommand = New Global.System.Data.OleDb.OleDbCommand()
5801 Me._adapter.DeleteCommand.Connection = Me.Connection
5802 Me._adapter.DeleteCommand.CommandText = "DELETE FROM `Achievement` WHERE ((`AchievementID` = ?) AND ((? = 1 AND `GameID` I"& _
5803 "S NULL) OR (`GameID` = ?)) AND ((? = 1 AND `UserID` IS NULL) OR (`UserID` = ?)))"& _
5805 Me._adapter.DeleteCommand.CommandType = Global.System.Data.CommandType.Text
5806 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))
5807 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))
5808 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))
5809 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))
5810 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))
5811 Me._adapter.InsertCommand = New Global.System.Data.OleDb.OleDbCommand()
5812 Me._adapter.InsertCommand.Connection = Me.Connection
5813 Me._adapter.InsertCommand.CommandText = "INSERT INTO `Achievement` (`GameID`, `UserID`, `Achievment 1`, `Achievment 2`, `A"& _
5814 "chievment 3`, `Achievment 4`, `Achievment 5`) VALUES (?, ?, ?, ?, ?, ?, ?)"
5815 Me._adapter.InsertCommand.CommandType = Global.System.Data.CommandType.Text
5816 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))
5817 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))
5818 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))
5819 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))
5820 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))
5821 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))
5822 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))
5823 Me._adapter.UpdateCommand = New Global.System.Data.OleDb.OleDbCommand()
5824 Me._adapter.UpdateCommand.Connection = Me.Connection
5825 Me._adapter.UpdateCommand.CommandText = "UPDATE `Achievement` SET `GameID` = ?, `UserID` = ?, `Achievment 1` = ?, `Achievm"& _
5826 "ent 2` = ?, `Achievment 3` = ?, `Achievment 4` = ?, `Achievment 5` = ? WHERE ((`"& _
5827 "AchievementID` = ?) AND ((? = 1 AND `GameID` IS NULL) OR (`GameID` = ?)) AND ((?"& _
5828 " = 1 AND `UserID` IS NULL) OR (`UserID` = ?)))"
5829 Me._adapter.UpdateCommand.CommandType = Global.System.Data.CommandType.Text
5830 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))
5831 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))
5832 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))
5833 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))
5834 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))
5835 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))
5836 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))
5837 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))
5838 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))
5839 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))
5840 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))
5841 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))
5844 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5845 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5846 Private Sub InitConnection()
5847 Me._connection = New Global.System.Data.OleDb.OleDbConnection()
5848 Me._connection.ConnectionString = Global.NEA.MySettings.Default.NEAConnectionString_accdb
5851 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5852 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
5853 Private Sub InitCommandCollection()
5854 Me._commandCollection = New Global.System.Data.OleDb.OleDbCommand(0) {}
5855 Me._commandCollection(0) = New Global.System.Data.OleDb.OleDbCommand()
5856 Me._commandCollection(0).Connection = Me.Connection
5857 Me._commandCollection(0).CommandText = "SELECT AchievementID, GameID, UserID, [Achievment 1], [Achievment 2], [Achievment"& _
5858 " 3], [Achievment 4], [Achievment 5] FROM Achievement"
5859 Me._commandCollection(0).CommandType = Global.System.Data.CommandType.Text
5862 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5863 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
5864 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
5865 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Fill, true)> _
5866 Public Overloads Overridable Function Fill(ByVal dataTable As NEADataSet.AchievementDataTable) As Integer
5867 Me.Adapter.SelectCommand = Me.CommandCollection(0)
5868 If (Me.ClearBeforeFill = true) Then
5871 Dim returnValue As Integer = Me.Adapter.Fill(dataTable)
5875 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5876 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
5877 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
5878 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.[Select], true)> _
5879 Public Overloads Overridable Function GetData() As NEADataSet.AchievementDataTable
5880 Me.Adapter.SelectCommand = Me.CommandCollection(0)
5881 Dim dataTable As NEADataSet.AchievementDataTable = New NEADataSet.AchievementDataTable()
5882 Me.Adapter.Fill(dataTable)
5886 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5887 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
5888 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
5889 Public Overloads Overridable Function Update(ByVal dataTable As NEADataSet.AchievementDataTable) As Integer
5890 Return Me.Adapter.Update(dataTable)
5893 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5894 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
5895 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
5896 Public Overloads Overridable Function Update(ByVal dataSet As NEADataSet) As Integer
5897 Return Me.Adapter.Update(dataSet, "Achievement")
5900 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5901 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
5902 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
5903 Public Overloads Overridable Function Update(ByVal dataRow As Global.System.Data.DataRow) As Integer
5904 Return Me.Adapter.Update(New Global.System.Data.DataRow() {dataRow})
5907 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5908 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
5909 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
5910 Public Overloads Overridable Function Update(ByVal dataRows() As Global.System.Data.DataRow) As Integer
5911 Return Me.Adapter.Update(dataRows)
5914 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5915 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
5916 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
5917 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Delete, true)> _
5918 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
5919 Me.Adapter.DeleteCommand.Parameters(0).Value = CType(Original_AchievementID,Integer)
5920 If (Original_GameID.HasValue = true) Then
5921 Me.Adapter.DeleteCommand.Parameters(1).Value = CType(0,Object)
5922 Me.Adapter.DeleteCommand.Parameters(2).Value = CType(Original_GameID.Value,Integer)
5924 Me.Adapter.DeleteCommand.Parameters(1).Value = CType(1,Object)
5925 Me.Adapter.DeleteCommand.Parameters(2).Value = Global.System.DBNull.Value
5927 If (Original_UserID.HasValue = true) Then
5928 Me.Adapter.DeleteCommand.Parameters(3).Value = CType(0,Object)
5929 Me.Adapter.DeleteCommand.Parameters(4).Value = CType(Original_UserID.Value,Integer)
5931 Me.Adapter.DeleteCommand.Parameters(3).Value = CType(1,Object)
5932 Me.Adapter.DeleteCommand.Parameters(4).Value = Global.System.DBNull.Value
5934 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.DeleteCommand.Connection.State
5935 If ((Me.Adapter.DeleteCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
5936 <> Global.System.Data.ConnectionState.Open) Then
5937 Me.Adapter.DeleteCommand.Connection.Open
5940 Dim returnValue As Integer = Me.Adapter.DeleteCommand.ExecuteNonQuery
5943 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
5944 Me.Adapter.DeleteCommand.Connection.Close
5949 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
5950 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
5951 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
5952 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Insert, true)> _
5953 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
5954 If (GameID.HasValue = true) Then
5955 Me.Adapter.InsertCommand.Parameters(0).Value = CType(GameID.Value,Integer)
5957 Me.Adapter.InsertCommand.Parameters(0).Value = Global.System.DBNull.Value
5959 If (UserID.HasValue = true) Then
5960 Me.Adapter.InsertCommand.Parameters(1).Value = CType(UserID.Value,Integer)
5962 Me.Adapter.InsertCommand.Parameters(1).Value = Global.System.DBNull.Value
5964 If (Achievment_1 Is Nothing) Then
5965 Me.Adapter.InsertCommand.Parameters(2).Value = Global.System.DBNull.Value
5967 Me.Adapter.InsertCommand.Parameters(2).Value = CType(Achievment_1,String)
5969 If (Achievment_2 Is Nothing) Then
5970 Me.Adapter.InsertCommand.Parameters(3).Value = Global.System.DBNull.Value
5972 Me.Adapter.InsertCommand.Parameters(3).Value = CType(Achievment_2,String)
5974 If (Achievment_3 Is Nothing) Then
5975 Me.Adapter.InsertCommand.Parameters(4).Value = Global.System.DBNull.Value
5977 Me.Adapter.InsertCommand.Parameters(4).Value = CType(Achievment_3,String)
5979 If (Achievment_4 Is Nothing) Then
5980 Me.Adapter.InsertCommand.Parameters(5).Value = Global.System.DBNull.Value
5982 Me.Adapter.InsertCommand.Parameters(5).Value = CType(Achievment_4,String)
5984 If (Achievment_5 Is Nothing) Then
5985 Me.Adapter.InsertCommand.Parameters(6).Value = Global.System.DBNull.Value
5987 Me.Adapter.InsertCommand.Parameters(6).Value = CType(Achievment_5,String)
5989 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.InsertCommand.Connection.State
5990 If ((Me.Adapter.InsertCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
5991 <> Global.System.Data.ConnectionState.Open) Then
5992 Me.Adapter.InsertCommand.Connection.Open
5995 Dim returnValue As Integer = Me.Adapter.InsertCommand.ExecuteNonQuery
5998 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
5999 Me.Adapter.InsertCommand.Connection.Close
6004 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6005 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
6006 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
6007 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Update, true)> _
6008 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
6009 If (GameID.HasValue = true) Then
6010 Me.Adapter.UpdateCommand.Parameters(0).Value = CType(GameID.Value,Integer)
6012 Me.Adapter.UpdateCommand.Parameters(0).Value = Global.System.DBNull.Value
6014 If (UserID.HasValue = true) Then
6015 Me.Adapter.UpdateCommand.Parameters(1).Value = CType(UserID.Value,Integer)
6017 Me.Adapter.UpdateCommand.Parameters(1).Value = Global.System.DBNull.Value
6019 If (Achievment_1 Is Nothing) Then
6020 Me.Adapter.UpdateCommand.Parameters(2).Value = Global.System.DBNull.Value
6022 Me.Adapter.UpdateCommand.Parameters(2).Value = CType(Achievment_1,String)
6024 If (Achievment_2 Is Nothing) Then
6025 Me.Adapter.UpdateCommand.Parameters(3).Value = Global.System.DBNull.Value
6027 Me.Adapter.UpdateCommand.Parameters(3).Value = CType(Achievment_2,String)
6029 If (Achievment_3 Is Nothing) Then
6030 Me.Adapter.UpdateCommand.Parameters(4).Value = Global.System.DBNull.Value
6032 Me.Adapter.UpdateCommand.Parameters(4).Value = CType(Achievment_3,String)
6034 If (Achievment_4 Is Nothing) Then
6035 Me.Adapter.UpdateCommand.Parameters(5).Value = Global.System.DBNull.Value
6037 Me.Adapter.UpdateCommand.Parameters(5).Value = CType(Achievment_4,String)
6039 If (Achievment_5 Is Nothing) Then
6040 Me.Adapter.UpdateCommand.Parameters(6).Value = Global.System.DBNull.Value
6042 Me.Adapter.UpdateCommand.Parameters(6).Value = CType(Achievment_5,String)
6044 Me.Adapter.UpdateCommand.Parameters(7).Value = CType(Original_AchievementID,Integer)
6045 If (Original_GameID.HasValue = true) Then
6046 Me.Adapter.UpdateCommand.Parameters(8).Value = CType(0,Object)
6047 Me.Adapter.UpdateCommand.Parameters(9).Value = CType(Original_GameID.Value,Integer)
6049 Me.Adapter.UpdateCommand.Parameters(8).Value = CType(1,Object)
6050 Me.Adapter.UpdateCommand.Parameters(9).Value = Global.System.DBNull.Value
6052 If (Original_UserID.HasValue = true) Then
6053 Me.Adapter.UpdateCommand.Parameters(10).Value = CType(0,Object)
6054 Me.Adapter.UpdateCommand.Parameters(11).Value = CType(Original_UserID.Value,Integer)
6056 Me.Adapter.UpdateCommand.Parameters(10).Value = CType(1,Object)
6057 Me.Adapter.UpdateCommand.Parameters(11).Value = Global.System.DBNull.Value
6059 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.UpdateCommand.Connection.State
6060 If ((Me.Adapter.UpdateCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
6061 <> Global.System.Data.ConnectionState.Open) Then
6062 Me.Adapter.UpdateCommand.Connection.Open
6065 Dim returnValue As Integer = Me.Adapter.UpdateCommand.ExecuteNonQuery
6068 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
6069 Me.Adapter.UpdateCommand.Connection.Close
6076 '''Represents the connection and commands used to retrieve and save data.
6078 <Global.System.ComponentModel.DesignerCategoryAttribute("code"), _
6079 Global.System.ComponentModel.ToolboxItem(true), _
6080 Global.System.ComponentModel.DataObjectAttribute(true), _
6081 Global.System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner"& _
6082 ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"), _
6083 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
6084 Partial Public Class DOWTableAdapter
6085 Inherits Global.System.ComponentModel.Component
6087 Private WithEvents _adapter As Global.System.Data.OleDb.OleDbDataAdapter
6089 Private _connection As Global.System.Data.OleDb.OleDbConnection
6091 Private _transaction As Global.System.Data.OleDb.OleDbTransaction
6093 Private _commandCollection() As Global.System.Data.OleDb.OleDbCommand
6095 Private _clearBeforeFill As Boolean
6097 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6098 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6101 Me.ClearBeforeFill = true
6104 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6105 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6106 Protected Friend ReadOnly Property Adapter() As Global.System.Data.OleDb.OleDbDataAdapter
6108 If (Me._adapter Is Nothing) Then
6115 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6116 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6117 Friend Property Connection() As Global.System.Data.OleDb.OleDbConnection
6119 If (Me._connection Is Nothing) Then
6122 Return Me._connection
6125 Me._connection = value
6126 If (Not (Me.Adapter.InsertCommand) Is Nothing) Then
6127 Me.Adapter.InsertCommand.Connection = value
6129 If (Not (Me.Adapter.DeleteCommand) Is Nothing) Then
6130 Me.Adapter.DeleteCommand.Connection = value
6132 If (Not (Me.Adapter.UpdateCommand) Is Nothing) Then
6133 Me.Adapter.UpdateCommand.Connection = value
6135 Dim i As Integer = 0
6136 Do While (i < Me.CommandCollection.Length)
6137 If (Not (Me.CommandCollection(i)) Is Nothing) Then
6138 CType(Me.CommandCollection(i),Global.System.Data.OleDb.OleDbCommand).Connection = value
6145 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6146 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6147 Friend Property Transaction() As Global.System.Data.OleDb.OleDbTransaction
6149 Return Me._transaction
6152 Me._transaction = value
6153 Dim i As Integer = 0
6154 Do While (i < Me.CommandCollection.Length)
6155 Me.CommandCollection(i).Transaction = Me._transaction
6158 If ((Not (Me.Adapter) Is Nothing) _
6159 AndAlso (Not (Me.Adapter.DeleteCommand) Is Nothing)) Then
6160 Me.Adapter.DeleteCommand.Transaction = Me._transaction
6162 If ((Not (Me.Adapter) Is Nothing) _
6163 AndAlso (Not (Me.Adapter.InsertCommand) Is Nothing)) Then
6164 Me.Adapter.InsertCommand.Transaction = Me._transaction
6166 If ((Not (Me.Adapter) Is Nothing) _
6167 AndAlso (Not (Me.Adapter.UpdateCommand) Is Nothing)) Then
6168 Me.Adapter.UpdateCommand.Transaction = Me._transaction
6173 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6174 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6175 Protected ReadOnly Property CommandCollection() As Global.System.Data.OleDb.OleDbCommand()
6177 If (Me._commandCollection Is Nothing) Then
6178 Me.InitCommandCollection
6180 Return Me._commandCollection
6184 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6185 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6186 Public Property ClearBeforeFill() As Boolean
6188 Return Me._clearBeforeFill
6191 Me._clearBeforeFill = value
6195 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6196 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6197 Private Sub InitAdapter()
6198 Me._adapter = New Global.System.Data.OleDb.OleDbDataAdapter()
6199 Dim tableMapping As Global.System.Data.Common.DataTableMapping = New Global.System.Data.Common.DataTableMapping()
6200 tableMapping.SourceTable = "Table"
6201 tableMapping.DataSetTable = "DOW"
6202 tableMapping.ColumnMappings.Add("DOWID", "DOWID")
6203 tableMapping.ColumnMappings.Add("Start", "Start")
6204 tableMapping.ColumnMappings.Add("End", "End")
6205 tableMapping.ColumnMappings.Add("GameID", "GameID")
6206 Me._adapter.TableMappings.Add(tableMapping)
6207 Me._adapter.DeleteCommand = New Global.System.Data.OleDb.OleDbCommand()
6208 Me._adapter.DeleteCommand.Connection = Me.Connection
6209 Me._adapter.DeleteCommand.CommandText = "DELETE FROM `DOW` WHERE ((`DOWID` = ?) AND ((? = 1 AND `Start` IS NULL) OR (`Star"& _
6210 "t` = ?)) AND ((? = 1 AND `End` IS NULL) OR (`End` = ?)) AND ((? = 1 AND `GameID`"& _
6211 " IS NULL) OR (`GameID` = ?)))"
6212 Me._adapter.DeleteCommand.CommandType = Global.System.Data.CommandType.Text
6213 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))
6214 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))
6215 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))
6216 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))
6217 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))
6218 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))
6219 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))
6220 Me._adapter.InsertCommand = New Global.System.Data.OleDb.OleDbCommand()
6221 Me._adapter.InsertCommand.Connection = Me.Connection
6222 Me._adapter.InsertCommand.CommandText = "INSERT INTO `DOW` (`Start`, `End`, `GameID`) VALUES (?, ?, ?)"
6223 Me._adapter.InsertCommand.CommandType = Global.System.Data.CommandType.Text
6224 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))
6225 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))
6226 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))
6227 Me._adapter.UpdateCommand = New Global.System.Data.OleDb.OleDbCommand()
6228 Me._adapter.UpdateCommand.Connection = Me.Connection
6229 Me._adapter.UpdateCommand.CommandText = "UPDATE `DOW` SET `Start` = ?, `End` = ?, `GameID` = ? WHERE ((`DOWID` = ?) AND (("& _
6230 "? = 1 AND `Start` IS NULL) OR (`Start` = ?)) AND ((? = 1 AND `End` IS NULL) OR ("& _
6231 "`End` = ?)) AND ((? = 1 AND `GameID` IS NULL) OR (`GameID` = ?)))"
6232 Me._adapter.UpdateCommand.CommandType = Global.System.Data.CommandType.Text
6233 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))
6234 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))
6235 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))
6236 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))
6237 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))
6238 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))
6239 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))
6240 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))
6241 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))
6242 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))
6245 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6246 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6247 Private Sub InitConnection()
6248 Me._connection = New Global.System.Data.OleDb.OleDbConnection()
6249 Me._connection.ConnectionString = Global.NEA.MySettings.Default.NEAConnectionString_accdb
6252 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6253 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6254 Private Sub InitCommandCollection()
6255 Me._commandCollection = New Global.System.Data.OleDb.OleDbCommand(0) {}
6256 Me._commandCollection(0) = New Global.System.Data.OleDb.OleDbCommand()
6257 Me._commandCollection(0).Connection = Me.Connection
6258 Me._commandCollection(0).CommandText = "SELECT DOWID, Start, [End], GameID FROM DOW"
6259 Me._commandCollection(0).CommandType = Global.System.Data.CommandType.Text
6262 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6263 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
6264 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
6265 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Fill, true)> _
6266 Public Overloads Overridable Function Fill(ByVal dataTable As NEADataSet.DOWDataTable) As Integer
6267 Me.Adapter.SelectCommand = Me.CommandCollection(0)
6268 If (Me.ClearBeforeFill = true) Then
6271 Dim returnValue As Integer = Me.Adapter.Fill(dataTable)
6275 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6276 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
6277 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
6278 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.[Select], true)> _
6279 Public Overloads Overridable Function GetData() As NEADataSet.DOWDataTable
6280 Me.Adapter.SelectCommand = Me.CommandCollection(0)
6281 Dim dataTable As NEADataSet.DOWDataTable = New NEADataSet.DOWDataTable()
6282 Me.Adapter.Fill(dataTable)
6286 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6287 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
6288 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
6289 Public Overloads Overridable Function Update(ByVal dataTable As NEADataSet.DOWDataTable) As Integer
6290 Return Me.Adapter.Update(dataTable)
6293 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6294 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
6295 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
6296 Public Overloads Overridable Function Update(ByVal dataSet As NEADataSet) As Integer
6297 Return Me.Adapter.Update(dataSet, "DOW")
6300 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6301 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
6302 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
6303 Public Overloads Overridable Function Update(ByVal dataRow As Global.System.Data.DataRow) As Integer
6304 Return Me.Adapter.Update(New Global.System.Data.DataRow() {dataRow})
6307 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6308 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
6309 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
6310 Public Overloads Overridable Function Update(ByVal dataRows() As Global.System.Data.DataRow) As Integer
6311 Return Me.Adapter.Update(dataRows)
6314 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6315 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
6316 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
6317 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Delete, true)> _
6318 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
6319 Me.Adapter.DeleteCommand.Parameters(0).Value = CType(Original_DOWID,Integer)
6320 If (Original_Start.HasValue = true) Then
6321 Me.Adapter.DeleteCommand.Parameters(1).Value = CType(0,Object)
6322 Me.Adapter.DeleteCommand.Parameters(2).Value = CType(Original_Start.Value,Date)
6324 Me.Adapter.DeleteCommand.Parameters(1).Value = CType(1,Object)
6325 Me.Adapter.DeleteCommand.Parameters(2).Value = Global.System.DBNull.Value
6327 If (Original_End.HasValue = true) Then
6328 Me.Adapter.DeleteCommand.Parameters(3).Value = CType(0,Object)
6329 Me.Adapter.DeleteCommand.Parameters(4).Value = CType(Original_End.Value,Date)
6331 Me.Adapter.DeleteCommand.Parameters(3).Value = CType(1,Object)
6332 Me.Adapter.DeleteCommand.Parameters(4).Value = Global.System.DBNull.Value
6334 If (Original_GameID.HasValue = true) Then
6335 Me.Adapter.DeleteCommand.Parameters(5).Value = CType(0,Object)
6336 Me.Adapter.DeleteCommand.Parameters(6).Value = CType(Original_GameID.Value,Integer)
6338 Me.Adapter.DeleteCommand.Parameters(5).Value = CType(1,Object)
6339 Me.Adapter.DeleteCommand.Parameters(6).Value = Global.System.DBNull.Value
6341 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.DeleteCommand.Connection.State
6342 If ((Me.Adapter.DeleteCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
6343 <> Global.System.Data.ConnectionState.Open) Then
6344 Me.Adapter.DeleteCommand.Connection.Open
6347 Dim returnValue As Integer = Me.Adapter.DeleteCommand.ExecuteNonQuery
6350 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
6351 Me.Adapter.DeleteCommand.Connection.Close
6356 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6357 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
6358 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
6359 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Insert, true)> _
6360 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
6361 If (Start.HasValue = true) Then
6362 Me.Adapter.InsertCommand.Parameters(0).Value = CType(Start.Value,Date)
6364 Me.Adapter.InsertCommand.Parameters(0).Value = Global.System.DBNull.Value
6366 If (_End.HasValue = true) Then
6367 Me.Adapter.InsertCommand.Parameters(1).Value = CType(_End.Value,Date)
6369 Me.Adapter.InsertCommand.Parameters(1).Value = Global.System.DBNull.Value
6371 If (GameID.HasValue = true) Then
6372 Me.Adapter.InsertCommand.Parameters(2).Value = CType(GameID.Value,Integer)
6374 Me.Adapter.InsertCommand.Parameters(2).Value = Global.System.DBNull.Value
6376 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.InsertCommand.Connection.State
6377 If ((Me.Adapter.InsertCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
6378 <> Global.System.Data.ConnectionState.Open) Then
6379 Me.Adapter.InsertCommand.Connection.Open
6382 Dim returnValue As Integer = Me.Adapter.InsertCommand.ExecuteNonQuery
6385 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
6386 Me.Adapter.InsertCommand.Connection.Close
6391 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6392 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
6393 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
6394 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Update, true)> _
6395 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
6396 If (Start.HasValue = true) Then
6397 Me.Adapter.UpdateCommand.Parameters(0).Value = CType(Start.Value,Date)
6399 Me.Adapter.UpdateCommand.Parameters(0).Value = Global.System.DBNull.Value
6401 If (_End.HasValue = true) Then
6402 Me.Adapter.UpdateCommand.Parameters(1).Value = CType(_End.Value,Date)
6404 Me.Adapter.UpdateCommand.Parameters(1).Value = Global.System.DBNull.Value
6406 If (GameID.HasValue = true) Then
6407 Me.Adapter.UpdateCommand.Parameters(2).Value = CType(GameID.Value,Integer)
6409 Me.Adapter.UpdateCommand.Parameters(2).Value = Global.System.DBNull.Value
6411 Me.Adapter.UpdateCommand.Parameters(3).Value = CType(Original_DOWID,Integer)
6412 If (Original_Start.HasValue = true) Then
6413 Me.Adapter.UpdateCommand.Parameters(4).Value = CType(0,Object)
6414 Me.Adapter.UpdateCommand.Parameters(5).Value = CType(Original_Start.Value,Date)
6416 Me.Adapter.UpdateCommand.Parameters(4).Value = CType(1,Object)
6417 Me.Adapter.UpdateCommand.Parameters(5).Value = Global.System.DBNull.Value
6419 If (Original_End.HasValue = true) Then
6420 Me.Adapter.UpdateCommand.Parameters(6).Value = CType(0,Object)
6421 Me.Adapter.UpdateCommand.Parameters(7).Value = CType(Original_End.Value,Date)
6423 Me.Adapter.UpdateCommand.Parameters(6).Value = CType(1,Object)
6424 Me.Adapter.UpdateCommand.Parameters(7).Value = Global.System.DBNull.Value
6426 If (Original_GameID.HasValue = true) Then
6427 Me.Adapter.UpdateCommand.Parameters(8).Value = CType(0,Object)
6428 Me.Adapter.UpdateCommand.Parameters(9).Value = CType(Original_GameID.Value,Integer)
6430 Me.Adapter.UpdateCommand.Parameters(8).Value = CType(1,Object)
6431 Me.Adapter.UpdateCommand.Parameters(9).Value = Global.System.DBNull.Value
6433 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.UpdateCommand.Connection.State
6434 If ((Me.Adapter.UpdateCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
6435 <> Global.System.Data.ConnectionState.Open) Then
6436 Me.Adapter.UpdateCommand.Connection.Open
6439 Dim returnValue As Integer = Me.Adapter.UpdateCommand.ExecuteNonQuery
6442 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
6443 Me.Adapter.UpdateCommand.Connection.Close
6450 '''Represents the connection and commands used to retrieve and save data.
6452 <Global.System.ComponentModel.DesignerCategoryAttribute("code"), _
6453 Global.System.ComponentModel.ToolboxItem(true), _
6454 Global.System.ComponentModel.DataObjectAttribute(true), _
6455 Global.System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner"& _
6456 ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"), _
6457 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
6458 Partial Public Class FriendsTableAdapter
6459 Inherits Global.System.ComponentModel.Component
6461 Private WithEvents _adapter As Global.System.Data.OleDb.OleDbDataAdapter
6463 Private _connection As Global.System.Data.OleDb.OleDbConnection
6465 Private _transaction As Global.System.Data.OleDb.OleDbTransaction
6467 Private _commandCollection() As Global.System.Data.OleDb.OleDbCommand
6469 Private _clearBeforeFill As Boolean
6471 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6472 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6475 Me.ClearBeforeFill = true
6478 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6479 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6480 Protected Friend ReadOnly Property Adapter() As Global.System.Data.OleDb.OleDbDataAdapter
6482 If (Me._adapter Is Nothing) Then
6489 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6490 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6491 Friend Property Connection() As Global.System.Data.OleDb.OleDbConnection
6493 If (Me._connection Is Nothing) Then
6496 Return Me._connection
6499 Me._connection = value
6500 If (Not (Me.Adapter.InsertCommand) Is Nothing) Then
6501 Me.Adapter.InsertCommand.Connection = value
6503 If (Not (Me.Adapter.DeleteCommand) Is Nothing) Then
6504 Me.Adapter.DeleteCommand.Connection = value
6506 If (Not (Me.Adapter.UpdateCommand) Is Nothing) Then
6507 Me.Adapter.UpdateCommand.Connection = value
6509 Dim i As Integer = 0
6510 Do While (i < Me.CommandCollection.Length)
6511 If (Not (Me.CommandCollection(i)) Is Nothing) Then
6512 CType(Me.CommandCollection(i),Global.System.Data.OleDb.OleDbCommand).Connection = value
6519 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6520 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6521 Friend Property Transaction() As Global.System.Data.OleDb.OleDbTransaction
6523 Return Me._transaction
6526 Me._transaction = value
6527 Dim i As Integer = 0
6528 Do While (i < Me.CommandCollection.Length)
6529 Me.CommandCollection(i).Transaction = Me._transaction
6532 If ((Not (Me.Adapter) Is Nothing) _
6533 AndAlso (Not (Me.Adapter.DeleteCommand) Is Nothing)) Then
6534 Me.Adapter.DeleteCommand.Transaction = Me._transaction
6536 If ((Not (Me.Adapter) Is Nothing) _
6537 AndAlso (Not (Me.Adapter.InsertCommand) Is Nothing)) Then
6538 Me.Adapter.InsertCommand.Transaction = Me._transaction
6540 If ((Not (Me.Adapter) Is Nothing) _
6541 AndAlso (Not (Me.Adapter.UpdateCommand) Is Nothing)) Then
6542 Me.Adapter.UpdateCommand.Transaction = Me._transaction
6547 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6548 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6549 Protected ReadOnly Property CommandCollection() As Global.System.Data.OleDb.OleDbCommand()
6551 If (Me._commandCollection Is Nothing) Then
6552 Me.InitCommandCollection
6554 Return Me._commandCollection
6558 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6559 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6560 Public Property ClearBeforeFill() As Boolean
6562 Return Me._clearBeforeFill
6565 Me._clearBeforeFill = value
6569 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6570 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6571 Private Sub InitAdapter()
6572 Me._adapter = New Global.System.Data.OleDb.OleDbDataAdapter()
6573 Dim tableMapping As Global.System.Data.Common.DataTableMapping = New Global.System.Data.Common.DataTableMapping()
6574 tableMapping.SourceTable = "Table"
6575 tableMapping.DataSetTable = "Friends"
6576 tableMapping.ColumnMappings.Add("ID", "ID")
6577 tableMapping.ColumnMappings.Add("FriendID", "FriendID")
6578 tableMapping.ColumnMappings.Add("UserID", "UserID")
6579 Me._adapter.TableMappings.Add(tableMapping)
6580 Me._adapter.DeleteCommand = New Global.System.Data.OleDb.OleDbCommand()
6581 Me._adapter.DeleteCommand.Connection = Me.Connection
6582 Me._adapter.DeleteCommand.CommandText = "DELETE FROM `Friends` WHERE ((`ID` = ?) AND ((? = 1 AND `FriendID` IS NULL) OR (`"& _
6583 "FriendID` = ?)) AND ((? = 1 AND `UserID` IS NULL) OR (`UserID` = ?)))"
6584 Me._adapter.DeleteCommand.CommandType = Global.System.Data.CommandType.Text
6585 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))
6586 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))
6587 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))
6588 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))
6589 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))
6590 Me._adapter.InsertCommand = New Global.System.Data.OleDb.OleDbCommand()
6591 Me._adapter.InsertCommand.Connection = Me.Connection
6592 Me._adapter.InsertCommand.CommandText = "INSERT INTO `Friends` (`FriendID`, `UserID`) VALUES (?, ?)"
6593 Me._adapter.InsertCommand.CommandType = Global.System.Data.CommandType.Text
6594 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))
6595 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))
6596 Me._adapter.UpdateCommand = New Global.System.Data.OleDb.OleDbCommand()
6597 Me._adapter.UpdateCommand.Connection = Me.Connection
6598 Me._adapter.UpdateCommand.CommandText = "UPDATE `Friends` SET `FriendID` = ?, `UserID` = ? WHERE ((`ID` = ?) AND ((? = 1 A"& _
6599 "ND `FriendID` IS NULL) OR (`FriendID` = ?)) AND ((? = 1 AND `UserID` IS NULL) OR"& _
6601 Me._adapter.UpdateCommand.CommandType = Global.System.Data.CommandType.Text
6602 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))
6603 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))
6604 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))
6605 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))
6606 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))
6607 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))
6608 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))
6611 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6612 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6613 Private Sub InitConnection()
6614 Me._connection = New Global.System.Data.OleDb.OleDbConnection()
6615 Me._connection.ConnectionString = Global.NEA.MySettings.Default.NEAConnectionString_accdb
6618 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6619 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6620 Private Sub InitCommandCollection()
6621 Me._commandCollection = New Global.System.Data.OleDb.OleDbCommand(0) {}
6622 Me._commandCollection(0) = New Global.System.Data.OleDb.OleDbCommand()
6623 Me._commandCollection(0).Connection = Me.Connection
6624 Me._commandCollection(0).CommandText = "SELECT ID, FriendID, UserID FROM Friends"
6625 Me._commandCollection(0).CommandType = Global.System.Data.CommandType.Text
6628 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6629 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
6630 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
6631 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Fill, true)> _
6632 Public Overloads Overridable Function Fill(ByVal dataTable As NEADataSet.FriendsDataTable) As Integer
6633 Me.Adapter.SelectCommand = Me.CommandCollection(0)
6634 If (Me.ClearBeforeFill = true) Then
6637 Dim returnValue As Integer = Me.Adapter.Fill(dataTable)
6641 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6642 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
6643 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
6644 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.[Select], true)> _
6645 Public Overloads Overridable Function GetData() As NEADataSet.FriendsDataTable
6646 Me.Adapter.SelectCommand = Me.CommandCollection(0)
6647 Dim dataTable As NEADataSet.FriendsDataTable = New NEADataSet.FriendsDataTable()
6648 Me.Adapter.Fill(dataTable)
6652 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6653 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
6654 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
6655 Public Overloads Overridable Function Update(ByVal dataTable As NEADataSet.FriendsDataTable) As Integer
6656 Return Me.Adapter.Update(dataTable)
6659 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6660 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
6661 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
6662 Public Overloads Overridable Function Update(ByVal dataSet As NEADataSet) As Integer
6663 Return Me.Adapter.Update(dataSet, "Friends")
6666 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6667 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
6668 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
6669 Public Overloads Overridable Function Update(ByVal dataRow As Global.System.Data.DataRow) As Integer
6670 Return Me.Adapter.Update(New Global.System.Data.DataRow() {dataRow})
6673 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6674 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
6675 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
6676 Public Overloads Overridable Function Update(ByVal dataRows() As Global.System.Data.DataRow) As Integer
6677 Return Me.Adapter.Update(dataRows)
6680 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6681 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
6682 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
6683 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Delete, true)> _
6684 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
6685 Me.Adapter.DeleteCommand.Parameters(0).Value = CType(Original_ID,Integer)
6686 Me.Adapter.DeleteCommand.Parameters(1).Value = CType(0,Object)
6687 Me.Adapter.DeleteCommand.Parameters(2).Value = CType(Original_FriendID,Integer)
6688 If (Original_UserID.HasValue = true) Then
6689 Me.Adapter.DeleteCommand.Parameters(3).Value = CType(0,Object)
6690 Me.Adapter.DeleteCommand.Parameters(4).Value = CType(Original_UserID.Value,Integer)
6692 Me.Adapter.DeleteCommand.Parameters(3).Value = CType(1,Object)
6693 Me.Adapter.DeleteCommand.Parameters(4).Value = Global.System.DBNull.Value
6695 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.DeleteCommand.Connection.State
6696 If ((Me.Adapter.DeleteCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
6697 <> Global.System.Data.ConnectionState.Open) Then
6698 Me.Adapter.DeleteCommand.Connection.Open
6701 Dim returnValue As Integer = Me.Adapter.DeleteCommand.ExecuteNonQuery
6704 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
6705 Me.Adapter.DeleteCommand.Connection.Close
6710 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6711 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
6712 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
6713 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Insert, true)> _
6714 Public Overloads Overridable Function Insert(ByVal FriendID As Integer, ByVal UserID As Global.System.Nullable(Of Integer)) As Integer
6715 Me.Adapter.InsertCommand.Parameters(0).Value = CType(FriendID,Integer)
6716 If (UserID.HasValue = true) Then
6717 Me.Adapter.InsertCommand.Parameters(1).Value = CType(UserID.Value,Integer)
6719 Me.Adapter.InsertCommand.Parameters(1).Value = Global.System.DBNull.Value
6721 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.InsertCommand.Connection.State
6722 If ((Me.Adapter.InsertCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
6723 <> Global.System.Data.ConnectionState.Open) Then
6724 Me.Adapter.InsertCommand.Connection.Open
6727 Dim returnValue As Integer = Me.Adapter.InsertCommand.ExecuteNonQuery
6730 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
6731 Me.Adapter.InsertCommand.Connection.Close
6736 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6737 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
6738 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
6739 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Update, true)> _
6740 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
6741 Me.Adapter.UpdateCommand.Parameters(0).Value = CType(FriendID,Integer)
6742 If (UserID.HasValue = true) Then
6743 Me.Adapter.UpdateCommand.Parameters(1).Value = CType(UserID.Value,Integer)
6745 Me.Adapter.UpdateCommand.Parameters(1).Value = Global.System.DBNull.Value
6747 Me.Adapter.UpdateCommand.Parameters(2).Value = CType(Original_ID,Integer)
6748 Me.Adapter.UpdateCommand.Parameters(3).Value = CType(0,Object)
6749 Me.Adapter.UpdateCommand.Parameters(4).Value = CType(Original_FriendID,Integer)
6750 If (Original_UserID.HasValue = true) Then
6751 Me.Adapter.UpdateCommand.Parameters(5).Value = CType(0,Object)
6752 Me.Adapter.UpdateCommand.Parameters(6).Value = CType(Original_UserID.Value,Integer)
6754 Me.Adapter.UpdateCommand.Parameters(5).Value = CType(1,Object)
6755 Me.Adapter.UpdateCommand.Parameters(6).Value = Global.System.DBNull.Value
6757 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.UpdateCommand.Connection.State
6758 If ((Me.Adapter.UpdateCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
6759 <> Global.System.Data.ConnectionState.Open) Then
6760 Me.Adapter.UpdateCommand.Connection.Open
6763 Dim returnValue As Integer = Me.Adapter.UpdateCommand.ExecuteNonQuery
6766 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
6767 Me.Adapter.UpdateCommand.Connection.Close
6774 '''Represents the connection and commands used to retrieve and save data.
6776 <Global.System.ComponentModel.DesignerCategoryAttribute("code"), _
6777 Global.System.ComponentModel.ToolboxItem(true), _
6778 Global.System.ComponentModel.DataObjectAttribute(true), _
6779 Global.System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner"& _
6780 ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"), _
6781 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
6782 Partial Public Class GamesTableAdapter
6783 Inherits Global.System.ComponentModel.Component
6785 Private WithEvents _adapter As Global.System.Data.OleDb.OleDbDataAdapter
6787 Private _connection As Global.System.Data.OleDb.OleDbConnection
6789 Private _transaction As Global.System.Data.OleDb.OleDbTransaction
6791 Private _commandCollection() As Global.System.Data.OleDb.OleDbCommand
6793 Private _clearBeforeFill As Boolean
6795 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6796 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6799 Me.ClearBeforeFill = true
6802 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6803 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6804 Protected Friend ReadOnly Property Adapter() As Global.System.Data.OleDb.OleDbDataAdapter
6806 If (Me._adapter Is Nothing) Then
6813 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6814 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6815 Friend Property Connection() As Global.System.Data.OleDb.OleDbConnection
6817 If (Me._connection Is Nothing) Then
6820 Return Me._connection
6823 Me._connection = value
6824 If (Not (Me.Adapter.InsertCommand) Is Nothing) Then
6825 Me.Adapter.InsertCommand.Connection = value
6827 If (Not (Me.Adapter.DeleteCommand) Is Nothing) Then
6828 Me.Adapter.DeleteCommand.Connection = value
6830 If (Not (Me.Adapter.UpdateCommand) Is Nothing) Then
6831 Me.Adapter.UpdateCommand.Connection = value
6833 Dim i As Integer = 0
6834 Do While (i < Me.CommandCollection.Length)
6835 If (Not (Me.CommandCollection(i)) Is Nothing) Then
6836 CType(Me.CommandCollection(i),Global.System.Data.OleDb.OleDbCommand).Connection = value
6843 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6844 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6845 Friend Property Transaction() As Global.System.Data.OleDb.OleDbTransaction
6847 Return Me._transaction
6850 Me._transaction = value
6851 Dim i As Integer = 0
6852 Do While (i < Me.CommandCollection.Length)
6853 Me.CommandCollection(i).Transaction = Me._transaction
6856 If ((Not (Me.Adapter) Is Nothing) _
6857 AndAlso (Not (Me.Adapter.DeleteCommand) Is Nothing)) Then
6858 Me.Adapter.DeleteCommand.Transaction = Me._transaction
6860 If ((Not (Me.Adapter) Is Nothing) _
6861 AndAlso (Not (Me.Adapter.InsertCommand) Is Nothing)) Then
6862 Me.Adapter.InsertCommand.Transaction = Me._transaction
6864 If ((Not (Me.Adapter) Is Nothing) _
6865 AndAlso (Not (Me.Adapter.UpdateCommand) Is Nothing)) Then
6866 Me.Adapter.UpdateCommand.Transaction = Me._transaction
6871 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6872 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6873 Protected ReadOnly Property CommandCollection() As Global.System.Data.OleDb.OleDbCommand()
6875 If (Me._commandCollection Is Nothing) Then
6876 Me.InitCommandCollection
6878 Return Me._commandCollection
6882 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6883 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6884 Public Property ClearBeforeFill() As Boolean
6886 Return Me._clearBeforeFill
6889 Me._clearBeforeFill = value
6893 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6894 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6895 Private Sub InitAdapter()
6896 Me._adapter = New Global.System.Data.OleDb.OleDbDataAdapter()
6897 Dim tableMapping As Global.System.Data.Common.DataTableMapping = New Global.System.Data.Common.DataTableMapping()
6898 tableMapping.SourceTable = "Table"
6899 tableMapping.DataSetTable = "Games"
6900 tableMapping.ColumnMappings.Add("GameID", "GameID")
6901 tableMapping.ColumnMappings.Add("Name", "Name")
6902 tableMapping.ColumnMappings.Add("Price", "Price")
6903 tableMapping.ColumnMappings.Add("Rating", "Rating")
6904 tableMapping.ColumnMappings.Add("Certificate", "Certificate")
6905 tableMapping.ColumnMappings.Add("Dev", "Dev")
6906 tableMapping.ColumnMappings.Add("Publisher", "Publisher")
6907 tableMapping.ColumnMappings.Add("Icon", "Icon")
6908 tableMapping.ColumnMappings.Add("Tags", "Tags")
6909 tableMapping.ColumnMappings.Add("Theme Colour", "Theme Colour")
6910 Me._adapter.TableMappings.Add(tableMapping)
6911 Me._adapter.DeleteCommand = New Global.System.Data.OleDb.OleDbCommand()
6912 Me._adapter.DeleteCommand.Connection = Me.Connection
6913 Me._adapter.DeleteCommand.CommandText = "DELETE FROM `Games` WHERE ((`GameID` = ?) AND ((? = 1 AND `Price` IS NULL) OR (`P"& _
6914 "rice` = ?)) AND ((? = 1 AND `Rating` IS NULL) OR (`Rating` = ?)) AND ((? = 1 AND"& _
6915 " `Certificate` IS NULL) OR (`Certificate` = ?)) AND ((? = 1 AND `Theme Colour` I"& _
6916 "S NULL) OR (`Theme Colour` = ?)))"
6917 Me._adapter.DeleteCommand.CommandType = Global.System.Data.CommandType.Text
6918 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))
6919 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))
6920 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))
6921 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))
6922 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))
6923 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))
6924 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))
6925 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))
6926 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))
6927 Me._adapter.InsertCommand = New Global.System.Data.OleDb.OleDbCommand()
6928 Me._adapter.InsertCommand.Connection = Me.Connection
6929 Me._adapter.InsertCommand.CommandText = "INSERT INTO `Games` (`Name`, `Price`, `Rating`, `Certificate`, `Dev`, `Publisher`"& _
6930 ", `Icon`, `Tags`, `Theme Colour`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)"
6931 Me._adapter.InsertCommand.CommandType = Global.System.Data.CommandType.Text
6932 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))
6933 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))
6934 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))
6935 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))
6936 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))
6937 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))
6938 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))
6939 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))
6940 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))
6941 Me._adapter.UpdateCommand = New Global.System.Data.OleDb.OleDbCommand()
6942 Me._adapter.UpdateCommand.Connection = Me.Connection
6943 Me._adapter.UpdateCommand.CommandText = "UPDATE `Games` SET `Name` = ?, `Price` = ?, `Rating` = ?, `Certificate` = ?, `Dev"& _
6944 "` = ?, `Publisher` = ?, `Icon` = ?, `Tags` = ?, `Theme Colour` = ? WHERE ((`Game"& _
6945 "ID` = ?) AND ((? = 1 AND `Price` IS NULL) OR (`Price` = ?)) AND ((? = 1 AND `Rat"& _
6946 "ing` IS NULL) OR (`Rating` = ?)) AND ((? = 1 AND `Certificate` IS NULL) OR (`Cer"& _
6947 "tificate` = ?)) AND ((? = 1 AND `Theme Colour` IS NULL) OR (`Theme Colour` = ?))"& _
6949 Me._adapter.UpdateCommand.CommandType = Global.System.Data.CommandType.Text
6950 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))
6951 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))
6952 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))
6953 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))
6954 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))
6955 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))
6956 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))
6957 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))
6958 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))
6959 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))
6960 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))
6961 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))
6962 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))
6963 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))
6964 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))
6965 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))
6966 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))
6967 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))
6970 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6971 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6972 Private Sub InitConnection()
6973 Me._connection = New Global.System.Data.OleDb.OleDbConnection()
6974 Me._connection.ConnectionString = Global.NEA.MySettings.Default.NEAConnectionString_accdb
6977 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6978 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
6979 Private Sub InitCommandCollection()
6980 Me._commandCollection = New Global.System.Data.OleDb.OleDbCommand(0) {}
6981 Me._commandCollection(0) = New Global.System.Data.OleDb.OleDbCommand()
6982 Me._commandCollection(0).Connection = Me.Connection
6983 Me._commandCollection(0).CommandText = "SELECT GameID, Name, Price, Rating, Certificate, Dev, Publisher, Icon, Tags, [The"& _
6984 "me Colour] FROM Games"
6985 Me._commandCollection(0).CommandType = Global.System.Data.CommandType.Text
6988 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
6989 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
6990 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
6991 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Fill, true)> _
6992 Public Overloads Overridable Function Fill(ByVal dataTable As NEADataSet.GamesDataTable) As Integer
6993 Me.Adapter.SelectCommand = Me.CommandCollection(0)
6994 If (Me.ClearBeforeFill = true) Then
6997 Dim returnValue As Integer = Me.Adapter.Fill(dataTable)
7001 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7002 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7003 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
7004 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.[Select], true)> _
7005 Public Overloads Overridable Function GetData() As NEADataSet.GamesDataTable
7006 Me.Adapter.SelectCommand = Me.CommandCollection(0)
7007 Dim dataTable As NEADataSet.GamesDataTable = New NEADataSet.GamesDataTable()
7008 Me.Adapter.Fill(dataTable)
7012 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7013 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7014 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
7015 Public Overloads Overridable Function Update(ByVal dataTable As NEADataSet.GamesDataTable) As Integer
7016 Return Me.Adapter.Update(dataTable)
7019 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7020 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7021 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
7022 Public Overloads Overridable Function Update(ByVal dataSet As NEADataSet) As Integer
7023 Return Me.Adapter.Update(dataSet, "Games")
7026 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7027 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7028 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
7029 Public Overloads Overridable Function Update(ByVal dataRow As Global.System.Data.DataRow) As Integer
7030 Return Me.Adapter.Update(New Global.System.Data.DataRow() {dataRow})
7033 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7034 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7035 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
7036 Public Overloads Overridable Function Update(ByVal dataRows() As Global.System.Data.DataRow) As Integer
7037 Return Me.Adapter.Update(dataRows)
7040 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7041 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7042 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
7043 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Delete, true)> _
7044 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
7045 Me.Adapter.DeleteCommand.Parameters(0).Value = CType(Original_GameID,Integer)
7046 If (Original_Price.HasValue = true) Then
7047 Me.Adapter.DeleteCommand.Parameters(1).Value = CType(0,Object)
7048 Me.Adapter.DeleteCommand.Parameters(2).Value = CType(Original_Price.Value,Decimal)
7050 Me.Adapter.DeleteCommand.Parameters(1).Value = CType(1,Object)
7051 Me.Adapter.DeleteCommand.Parameters(2).Value = Global.System.DBNull.Value
7053 If (Original_Rating.HasValue = true) Then
7054 Me.Adapter.DeleteCommand.Parameters(3).Value = CType(0,Object)
7055 Me.Adapter.DeleteCommand.Parameters(4).Value = CType(Original_Rating.Value,Integer)
7057 Me.Adapter.DeleteCommand.Parameters(3).Value = CType(1,Object)
7058 Me.Adapter.DeleteCommand.Parameters(4).Value = Global.System.DBNull.Value
7060 If (Original_Certificate.HasValue = true) Then
7061 Me.Adapter.DeleteCommand.Parameters(5).Value = CType(0,Object)
7062 Me.Adapter.DeleteCommand.Parameters(6).Value = CType(Original_Certificate.Value,Integer)
7064 Me.Adapter.DeleteCommand.Parameters(5).Value = CType(1,Object)
7065 Me.Adapter.DeleteCommand.Parameters(6).Value = Global.System.DBNull.Value
7067 If (Original_Theme_Colour.HasValue = true) Then
7068 Me.Adapter.DeleteCommand.Parameters(7).Value = CType(0,Object)
7069 Me.Adapter.DeleteCommand.Parameters(8).Value = CType(Original_Theme_Colour.Value,Integer)
7071 Me.Adapter.DeleteCommand.Parameters(7).Value = CType(1,Object)
7072 Me.Adapter.DeleteCommand.Parameters(8).Value = Global.System.DBNull.Value
7074 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.DeleteCommand.Connection.State
7075 If ((Me.Adapter.DeleteCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
7076 <> Global.System.Data.ConnectionState.Open) Then
7077 Me.Adapter.DeleteCommand.Connection.Open
7080 Dim returnValue As Integer = Me.Adapter.DeleteCommand.ExecuteNonQuery
7083 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
7084 Me.Adapter.DeleteCommand.Connection.Close
7089 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7090 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7091 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
7092 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Insert, true)> _
7093 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
7094 If (Name Is Nothing) Then
7095 Me.Adapter.InsertCommand.Parameters(0).Value = Global.System.DBNull.Value
7097 Me.Adapter.InsertCommand.Parameters(0).Value = CType(Name,String)
7099 If (Price.HasValue = true) Then
7100 Me.Adapter.InsertCommand.Parameters(1).Value = CType(Price.Value,Decimal)
7102 Me.Adapter.InsertCommand.Parameters(1).Value = Global.System.DBNull.Value
7104 If (Rating.HasValue = true) Then
7105 Me.Adapter.InsertCommand.Parameters(2).Value = CType(Rating.Value,Integer)
7107 Me.Adapter.InsertCommand.Parameters(2).Value = Global.System.DBNull.Value
7109 If (Certificate.HasValue = true) Then
7110 Me.Adapter.InsertCommand.Parameters(3).Value = CType(Certificate.Value,Integer)
7112 Me.Adapter.InsertCommand.Parameters(3).Value = Global.System.DBNull.Value
7114 If (Dev Is Nothing) Then
7115 Me.Adapter.InsertCommand.Parameters(4).Value = Global.System.DBNull.Value
7117 Me.Adapter.InsertCommand.Parameters(4).Value = CType(Dev,String)
7119 If (Publisher Is Nothing) Then
7120 Me.Adapter.InsertCommand.Parameters(5).Value = Global.System.DBNull.Value
7122 Me.Adapter.InsertCommand.Parameters(5).Value = CType(Publisher,String)
7124 If (Icon Is Nothing) Then
7125 Me.Adapter.InsertCommand.Parameters(6).Value = Global.System.DBNull.Value
7127 Me.Adapter.InsertCommand.Parameters(6).Value = CType(Icon,String)
7129 If (Tags Is Nothing) Then
7130 Me.Adapter.InsertCommand.Parameters(7).Value = Global.System.DBNull.Value
7132 Me.Adapter.InsertCommand.Parameters(7).Value = CType(Tags,String)
7134 If (Theme_Colour.HasValue = true) Then
7135 Me.Adapter.InsertCommand.Parameters(8).Value = CType(Theme_Colour.Value,Integer)
7137 Me.Adapter.InsertCommand.Parameters(8).Value = Global.System.DBNull.Value
7139 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.InsertCommand.Connection.State
7140 If ((Me.Adapter.InsertCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
7141 <> Global.System.Data.ConnectionState.Open) Then
7142 Me.Adapter.InsertCommand.Connection.Open
7145 Dim returnValue As Integer = Me.Adapter.InsertCommand.ExecuteNonQuery
7148 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
7149 Me.Adapter.InsertCommand.Connection.Close
7154 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7155 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7156 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
7157 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Update, true)> _
7158 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
7159 If (Name Is Nothing) Then
7160 Me.Adapter.UpdateCommand.Parameters(0).Value = Global.System.DBNull.Value
7162 Me.Adapter.UpdateCommand.Parameters(0).Value = CType(Name,String)
7164 If (Price.HasValue = true) Then
7165 Me.Adapter.UpdateCommand.Parameters(1).Value = CType(Price.Value,Decimal)
7167 Me.Adapter.UpdateCommand.Parameters(1).Value = Global.System.DBNull.Value
7169 If (Rating.HasValue = true) Then
7170 Me.Adapter.UpdateCommand.Parameters(2).Value = CType(Rating.Value,Integer)
7172 Me.Adapter.UpdateCommand.Parameters(2).Value = Global.System.DBNull.Value
7174 If (Certificate.HasValue = true) Then
7175 Me.Adapter.UpdateCommand.Parameters(3).Value = CType(Certificate.Value,Integer)
7177 Me.Adapter.UpdateCommand.Parameters(3).Value = Global.System.DBNull.Value
7179 If (Dev Is Nothing) Then
7180 Me.Adapter.UpdateCommand.Parameters(4).Value = Global.System.DBNull.Value
7182 Me.Adapter.UpdateCommand.Parameters(4).Value = CType(Dev,String)
7184 If (Publisher Is Nothing) Then
7185 Me.Adapter.UpdateCommand.Parameters(5).Value = Global.System.DBNull.Value
7187 Me.Adapter.UpdateCommand.Parameters(5).Value = CType(Publisher,String)
7189 If (Icon Is Nothing) Then
7190 Me.Adapter.UpdateCommand.Parameters(6).Value = Global.System.DBNull.Value
7192 Me.Adapter.UpdateCommand.Parameters(6).Value = CType(Icon,String)
7194 If (Tags Is Nothing) Then
7195 Me.Adapter.UpdateCommand.Parameters(7).Value = Global.System.DBNull.Value
7197 Me.Adapter.UpdateCommand.Parameters(7).Value = CType(Tags,String)
7199 If (Theme_Colour.HasValue = true) Then
7200 Me.Adapter.UpdateCommand.Parameters(8).Value = CType(Theme_Colour.Value,Integer)
7202 Me.Adapter.UpdateCommand.Parameters(8).Value = Global.System.DBNull.Value
7204 Me.Adapter.UpdateCommand.Parameters(9).Value = CType(Original_GameID,Integer)
7205 If (Original_Price.HasValue = true) Then
7206 Me.Adapter.UpdateCommand.Parameters(10).Value = CType(0,Object)
7207 Me.Adapter.UpdateCommand.Parameters(11).Value = CType(Original_Price.Value,Decimal)
7209 Me.Adapter.UpdateCommand.Parameters(10).Value = CType(1,Object)
7210 Me.Adapter.UpdateCommand.Parameters(11).Value = Global.System.DBNull.Value
7212 If (Original_Rating.HasValue = true) Then
7213 Me.Adapter.UpdateCommand.Parameters(12).Value = CType(0,Object)
7214 Me.Adapter.UpdateCommand.Parameters(13).Value = CType(Original_Rating.Value,Integer)
7216 Me.Adapter.UpdateCommand.Parameters(12).Value = CType(1,Object)
7217 Me.Adapter.UpdateCommand.Parameters(13).Value = Global.System.DBNull.Value
7219 If (Original_Certificate.HasValue = true) Then
7220 Me.Adapter.UpdateCommand.Parameters(14).Value = CType(0,Object)
7221 Me.Adapter.UpdateCommand.Parameters(15).Value = CType(Original_Certificate.Value,Integer)
7223 Me.Adapter.UpdateCommand.Parameters(14).Value = CType(1,Object)
7224 Me.Adapter.UpdateCommand.Parameters(15).Value = Global.System.DBNull.Value
7226 If (Original_Theme_Colour.HasValue = true) Then
7227 Me.Adapter.UpdateCommand.Parameters(16).Value = CType(0,Object)
7228 Me.Adapter.UpdateCommand.Parameters(17).Value = CType(Original_Theme_Colour.Value,Integer)
7230 Me.Adapter.UpdateCommand.Parameters(16).Value = CType(1,Object)
7231 Me.Adapter.UpdateCommand.Parameters(17).Value = Global.System.DBNull.Value
7233 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.UpdateCommand.Connection.State
7234 If ((Me.Adapter.UpdateCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
7235 <> Global.System.Data.ConnectionState.Open) Then
7236 Me.Adapter.UpdateCommand.Connection.Open
7239 Dim returnValue As Integer = Me.Adapter.UpdateCommand.ExecuteNonQuery
7242 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
7243 Me.Adapter.UpdateCommand.Connection.Close
7250 '''Represents the connection and commands used to retrieve and save data.
7252 <Global.System.ComponentModel.DesignerCategoryAttribute("code"), _
7253 Global.System.ComponentModel.ToolboxItem(true), _
7254 Global.System.ComponentModel.DataObjectAttribute(true), _
7255 Global.System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner"& _
7256 ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"), _
7257 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
7258 Partial Public Class PurchasedTableAdapter
7259 Inherits Global.System.ComponentModel.Component
7261 Private WithEvents _adapter As Global.System.Data.OleDb.OleDbDataAdapter
7263 Private _connection As Global.System.Data.OleDb.OleDbConnection
7265 Private _transaction As Global.System.Data.OleDb.OleDbTransaction
7267 Private _commandCollection() As Global.System.Data.OleDb.OleDbCommand
7269 Private _clearBeforeFill As Boolean
7271 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7272 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7275 Me.ClearBeforeFill = true
7278 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7279 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7280 Protected Friend ReadOnly Property Adapter() As Global.System.Data.OleDb.OleDbDataAdapter
7282 If (Me._adapter Is Nothing) Then
7289 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7290 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7291 Friend Property Connection() As Global.System.Data.OleDb.OleDbConnection
7293 If (Me._connection Is Nothing) Then
7296 Return Me._connection
7299 Me._connection = value
7300 If (Not (Me.Adapter.InsertCommand) Is Nothing) Then
7301 Me.Adapter.InsertCommand.Connection = value
7303 If (Not (Me.Adapter.DeleteCommand) Is Nothing) Then
7304 Me.Adapter.DeleteCommand.Connection = value
7306 If (Not (Me.Adapter.UpdateCommand) Is Nothing) Then
7307 Me.Adapter.UpdateCommand.Connection = value
7309 Dim i As Integer = 0
7310 Do While (i < Me.CommandCollection.Length)
7311 If (Not (Me.CommandCollection(i)) Is Nothing) Then
7312 CType(Me.CommandCollection(i),Global.System.Data.OleDb.OleDbCommand).Connection = value
7319 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7320 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7321 Friend Property Transaction() As Global.System.Data.OleDb.OleDbTransaction
7323 Return Me._transaction
7326 Me._transaction = value
7327 Dim i As Integer = 0
7328 Do While (i < Me.CommandCollection.Length)
7329 Me.CommandCollection(i).Transaction = Me._transaction
7332 If ((Not (Me.Adapter) Is Nothing) _
7333 AndAlso (Not (Me.Adapter.DeleteCommand) Is Nothing)) Then
7334 Me.Adapter.DeleteCommand.Transaction = Me._transaction
7336 If ((Not (Me.Adapter) Is Nothing) _
7337 AndAlso (Not (Me.Adapter.InsertCommand) Is Nothing)) Then
7338 Me.Adapter.InsertCommand.Transaction = Me._transaction
7340 If ((Not (Me.Adapter) Is Nothing) _
7341 AndAlso (Not (Me.Adapter.UpdateCommand) Is Nothing)) Then
7342 Me.Adapter.UpdateCommand.Transaction = Me._transaction
7347 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7348 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7349 Protected ReadOnly Property CommandCollection() As Global.System.Data.OleDb.OleDbCommand()
7351 If (Me._commandCollection Is Nothing) Then
7352 Me.InitCommandCollection
7354 Return Me._commandCollection
7358 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7359 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7360 Public Property ClearBeforeFill() As Boolean
7362 Return Me._clearBeforeFill
7365 Me._clearBeforeFill = value
7369 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7370 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7371 Private Sub InitAdapter()
7372 Me._adapter = New Global.System.Data.OleDb.OleDbDataAdapter()
7373 Dim tableMapping As Global.System.Data.Common.DataTableMapping = New Global.System.Data.Common.DataTableMapping()
7374 tableMapping.SourceTable = "Table"
7375 tableMapping.DataSetTable = "Purchased"
7376 tableMapping.ColumnMappings.Add("PurchaseID", "PurchaseID")
7377 tableMapping.ColumnMappings.Add("UserID", "UserID")
7378 tableMapping.ColumnMappings.Add("GameID", "GameID")
7379 Me._adapter.TableMappings.Add(tableMapping)
7380 Me._adapter.DeleteCommand = New Global.System.Data.OleDb.OleDbCommand()
7381 Me._adapter.DeleteCommand.Connection = Me.Connection
7382 Me._adapter.DeleteCommand.CommandText = "DELETE FROM `Purchased` WHERE ((`PurchaseID` = ?) AND ((? = 1 AND `UserID` IS NUL"& _
7383 "L) OR (`UserID` = ?)) AND ((? = 1 AND `GameID` IS NULL) OR (`GameID` = ?)))"
7384 Me._adapter.DeleteCommand.CommandType = Global.System.Data.CommandType.Text
7385 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))
7386 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))
7387 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))
7388 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))
7389 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))
7390 Me._adapter.InsertCommand = New Global.System.Data.OleDb.OleDbCommand()
7391 Me._adapter.InsertCommand.Connection = Me.Connection
7392 Me._adapter.InsertCommand.CommandText = "INSERT INTO `Purchased` (`UserID`, `GameID`) VALUES (?, ?)"
7393 Me._adapter.InsertCommand.CommandType = Global.System.Data.CommandType.Text
7394 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))
7395 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))
7396 Me._adapter.UpdateCommand = New Global.System.Data.OleDb.OleDbCommand()
7397 Me._adapter.UpdateCommand.Connection = Me.Connection
7398 Me._adapter.UpdateCommand.CommandText = "UPDATE `Purchased` SET `UserID` = ?, `GameID` = ? WHERE ((`PurchaseID` = ?) AND ("& _
7399 "(? = 1 AND `UserID` IS NULL) OR (`UserID` = ?)) AND ((? = 1 AND `GameID` IS NULL"& _
7400 ") OR (`GameID` = ?)))"
7401 Me._adapter.UpdateCommand.CommandType = Global.System.Data.CommandType.Text
7402 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))
7403 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))
7404 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))
7405 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))
7406 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))
7407 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))
7408 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))
7411 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7412 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7413 Private Sub InitConnection()
7414 Me._connection = New Global.System.Data.OleDb.OleDbConnection()
7415 Me._connection.ConnectionString = Global.NEA.MySettings.Default.NEAConnectionString_accdb
7418 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7419 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7420 Private Sub InitCommandCollection()
7421 Me._commandCollection = New Global.System.Data.OleDb.OleDbCommand(0) {}
7422 Me._commandCollection(0) = New Global.System.Data.OleDb.OleDbCommand()
7423 Me._commandCollection(0).Connection = Me.Connection
7424 Me._commandCollection(0).CommandText = "SELECT PurchaseID, UserID, GameID FROM Purchased"
7425 Me._commandCollection(0).CommandType = Global.System.Data.CommandType.Text
7428 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7429 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7430 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
7431 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Fill, true)> _
7432 Public Overloads Overridable Function Fill(ByVal dataTable As NEADataSet.PurchasedDataTable) As Integer
7433 Me.Adapter.SelectCommand = Me.CommandCollection(0)
7434 If (Me.ClearBeforeFill = true) Then
7437 Dim returnValue As Integer = Me.Adapter.Fill(dataTable)
7441 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7442 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7443 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
7444 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.[Select], true)> _
7445 Public Overloads Overridable Function GetData() As NEADataSet.PurchasedDataTable
7446 Me.Adapter.SelectCommand = Me.CommandCollection(0)
7447 Dim dataTable As NEADataSet.PurchasedDataTable = New NEADataSet.PurchasedDataTable()
7448 Me.Adapter.Fill(dataTable)
7452 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7453 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7454 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
7455 Public Overloads Overridable Function Update(ByVal dataTable As NEADataSet.PurchasedDataTable) As Integer
7456 Return Me.Adapter.Update(dataTable)
7459 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7460 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7461 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
7462 Public Overloads Overridable Function Update(ByVal dataSet As NEADataSet) As Integer
7463 Return Me.Adapter.Update(dataSet, "Purchased")
7466 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7467 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7468 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
7469 Public Overloads Overridable Function Update(ByVal dataRow As Global.System.Data.DataRow) As Integer
7470 Return Me.Adapter.Update(New Global.System.Data.DataRow() {dataRow})
7473 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7474 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7475 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
7476 Public Overloads Overridable Function Update(ByVal dataRows() As Global.System.Data.DataRow) As Integer
7477 Return Me.Adapter.Update(dataRows)
7480 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7481 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7482 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
7483 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Delete, true)> _
7484 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
7485 Me.Adapter.DeleteCommand.Parameters(0).Value = CType(Original_PurchaseID,Integer)
7486 If (Original_UserID.HasValue = true) Then
7487 Me.Adapter.DeleteCommand.Parameters(1).Value = CType(0,Object)
7488 Me.Adapter.DeleteCommand.Parameters(2).Value = CType(Original_UserID.Value,Integer)
7490 Me.Adapter.DeleteCommand.Parameters(1).Value = CType(1,Object)
7491 Me.Adapter.DeleteCommand.Parameters(2).Value = Global.System.DBNull.Value
7493 If (Original_GameID.HasValue = true) Then
7494 Me.Adapter.DeleteCommand.Parameters(3).Value = CType(0,Object)
7495 Me.Adapter.DeleteCommand.Parameters(4).Value = CType(Original_GameID.Value,Integer)
7497 Me.Adapter.DeleteCommand.Parameters(3).Value = CType(1,Object)
7498 Me.Adapter.DeleteCommand.Parameters(4).Value = Global.System.DBNull.Value
7500 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.DeleteCommand.Connection.State
7501 If ((Me.Adapter.DeleteCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
7502 <> Global.System.Data.ConnectionState.Open) Then
7503 Me.Adapter.DeleteCommand.Connection.Open
7506 Dim returnValue As Integer = Me.Adapter.DeleteCommand.ExecuteNonQuery
7509 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
7510 Me.Adapter.DeleteCommand.Connection.Close
7515 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7516 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7517 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
7518 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Insert, true)> _
7519 Public Overloads Overridable Function Insert(ByVal UserID As Global.System.Nullable(Of Integer), ByVal GameID As Global.System.Nullable(Of Integer)) As Integer
7520 If (UserID.HasValue = true) Then
7521 Me.Adapter.InsertCommand.Parameters(0).Value = CType(UserID.Value,Integer)
7523 Me.Adapter.InsertCommand.Parameters(0).Value = Global.System.DBNull.Value
7525 If (GameID.HasValue = true) Then
7526 Me.Adapter.InsertCommand.Parameters(1).Value = CType(GameID.Value,Integer)
7528 Me.Adapter.InsertCommand.Parameters(1).Value = Global.System.DBNull.Value
7530 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.InsertCommand.Connection.State
7531 If ((Me.Adapter.InsertCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
7532 <> Global.System.Data.ConnectionState.Open) Then
7533 Me.Adapter.InsertCommand.Connection.Open
7536 Dim returnValue As Integer = Me.Adapter.InsertCommand.ExecuteNonQuery
7539 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
7540 Me.Adapter.InsertCommand.Connection.Close
7545 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7546 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7547 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
7548 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Update, true)> _
7549 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
7550 If (UserID.HasValue = true) Then
7551 Me.Adapter.UpdateCommand.Parameters(0).Value = CType(UserID.Value,Integer)
7553 Me.Adapter.UpdateCommand.Parameters(0).Value = Global.System.DBNull.Value
7555 If (GameID.HasValue = true) Then
7556 Me.Adapter.UpdateCommand.Parameters(1).Value = CType(GameID.Value,Integer)
7558 Me.Adapter.UpdateCommand.Parameters(1).Value = Global.System.DBNull.Value
7560 Me.Adapter.UpdateCommand.Parameters(2).Value = CType(Original_PurchaseID,Integer)
7561 If (Original_UserID.HasValue = true) Then
7562 Me.Adapter.UpdateCommand.Parameters(3).Value = CType(0,Object)
7563 Me.Adapter.UpdateCommand.Parameters(4).Value = CType(Original_UserID.Value,Integer)
7565 Me.Adapter.UpdateCommand.Parameters(3).Value = CType(1,Object)
7566 Me.Adapter.UpdateCommand.Parameters(4).Value = Global.System.DBNull.Value
7568 If (Original_GameID.HasValue = true) Then
7569 Me.Adapter.UpdateCommand.Parameters(5).Value = CType(0,Object)
7570 Me.Adapter.UpdateCommand.Parameters(6).Value = CType(Original_GameID.Value,Integer)
7572 Me.Adapter.UpdateCommand.Parameters(5).Value = CType(1,Object)
7573 Me.Adapter.UpdateCommand.Parameters(6).Value = Global.System.DBNull.Value
7575 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.UpdateCommand.Connection.State
7576 If ((Me.Adapter.UpdateCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
7577 <> Global.System.Data.ConnectionState.Open) Then
7578 Me.Adapter.UpdateCommand.Connection.Open
7581 Dim returnValue As Integer = Me.Adapter.UpdateCommand.ExecuteNonQuery
7584 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
7585 Me.Adapter.UpdateCommand.Connection.Close
7592 '''Represents the connection and commands used to retrieve and save data.
7594 <Global.System.ComponentModel.DesignerCategoryAttribute("code"), _
7595 Global.System.ComponentModel.ToolboxItem(true), _
7596 Global.System.ComponentModel.DataObjectAttribute(true), _
7597 Global.System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner"& _
7598 ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"), _
7599 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
7600 Partial Public Class ReviewsTableAdapter
7601 Inherits Global.System.ComponentModel.Component
7603 Private WithEvents _adapter As Global.System.Data.OleDb.OleDbDataAdapter
7605 Private _connection As Global.System.Data.OleDb.OleDbConnection
7607 Private _transaction As Global.System.Data.OleDb.OleDbTransaction
7609 Private _commandCollection() As Global.System.Data.OleDb.OleDbCommand
7611 Private _clearBeforeFill As Boolean
7613 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7614 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7617 Me.ClearBeforeFill = true
7620 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7621 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7622 Protected Friend ReadOnly Property Adapter() As Global.System.Data.OleDb.OleDbDataAdapter
7624 If (Me._adapter Is Nothing) Then
7631 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7632 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7633 Friend Property Connection() As Global.System.Data.OleDb.OleDbConnection
7635 If (Me._connection Is Nothing) Then
7638 Return Me._connection
7641 Me._connection = value
7642 If (Not (Me.Adapter.InsertCommand) Is Nothing) Then
7643 Me.Adapter.InsertCommand.Connection = value
7645 If (Not (Me.Adapter.DeleteCommand) Is Nothing) Then
7646 Me.Adapter.DeleteCommand.Connection = value
7648 If (Not (Me.Adapter.UpdateCommand) Is Nothing) Then
7649 Me.Adapter.UpdateCommand.Connection = value
7651 Dim i As Integer = 0
7652 Do While (i < Me.CommandCollection.Length)
7653 If (Not (Me.CommandCollection(i)) Is Nothing) Then
7654 CType(Me.CommandCollection(i),Global.System.Data.OleDb.OleDbCommand).Connection = value
7661 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7662 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7663 Friend Property Transaction() As Global.System.Data.OleDb.OleDbTransaction
7665 Return Me._transaction
7668 Me._transaction = value
7669 Dim i As Integer = 0
7670 Do While (i < Me.CommandCollection.Length)
7671 Me.CommandCollection(i).Transaction = Me._transaction
7674 If ((Not (Me.Adapter) Is Nothing) _
7675 AndAlso (Not (Me.Adapter.DeleteCommand) Is Nothing)) Then
7676 Me.Adapter.DeleteCommand.Transaction = Me._transaction
7678 If ((Not (Me.Adapter) Is Nothing) _
7679 AndAlso (Not (Me.Adapter.InsertCommand) Is Nothing)) Then
7680 Me.Adapter.InsertCommand.Transaction = Me._transaction
7682 If ((Not (Me.Adapter) Is Nothing) _
7683 AndAlso (Not (Me.Adapter.UpdateCommand) Is Nothing)) Then
7684 Me.Adapter.UpdateCommand.Transaction = Me._transaction
7689 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7690 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7691 Protected ReadOnly Property CommandCollection() As Global.System.Data.OleDb.OleDbCommand()
7693 If (Me._commandCollection Is Nothing) Then
7694 Me.InitCommandCollection
7696 Return Me._commandCollection
7700 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7701 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7702 Public Property ClearBeforeFill() As Boolean
7704 Return Me._clearBeforeFill
7707 Me._clearBeforeFill = value
7711 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7712 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7713 Private Sub InitAdapter()
7714 Me._adapter = New Global.System.Data.OleDb.OleDbDataAdapter()
7715 Dim tableMapping As Global.System.Data.Common.DataTableMapping = New Global.System.Data.Common.DataTableMapping()
7716 tableMapping.SourceTable = "Table"
7717 tableMapping.DataSetTable = "Reviews"
7718 tableMapping.ColumnMappings.Add("ReviewID", "ReviewID")
7719 tableMapping.ColumnMappings.Add("GameID", "GameID")
7720 tableMapping.ColumnMappings.Add("Review", "Review")
7721 Me._adapter.TableMappings.Add(tableMapping)
7722 Me._adapter.DeleteCommand = New Global.System.Data.OleDb.OleDbCommand()
7723 Me._adapter.DeleteCommand.Connection = Me.Connection
7724 Me._adapter.DeleteCommand.CommandText = "DELETE FROM `Reviews` WHERE ((`ReviewID` = ?) AND ((? = 1 AND `GameID` IS NULL) O"& _
7725 "R (`GameID` = ?)))"
7726 Me._adapter.DeleteCommand.CommandType = Global.System.Data.CommandType.Text
7727 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))
7728 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))
7729 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))
7730 Me._adapter.InsertCommand = New Global.System.Data.OleDb.OleDbCommand()
7731 Me._adapter.InsertCommand.Connection = Me.Connection
7732 Me._adapter.InsertCommand.CommandText = "INSERT INTO `Reviews` (`GameID`, `Review`) VALUES (?, ?)"
7733 Me._adapter.InsertCommand.CommandType = Global.System.Data.CommandType.Text
7734 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))
7735 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))
7736 Me._adapter.UpdateCommand = New Global.System.Data.OleDb.OleDbCommand()
7737 Me._adapter.UpdateCommand.Connection = Me.Connection
7738 Me._adapter.UpdateCommand.CommandText = "UPDATE `Reviews` SET `GameID` = ?, `Review` = ? WHERE ((`ReviewID` = ?) AND ((? ="& _
7739 " 1 AND `GameID` IS NULL) OR (`GameID` = ?)))"
7740 Me._adapter.UpdateCommand.CommandType = Global.System.Data.CommandType.Text
7741 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))
7742 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))
7743 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))
7744 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))
7745 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))
7748 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7749 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7750 Private Sub InitConnection()
7751 Me._connection = New Global.System.Data.OleDb.OleDbConnection()
7752 Me._connection.ConnectionString = Global.NEA.MySettings.Default.NEAConnectionString_accdb
7755 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7756 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7757 Private Sub InitCommandCollection()
7758 Me._commandCollection = New Global.System.Data.OleDb.OleDbCommand(0) {}
7759 Me._commandCollection(0) = New Global.System.Data.OleDb.OleDbCommand()
7760 Me._commandCollection(0).Connection = Me.Connection
7761 Me._commandCollection(0).CommandText = "SELECT ReviewID, GameID, Review FROM Reviews"
7762 Me._commandCollection(0).CommandType = Global.System.Data.CommandType.Text
7765 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7766 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7767 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
7768 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Fill, true)> _
7769 Public Overloads Overridable Function Fill(ByVal dataTable As NEADataSet.ReviewsDataTable) As Integer
7770 Me.Adapter.SelectCommand = Me.CommandCollection(0)
7771 If (Me.ClearBeforeFill = true) Then
7774 Dim returnValue As Integer = Me.Adapter.Fill(dataTable)
7778 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7779 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7780 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
7781 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.[Select], true)> _
7782 Public Overloads Overridable Function GetData() As NEADataSet.ReviewsDataTable
7783 Me.Adapter.SelectCommand = Me.CommandCollection(0)
7784 Dim dataTable As NEADataSet.ReviewsDataTable = New NEADataSet.ReviewsDataTable()
7785 Me.Adapter.Fill(dataTable)
7789 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7790 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7791 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
7792 Public Overloads Overridable Function Update(ByVal dataTable As NEADataSet.ReviewsDataTable) As Integer
7793 Return Me.Adapter.Update(dataTable)
7796 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7797 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7798 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
7799 Public Overloads Overridable Function Update(ByVal dataSet As NEADataSet) As Integer
7800 Return Me.Adapter.Update(dataSet, "Reviews")
7803 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7804 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7805 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
7806 Public Overloads Overridable Function Update(ByVal dataRow As Global.System.Data.DataRow) As Integer
7807 Return Me.Adapter.Update(New Global.System.Data.DataRow() {dataRow})
7810 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7811 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7812 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
7813 Public Overloads Overridable Function Update(ByVal dataRows() As Global.System.Data.DataRow) As Integer
7814 Return Me.Adapter.Update(dataRows)
7817 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7818 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7819 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
7820 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Delete, true)> _
7821 Public Overloads Overridable Function Delete(ByVal Original_ReviewID As Integer, ByVal Original_GameID As Global.System.Nullable(Of Integer)) As Integer
7822 Me.Adapter.DeleteCommand.Parameters(0).Value = CType(Original_ReviewID,Integer)
7823 If (Original_GameID.HasValue = true) Then
7824 Me.Adapter.DeleteCommand.Parameters(1).Value = CType(0,Object)
7825 Me.Adapter.DeleteCommand.Parameters(2).Value = CType(Original_GameID.Value,Integer)
7827 Me.Adapter.DeleteCommand.Parameters(1).Value = CType(1,Object)
7828 Me.Adapter.DeleteCommand.Parameters(2).Value = Global.System.DBNull.Value
7830 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.DeleteCommand.Connection.State
7831 If ((Me.Adapter.DeleteCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
7832 <> Global.System.Data.ConnectionState.Open) Then
7833 Me.Adapter.DeleteCommand.Connection.Open
7836 Dim returnValue As Integer = Me.Adapter.DeleteCommand.ExecuteNonQuery
7839 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
7840 Me.Adapter.DeleteCommand.Connection.Close
7845 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7846 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7847 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
7848 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Insert, true)> _
7849 Public Overloads Overridable Function Insert(ByVal GameID As Global.System.Nullable(Of Integer), ByVal Review As String) As Integer
7850 If (GameID.HasValue = true) Then
7851 Me.Adapter.InsertCommand.Parameters(0).Value = CType(GameID.Value,Integer)
7853 Me.Adapter.InsertCommand.Parameters(0).Value = Global.System.DBNull.Value
7855 If (Review Is Nothing) Then
7856 Me.Adapter.InsertCommand.Parameters(1).Value = Global.System.DBNull.Value
7858 Me.Adapter.InsertCommand.Parameters(1).Value = CType(Review,String)
7860 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.InsertCommand.Connection.State
7861 If ((Me.Adapter.InsertCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
7862 <> Global.System.Data.ConnectionState.Open) Then
7863 Me.Adapter.InsertCommand.Connection.Open
7866 Dim returnValue As Integer = Me.Adapter.InsertCommand.ExecuteNonQuery
7869 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
7870 Me.Adapter.InsertCommand.Connection.Close
7875 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7876 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
7877 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
7878 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Update, true)> _
7879 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
7880 If (GameID.HasValue = true) Then
7881 Me.Adapter.UpdateCommand.Parameters(0).Value = CType(GameID.Value,Integer)
7883 Me.Adapter.UpdateCommand.Parameters(0).Value = Global.System.DBNull.Value
7885 If (Review Is Nothing) Then
7886 Me.Adapter.UpdateCommand.Parameters(1).Value = Global.System.DBNull.Value
7888 Me.Adapter.UpdateCommand.Parameters(1).Value = CType(Review,String)
7890 Me.Adapter.UpdateCommand.Parameters(2).Value = CType(Original_ReviewID,Integer)
7891 If (Original_GameID.HasValue = true) Then
7892 Me.Adapter.UpdateCommand.Parameters(3).Value = CType(0,Object)
7893 Me.Adapter.UpdateCommand.Parameters(4).Value = CType(Original_GameID.Value,Integer)
7895 Me.Adapter.UpdateCommand.Parameters(3).Value = CType(1,Object)
7896 Me.Adapter.UpdateCommand.Parameters(4).Value = Global.System.DBNull.Value
7898 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.UpdateCommand.Connection.State
7899 If ((Me.Adapter.UpdateCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
7900 <> Global.System.Data.ConnectionState.Open) Then
7901 Me.Adapter.UpdateCommand.Connection.Open
7904 Dim returnValue As Integer = Me.Adapter.UpdateCommand.ExecuteNonQuery
7907 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
7908 Me.Adapter.UpdateCommand.Connection.Close
7915 '''Represents the connection and commands used to retrieve and save data.
7917 <Global.System.ComponentModel.DesignerCategoryAttribute("code"), _
7918 Global.System.ComponentModel.ToolboxItem(true), _
7919 Global.System.ComponentModel.DataObjectAttribute(true), _
7920 Global.System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner"& _
7921 ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"), _
7922 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
7923 Partial Public Class TagsTableAdapter
7924 Inherits Global.System.ComponentModel.Component
7926 Private WithEvents _adapter As Global.System.Data.OleDb.OleDbDataAdapter
7928 Private _connection As Global.System.Data.OleDb.OleDbConnection
7930 Private _transaction As Global.System.Data.OleDb.OleDbTransaction
7932 Private _commandCollection() As Global.System.Data.OleDb.OleDbCommand
7934 Private _clearBeforeFill As Boolean
7936 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7937 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7940 Me.ClearBeforeFill = true
7943 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7944 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7945 Protected Friend ReadOnly Property Adapter() As Global.System.Data.OleDb.OleDbDataAdapter
7947 If (Me._adapter Is Nothing) Then
7954 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7955 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7956 Friend Property Connection() As Global.System.Data.OleDb.OleDbConnection
7958 If (Me._connection Is Nothing) Then
7961 Return Me._connection
7964 Me._connection = value
7965 If (Not (Me.Adapter.InsertCommand) Is Nothing) Then
7966 Me.Adapter.InsertCommand.Connection = value
7968 If (Not (Me.Adapter.DeleteCommand) Is Nothing) Then
7969 Me.Adapter.DeleteCommand.Connection = value
7971 If (Not (Me.Adapter.UpdateCommand) Is Nothing) Then
7972 Me.Adapter.UpdateCommand.Connection = value
7974 Dim i As Integer = 0
7975 Do While (i < Me.CommandCollection.Length)
7976 If (Not (Me.CommandCollection(i)) Is Nothing) Then
7977 CType(Me.CommandCollection(i),Global.System.Data.OleDb.OleDbCommand).Connection = value
7984 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
7985 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
7986 Friend Property Transaction() As Global.System.Data.OleDb.OleDbTransaction
7988 Return Me._transaction
7991 Me._transaction = value
7992 Dim i As Integer = 0
7993 Do While (i < Me.CommandCollection.Length)
7994 Me.CommandCollection(i).Transaction = Me._transaction
7997 If ((Not (Me.Adapter) Is Nothing) _
7998 AndAlso (Not (Me.Adapter.DeleteCommand) Is Nothing)) Then
7999 Me.Adapter.DeleteCommand.Transaction = Me._transaction
8001 If ((Not (Me.Adapter) Is Nothing) _
8002 AndAlso (Not (Me.Adapter.InsertCommand) Is Nothing)) Then
8003 Me.Adapter.InsertCommand.Transaction = Me._transaction
8005 If ((Not (Me.Adapter) Is Nothing) _
8006 AndAlso (Not (Me.Adapter.UpdateCommand) Is Nothing)) Then
8007 Me.Adapter.UpdateCommand.Transaction = Me._transaction
8012 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8013 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8014 Protected ReadOnly Property CommandCollection() As Global.System.Data.OleDb.OleDbCommand()
8016 If (Me._commandCollection Is Nothing) Then
8017 Me.InitCommandCollection
8019 Return Me._commandCollection
8023 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8024 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8025 Public Property ClearBeforeFill() As Boolean
8027 Return Me._clearBeforeFill
8030 Me._clearBeforeFill = value
8034 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8035 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8036 Private Sub InitAdapter()
8037 Me._adapter = New Global.System.Data.OleDb.OleDbDataAdapter()
8038 Dim tableMapping As Global.System.Data.Common.DataTableMapping = New Global.System.Data.Common.DataTableMapping()
8039 tableMapping.SourceTable = "Table"
8040 tableMapping.DataSetTable = "Tags"
8041 tableMapping.ColumnMappings.Add("ID", "ID")
8042 Me._adapter.TableMappings.Add(tableMapping)
8043 Me._adapter.DeleteCommand = New Global.System.Data.OleDb.OleDbCommand()
8044 Me._adapter.DeleteCommand.Connection = Me.Connection
8045 Me._adapter.DeleteCommand.CommandText = "DELETE FROM `Tags` WHERE ((`ID` = ?))"
8046 Me._adapter.DeleteCommand.CommandType = Global.System.Data.CommandType.Text
8047 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))
8048 Me._adapter.InsertCommand = New Global.System.Data.OleDb.OleDbCommand()
8049 Me._adapter.InsertCommand.Connection = Me.Connection
8050 Me._adapter.InsertCommand.CommandText = "INSERT INTO `Tags` DEFAULT VALUES"
8051 Me._adapter.InsertCommand.CommandType = Global.System.Data.CommandType.Text
8052 Me._adapter.UpdateCommand = New Global.System.Data.OleDb.OleDbCommand()
8053 Me._adapter.UpdateCommand.Connection = Me.Connection
8054 Me._adapter.UpdateCommand.CommandText = "UPDATE `Tags` WHERE ((`ID` = ?))"
8055 Me._adapter.UpdateCommand.CommandType = Global.System.Data.CommandType.Text
8056 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))
8059 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8060 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8061 Private Sub InitConnection()
8062 Me._connection = New Global.System.Data.OleDb.OleDbConnection()
8063 Me._connection.ConnectionString = Global.NEA.MySettings.Default.NEAConnectionString_accdb
8066 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8067 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8068 Private Sub InitCommandCollection()
8069 Me._commandCollection = New Global.System.Data.OleDb.OleDbCommand(0) {}
8070 Me._commandCollection(0) = New Global.System.Data.OleDb.OleDbCommand()
8071 Me._commandCollection(0).Connection = Me.Connection
8072 Me._commandCollection(0).CommandText = "SELECT ID FROM Tags"
8073 Me._commandCollection(0).CommandType = Global.System.Data.CommandType.Text
8076 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8077 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8078 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
8079 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Fill, true)> _
8080 Public Overloads Overridable Function Fill(ByVal dataTable As NEADataSet.TagsDataTable) As Integer
8081 Me.Adapter.SelectCommand = Me.CommandCollection(0)
8082 If (Me.ClearBeforeFill = true) Then
8085 Dim returnValue As Integer = Me.Adapter.Fill(dataTable)
8089 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8090 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8091 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
8092 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.[Select], true)> _
8093 Public Overloads Overridable Function GetData() As NEADataSet.TagsDataTable
8094 Me.Adapter.SelectCommand = Me.CommandCollection(0)
8095 Dim dataTable As NEADataSet.TagsDataTable = New NEADataSet.TagsDataTable()
8096 Me.Adapter.Fill(dataTable)
8100 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8101 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8102 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
8103 Public Overloads Overridable Function Update(ByVal dataTable As NEADataSet.TagsDataTable) As Integer
8104 Return Me.Adapter.Update(dataTable)
8107 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8108 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8109 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
8110 Public Overloads Overridable Function Update(ByVal dataSet As NEADataSet) As Integer
8111 Return Me.Adapter.Update(dataSet, "Tags")
8114 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8115 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8116 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
8117 Public Overloads Overridable Function Update(ByVal dataRow As Global.System.Data.DataRow) As Integer
8118 Return Me.Adapter.Update(New Global.System.Data.DataRow() {dataRow})
8121 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8122 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8123 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
8124 Public Overloads Overridable Function Update(ByVal dataRows() As Global.System.Data.DataRow) As Integer
8125 Return Me.Adapter.Update(dataRows)
8128 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8129 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8130 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
8131 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Delete, true)> _
8132 Public Overloads Overridable Function Delete(ByVal Original_ID As Integer) As Integer
8133 Me.Adapter.DeleteCommand.Parameters(0).Value = CType(Original_ID,Integer)
8134 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.DeleteCommand.Connection.State
8135 If ((Me.Adapter.DeleteCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
8136 <> Global.System.Data.ConnectionState.Open) Then
8137 Me.Adapter.DeleteCommand.Connection.Open
8140 Dim returnValue As Integer = Me.Adapter.DeleteCommand.ExecuteNonQuery
8143 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
8144 Me.Adapter.DeleteCommand.Connection.Close
8149 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8150 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8151 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
8152 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Insert, true)> _
8153 Public Overloads Overridable Function Insert() As Integer
8154 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.InsertCommand.Connection.State
8155 If ((Me.Adapter.InsertCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
8156 <> Global.System.Data.ConnectionState.Open) Then
8157 Me.Adapter.InsertCommand.Connection.Open
8160 Dim returnValue As Integer = Me.Adapter.InsertCommand.ExecuteNonQuery
8163 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
8164 Me.Adapter.InsertCommand.Connection.Close
8169 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8170 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8171 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
8172 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Update, true)> _
8173 Public Overloads Overridable Function Update(ByVal Original_ID As Integer) As Integer
8174 Me.Adapter.UpdateCommand.Parameters(0).Value = CType(Original_ID,Integer)
8175 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.UpdateCommand.Connection.State
8176 If ((Me.Adapter.UpdateCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
8177 <> Global.System.Data.ConnectionState.Open) Then
8178 Me.Adapter.UpdateCommand.Connection.Open
8181 Dim returnValue As Integer = Me.Adapter.UpdateCommand.ExecuteNonQuery
8184 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
8185 Me.Adapter.UpdateCommand.Connection.Close
8192 '''Represents the connection and commands used to retrieve and save data.
8194 <Global.System.ComponentModel.DesignerCategoryAttribute("code"), _
8195 Global.System.ComponentModel.ToolboxItem(true), _
8196 Global.System.ComponentModel.DataObjectAttribute(true), _
8197 Global.System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner"& _
8198 ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"), _
8199 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
8200 Partial Public Class User_DetailsTableAdapter
8201 Inherits Global.System.ComponentModel.Component
8203 Private WithEvents _adapter As Global.System.Data.OleDb.OleDbDataAdapter
8205 Private _connection As Global.System.Data.OleDb.OleDbConnection
8207 Private _transaction As Global.System.Data.OleDb.OleDbTransaction
8209 Private _commandCollection() As Global.System.Data.OleDb.OleDbCommand
8211 Private _clearBeforeFill As Boolean
8213 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8214 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8217 Me.ClearBeforeFill = true
8220 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8221 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8222 Protected Friend ReadOnly Property Adapter() As Global.System.Data.OleDb.OleDbDataAdapter
8224 If (Me._adapter Is Nothing) Then
8231 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8232 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8233 Friend Property Connection() As Global.System.Data.OleDb.OleDbConnection
8235 If (Me._connection Is Nothing) Then
8238 Return Me._connection
8241 Me._connection = value
8242 If (Not (Me.Adapter.InsertCommand) Is Nothing) Then
8243 Me.Adapter.InsertCommand.Connection = value
8245 If (Not (Me.Adapter.DeleteCommand) Is Nothing) Then
8246 Me.Adapter.DeleteCommand.Connection = value
8248 If (Not (Me.Adapter.UpdateCommand) Is Nothing) Then
8249 Me.Adapter.UpdateCommand.Connection = value
8251 Dim i As Integer = 0
8252 Do While (i < Me.CommandCollection.Length)
8253 If (Not (Me.CommandCollection(i)) Is Nothing) Then
8254 CType(Me.CommandCollection(i),Global.System.Data.OleDb.OleDbCommand).Connection = value
8261 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8262 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8263 Friend Property Transaction() As Global.System.Data.OleDb.OleDbTransaction
8265 Return Me._transaction
8268 Me._transaction = value
8269 Dim i As Integer = 0
8270 Do While (i < Me.CommandCollection.Length)
8271 Me.CommandCollection(i).Transaction = Me._transaction
8274 If ((Not (Me.Adapter) Is Nothing) _
8275 AndAlso (Not (Me.Adapter.DeleteCommand) Is Nothing)) Then
8276 Me.Adapter.DeleteCommand.Transaction = Me._transaction
8278 If ((Not (Me.Adapter) Is Nothing) _
8279 AndAlso (Not (Me.Adapter.InsertCommand) Is Nothing)) Then
8280 Me.Adapter.InsertCommand.Transaction = Me._transaction
8282 If ((Not (Me.Adapter) Is Nothing) _
8283 AndAlso (Not (Me.Adapter.UpdateCommand) Is Nothing)) Then
8284 Me.Adapter.UpdateCommand.Transaction = Me._transaction
8289 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8290 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8291 Protected ReadOnly Property CommandCollection() As Global.System.Data.OleDb.OleDbCommand()
8293 If (Me._commandCollection Is Nothing) Then
8294 Me.InitCommandCollection
8296 Return Me._commandCollection
8300 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8301 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8302 Public Property ClearBeforeFill() As Boolean
8304 Return Me._clearBeforeFill
8307 Me._clearBeforeFill = value
8311 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8312 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8313 Private Sub InitAdapter()
8314 Me._adapter = New Global.System.Data.OleDb.OleDbDataAdapter()
8315 Dim tableMapping As Global.System.Data.Common.DataTableMapping = New Global.System.Data.Common.DataTableMapping()
8316 tableMapping.SourceTable = "Table"
8317 tableMapping.DataSetTable = "User_Details"
8318 tableMapping.ColumnMappings.Add("UserDetailsID", "UserDetailsID")
8319 tableMapping.ColumnMappings.Add("FirstName", "FirstName")
8320 tableMapping.ColumnMappings.Add("LastName", "LastName")
8321 tableMapping.ColumnMappings.Add("AddressLine1", "AddressLine1")
8322 tableMapping.ColumnMappings.Add("Town", "Town")
8323 tableMapping.ColumnMappings.Add("Postcode", "Postcode")
8324 tableMapping.ColumnMappings.Add("CardNumber", "CardNumber")
8325 tableMapping.ColumnMappings.Add("CVC", "CVC")
8326 tableMapping.ColumnMappings.Add("IGN", "IGN")
8327 tableMapping.ColumnMappings.Add("Email", "Email")
8328 tableMapping.ColumnMappings.Add("ProfilePic", "ProfilePic")
8329 Me._adapter.TableMappings.Add(tableMapping)
8330 Me._adapter.DeleteCommand = New Global.System.Data.OleDb.OleDbCommand()
8331 Me._adapter.DeleteCommand.Connection = Me.Connection
8332 Me._adapter.DeleteCommand.CommandText = "DELETE FROM `User_Details` WHERE ((`UserDetailsID` = ?) AND ((? = 1 AND `Town` IS"& _
8333 " NULL) OR (`Town` = ?)) AND ((? = 1 AND `CardNumber` IS NULL) OR (`CardNumber` ="& _
8334 " ?)) AND ((? = 1 AND `CVC` IS NULL) OR (`CVC` = ?)))"
8335 Me._adapter.DeleteCommand.CommandType = Global.System.Data.CommandType.Text
8336 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))
8337 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))
8338 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))
8339 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))
8340 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))
8341 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))
8342 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))
8343 Me._adapter.InsertCommand = New Global.System.Data.OleDb.OleDbCommand()
8344 Me._adapter.InsertCommand.Connection = Me.Connection
8345 Me._adapter.InsertCommand.CommandText = "INSERT INTO `User_Details` (`FirstName`, `LastName`, `AddressLine1`, `Town`, `Pos"& _
8346 "tcode`, `CardNumber`, `CVC`, `IGN`, `Email`, `ProfilePic`) VALUES (?, ?, ?, ?, ?"& _
8348 Me._adapter.InsertCommand.CommandType = Global.System.Data.CommandType.Text
8349 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))
8350 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))
8351 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))
8352 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))
8353 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))
8354 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))
8355 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))
8356 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))
8357 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))
8358 Me._adapter.InsertCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("ProfilePic", Global.System.Data.OleDb.OleDbType.LongVarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "ProfilePic", Global.System.Data.DataRowVersion.Current, false, Nothing))
8359 Me._adapter.UpdateCommand = New Global.System.Data.OleDb.OleDbCommand()
8360 Me._adapter.UpdateCommand.Connection = Me.Connection
8361 Me._adapter.UpdateCommand.CommandText = "UPDATE `User_Details` SET `FirstName` = ?, `LastName` = ?, `AddressLine1` = ?, `T"& _
8362 "own` = ?, `Postcode` = ?, `CardNumber` = ?, `CVC` = ?, `IGN` = ?, `Email` = ?, `"& _
8363 "ProfilePic` = ? WHERE ((`UserDetailsID` = ?) AND ((? = 1 AND `Town` IS NULL) OR "& _
8364 "(`Town` = ?)) AND ((? = 1 AND `CardNumber` IS NULL) OR (`CardNumber` = ?)) AND ("& _
8365 "(? = 1 AND `CVC` IS NULL) OR (`CVC` = ?)))"
8366 Me._adapter.UpdateCommand.CommandType = Global.System.Data.CommandType.Text
8367 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))
8368 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))
8369 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))
8370 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))
8371 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))
8372 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))
8373 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))
8374 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))
8375 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))
8376 Me._adapter.UpdateCommand.Parameters.Add(New Global.System.Data.OleDb.OleDbParameter("ProfilePic", Global.System.Data.OleDb.OleDbType.LongVarWChar, 0, Global.System.Data.ParameterDirection.Input, CType(0,Byte), CType(0,Byte), "ProfilePic", Global.System.Data.DataRowVersion.Current, false, Nothing))
8377 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))
8378 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))
8379 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))
8380 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))
8381 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))
8382 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))
8383 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))
8386 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8387 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8388 Private Sub InitConnection()
8389 Me._connection = New Global.System.Data.OleDb.OleDbConnection()
8390 Me._connection.ConnectionString = Global.NEA.MySettings.Default.NEAConnectionString_accdb
8393 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8394 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8395 Private Sub InitCommandCollection()
8396 Me._commandCollection = New Global.System.Data.OleDb.OleDbCommand(0) {}
8397 Me._commandCollection(0) = New Global.System.Data.OleDb.OleDbCommand()
8398 Me._commandCollection(0).Connection = Me.Connection
8399 Me._commandCollection(0).CommandText = "SELECT UserDetailsID, FirstName, LastName, AddressLine1, Town, Postcode, CardNumb"& _
8400 "er, CVC, IGN, Email, ProfilePic FROM User_Details"
8401 Me._commandCollection(0).CommandType = Global.System.Data.CommandType.Text
8404 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8405 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8406 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
8407 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Fill, true)> _
8408 Public Overloads Overridable Function Fill(ByVal dataTable As NEADataSet.User_DetailsDataTable) As Integer
8409 Me.Adapter.SelectCommand = Me.CommandCollection(0)
8410 If (Me.ClearBeforeFill = true) Then
8413 Dim returnValue As Integer = Me.Adapter.Fill(dataTable)
8417 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8418 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8419 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
8420 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.[Select], true)> _
8421 Public Overloads Overridable Function GetData() As NEADataSet.User_DetailsDataTable
8422 Me.Adapter.SelectCommand = Me.CommandCollection(0)
8423 Dim dataTable As NEADataSet.User_DetailsDataTable = New NEADataSet.User_DetailsDataTable()
8424 Me.Adapter.Fill(dataTable)
8428 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8429 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8430 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
8431 Public Overloads Overridable Function Update(ByVal dataTable As NEADataSet.User_DetailsDataTable) As Integer
8432 Return Me.Adapter.Update(dataTable)
8435 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8436 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8437 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
8438 Public Overloads Overridable Function Update(ByVal dataSet As NEADataSet) As Integer
8439 Return Me.Adapter.Update(dataSet, "User_Details")
8442 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8443 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8444 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
8445 Public Overloads Overridable Function Update(ByVal dataRow As Global.System.Data.DataRow) As Integer
8446 Return Me.Adapter.Update(New Global.System.Data.DataRow() {dataRow})
8449 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8450 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8451 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
8452 Public Overloads Overridable Function Update(ByVal dataRows() As Global.System.Data.DataRow) As Integer
8453 Return Me.Adapter.Update(dataRows)
8456 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8457 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8458 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
8459 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Delete, true)> _
8460 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
8461 Me.Adapter.DeleteCommand.Parameters(0).Value = CType(Original_UserDetailsID,Integer)
8462 If (Original_Town Is Nothing) Then
8463 Me.Adapter.DeleteCommand.Parameters(1).Value = CType(1,Object)
8464 Me.Adapter.DeleteCommand.Parameters(2).Value = Global.System.DBNull.Value
8466 Me.Adapter.DeleteCommand.Parameters(1).Value = CType(0,Object)
8467 Me.Adapter.DeleteCommand.Parameters(2).Value = CType(Original_Town,String)
8469 If (Original_CardNumber.HasValue = true) Then
8470 Me.Adapter.DeleteCommand.Parameters(3).Value = CType(0,Object)
8471 Me.Adapter.DeleteCommand.Parameters(4).Value = CType(Original_CardNumber.Value,Integer)
8473 Me.Adapter.DeleteCommand.Parameters(3).Value = CType(1,Object)
8474 Me.Adapter.DeleteCommand.Parameters(4).Value = Global.System.DBNull.Value
8476 If (Original_CVC.HasValue = true) Then
8477 Me.Adapter.DeleteCommand.Parameters(5).Value = CType(0,Object)
8478 Me.Adapter.DeleteCommand.Parameters(6).Value = CType(Original_CVC.Value,Integer)
8480 Me.Adapter.DeleteCommand.Parameters(5).Value = CType(1,Object)
8481 Me.Adapter.DeleteCommand.Parameters(6).Value = Global.System.DBNull.Value
8483 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.DeleteCommand.Connection.State
8484 If ((Me.Adapter.DeleteCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
8485 <> Global.System.Data.ConnectionState.Open) Then
8486 Me.Adapter.DeleteCommand.Connection.Open
8489 Dim returnValue As Integer = Me.Adapter.DeleteCommand.ExecuteNonQuery
8492 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
8493 Me.Adapter.DeleteCommand.Connection.Close
8498 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8499 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8500 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
8501 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Insert, true)> _
8502 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 String) As Integer
8503 If (FirstName Is Nothing) Then
8504 Me.Adapter.InsertCommand.Parameters(0).Value = Global.System.DBNull.Value
8506 Me.Adapter.InsertCommand.Parameters(0).Value = CType(FirstName,String)
8508 If (LastName Is Nothing) Then
8509 Me.Adapter.InsertCommand.Parameters(1).Value = Global.System.DBNull.Value
8511 Me.Adapter.InsertCommand.Parameters(1).Value = CType(LastName,String)
8513 If (AddressLine1 Is Nothing) Then
8514 Me.Adapter.InsertCommand.Parameters(2).Value = Global.System.DBNull.Value
8516 Me.Adapter.InsertCommand.Parameters(2).Value = CType(AddressLine1,String)
8518 If (Town Is Nothing) Then
8519 Me.Adapter.InsertCommand.Parameters(3).Value = Global.System.DBNull.Value
8521 Me.Adapter.InsertCommand.Parameters(3).Value = CType(Town,String)
8523 If (Postcode Is Nothing) Then
8524 Me.Adapter.InsertCommand.Parameters(4).Value = Global.System.DBNull.Value
8526 Me.Adapter.InsertCommand.Parameters(4).Value = CType(Postcode,String)
8528 If (CardNumber.HasValue = true) Then
8529 Me.Adapter.InsertCommand.Parameters(5).Value = CType(CardNumber.Value,Integer)
8531 Me.Adapter.InsertCommand.Parameters(5).Value = Global.System.DBNull.Value
8533 If (CVC.HasValue = true) Then
8534 Me.Adapter.InsertCommand.Parameters(6).Value = CType(CVC.Value,Integer)
8536 Me.Adapter.InsertCommand.Parameters(6).Value = Global.System.DBNull.Value
8538 If (IGN Is Nothing) Then
8539 Me.Adapter.InsertCommand.Parameters(7).Value = Global.System.DBNull.Value
8541 Me.Adapter.InsertCommand.Parameters(7).Value = CType(IGN,String)
8543 If (Email Is Nothing) Then
8544 Me.Adapter.InsertCommand.Parameters(8).Value = Global.System.DBNull.Value
8546 Me.Adapter.InsertCommand.Parameters(8).Value = CType(Email,String)
8548 If (ProfilePic Is Nothing) Then
8549 Me.Adapter.InsertCommand.Parameters(9).Value = Global.System.DBNull.Value
8551 Me.Adapter.InsertCommand.Parameters(9).Value = CType(ProfilePic,String)
8553 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.InsertCommand.Connection.State
8554 If ((Me.Adapter.InsertCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
8555 <> Global.System.Data.ConnectionState.Open) Then
8556 Me.Adapter.InsertCommand.Connection.Open
8559 Dim returnValue As Integer = Me.Adapter.InsertCommand.ExecuteNonQuery
8562 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
8563 Me.Adapter.InsertCommand.Connection.Close
8568 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8569 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8570 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
8571 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Update, true)> _
8572 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 String, 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
8573 If (FirstName Is Nothing) Then
8574 Me.Adapter.UpdateCommand.Parameters(0).Value = Global.System.DBNull.Value
8576 Me.Adapter.UpdateCommand.Parameters(0).Value = CType(FirstName,String)
8578 If (LastName Is Nothing) Then
8579 Me.Adapter.UpdateCommand.Parameters(1).Value = Global.System.DBNull.Value
8581 Me.Adapter.UpdateCommand.Parameters(1).Value = CType(LastName,String)
8583 If (AddressLine1 Is Nothing) Then
8584 Me.Adapter.UpdateCommand.Parameters(2).Value = Global.System.DBNull.Value
8586 Me.Adapter.UpdateCommand.Parameters(2).Value = CType(AddressLine1,String)
8588 If (Town Is Nothing) Then
8589 Me.Adapter.UpdateCommand.Parameters(3).Value = Global.System.DBNull.Value
8591 Me.Adapter.UpdateCommand.Parameters(3).Value = CType(Town,String)
8593 If (Postcode Is Nothing) Then
8594 Me.Adapter.UpdateCommand.Parameters(4).Value = Global.System.DBNull.Value
8596 Me.Adapter.UpdateCommand.Parameters(4).Value = CType(Postcode,String)
8598 If (CardNumber.HasValue = true) Then
8599 Me.Adapter.UpdateCommand.Parameters(5).Value = CType(CardNumber.Value,Integer)
8601 Me.Adapter.UpdateCommand.Parameters(5).Value = Global.System.DBNull.Value
8603 If (CVC.HasValue = true) Then
8604 Me.Adapter.UpdateCommand.Parameters(6).Value = CType(CVC.Value,Integer)
8606 Me.Adapter.UpdateCommand.Parameters(6).Value = Global.System.DBNull.Value
8608 If (IGN Is Nothing) Then
8609 Me.Adapter.UpdateCommand.Parameters(7).Value = Global.System.DBNull.Value
8611 Me.Adapter.UpdateCommand.Parameters(7).Value = CType(IGN,String)
8613 If (Email Is Nothing) Then
8614 Me.Adapter.UpdateCommand.Parameters(8).Value = Global.System.DBNull.Value
8616 Me.Adapter.UpdateCommand.Parameters(8).Value = CType(Email,String)
8618 If (ProfilePic Is Nothing) Then
8619 Me.Adapter.UpdateCommand.Parameters(9).Value = Global.System.DBNull.Value
8621 Me.Adapter.UpdateCommand.Parameters(9).Value = CType(ProfilePic,String)
8623 Me.Adapter.UpdateCommand.Parameters(10).Value = CType(Original_UserDetailsID,Integer)
8624 If (Original_Town Is Nothing) Then
8625 Me.Adapter.UpdateCommand.Parameters(11).Value = CType(1,Object)
8626 Me.Adapter.UpdateCommand.Parameters(12).Value = Global.System.DBNull.Value
8628 Me.Adapter.UpdateCommand.Parameters(11).Value = CType(0,Object)
8629 Me.Adapter.UpdateCommand.Parameters(12).Value = CType(Original_Town,String)
8631 If (Original_CardNumber.HasValue = true) Then
8632 Me.Adapter.UpdateCommand.Parameters(13).Value = CType(0,Object)
8633 Me.Adapter.UpdateCommand.Parameters(14).Value = CType(Original_CardNumber.Value,Integer)
8635 Me.Adapter.UpdateCommand.Parameters(13).Value = CType(1,Object)
8636 Me.Adapter.UpdateCommand.Parameters(14).Value = Global.System.DBNull.Value
8638 If (Original_CVC.HasValue = true) Then
8639 Me.Adapter.UpdateCommand.Parameters(15).Value = CType(0,Object)
8640 Me.Adapter.UpdateCommand.Parameters(16).Value = CType(Original_CVC.Value,Integer)
8642 Me.Adapter.UpdateCommand.Parameters(15).Value = CType(1,Object)
8643 Me.Adapter.UpdateCommand.Parameters(16).Value = Global.System.DBNull.Value
8645 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.UpdateCommand.Connection.State
8646 If ((Me.Adapter.UpdateCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
8647 <> Global.System.Data.ConnectionState.Open) Then
8648 Me.Adapter.UpdateCommand.Connection.Open
8651 Dim returnValue As Integer = Me.Adapter.UpdateCommand.ExecuteNonQuery
8654 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
8655 Me.Adapter.UpdateCommand.Connection.Close
8662 '''Represents the connection and commands used to retrieve and save data.
8664 <Global.System.ComponentModel.DesignerCategoryAttribute("code"), _
8665 Global.System.ComponentModel.ToolboxItem(true), _
8666 Global.System.ComponentModel.DataObjectAttribute(true), _
8667 Global.System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner"& _
8668 ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"), _
8669 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
8670 Partial Public Class UsersTableAdapter
8671 Inherits Global.System.ComponentModel.Component
8673 Private WithEvents _adapter As Global.System.Data.OleDb.OleDbDataAdapter
8675 Private _connection As Global.System.Data.OleDb.OleDbConnection
8677 Private _transaction As Global.System.Data.OleDb.OleDbTransaction
8679 Private _commandCollection() As Global.System.Data.OleDb.OleDbCommand
8681 Private _clearBeforeFill As Boolean
8683 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8684 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8687 Me.ClearBeforeFill = true
8690 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8691 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8692 Protected Friend ReadOnly Property Adapter() As Global.System.Data.OleDb.OleDbDataAdapter
8694 If (Me._adapter Is Nothing) Then
8701 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8702 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8703 Friend Property Connection() As Global.System.Data.OleDb.OleDbConnection
8705 If (Me._connection Is Nothing) Then
8708 Return Me._connection
8711 Me._connection = value
8712 If (Not (Me.Adapter.InsertCommand) Is Nothing) Then
8713 Me.Adapter.InsertCommand.Connection = value
8715 If (Not (Me.Adapter.DeleteCommand) Is Nothing) Then
8716 Me.Adapter.DeleteCommand.Connection = value
8718 If (Not (Me.Adapter.UpdateCommand) Is Nothing) Then
8719 Me.Adapter.UpdateCommand.Connection = value
8721 Dim i As Integer = 0
8722 Do While (i < Me.CommandCollection.Length)
8723 If (Not (Me.CommandCollection(i)) Is Nothing) Then
8724 CType(Me.CommandCollection(i),Global.System.Data.OleDb.OleDbCommand).Connection = value
8731 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8732 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8733 Friend Property Transaction() As Global.System.Data.OleDb.OleDbTransaction
8735 Return Me._transaction
8738 Me._transaction = value
8739 Dim i As Integer = 0
8740 Do While (i < Me.CommandCollection.Length)
8741 Me.CommandCollection(i).Transaction = Me._transaction
8744 If ((Not (Me.Adapter) Is Nothing) _
8745 AndAlso (Not (Me.Adapter.DeleteCommand) Is Nothing)) Then
8746 Me.Adapter.DeleteCommand.Transaction = Me._transaction
8748 If ((Not (Me.Adapter) Is Nothing) _
8749 AndAlso (Not (Me.Adapter.InsertCommand) Is Nothing)) Then
8750 Me.Adapter.InsertCommand.Transaction = Me._transaction
8752 If ((Not (Me.Adapter) Is Nothing) _
8753 AndAlso (Not (Me.Adapter.UpdateCommand) Is Nothing)) Then
8754 Me.Adapter.UpdateCommand.Transaction = Me._transaction
8759 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8760 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8761 Protected ReadOnly Property CommandCollection() As Global.System.Data.OleDb.OleDbCommand()
8763 If (Me._commandCollection Is Nothing) Then
8764 Me.InitCommandCollection
8766 Return Me._commandCollection
8770 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8771 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8772 Public Property ClearBeforeFill() As Boolean
8774 Return Me._clearBeforeFill
8777 Me._clearBeforeFill = value
8781 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8782 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8783 Private Sub InitAdapter()
8784 Me._adapter = New Global.System.Data.OleDb.OleDbDataAdapter()
8785 Dim tableMapping As Global.System.Data.Common.DataTableMapping = New Global.System.Data.Common.DataTableMapping()
8786 tableMapping.SourceTable = "Table"
8787 tableMapping.DataSetTable = "Users"
8788 tableMapping.ColumnMappings.Add("UserID", "UserID")
8789 tableMapping.ColumnMappings.Add("User_DetailsID", "User_DetailsID")
8790 tableMapping.ColumnMappings.Add("Username", "Username")
8791 tableMapping.ColumnMappings.Add("Password", "Password")
8792 Me._adapter.TableMappings.Add(tableMapping)
8793 Me._adapter.DeleteCommand = New Global.System.Data.OleDb.OleDbCommand()
8794 Me._adapter.DeleteCommand.Connection = Me.Connection
8795 Me._adapter.DeleteCommand.CommandText = "DELETE FROM `Users` WHERE ((`UserID` = ?) AND ((? = 1 AND `User_DetailsID` IS NUL"& _
8796 "L) OR (`User_DetailsID` = ?)))"
8797 Me._adapter.DeleteCommand.CommandType = Global.System.Data.CommandType.Text
8798 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))
8799 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))
8800 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))
8801 Me._adapter.InsertCommand = New Global.System.Data.OleDb.OleDbCommand()
8802 Me._adapter.InsertCommand.Connection = Me.Connection
8803 Me._adapter.InsertCommand.CommandText = "INSERT INTO `Users` (`User_DetailsID`, `Username`, `Password`) VALUES (?, ?, ?)"
8804 Me._adapter.InsertCommand.CommandType = Global.System.Data.CommandType.Text
8805 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))
8806 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))
8807 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))
8808 Me._adapter.UpdateCommand = New Global.System.Data.OleDb.OleDbCommand()
8809 Me._adapter.UpdateCommand.Connection = Me.Connection
8810 Me._adapter.UpdateCommand.CommandText = "UPDATE `Users` SET `User_DetailsID` = ?, `Username` = ?, `Password` = ? WHERE ((`"& _
8811 "UserID` = ?) AND ((? = 1 AND `User_DetailsID` IS NULL) OR (`User_DetailsID` = ?)"& _
8813 Me._adapter.UpdateCommand.CommandType = Global.System.Data.CommandType.Text
8814 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))
8815 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))
8816 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))
8817 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))
8818 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))
8819 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))
8822 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8823 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8824 Private Sub InitConnection()
8825 Me._connection = New Global.System.Data.OleDb.OleDbConnection()
8826 Me._connection.ConnectionString = Global.NEA.MySettings.Default.NEAConnectionString_accdb
8829 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8830 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
8831 Private Sub InitCommandCollection()
8832 Me._commandCollection = New Global.System.Data.OleDb.OleDbCommand(0) {}
8833 Me._commandCollection(0) = New Global.System.Data.OleDb.OleDbCommand()
8834 Me._commandCollection(0).Connection = Me.Connection
8835 Me._commandCollection(0).CommandText = "SELECT UserID, User_DetailsID, Username, [Password] FROM Users"
8836 Me._commandCollection(0).CommandType = Global.System.Data.CommandType.Text
8839 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8840 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8841 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
8842 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Fill, true)> _
8843 Public Overloads Overridable Function Fill(ByVal dataTable As NEADataSet.UsersDataTable) As Integer
8844 Me.Adapter.SelectCommand = Me.CommandCollection(0)
8845 If (Me.ClearBeforeFill = true) Then
8848 Dim returnValue As Integer = Me.Adapter.Fill(dataTable)
8852 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8853 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8854 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
8855 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.[Select], true)> _
8856 Public Overloads Overridable Function GetData() As NEADataSet.UsersDataTable
8857 Me.Adapter.SelectCommand = Me.CommandCollection(0)
8858 Dim dataTable As NEADataSet.UsersDataTable = New NEADataSet.UsersDataTable()
8859 Me.Adapter.Fill(dataTable)
8863 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8864 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8865 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
8866 Public Overloads Overridable Function Update(ByVal dataTable As NEADataSet.UsersDataTable) As Integer
8867 Return Me.Adapter.Update(dataTable)
8870 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8871 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8872 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
8873 Public Overloads Overridable Function Update(ByVal dataSet As NEADataSet) As Integer
8874 Return Me.Adapter.Update(dataSet, "Users")
8877 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8878 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8879 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
8880 Public Overloads Overridable Function Update(ByVal dataRow As Global.System.Data.DataRow) As Integer
8881 Return Me.Adapter.Update(New Global.System.Data.DataRow() {dataRow})
8884 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8885 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8886 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
8887 Public Overloads Overridable Function Update(ByVal dataRows() As Global.System.Data.DataRow) As Integer
8888 Return Me.Adapter.Update(dataRows)
8891 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8892 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8893 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
8894 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Delete, true)> _
8895 Public Overloads Overridable Function Delete(ByVal Original_UserID As Integer, ByVal Original_User_DetailsID As Global.System.Nullable(Of Integer)) As Integer
8896 Me.Adapter.DeleteCommand.Parameters(0).Value = CType(Original_UserID,Integer)
8897 If (Original_User_DetailsID.HasValue = true) Then
8898 Me.Adapter.DeleteCommand.Parameters(1).Value = CType(0,Object)
8899 Me.Adapter.DeleteCommand.Parameters(2).Value = CType(Original_User_DetailsID.Value,Integer)
8901 Me.Adapter.DeleteCommand.Parameters(1).Value = CType(1,Object)
8902 Me.Adapter.DeleteCommand.Parameters(2).Value = Global.System.DBNull.Value
8904 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.DeleteCommand.Connection.State
8905 If ((Me.Adapter.DeleteCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
8906 <> Global.System.Data.ConnectionState.Open) Then
8907 Me.Adapter.DeleteCommand.Connection.Open
8910 Dim returnValue As Integer = Me.Adapter.DeleteCommand.ExecuteNonQuery
8913 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
8914 Me.Adapter.DeleteCommand.Connection.Close
8919 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8920 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8921 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
8922 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Insert, true)> _
8923 Public Overloads Overridable Function Insert(ByVal User_DetailsID As Global.System.Nullable(Of Integer), ByVal Username As String, ByVal Password As String) As Integer
8924 If (User_DetailsID.HasValue = true) Then
8925 Me.Adapter.InsertCommand.Parameters(0).Value = CType(User_DetailsID.Value,Integer)
8927 Me.Adapter.InsertCommand.Parameters(0).Value = Global.System.DBNull.Value
8929 If (Username Is Nothing) Then
8930 Me.Adapter.InsertCommand.Parameters(1).Value = Global.System.DBNull.Value
8932 Me.Adapter.InsertCommand.Parameters(1).Value = CType(Username,String)
8934 If (Password Is Nothing) Then
8935 Me.Adapter.InsertCommand.Parameters(2).Value = Global.System.DBNull.Value
8937 Me.Adapter.InsertCommand.Parameters(2).Value = CType(Password,String)
8939 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.InsertCommand.Connection.State
8940 If ((Me.Adapter.InsertCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
8941 <> Global.System.Data.ConnectionState.Open) Then
8942 Me.Adapter.InsertCommand.Connection.Open
8945 Dim returnValue As Integer = Me.Adapter.InsertCommand.ExecuteNonQuery
8948 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
8949 Me.Adapter.InsertCommand.Connection.Close
8954 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
8955 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
8956 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
8957 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Update, true)> _
8958 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
8959 If (User_DetailsID.HasValue = true) Then
8960 Me.Adapter.UpdateCommand.Parameters(0).Value = CType(User_DetailsID.Value,Integer)
8962 Me.Adapter.UpdateCommand.Parameters(0).Value = Global.System.DBNull.Value
8964 If (Username Is Nothing) Then
8965 Me.Adapter.UpdateCommand.Parameters(1).Value = Global.System.DBNull.Value
8967 Me.Adapter.UpdateCommand.Parameters(1).Value = CType(Username,String)
8969 If (Password Is Nothing) Then
8970 Me.Adapter.UpdateCommand.Parameters(2).Value = Global.System.DBNull.Value
8972 Me.Adapter.UpdateCommand.Parameters(2).Value = CType(Password,String)
8974 Me.Adapter.UpdateCommand.Parameters(3).Value = CType(Original_UserID,Integer)
8975 If (Original_User_DetailsID.HasValue = true) Then
8976 Me.Adapter.UpdateCommand.Parameters(4).Value = CType(0,Object)
8977 Me.Adapter.UpdateCommand.Parameters(5).Value = CType(Original_User_DetailsID.Value,Integer)
8979 Me.Adapter.UpdateCommand.Parameters(4).Value = CType(1,Object)
8980 Me.Adapter.UpdateCommand.Parameters(5).Value = Global.System.DBNull.Value
8982 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.UpdateCommand.Connection.State
8983 If ((Me.Adapter.UpdateCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
8984 <> Global.System.Data.ConnectionState.Open) Then
8985 Me.Adapter.UpdateCommand.Connection.Open
8988 Dim returnValue As Integer = Me.Adapter.UpdateCommand.ExecuteNonQuery
8991 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
8992 Me.Adapter.UpdateCommand.Connection.Close
8999 '''Represents the connection and commands used to retrieve and save data.
9001 <Global.System.ComponentModel.DesignerCategoryAttribute("code"), _
9002 Global.System.ComponentModel.ToolboxItem(true), _
9003 Global.System.ComponentModel.DataObjectAttribute(true), _
9004 Global.System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner"& _
9005 ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"), _
9006 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
9007 Partial Public Class WishlistTableAdapter
9008 Inherits Global.System.ComponentModel.Component
9010 Private WithEvents _adapter As Global.System.Data.OleDb.OleDbDataAdapter
9012 Private _connection As Global.System.Data.OleDb.OleDbConnection
9014 Private _transaction As Global.System.Data.OleDb.OleDbTransaction
9016 Private _commandCollection() As Global.System.Data.OleDb.OleDbCommand
9018 Private _clearBeforeFill As Boolean
9020 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9021 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
9024 Me.ClearBeforeFill = true
9027 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9028 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
9029 Protected Friend ReadOnly Property Adapter() As Global.System.Data.OleDb.OleDbDataAdapter
9031 If (Me._adapter Is Nothing) Then
9038 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9039 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
9040 Friend Property Connection() As Global.System.Data.OleDb.OleDbConnection
9042 If (Me._connection Is Nothing) Then
9045 Return Me._connection
9048 Me._connection = value
9049 If (Not (Me.Adapter.InsertCommand) Is Nothing) Then
9050 Me.Adapter.InsertCommand.Connection = value
9052 If (Not (Me.Adapter.DeleteCommand) Is Nothing) Then
9053 Me.Adapter.DeleteCommand.Connection = value
9055 If (Not (Me.Adapter.UpdateCommand) Is Nothing) Then
9056 Me.Adapter.UpdateCommand.Connection = value
9058 Dim i As Integer = 0
9059 Do While (i < Me.CommandCollection.Length)
9060 If (Not (Me.CommandCollection(i)) Is Nothing) Then
9061 CType(Me.CommandCollection(i),Global.System.Data.OleDb.OleDbCommand).Connection = value
9068 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9069 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
9070 Friend Property Transaction() As Global.System.Data.OleDb.OleDbTransaction
9072 Return Me._transaction
9075 Me._transaction = value
9076 Dim i As Integer = 0
9077 Do While (i < Me.CommandCollection.Length)
9078 Me.CommandCollection(i).Transaction = Me._transaction
9081 If ((Not (Me.Adapter) Is Nothing) _
9082 AndAlso (Not (Me.Adapter.DeleteCommand) Is Nothing)) Then
9083 Me.Adapter.DeleteCommand.Transaction = Me._transaction
9085 If ((Not (Me.Adapter) Is Nothing) _
9086 AndAlso (Not (Me.Adapter.InsertCommand) Is Nothing)) Then
9087 Me.Adapter.InsertCommand.Transaction = Me._transaction
9089 If ((Not (Me.Adapter) Is Nothing) _
9090 AndAlso (Not (Me.Adapter.UpdateCommand) Is Nothing)) Then
9091 Me.Adapter.UpdateCommand.Transaction = Me._transaction
9096 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9097 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
9098 Protected ReadOnly Property CommandCollection() As Global.System.Data.OleDb.OleDbCommand()
9100 If (Me._commandCollection Is Nothing) Then
9101 Me.InitCommandCollection
9103 Return Me._commandCollection
9107 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9108 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
9109 Public Property ClearBeforeFill() As Boolean
9111 Return Me._clearBeforeFill
9114 Me._clearBeforeFill = value
9118 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9119 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
9120 Private Sub InitAdapter()
9121 Me._adapter = New Global.System.Data.OleDb.OleDbDataAdapter()
9122 Dim tableMapping As Global.System.Data.Common.DataTableMapping = New Global.System.Data.Common.DataTableMapping()
9123 tableMapping.SourceTable = "Table"
9124 tableMapping.DataSetTable = "Wishlist"
9125 tableMapping.ColumnMappings.Add("WishlistID", "WishlistID")
9126 tableMapping.ColumnMappings.Add("UserID", "UserID")
9127 tableMapping.ColumnMappings.Add("GameID", "GameID")
9128 Me._adapter.TableMappings.Add(tableMapping)
9129 Me._adapter.DeleteCommand = New Global.System.Data.OleDb.OleDbCommand()
9130 Me._adapter.DeleteCommand.Connection = Me.Connection
9131 Me._adapter.DeleteCommand.CommandText = "DELETE FROM `Wishlist` WHERE ((`WishlistID` = ?) AND ((? = 1 AND `UserID` IS NULL"& _
9132 ") OR (`UserID` = ?)) AND ((? = 1 AND `GameID` IS NULL) OR (`GameID` = ?)))"
9133 Me._adapter.DeleteCommand.CommandType = Global.System.Data.CommandType.Text
9134 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))
9135 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))
9136 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))
9137 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))
9138 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))
9139 Me._adapter.InsertCommand = New Global.System.Data.OleDb.OleDbCommand()
9140 Me._adapter.InsertCommand.Connection = Me.Connection
9141 Me._adapter.InsertCommand.CommandText = "INSERT INTO `Wishlist` (`UserID`, `GameID`) VALUES (?, ?)"
9142 Me._adapter.InsertCommand.CommandType = Global.System.Data.CommandType.Text
9143 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))
9144 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))
9145 Me._adapter.UpdateCommand = New Global.System.Data.OleDb.OleDbCommand()
9146 Me._adapter.UpdateCommand.Connection = Me.Connection
9147 Me._adapter.UpdateCommand.CommandText = "UPDATE `Wishlist` SET `UserID` = ?, `GameID` = ? WHERE ((`WishlistID` = ?) AND (("& _
9148 "? = 1 AND `UserID` IS NULL) OR (`UserID` = ?)) AND ((? = 1 AND `GameID` IS NULL)"& _
9149 " OR (`GameID` = ?)))"
9150 Me._adapter.UpdateCommand.CommandType = Global.System.Data.CommandType.Text
9151 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))
9152 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))
9153 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))
9154 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))
9155 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))
9156 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))
9157 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))
9160 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9161 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
9162 Private Sub InitConnection()
9163 Me._connection = New Global.System.Data.OleDb.OleDbConnection()
9164 Me._connection.ConnectionString = Global.NEA.MySettings.Default.NEAConnectionString_accdb
9167 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9168 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
9169 Private Sub InitCommandCollection()
9170 Me._commandCollection = New Global.System.Data.OleDb.OleDbCommand(0) {}
9171 Me._commandCollection(0) = New Global.System.Data.OleDb.OleDbCommand()
9172 Me._commandCollection(0).Connection = Me.Connection
9173 Me._commandCollection(0).CommandText = "SELECT WishlistID, UserID, GameID FROM Wishlist"
9174 Me._commandCollection(0).CommandType = Global.System.Data.CommandType.Text
9177 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9178 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9179 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
9180 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Fill, true)> _
9181 Public Overloads Overridable Function Fill(ByVal dataTable As NEADataSet.WishlistDataTable) As Integer
9182 Me.Adapter.SelectCommand = Me.CommandCollection(0)
9183 If (Me.ClearBeforeFill = true) Then
9186 Dim returnValue As Integer = Me.Adapter.Fill(dataTable)
9190 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9191 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9192 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
9193 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.[Select], true)> _
9194 Public Overloads Overridable Function GetData() As NEADataSet.WishlistDataTable
9195 Me.Adapter.SelectCommand = Me.CommandCollection(0)
9196 Dim dataTable As NEADataSet.WishlistDataTable = New NEADataSet.WishlistDataTable()
9197 Me.Adapter.Fill(dataTable)
9201 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9202 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9203 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
9204 Public Overloads Overridable Function Update(ByVal dataTable As NEADataSet.WishlistDataTable) As Integer
9205 Return Me.Adapter.Update(dataTable)
9208 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9209 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9210 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
9211 Public Overloads Overridable Function Update(ByVal dataSet As NEADataSet) As Integer
9212 Return Me.Adapter.Update(dataSet, "Wishlist")
9215 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9216 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9217 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
9218 Public Overloads Overridable Function Update(ByVal dataRow As Global.System.Data.DataRow) As Integer
9219 Return Me.Adapter.Update(New Global.System.Data.DataRow() {dataRow})
9222 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9223 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9224 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")> _
9225 Public Overloads Overridable Function Update(ByVal dataRows() As Global.System.Data.DataRow) As Integer
9226 Return Me.Adapter.Update(dataRows)
9229 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9230 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9231 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
9232 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Delete, true)> _
9233 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
9234 Me.Adapter.DeleteCommand.Parameters(0).Value = CType(Original_WishlistID,Integer)
9235 If (Original_UserID.HasValue = true) Then
9236 Me.Adapter.DeleteCommand.Parameters(1).Value = CType(0,Object)
9237 Me.Adapter.DeleteCommand.Parameters(2).Value = CType(Original_UserID.Value,Integer)
9239 Me.Adapter.DeleteCommand.Parameters(1).Value = CType(1,Object)
9240 Me.Adapter.DeleteCommand.Parameters(2).Value = Global.System.DBNull.Value
9242 If (Original_GameID.HasValue = true) Then
9243 Me.Adapter.DeleteCommand.Parameters(3).Value = CType(0,Object)
9244 Me.Adapter.DeleteCommand.Parameters(4).Value = CType(Original_GameID.Value,Integer)
9246 Me.Adapter.DeleteCommand.Parameters(3).Value = CType(1,Object)
9247 Me.Adapter.DeleteCommand.Parameters(4).Value = Global.System.DBNull.Value
9249 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.DeleteCommand.Connection.State
9250 If ((Me.Adapter.DeleteCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
9251 <> Global.System.Data.ConnectionState.Open) Then
9252 Me.Adapter.DeleteCommand.Connection.Open
9255 Dim returnValue As Integer = Me.Adapter.DeleteCommand.ExecuteNonQuery
9258 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
9259 Me.Adapter.DeleteCommand.Connection.Close
9264 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9265 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9266 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
9267 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Insert, true)> _
9268 Public Overloads Overridable Function Insert(ByVal UserID As Global.System.Nullable(Of Integer), ByVal GameID As Global.System.Nullable(Of Integer)) As Integer
9269 If (UserID.HasValue = true) Then
9270 Me.Adapter.InsertCommand.Parameters(0).Value = CType(UserID.Value,Integer)
9272 Me.Adapter.InsertCommand.Parameters(0).Value = Global.System.DBNull.Value
9274 If (GameID.HasValue = true) Then
9275 Me.Adapter.InsertCommand.Parameters(1).Value = CType(GameID.Value,Integer)
9277 Me.Adapter.InsertCommand.Parameters(1).Value = Global.System.DBNull.Value
9279 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.InsertCommand.Connection.State
9280 If ((Me.Adapter.InsertCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
9281 <> Global.System.Data.ConnectionState.Open) Then
9282 Me.Adapter.InsertCommand.Connection.Open
9285 Dim returnValue As Integer = Me.Adapter.InsertCommand.ExecuteNonQuery
9288 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
9289 Me.Adapter.InsertCommand.Connection.Close
9294 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9295 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9296 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"), _
9297 Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Update, true)> _
9298 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
9299 If (UserID.HasValue = true) Then
9300 Me.Adapter.UpdateCommand.Parameters(0).Value = CType(UserID.Value,Integer)
9302 Me.Adapter.UpdateCommand.Parameters(0).Value = Global.System.DBNull.Value
9304 If (GameID.HasValue = true) Then
9305 Me.Adapter.UpdateCommand.Parameters(1).Value = CType(GameID.Value,Integer)
9307 Me.Adapter.UpdateCommand.Parameters(1).Value = Global.System.DBNull.Value
9309 Me.Adapter.UpdateCommand.Parameters(2).Value = CType(Original_WishlistID,Integer)
9310 If (Original_UserID.HasValue = true) Then
9311 Me.Adapter.UpdateCommand.Parameters(3).Value = CType(0,Object)
9312 Me.Adapter.UpdateCommand.Parameters(4).Value = CType(Original_UserID.Value,Integer)
9314 Me.Adapter.UpdateCommand.Parameters(3).Value = CType(1,Object)
9315 Me.Adapter.UpdateCommand.Parameters(4).Value = Global.System.DBNull.Value
9317 If (Original_GameID.HasValue = true) Then
9318 Me.Adapter.UpdateCommand.Parameters(5).Value = CType(0,Object)
9319 Me.Adapter.UpdateCommand.Parameters(6).Value = CType(Original_GameID.Value,Integer)
9321 Me.Adapter.UpdateCommand.Parameters(5).Value = CType(1,Object)
9322 Me.Adapter.UpdateCommand.Parameters(6).Value = Global.System.DBNull.Value
9324 Dim previousConnectionState As Global.System.Data.ConnectionState = Me.Adapter.UpdateCommand.Connection.State
9325 If ((Me.Adapter.UpdateCommand.Connection.State And Global.System.Data.ConnectionState.Open) _
9326 <> Global.System.Data.ConnectionState.Open) Then
9327 Me.Adapter.UpdateCommand.Connection.Open
9330 Dim returnValue As Integer = Me.Adapter.UpdateCommand.ExecuteNonQuery
9333 If (previousConnectionState = Global.System.Data.ConnectionState.Closed) Then
9334 Me.Adapter.UpdateCommand.Connection.Close
9341 '''TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
9343 <Global.System.ComponentModel.DesignerCategoryAttribute("code"), _
9344 Global.System.ComponentModel.ToolboxItem(true), _
9345 Global.System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD"& _
9346 "esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"), _
9347 Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")> _
9348 Partial Public Class TableAdapterManager
9349 Inherits Global.System.ComponentModel.Component
9351 Private _updateOrder As UpdateOrderOption
9353 Private _achievementTableAdapter As AchievementTableAdapter
9355 Private _dOWTableAdapter As DOWTableAdapter
9357 Private _friendsTableAdapter As FriendsTableAdapter
9359 Private _gamesTableAdapter As GamesTableAdapter
9361 Private _purchasedTableAdapter As PurchasedTableAdapter
9363 Private _reviewsTableAdapter As ReviewsTableAdapter
9365 Private _tagsTableAdapter As TagsTableAdapter
9367 Private _user_DetailsTableAdapter As User_DetailsTableAdapter
9369 Private _usersTableAdapter As UsersTableAdapter
9371 Private _wishlistTableAdapter As WishlistTableAdapter
9373 Private _backupDataSetBeforeUpdate As Boolean
9375 Private _connection As Global.System.Data.IDbConnection
9377 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9378 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
9379 Public Property UpdateOrder() As UpdateOrderOption
9381 Return Me._updateOrder
9384 Me._updateOrder = value
9388 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9389 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9390 Global.System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso"& _
9391 "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3"& _
9392 "a", "System.Drawing.Design.UITypeEditor")> _
9393 Public Property AchievementTableAdapter() As AchievementTableAdapter
9395 Return Me._achievementTableAdapter
9398 Me._achievementTableAdapter = value
9402 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9403 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9404 Global.System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso"& _
9405 "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3"& _
9406 "a", "System.Drawing.Design.UITypeEditor")> _
9407 Public Property DOWTableAdapter() As DOWTableAdapter
9409 Return Me._dOWTableAdapter
9412 Me._dOWTableAdapter = value
9416 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9417 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9418 Global.System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso"& _
9419 "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3"& _
9420 "a", "System.Drawing.Design.UITypeEditor")> _
9421 Public Property FriendsTableAdapter() As FriendsTableAdapter
9423 Return Me._friendsTableAdapter
9426 Me._friendsTableAdapter = value
9430 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9431 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9432 Global.System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso"& _
9433 "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3"& _
9434 "a", "System.Drawing.Design.UITypeEditor")> _
9435 Public Property GamesTableAdapter() As GamesTableAdapter
9437 Return Me._gamesTableAdapter
9440 Me._gamesTableAdapter = value
9444 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9445 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9446 Global.System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso"& _
9447 "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3"& _
9448 "a", "System.Drawing.Design.UITypeEditor")> _
9449 Public Property PurchasedTableAdapter() As PurchasedTableAdapter
9451 Return Me._purchasedTableAdapter
9454 Me._purchasedTableAdapter = value
9458 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9459 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9460 Global.System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso"& _
9461 "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3"& _
9462 "a", "System.Drawing.Design.UITypeEditor")> _
9463 Public Property ReviewsTableAdapter() As ReviewsTableAdapter
9465 Return Me._reviewsTableAdapter
9468 Me._reviewsTableAdapter = value
9472 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9473 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9474 Global.System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso"& _
9475 "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3"& _
9476 "a", "System.Drawing.Design.UITypeEditor")> _
9477 Public Property TagsTableAdapter() As TagsTableAdapter
9479 Return Me._tagsTableAdapter
9482 Me._tagsTableAdapter = value
9486 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9487 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9488 Global.System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso"& _
9489 "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3"& _
9490 "a", "System.Drawing.Design.UITypeEditor")> _
9491 Public Property User_DetailsTableAdapter() As User_DetailsTableAdapter
9493 Return Me._user_DetailsTableAdapter
9496 Me._user_DetailsTableAdapter = value
9500 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9501 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9502 Global.System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso"& _
9503 "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3"& _
9504 "a", "System.Drawing.Design.UITypeEditor")> _
9505 Public Property UsersTableAdapter() As UsersTableAdapter
9507 Return Me._usersTableAdapter
9510 Me._usersTableAdapter = value
9514 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9515 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9516 Global.System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso"& _
9517 "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3"& _
9518 "a", "System.Drawing.Design.UITypeEditor")> _
9519 Public Property WishlistTableAdapter() As WishlistTableAdapter
9521 Return Me._wishlistTableAdapter
9524 Me._wishlistTableAdapter = value
9528 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9529 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
9530 Public Property BackupDataSetBeforeUpdate() As Boolean
9532 Return Me._backupDataSetBeforeUpdate
9535 Me._backupDataSetBeforeUpdate = value
9539 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9540 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9541 Global.System.ComponentModel.Browsable(false)> _
9542 Public Property Connection() As Global.System.Data.IDbConnection
9544 If (Not (Me._connection) Is Nothing) Then
9545 Return Me._connection
9547 If ((Not (Me._achievementTableAdapter) Is Nothing) _
9548 AndAlso (Not (Me._achievementTableAdapter.Connection) Is Nothing)) Then
9549 Return Me._achievementTableAdapter.Connection
9551 If ((Not (Me._dOWTableAdapter) Is Nothing) _
9552 AndAlso (Not (Me._dOWTableAdapter.Connection) Is Nothing)) Then
9553 Return Me._dOWTableAdapter.Connection
9555 If ((Not (Me._friendsTableAdapter) Is Nothing) _
9556 AndAlso (Not (Me._friendsTableAdapter.Connection) Is Nothing)) Then
9557 Return Me._friendsTableAdapter.Connection
9559 If ((Not (Me._gamesTableAdapter) Is Nothing) _
9560 AndAlso (Not (Me._gamesTableAdapter.Connection) Is Nothing)) Then
9561 Return Me._gamesTableAdapter.Connection
9563 If ((Not (Me._purchasedTableAdapter) Is Nothing) _
9564 AndAlso (Not (Me._purchasedTableAdapter.Connection) Is Nothing)) Then
9565 Return Me._purchasedTableAdapter.Connection
9567 If ((Not (Me._reviewsTableAdapter) Is Nothing) _
9568 AndAlso (Not (Me._reviewsTableAdapter.Connection) Is Nothing)) Then
9569 Return Me._reviewsTableAdapter.Connection
9571 If ((Not (Me._tagsTableAdapter) Is Nothing) _
9572 AndAlso (Not (Me._tagsTableAdapter.Connection) Is Nothing)) Then
9573 Return Me._tagsTableAdapter.Connection
9575 If ((Not (Me._user_DetailsTableAdapter) Is Nothing) _
9576 AndAlso (Not (Me._user_DetailsTableAdapter.Connection) Is Nothing)) Then
9577 Return Me._user_DetailsTableAdapter.Connection
9579 If ((Not (Me._usersTableAdapter) Is Nothing) _
9580 AndAlso (Not (Me._usersTableAdapter.Connection) Is Nothing)) Then
9581 Return Me._usersTableAdapter.Connection
9583 If ((Not (Me._wishlistTableAdapter) Is Nothing) _
9584 AndAlso (Not (Me._wishlistTableAdapter.Connection) Is Nothing)) Then
9585 Return Me._wishlistTableAdapter.Connection
9590 Me._connection = value
9594 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9595 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0"), _
9596 Global.System.ComponentModel.Browsable(false)> _
9597 Public ReadOnly Property TableAdapterInstanceCount() As Integer
9599 Dim count As Integer = 0
9600 If (Not (Me._achievementTableAdapter) Is Nothing) Then
9603 If (Not (Me._dOWTableAdapter) Is Nothing) Then
9606 If (Not (Me._friendsTableAdapter) Is Nothing) Then
9609 If (Not (Me._gamesTableAdapter) Is Nothing) Then
9612 If (Not (Me._purchasedTableAdapter) Is Nothing) Then
9615 If (Not (Me._reviewsTableAdapter) Is Nothing) Then
9618 If (Not (Me._tagsTableAdapter) Is Nothing) Then
9621 If (Not (Me._user_DetailsTableAdapter) Is Nothing) Then
9624 If (Not (Me._usersTableAdapter) Is Nothing) Then
9627 If (Not (Me._wishlistTableAdapter) Is Nothing) Then
9635 '''Update rows in top-down order.
9637 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9638 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
9639 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
9640 Dim result As Integer = 0
9641 If (Not (Me._gamesTableAdapter) Is Nothing) Then
9642 Dim updatedRows() As Global.System.Data.DataRow = dataSet.Games.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.ModifiedCurrent)
9643 updatedRows = Me.GetRealUpdatedRows(updatedRows, allAddedRows)
9644 If ((Not (updatedRows) Is Nothing) _
9645 AndAlso (0 < updatedRows.Length)) Then
9646 result = (result + Me._gamesTableAdapter.Update(updatedRows))
9647 allChangedRows.AddRange(updatedRows)
9650 If (Not (Me._user_DetailsTableAdapter) Is Nothing) Then
9651 Dim updatedRows() As Global.System.Data.DataRow = dataSet.User_Details.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.ModifiedCurrent)
9652 updatedRows = Me.GetRealUpdatedRows(updatedRows, allAddedRows)
9653 If ((Not (updatedRows) Is Nothing) _
9654 AndAlso (0 < updatedRows.Length)) Then
9655 result = (result + Me._user_DetailsTableAdapter.Update(updatedRows))
9656 allChangedRows.AddRange(updatedRows)
9659 If (Not (Me._achievementTableAdapter) Is Nothing) Then
9660 Dim updatedRows() As Global.System.Data.DataRow = dataSet.Achievement.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.ModifiedCurrent)
9661 updatedRows = Me.GetRealUpdatedRows(updatedRows, allAddedRows)
9662 If ((Not (updatedRows) Is Nothing) _
9663 AndAlso (0 < updatedRows.Length)) Then
9664 result = (result + Me._achievementTableAdapter.Update(updatedRows))
9665 allChangedRows.AddRange(updatedRows)
9668 If (Not (Me._dOWTableAdapter) Is Nothing) Then
9669 Dim updatedRows() As Global.System.Data.DataRow = dataSet.DOW.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.ModifiedCurrent)
9670 updatedRows = Me.GetRealUpdatedRows(updatedRows, allAddedRows)
9671 If ((Not (updatedRows) Is Nothing) _
9672 AndAlso (0 < updatedRows.Length)) Then
9673 result = (result + Me._dOWTableAdapter.Update(updatedRows))
9674 allChangedRows.AddRange(updatedRows)
9677 If (Not (Me._friendsTableAdapter) Is Nothing) Then
9678 Dim updatedRows() As Global.System.Data.DataRow = dataSet.Friends.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.ModifiedCurrent)
9679 updatedRows = Me.GetRealUpdatedRows(updatedRows, allAddedRows)
9680 If ((Not (updatedRows) Is Nothing) _
9681 AndAlso (0 < updatedRows.Length)) Then
9682 result = (result + Me._friendsTableAdapter.Update(updatedRows))
9683 allChangedRows.AddRange(updatedRows)
9686 If (Not (Me._purchasedTableAdapter) Is Nothing) Then
9687 Dim updatedRows() As Global.System.Data.DataRow = dataSet.Purchased.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.ModifiedCurrent)
9688 updatedRows = Me.GetRealUpdatedRows(updatedRows, allAddedRows)
9689 If ((Not (updatedRows) Is Nothing) _
9690 AndAlso (0 < updatedRows.Length)) Then
9691 result = (result + Me._purchasedTableAdapter.Update(updatedRows))
9692 allChangedRows.AddRange(updatedRows)
9695 If (Not (Me._reviewsTableAdapter) Is Nothing) Then
9696 Dim updatedRows() As Global.System.Data.DataRow = dataSet.Reviews.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.ModifiedCurrent)
9697 updatedRows = Me.GetRealUpdatedRows(updatedRows, allAddedRows)
9698 If ((Not (updatedRows) Is Nothing) _
9699 AndAlso (0 < updatedRows.Length)) Then
9700 result = (result + Me._reviewsTableAdapter.Update(updatedRows))
9701 allChangedRows.AddRange(updatedRows)
9704 If (Not (Me._tagsTableAdapter) Is Nothing) Then
9705 Dim updatedRows() As Global.System.Data.DataRow = dataSet.Tags.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.ModifiedCurrent)
9706 updatedRows = Me.GetRealUpdatedRows(updatedRows, allAddedRows)
9707 If ((Not (updatedRows) Is Nothing) _
9708 AndAlso (0 < updatedRows.Length)) Then
9709 result = (result + Me._tagsTableAdapter.Update(updatedRows))
9710 allChangedRows.AddRange(updatedRows)
9713 If (Not (Me._usersTableAdapter) Is Nothing) Then
9714 Dim updatedRows() As Global.System.Data.DataRow = dataSet.Users.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.ModifiedCurrent)
9715 updatedRows = Me.GetRealUpdatedRows(updatedRows, allAddedRows)
9716 If ((Not (updatedRows) Is Nothing) _
9717 AndAlso (0 < updatedRows.Length)) Then
9718 result = (result + Me._usersTableAdapter.Update(updatedRows))
9719 allChangedRows.AddRange(updatedRows)
9722 If (Not (Me._wishlistTableAdapter) Is Nothing) Then
9723 Dim updatedRows() As Global.System.Data.DataRow = dataSet.Wishlist.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.ModifiedCurrent)
9724 updatedRows = Me.GetRealUpdatedRows(updatedRows, allAddedRows)
9725 If ((Not (updatedRows) Is Nothing) _
9726 AndAlso (0 < updatedRows.Length)) Then
9727 result = (result + Me._wishlistTableAdapter.Update(updatedRows))
9728 allChangedRows.AddRange(updatedRows)
9735 '''Insert rows in top-down order.
9737 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9738 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
9739 Private Function UpdateInsertedRows(ByVal dataSet As NEADataSet, ByVal allAddedRows As Global.System.Collections.Generic.List(Of Global.System.Data.DataRow)) As Integer
9740 Dim result As Integer = 0
9741 If (Not (Me._gamesTableAdapter) Is Nothing) Then
9742 Dim addedRows() As Global.System.Data.DataRow = dataSet.Games.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Added)
9743 If ((Not (addedRows) Is Nothing) _
9744 AndAlso (0 < addedRows.Length)) Then
9745 result = (result + Me._gamesTableAdapter.Update(addedRows))
9746 allAddedRows.AddRange(addedRows)
9749 If (Not (Me._user_DetailsTableAdapter) Is Nothing) Then
9750 Dim addedRows() As Global.System.Data.DataRow = dataSet.User_Details.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Added)
9751 If ((Not (addedRows) Is Nothing) _
9752 AndAlso (0 < addedRows.Length)) Then
9753 result = (result + Me._user_DetailsTableAdapter.Update(addedRows))
9754 allAddedRows.AddRange(addedRows)
9757 If (Not (Me._achievementTableAdapter) Is Nothing) Then
9758 Dim addedRows() As Global.System.Data.DataRow = dataSet.Achievement.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Added)
9759 If ((Not (addedRows) Is Nothing) _
9760 AndAlso (0 < addedRows.Length)) Then
9761 result = (result + Me._achievementTableAdapter.Update(addedRows))
9762 allAddedRows.AddRange(addedRows)
9765 If (Not (Me._dOWTableAdapter) Is Nothing) Then
9766 Dim addedRows() As Global.System.Data.DataRow = dataSet.DOW.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Added)
9767 If ((Not (addedRows) Is Nothing) _
9768 AndAlso (0 < addedRows.Length)) Then
9769 result = (result + Me._dOWTableAdapter.Update(addedRows))
9770 allAddedRows.AddRange(addedRows)
9773 If (Not (Me._friendsTableAdapter) Is Nothing) Then
9774 Dim addedRows() As Global.System.Data.DataRow = dataSet.Friends.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Added)
9775 If ((Not (addedRows) Is Nothing) _
9776 AndAlso (0 < addedRows.Length)) Then
9777 result = (result + Me._friendsTableAdapter.Update(addedRows))
9778 allAddedRows.AddRange(addedRows)
9781 If (Not (Me._purchasedTableAdapter) Is Nothing) Then
9782 Dim addedRows() As Global.System.Data.DataRow = dataSet.Purchased.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Added)
9783 If ((Not (addedRows) Is Nothing) _
9784 AndAlso (0 < addedRows.Length)) Then
9785 result = (result + Me._purchasedTableAdapter.Update(addedRows))
9786 allAddedRows.AddRange(addedRows)
9789 If (Not (Me._reviewsTableAdapter) Is Nothing) Then
9790 Dim addedRows() As Global.System.Data.DataRow = dataSet.Reviews.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Added)
9791 If ((Not (addedRows) Is Nothing) _
9792 AndAlso (0 < addedRows.Length)) Then
9793 result = (result + Me._reviewsTableAdapter.Update(addedRows))
9794 allAddedRows.AddRange(addedRows)
9797 If (Not (Me._tagsTableAdapter) Is Nothing) Then
9798 Dim addedRows() As Global.System.Data.DataRow = dataSet.Tags.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Added)
9799 If ((Not (addedRows) Is Nothing) _
9800 AndAlso (0 < addedRows.Length)) Then
9801 result = (result + Me._tagsTableAdapter.Update(addedRows))
9802 allAddedRows.AddRange(addedRows)
9805 If (Not (Me._usersTableAdapter) Is Nothing) Then
9806 Dim addedRows() As Global.System.Data.DataRow = dataSet.Users.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Added)
9807 If ((Not (addedRows) Is Nothing) _
9808 AndAlso (0 < addedRows.Length)) Then
9809 result = (result + Me._usersTableAdapter.Update(addedRows))
9810 allAddedRows.AddRange(addedRows)
9813 If (Not (Me._wishlistTableAdapter) Is Nothing) Then
9814 Dim addedRows() As Global.System.Data.DataRow = dataSet.Wishlist.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Added)
9815 If ((Not (addedRows) Is Nothing) _
9816 AndAlso (0 < addedRows.Length)) Then
9817 result = (result + Me._wishlistTableAdapter.Update(addedRows))
9818 allAddedRows.AddRange(addedRows)
9825 '''Delete rows in bottom-up order.
9827 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9828 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
9829 Private Function UpdateDeletedRows(ByVal dataSet As NEADataSet, ByVal allChangedRows As Global.System.Collections.Generic.List(Of Global.System.Data.DataRow)) As Integer
9830 Dim result As Integer = 0
9831 If (Not (Me._wishlistTableAdapter) Is Nothing) Then
9832 Dim deletedRows() As Global.System.Data.DataRow = dataSet.Wishlist.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Deleted)
9833 If ((Not (deletedRows) Is Nothing) _
9834 AndAlso (0 < deletedRows.Length)) Then
9835 result = (result + Me._wishlistTableAdapter.Update(deletedRows))
9836 allChangedRows.AddRange(deletedRows)
9839 If (Not (Me._usersTableAdapter) Is Nothing) Then
9840 Dim deletedRows() As Global.System.Data.DataRow = dataSet.Users.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Deleted)
9841 If ((Not (deletedRows) Is Nothing) _
9842 AndAlso (0 < deletedRows.Length)) Then
9843 result = (result + Me._usersTableAdapter.Update(deletedRows))
9844 allChangedRows.AddRange(deletedRows)
9847 If (Not (Me._tagsTableAdapter) Is Nothing) Then
9848 Dim deletedRows() As Global.System.Data.DataRow = dataSet.Tags.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Deleted)
9849 If ((Not (deletedRows) Is Nothing) _
9850 AndAlso (0 < deletedRows.Length)) Then
9851 result = (result + Me._tagsTableAdapter.Update(deletedRows))
9852 allChangedRows.AddRange(deletedRows)
9855 If (Not (Me._reviewsTableAdapter) Is Nothing) Then
9856 Dim deletedRows() As Global.System.Data.DataRow = dataSet.Reviews.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Deleted)
9857 If ((Not (deletedRows) Is Nothing) _
9858 AndAlso (0 < deletedRows.Length)) Then
9859 result = (result + Me._reviewsTableAdapter.Update(deletedRows))
9860 allChangedRows.AddRange(deletedRows)
9863 If (Not (Me._purchasedTableAdapter) Is Nothing) Then
9864 Dim deletedRows() As Global.System.Data.DataRow = dataSet.Purchased.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Deleted)
9865 If ((Not (deletedRows) Is Nothing) _
9866 AndAlso (0 < deletedRows.Length)) Then
9867 result = (result + Me._purchasedTableAdapter.Update(deletedRows))
9868 allChangedRows.AddRange(deletedRows)
9871 If (Not (Me._friendsTableAdapter) Is Nothing) Then
9872 Dim deletedRows() As Global.System.Data.DataRow = dataSet.Friends.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Deleted)
9873 If ((Not (deletedRows) Is Nothing) _
9874 AndAlso (0 < deletedRows.Length)) Then
9875 result = (result + Me._friendsTableAdapter.Update(deletedRows))
9876 allChangedRows.AddRange(deletedRows)
9879 If (Not (Me._dOWTableAdapter) Is Nothing) Then
9880 Dim deletedRows() As Global.System.Data.DataRow = dataSet.DOW.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Deleted)
9881 If ((Not (deletedRows) Is Nothing) _
9882 AndAlso (0 < deletedRows.Length)) Then
9883 result = (result + Me._dOWTableAdapter.Update(deletedRows))
9884 allChangedRows.AddRange(deletedRows)
9887 If (Not (Me._achievementTableAdapter) Is Nothing) Then
9888 Dim deletedRows() As Global.System.Data.DataRow = dataSet.Achievement.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Deleted)
9889 If ((Not (deletedRows) Is Nothing) _
9890 AndAlso (0 < deletedRows.Length)) Then
9891 result = (result + Me._achievementTableAdapter.Update(deletedRows))
9892 allChangedRows.AddRange(deletedRows)
9895 If (Not (Me._user_DetailsTableAdapter) Is Nothing) Then
9896 Dim deletedRows() As Global.System.Data.DataRow = dataSet.User_Details.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Deleted)
9897 If ((Not (deletedRows) Is Nothing) _
9898 AndAlso (0 < deletedRows.Length)) Then
9899 result = (result + Me._user_DetailsTableAdapter.Update(deletedRows))
9900 allChangedRows.AddRange(deletedRows)
9903 If (Not (Me._gamesTableAdapter) Is Nothing) Then
9904 Dim deletedRows() As Global.System.Data.DataRow = dataSet.Games.Select(Nothing, Nothing, Global.System.Data.DataViewRowState.Deleted)
9905 If ((Not (deletedRows) Is Nothing) _
9906 AndAlso (0 < deletedRows.Length)) Then
9907 result = (result + Me._gamesTableAdapter.Update(deletedRows))
9908 allChangedRows.AddRange(deletedRows)
9915 '''Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first
9917 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9918 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
9919 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()
9920 If ((updatedRows Is Nothing) _
9921 OrElse (updatedRows.Length < 1)) Then
9924 If ((allAddedRows Is Nothing) _
9925 OrElse (allAddedRows.Count < 1)) Then
9928 Dim realUpdatedRows As Global.System.Collections.Generic.List(Of Global.System.Data.DataRow) = New Global.System.Collections.Generic.List(Of Global.System.Data.DataRow)()
9929 Dim i As Integer = 0
9930 Do While (i < updatedRows.Length)
9931 Dim row As Global.System.Data.DataRow = updatedRows(i)
9932 If (allAddedRows.Contains(row) = false) Then
9933 realUpdatedRows.Add(row)
9937 Return realUpdatedRows.ToArray
9941 '''Update all changes to the dataset.
9943 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
9944 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
9945 Public Overridable Function UpdateAll(ByVal dataSet As NEADataSet) As Integer
9946 If (dataSet Is Nothing) Then
9947 Throw New Global.System.ArgumentNullException("dataSet")
9949 If (dataSet.HasChanges = false) Then
9952 If ((Not (Me._achievementTableAdapter) Is Nothing) _
9953 AndAlso (Me.MatchTableAdapterConnection(Me._achievementTableAdapter.Connection) = false)) Then
9954 Throw New Global.System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s"& _
9957 If ((Not (Me._dOWTableAdapter) Is Nothing) _
9958 AndAlso (Me.MatchTableAdapterConnection(Me._dOWTableAdapter.Connection) = false)) Then
9959 Throw New Global.System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s"& _
9962 If ((Not (Me._friendsTableAdapter) Is Nothing) _
9963 AndAlso (Me.MatchTableAdapterConnection(Me._friendsTableAdapter.Connection) = false)) Then
9964 Throw New Global.System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s"& _
9967 If ((Not (Me._gamesTableAdapter) Is Nothing) _
9968 AndAlso (Me.MatchTableAdapterConnection(Me._gamesTableAdapter.Connection) = false)) Then
9969 Throw New Global.System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s"& _
9972 If ((Not (Me._purchasedTableAdapter) Is Nothing) _
9973 AndAlso (Me.MatchTableAdapterConnection(Me._purchasedTableAdapter.Connection) = false)) Then
9974 Throw New Global.System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s"& _
9977 If ((Not (Me._reviewsTableAdapter) Is Nothing) _
9978 AndAlso (Me.MatchTableAdapterConnection(Me._reviewsTableAdapter.Connection) = false)) Then
9979 Throw New Global.System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s"& _
9982 If ((Not (Me._tagsTableAdapter) Is Nothing) _
9983 AndAlso (Me.MatchTableAdapterConnection(Me._tagsTableAdapter.Connection) = false)) Then
9984 Throw New Global.System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s"& _
9987 If ((Not (Me._user_DetailsTableAdapter) Is Nothing) _
9988 AndAlso (Me.MatchTableAdapterConnection(Me._user_DetailsTableAdapter.Connection) = false)) Then
9989 Throw New Global.System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s"& _
9992 If ((Not (Me._usersTableAdapter) Is Nothing) _
9993 AndAlso (Me.MatchTableAdapterConnection(Me._usersTableAdapter.Connection) = false)) Then
9994 Throw New Global.System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s"& _
9997 If ((Not (Me._wishlistTableAdapter) Is Nothing) _
9998 AndAlso (Me.MatchTableAdapterConnection(Me._wishlistTableAdapter.Connection) = false)) Then
9999 Throw New Global.System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s"& _
10002 Dim workConnection As Global.System.Data.IDbConnection = Me.Connection
10003 If (workConnection Is Nothing) Then
10004 Throw New Global.System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana"& _
10005 "ger TableAdapter property to a valid TableAdapter instance.")
10007 Dim workConnOpened As Boolean = false
10008 If ((workConnection.State And Global.System.Data.ConnectionState.Broken) _
10009 = Global.System.Data.ConnectionState.Broken) Then
10010 workConnection.Close
10012 If (workConnection.State = Global.System.Data.ConnectionState.Closed) Then
10013 workConnection.Open
10014 workConnOpened = true
10016 Dim workTransaction As Global.System.Data.IDbTransaction = workConnection.BeginTransaction
10017 If (workTransaction Is Nothing) Then
10018 Throw New Global.System.ApplicationException("The transaction cannot begin. The current data connection does not support transa"& _
10019 "ctions or the current state is not allowing the transaction to begin.")
10021 Dim allChangedRows As Global.System.Collections.Generic.List(Of Global.System.Data.DataRow) = New Global.System.Collections.Generic.List(Of Global.System.Data.DataRow)()
10022 Dim allAddedRows As Global.System.Collections.Generic.List(Of Global.System.Data.DataRow) = New Global.System.Collections.Generic.List(Of Global.System.Data.DataRow)()
10023 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)()
10024 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)()
10025 Dim result As Integer = 0
10026 Dim backupDataSet As Global.System.Data.DataSet = Nothing
10027 If Me.BackupDataSetBeforeUpdate Then
10028 backupDataSet = New Global.System.Data.DataSet()
10029 backupDataSet.Merge(dataSet)
10032 '---- Prepare for update -----------
10034 If (Not (Me._achievementTableAdapter) Is Nothing) Then
10035 revertConnections.Add(Me._achievementTableAdapter, Me._achievementTableAdapter.Connection)
10036 Me._achievementTableAdapter.Connection = CType(workConnection,Global.System.Data.OleDb.OleDbConnection)
10037 Me._achievementTableAdapter.Transaction = CType(workTransaction,Global.System.Data.OleDb.OleDbTransaction)
10038 If Me._achievementTableAdapter.Adapter.AcceptChangesDuringUpdate Then
10039 Me._achievementTableAdapter.Adapter.AcceptChangesDuringUpdate = false
10040 adaptersWithAcceptChangesDuringUpdate.Add(Me._achievementTableAdapter.Adapter)
10043 If (Not (Me._dOWTableAdapter) Is Nothing) Then
10044 revertConnections.Add(Me._dOWTableAdapter, Me._dOWTableAdapter.Connection)
10045 Me._dOWTableAdapter.Connection = CType(workConnection,Global.System.Data.OleDb.OleDbConnection)
10046 Me._dOWTableAdapter.Transaction = CType(workTransaction,Global.System.Data.OleDb.OleDbTransaction)
10047 If Me._dOWTableAdapter.Adapter.AcceptChangesDuringUpdate Then
10048 Me._dOWTableAdapter.Adapter.AcceptChangesDuringUpdate = false
10049 adaptersWithAcceptChangesDuringUpdate.Add(Me._dOWTableAdapter.Adapter)
10052 If (Not (Me._friendsTableAdapter) Is Nothing) Then
10053 revertConnections.Add(Me._friendsTableAdapter, Me._friendsTableAdapter.Connection)
10054 Me._friendsTableAdapter.Connection = CType(workConnection,Global.System.Data.OleDb.OleDbConnection)
10055 Me._friendsTableAdapter.Transaction = CType(workTransaction,Global.System.Data.OleDb.OleDbTransaction)
10056 If Me._friendsTableAdapter.Adapter.AcceptChangesDuringUpdate Then
10057 Me._friendsTableAdapter.Adapter.AcceptChangesDuringUpdate = false
10058 adaptersWithAcceptChangesDuringUpdate.Add(Me._friendsTableAdapter.Adapter)
10061 If (Not (Me._gamesTableAdapter) Is Nothing) Then
10062 revertConnections.Add(Me._gamesTableAdapter, Me._gamesTableAdapter.Connection)
10063 Me._gamesTableAdapter.Connection = CType(workConnection,Global.System.Data.OleDb.OleDbConnection)
10064 Me._gamesTableAdapter.Transaction = CType(workTransaction,Global.System.Data.OleDb.OleDbTransaction)
10065 If Me._gamesTableAdapter.Adapter.AcceptChangesDuringUpdate Then
10066 Me._gamesTableAdapter.Adapter.AcceptChangesDuringUpdate = false
10067 adaptersWithAcceptChangesDuringUpdate.Add(Me._gamesTableAdapter.Adapter)
10070 If (Not (Me._purchasedTableAdapter) Is Nothing) Then
10071 revertConnections.Add(Me._purchasedTableAdapter, Me._purchasedTableAdapter.Connection)
10072 Me._purchasedTableAdapter.Connection = CType(workConnection,Global.System.Data.OleDb.OleDbConnection)
10073 Me._purchasedTableAdapter.Transaction = CType(workTransaction,Global.System.Data.OleDb.OleDbTransaction)
10074 If Me._purchasedTableAdapter.Adapter.AcceptChangesDuringUpdate Then
10075 Me._purchasedTableAdapter.Adapter.AcceptChangesDuringUpdate = false
10076 adaptersWithAcceptChangesDuringUpdate.Add(Me._purchasedTableAdapter.Adapter)
10079 If (Not (Me._reviewsTableAdapter) Is Nothing) Then
10080 revertConnections.Add(Me._reviewsTableAdapter, Me._reviewsTableAdapter.Connection)
10081 Me._reviewsTableAdapter.Connection = CType(workConnection,Global.System.Data.OleDb.OleDbConnection)
10082 Me._reviewsTableAdapter.Transaction = CType(workTransaction,Global.System.Data.OleDb.OleDbTransaction)
10083 If Me._reviewsTableAdapter.Adapter.AcceptChangesDuringUpdate Then
10084 Me._reviewsTableAdapter.Adapter.AcceptChangesDuringUpdate = false
10085 adaptersWithAcceptChangesDuringUpdate.Add(Me._reviewsTableAdapter.Adapter)
10088 If (Not (Me._tagsTableAdapter) Is Nothing) Then
10089 revertConnections.Add(Me._tagsTableAdapter, Me._tagsTableAdapter.Connection)
10090 Me._tagsTableAdapter.Connection = CType(workConnection,Global.System.Data.OleDb.OleDbConnection)
10091 Me._tagsTableAdapter.Transaction = CType(workTransaction,Global.System.Data.OleDb.OleDbTransaction)
10092 If Me._tagsTableAdapter.Adapter.AcceptChangesDuringUpdate Then
10093 Me._tagsTableAdapter.Adapter.AcceptChangesDuringUpdate = false
10094 adaptersWithAcceptChangesDuringUpdate.Add(Me._tagsTableAdapter.Adapter)
10097 If (Not (Me._user_DetailsTableAdapter) Is Nothing) Then
10098 revertConnections.Add(Me._user_DetailsTableAdapter, Me._user_DetailsTableAdapter.Connection)
10099 Me._user_DetailsTableAdapter.Connection = CType(workConnection,Global.System.Data.OleDb.OleDbConnection)
10100 Me._user_DetailsTableAdapter.Transaction = CType(workTransaction,Global.System.Data.OleDb.OleDbTransaction)
10101 If Me._user_DetailsTableAdapter.Adapter.AcceptChangesDuringUpdate Then
10102 Me._user_DetailsTableAdapter.Adapter.AcceptChangesDuringUpdate = false
10103 adaptersWithAcceptChangesDuringUpdate.Add(Me._user_DetailsTableAdapter.Adapter)
10106 If (Not (Me._usersTableAdapter) Is Nothing) Then
10107 revertConnections.Add(Me._usersTableAdapter, Me._usersTableAdapter.Connection)
10108 Me._usersTableAdapter.Connection = CType(workConnection,Global.System.Data.OleDb.OleDbConnection)
10109 Me._usersTableAdapter.Transaction = CType(workTransaction,Global.System.Data.OleDb.OleDbTransaction)
10110 If Me._usersTableAdapter.Adapter.AcceptChangesDuringUpdate Then
10111 Me._usersTableAdapter.Adapter.AcceptChangesDuringUpdate = false
10112 adaptersWithAcceptChangesDuringUpdate.Add(Me._usersTableAdapter.Adapter)
10115 If (Not (Me._wishlistTableAdapter) Is Nothing) Then
10116 revertConnections.Add(Me._wishlistTableAdapter, Me._wishlistTableAdapter.Connection)
10117 Me._wishlistTableAdapter.Connection = CType(workConnection,Global.System.Data.OleDb.OleDbConnection)
10118 Me._wishlistTableAdapter.Transaction = CType(workTransaction,Global.System.Data.OleDb.OleDbTransaction)
10119 If Me._wishlistTableAdapter.Adapter.AcceptChangesDuringUpdate Then
10120 Me._wishlistTableAdapter.Adapter.AcceptChangesDuringUpdate = false
10121 adaptersWithAcceptChangesDuringUpdate.Add(Me._wishlistTableAdapter.Adapter)
10125 '---- Perform updates -----------
10127 If (Me.UpdateOrder = UpdateOrderOption.UpdateInsertDelete) Then
10128 result = (result + Me.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows))
10129 result = (result + Me.UpdateInsertedRows(dataSet, allAddedRows))
10131 result = (result + Me.UpdateInsertedRows(dataSet, allAddedRows))
10132 result = (result + Me.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows))
10134 result = (result + Me.UpdateDeletedRows(dataSet, allChangedRows))
10136 '---- Commit updates -----------
10138 workTransaction.Commit
10139 If (0 < allAddedRows.Count) Then
10140 Dim rows((allAddedRows.Count) - 1) As Global.System.Data.DataRow
10141 allAddedRows.CopyTo(rows)
10142 Dim i As Integer = 0
10143 Do While (i < rows.Length)
10144 Dim row As Global.System.Data.DataRow = rows(i)
10149 If (0 < allChangedRows.Count) Then
10150 Dim rows((allChangedRows.Count) - 1) As Global.System.Data.DataRow
10151 allChangedRows.CopyTo(rows)
10152 Dim i As Integer = 0
10153 Do While (i < rows.Length)
10154 Dim row As Global.System.Data.DataRow = rows(i)
10159 Catch ex As Global.System.Exception
10160 workTransaction.Rollback
10161 '---- Restore the dataset -----------
10162 If Me.BackupDataSetBeforeUpdate Then
10163 Global.System.Diagnostics.Debug.Assert((Not (backupDataSet) Is Nothing))
10165 dataSet.Merge(backupDataSet)
10167 If (0 < allAddedRows.Count) Then
10168 Dim rows((allAddedRows.Count) - 1) As Global.System.Data.DataRow
10169 allAddedRows.CopyTo(rows)
10170 Dim i As Integer = 0
10171 Do While (i < rows.Length)
10172 Dim row As Global.System.Data.DataRow = rows(i)
10181 If workConnOpened Then
10182 workConnection.Close
10184 If (Not (Me._achievementTableAdapter) Is Nothing) Then
10185 Me._achievementTableAdapter.Connection = CType(revertConnections(Me._achievementTableAdapter),Global.System.Data.OleDb.OleDbConnection)
10186 Me._achievementTableAdapter.Transaction = Nothing
10188 If (Not (Me._dOWTableAdapter) Is Nothing) Then
10189 Me._dOWTableAdapter.Connection = CType(revertConnections(Me._dOWTableAdapter),Global.System.Data.OleDb.OleDbConnection)
10190 Me._dOWTableAdapter.Transaction = Nothing
10192 If (Not (Me._friendsTableAdapter) Is Nothing) Then
10193 Me._friendsTableAdapter.Connection = CType(revertConnections(Me._friendsTableAdapter),Global.System.Data.OleDb.OleDbConnection)
10194 Me._friendsTableAdapter.Transaction = Nothing
10196 If (Not (Me._gamesTableAdapter) Is Nothing) Then
10197 Me._gamesTableAdapter.Connection = CType(revertConnections(Me._gamesTableAdapter),Global.System.Data.OleDb.OleDbConnection)
10198 Me._gamesTableAdapter.Transaction = Nothing
10200 If (Not (Me._purchasedTableAdapter) Is Nothing) Then
10201 Me._purchasedTableAdapter.Connection = CType(revertConnections(Me._purchasedTableAdapter),Global.System.Data.OleDb.OleDbConnection)
10202 Me._purchasedTableAdapter.Transaction = Nothing
10204 If (Not (Me._reviewsTableAdapter) Is Nothing) Then
10205 Me._reviewsTableAdapter.Connection = CType(revertConnections(Me._reviewsTableAdapter),Global.System.Data.OleDb.OleDbConnection)
10206 Me._reviewsTableAdapter.Transaction = Nothing
10208 If (Not (Me._tagsTableAdapter) Is Nothing) Then
10209 Me._tagsTableAdapter.Connection = CType(revertConnections(Me._tagsTableAdapter),Global.System.Data.OleDb.OleDbConnection)
10210 Me._tagsTableAdapter.Transaction = Nothing
10212 If (Not (Me._user_DetailsTableAdapter) Is Nothing) Then
10213 Me._user_DetailsTableAdapter.Connection = CType(revertConnections(Me._user_DetailsTableAdapter),Global.System.Data.OleDb.OleDbConnection)
10214 Me._user_DetailsTableAdapter.Transaction = Nothing
10216 If (Not (Me._usersTableAdapter) Is Nothing) Then
10217 Me._usersTableAdapter.Connection = CType(revertConnections(Me._usersTableAdapter),Global.System.Data.OleDb.OleDbConnection)
10218 Me._usersTableAdapter.Transaction = Nothing
10220 If (Not (Me._wishlistTableAdapter) Is Nothing) Then
10221 Me._wishlistTableAdapter.Connection = CType(revertConnections(Me._wishlistTableAdapter),Global.System.Data.OleDb.OleDbConnection)
10222 Me._wishlistTableAdapter.Transaction = Nothing
10224 If (0 < adaptersWithAcceptChangesDuringUpdate.Count) Then
10225 Dim adapters((adaptersWithAcceptChangesDuringUpdate.Count) - 1) As Global.System.Data.Common.DataAdapter
10226 adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters)
10227 Dim i As Integer = 0
10228 Do While (i < adapters.Length)
10229 Dim adapter As Global.System.Data.Common.DataAdapter = adapters(i)
10230 adapter.AcceptChangesDuringUpdate = true
10238 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
10239 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
10240 Protected Overridable Sub SortSelfReferenceRows(ByVal rows() As Global.System.Data.DataRow, ByVal relation As Global.System.Data.DataRelation, ByVal childFirst As Boolean)
10241 Global.System.Array.Sort(Of Global.System.Data.DataRow)(rows, New SelfReferenceComparer(relation, childFirst))
10244 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
10245 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
10246 Protected Overridable Function MatchTableAdapterConnection(ByVal inputConnection As Global.System.Data.IDbConnection) As Boolean
10247 If (Not (Me._connection) Is Nothing) Then
10250 If ((Me.Connection Is Nothing) _
10251 OrElse (inputConnection Is Nothing)) Then
10254 If String.Equals(Me.Connection.ConnectionString, inputConnection.ConnectionString, Global.System.StringComparison.Ordinal) Then
10261 '''Update Order Option
10263 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
10264 Public Enum UpdateOrderOption
10266 InsertUpdateDelete = 0
10268 UpdateInsertDelete = 1
10272 '''Used to sort self-referenced table's rows
10274 <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
10275 Private Class SelfReferenceComparer
10277 Implements Global.System.Collections.Generic.IComparer(Of Global.System.Data.DataRow)
10279 Private _relation As Global.System.Data.DataRelation
10281 Private _childFirst As Integer
10283 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
10284 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
10285 Friend Sub New(ByVal relation As Global.System.Data.DataRelation, ByVal childFirst As Boolean)
10287 Me._relation = relation
10289 Me._childFirst = -1
10295 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
10296 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
10297 Private Function GetRoot(ByVal row As Global.System.Data.DataRow, ByRef distance As Integer) As Global.System.Data.DataRow
10298 Global.System.Diagnostics.Debug.Assert((Not (row) Is Nothing))
10299 Dim root As Global.System.Data.DataRow = row
10302 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)()
10303 traversedRows(row) = row
10305 Dim parent As Global.System.Data.DataRow = row.GetParentRow(Me._relation, Global.System.Data.DataRowVersion.[Default])
10307 Do While ((Not (parent) Is Nothing) _
10308 AndAlso (traversedRows.ContainsKey(parent) = false))
10309 distance = (distance + 1)
10311 traversedRows(parent) = parent
10312 parent = parent.GetParentRow(Me._relation, Global.System.Data.DataRowVersion.[Default])
10316 If (distance = 0) Then
10317 traversedRows.Clear
10318 traversedRows(row) = row
10319 parent = row.GetParentRow(Me._relation, Global.System.Data.DataRowVersion.Original)
10321 Do While ((Not (parent) Is Nothing) _
10322 AndAlso (traversedRows.ContainsKey(parent) = false))
10323 distance = (distance + 1)
10325 traversedRows(parent) = parent
10326 parent = parent.GetParentRow(Me._relation, Global.System.Data.DataRowVersion.Original)
10334 <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
10335 Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")> _
10336 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
10337 If Object.ReferenceEquals(row1, row2) Then
10340 If (row1 Is Nothing) Then
10343 If (row2 Is Nothing) Then
10347 Dim distance1 As Integer = 0
10348 Dim root1 As Global.System.Data.DataRow = Me.GetRoot(row1, distance1)
10350 Dim distance2 As Integer = 0
10351 Dim root2 As Global.System.Data.DataRow = Me.GetRoot(row2, distance2)
10353 If Object.ReferenceEquals(root1, root2) Then
10354 Return (Me._childFirst * distance1.CompareTo(distance2))
10356 Global.System.Diagnostics.Debug.Assert(((Not (root1.Table) Is Nothing) _
10357 AndAlso (Not (root2.Table) Is Nothing)))
10358 If (root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2)) Then