InversionesDEVDataSet2.Designer.vb 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  1. '------------------------------------------------------------------------------
  2. ' <auto-generated>
  3. ' Este código fue generado por una herramienta.
  4. ' Versión de runtime:4.0.30319.42000
  5. '
  6. ' Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si
  7. ' se vuelve a generar el código.
  8. ' </auto-generated>
  9. '------------------------------------------------------------------------------
  10. Option Strict Off
  11. Option Explicit On
  12. '''<summary>
  13. '''Represents a strongly typed in-memory cache of data.
  14. '''</summary>
  15. <Global.System.Serializable(), _
  16. Global.System.ComponentModel.DesignerCategoryAttribute("code"), _
  17. Global.System.ComponentModel.ToolboxItem(true), _
  18. Global.System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema"), _
  19. Global.System.Xml.Serialization.XmlRootAttribute("InversionesDEVDataSet2"), _
  20. Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")> _
  21. Partial Public Class InversionesDEVDataSet2
  22. Inherits Global.System.Data.DataSet
  23. Private _schemaSerializationMode As Global.System.Data.SchemaSerializationMode = Global.System.Data.SchemaSerializationMode.IncludeSchema
  24. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  25. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  26. Public Sub New()
  27. MyBase.New
  28. Me.BeginInit
  29. Me.InitClass
  30. Dim schemaChangedHandler As Global.System.ComponentModel.CollectionChangeEventHandler = AddressOf Me.SchemaChanged
  31. AddHandler MyBase.Tables.CollectionChanged, schemaChangedHandler
  32. AddHandler MyBase.Relations.CollectionChanged, schemaChangedHandler
  33. Me.EndInit
  34. End Sub
  35. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  36. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  37. Protected Sub New(ByVal info As Global.System.Runtime.Serialization.SerializationInfo, ByVal context As Global.System.Runtime.Serialization.StreamingContext)
  38. MyBase.New(info, context, false)
  39. If (Me.IsBinarySerialized(info, context) = true) Then
  40. Me.InitVars(false)
  41. Dim schemaChangedHandler1 As Global.System.ComponentModel.CollectionChangeEventHandler = AddressOf Me.SchemaChanged
  42. AddHandler Me.Tables.CollectionChanged, schemaChangedHandler1
  43. AddHandler Me.Relations.CollectionChanged, schemaChangedHandler1
  44. Return
  45. End If
  46. Dim strSchema As String = CType(info.GetValue("XmlSchema", GetType(String)),String)
  47. If (Me.DetermineSchemaSerializationMode(info, context) = Global.System.Data.SchemaSerializationMode.IncludeSchema) Then
  48. Dim ds As Global.System.Data.DataSet = New Global.System.Data.DataSet()
  49. ds.ReadXmlSchema(New Global.System.Xml.XmlTextReader(New Global.System.IO.StringReader(strSchema)))
  50. Me.DataSetName = ds.DataSetName
  51. Me.Prefix = ds.Prefix
  52. Me.Namespace = ds.Namespace
  53. Me.Locale = ds.Locale
  54. Me.CaseSensitive = ds.CaseSensitive
  55. Me.EnforceConstraints = ds.EnforceConstraints
  56. Me.Merge(ds, false, Global.System.Data.MissingSchemaAction.Add)
  57. Me.InitVars
  58. Else
  59. Me.ReadXmlSchema(New Global.System.Xml.XmlTextReader(New Global.System.IO.StringReader(strSchema)))
  60. End If
  61. Me.GetSerializationData(info, context)
  62. Dim schemaChangedHandler As Global.System.ComponentModel.CollectionChangeEventHandler = AddressOf Me.SchemaChanged
  63. AddHandler MyBase.Tables.CollectionChanged, schemaChangedHandler
  64. AddHandler Me.Relations.CollectionChanged, schemaChangedHandler
  65. End Sub
  66. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  67. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), _
  68. Global.System.ComponentModel.BrowsableAttribute(true), _
  69. Global.System.ComponentModel.DesignerSerializationVisibilityAttribute(Global.System.ComponentModel.DesignerSerializationVisibility.Visible)> _
  70. Public Overrides Property SchemaSerializationMode() As Global.System.Data.SchemaSerializationMode
  71. Get
  72. Return Me._schemaSerializationMode
  73. End Get
  74. Set
  75. Me._schemaSerializationMode = value
  76. End Set
  77. End Property
  78. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  79. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), _
  80. Global.System.ComponentModel.DesignerSerializationVisibilityAttribute(Global.System.ComponentModel.DesignerSerializationVisibility.Hidden)> _
  81. Public Shadows ReadOnly Property Tables() As Global.System.Data.DataTableCollection
  82. Get
  83. Return MyBase.Tables
  84. End Get
  85. End Property
  86. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  87. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), _
  88. Global.System.ComponentModel.DesignerSerializationVisibilityAttribute(Global.System.ComponentModel.DesignerSerializationVisibility.Hidden)> _
  89. Public Shadows ReadOnly Property Relations() As Global.System.Data.DataRelationCollection
  90. Get
  91. Return MyBase.Relations
  92. End Get
  93. End Property
  94. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  95. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  96. Protected Overrides Sub InitializeDerivedDataSet()
  97. Me.BeginInit
  98. Me.InitClass
  99. Me.EndInit
  100. End Sub
  101. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  102. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  103. Public Overrides Function Clone() As Global.System.Data.DataSet
  104. Dim cln As InversionesDEVDataSet2 = CType(MyBase.Clone,InversionesDEVDataSet2)
  105. cln.InitVars
  106. cln.SchemaSerializationMode = Me.SchemaSerializationMode
  107. Return cln
  108. End Function
  109. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  110. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  111. Protected Overrides Function ShouldSerializeTables() As Boolean
  112. Return false
  113. End Function
  114. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  115. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  116. Protected Overrides Function ShouldSerializeRelations() As Boolean
  117. Return false
  118. End Function
  119. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  120. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  121. Protected Overrides Sub ReadXmlSerializable(ByVal reader As Global.System.Xml.XmlReader)
  122. If (Me.DetermineSchemaSerializationMode(reader) = Global.System.Data.SchemaSerializationMode.IncludeSchema) Then
  123. Me.Reset
  124. Dim ds As Global.System.Data.DataSet = New Global.System.Data.DataSet()
  125. ds.ReadXml(reader)
  126. Me.DataSetName = ds.DataSetName
  127. Me.Prefix = ds.Prefix
  128. Me.Namespace = ds.Namespace
  129. Me.Locale = ds.Locale
  130. Me.CaseSensitive = ds.CaseSensitive
  131. Me.EnforceConstraints = ds.EnforceConstraints
  132. Me.Merge(ds, false, Global.System.Data.MissingSchemaAction.Add)
  133. Me.InitVars
  134. Else
  135. Me.ReadXml(reader)
  136. Me.InitVars
  137. End If
  138. End Sub
  139. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  140. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  141. Protected Overrides Function GetSchemaSerializable() As Global.System.Xml.Schema.XmlSchema
  142. Dim stream As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
  143. Me.WriteXmlSchema(New Global.System.Xml.XmlTextWriter(stream, Nothing))
  144. stream.Position = 0
  145. Return Global.System.Xml.Schema.XmlSchema.Read(New Global.System.Xml.XmlTextReader(stream), Nothing)
  146. End Function
  147. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  148. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  149. Friend Overloads Sub InitVars()
  150. Me.InitVars(true)
  151. End Sub
  152. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  153. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  154. Friend Overloads Sub InitVars(ByVal initTable As Boolean)
  155. End Sub
  156. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  157. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  158. Private Sub InitClass()
  159. Me.DataSetName = "InversionesDEVDataSet2"
  160. Me.Prefix = ""
  161. Me.Namespace = "http://tempuri.org/InversionesDEVDataSet2.xsd"
  162. Me.EnforceConstraints = true
  163. Me.SchemaSerializationMode = Global.System.Data.SchemaSerializationMode.IncludeSchema
  164. End Sub
  165. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  166. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  167. Private Sub SchemaChanged(ByVal sender As Object, ByVal e As Global.System.ComponentModel.CollectionChangeEventArgs)
  168. If (e.Action = Global.System.ComponentModel.CollectionChangeAction.Remove) Then
  169. Me.InitVars
  170. End If
  171. End Sub
  172. <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
  173. Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")> _
  174. Public Shared Function GetTypedDataSetSchema(ByVal xs As Global.System.Xml.Schema.XmlSchemaSet) As Global.System.Xml.Schema.XmlSchemaComplexType
  175. Dim ds As InversionesDEVDataSet2 = New InversionesDEVDataSet2()
  176. Dim type As Global.System.Xml.Schema.XmlSchemaComplexType = New Global.System.Xml.Schema.XmlSchemaComplexType()
  177. Dim sequence As Global.System.Xml.Schema.XmlSchemaSequence = New Global.System.Xml.Schema.XmlSchemaSequence()
  178. Dim any As Global.System.Xml.Schema.XmlSchemaAny = New Global.System.Xml.Schema.XmlSchemaAny()
  179. any.Namespace = ds.Namespace
  180. sequence.Items.Add(any)
  181. type.Particle = sequence
  182. Dim dsSchema As Global.System.Xml.Schema.XmlSchema = ds.GetSchemaSerializable
  183. If xs.Contains(dsSchema.TargetNamespace) Then
  184. Dim s1 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
  185. Dim s2 As Global.System.IO.MemoryStream = New Global.System.IO.MemoryStream()
  186. Try
  187. Dim schema As Global.System.Xml.Schema.XmlSchema = Nothing
  188. dsSchema.Write(s1)
  189. Dim schemas As Global.System.Collections.IEnumerator = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator
  190. Do While schemas.MoveNext
  191. schema = CType(schemas.Current,Global.System.Xml.Schema.XmlSchema)
  192. s2.SetLength(0)
  193. schema.Write(s2)
  194. If (s1.Length = s2.Length) Then
  195. s1.Position = 0
  196. s2.Position = 0
  197. Do While ((s1.Position <> s1.Length) _
  198. AndAlso (s1.ReadByte = s2.ReadByte))
  199. Loop
  200. If (s1.Position = s1.Length) Then
  201. Return type
  202. End If
  203. End If
  204. Loop
  205. Finally
  206. If (Not (s1) Is Nothing) Then
  207. s1.Close
  208. End If
  209. If (Not (s2) Is Nothing) Then
  210. s2.Close
  211. End If
  212. End Try
  213. End If
  214. xs.Add(dsSchema)
  215. Return type
  216. End Function
  217. End Class