11#pragma warning disable 1591
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(
"DataPortalTestDatabaseDataSet")]
24 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.DataSet")]
25 public partial class DataPortalTestDatabaseDataSet : global::System.Data.DataSet {
27 private global::System.
Data.SchemaSerializationMode _schemaSerializationMode = global::System.
Data.SchemaSerializationMode.IncludeSchema;
29 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
30 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"15.0.0.0")]
34 global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler =
new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
35 base.Tables.CollectionChanged += schemaChangedHandler;
36 base.Relations.CollectionChanged += schemaChangedHandler;
40 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
41 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"15.0.0.0")]
42 protected DataPortalTestDatabaseDataSet(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
43 base(info, context, false) {
44 if ((this.IsBinarySerialized(info, context) ==
true)) {
46 global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 =
new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
47 this.
Tables.CollectionChanged += schemaChangedHandler1;
48 this.
Relations.CollectionChanged += schemaChangedHandler1;
51 string strSchema = ((string)(info.GetValue(
"XmlSchema", typeof(
string))));
52 if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
53 global::System.Data.DataSet ds =
new global::System.Data.DataSet();
54 ds.ReadXmlSchema(
new global::System.Xml.XmlTextReader(
new global::System.IO.StringReader(strSchema)));
55 this.DataSetName = ds.DataSetName;
56 this.Prefix = ds.Prefix;
57 this.Namespace = ds.Namespace;
58 this.Locale = ds.Locale;
59 this.CaseSensitive = ds.CaseSensitive;
60 this.EnforceConstraints = ds.EnforceConstraints;
61 this.Merge(ds,
false, global::System.Data.MissingSchemaAction.Add);
65 this.ReadXmlSchema(
new global::System.Xml.XmlTextReader(
new global::System.IO.StringReader(strSchema)));
67 this.GetSerializationData(info, context);
68 global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler =
new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
69 base.Tables.CollectionChanged += schemaChangedHandler;
70 this.
Relations.CollectionChanged += schemaChangedHandler;
73 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
74 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"15.0.0.0")]
75 [global::System.ComponentModel.BrowsableAttribute(
true)]
76 [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
79 return this._schemaSerializationMode;
82 this._schemaSerializationMode = value;
86 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
87 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"15.0.0.0")]
88 [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
89 public new global::System.Data.DataTableCollection
Tables {
95 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
96 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"15.0.0.0")]
97 [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
98 public new global::System.Data.DataRelationCollection
Relations {
100 return base.Relations;
104 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
105 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"15.0.0.0")]
112 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
113 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"15.0.0.0")]
114 public override global::System.Data.DataSet
Clone() {
121 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
122 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"15.0.0.0")]
127 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
128 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"15.0.0.0")]
133 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
134 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"15.0.0.0")]
136 if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
138 global::System.Data.DataSet ds =
new global::System.Data.DataSet();
140 this.DataSetName = ds.DataSetName;
141 this.Prefix = ds.Prefix;
142 this.Namespace = ds.Namespace;
143 this.Locale = ds.Locale;
144 this.CaseSensitive = ds.CaseSensitive;
145 this.EnforceConstraints = ds.EnforceConstraints;
146 this.Merge(ds,
false, global::System.Data.MissingSchemaAction.Add);
150 this.ReadXml(reader);
155 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
156 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"15.0.0.0")]
158 global::System.IO.MemoryStream stream =
new global::System.IO.MemoryStream();
159 this.WriteXmlSchema(
new global::System.Xml.XmlTextWriter(stream,
null));
161 return global::System.Xml.Schema.XmlSchema.Read(
new global::System.Xml.XmlTextReader(stream),
null);
164 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
165 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"15.0.0.0")]
166 internal void InitVars() {
170 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
171 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"15.0.0.0")]
172 internal void InitVars(
bool initTable) {
175 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
176 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"15.0.0.0")]
177 private void InitClass() {
178 this.DataSetName =
"DataPortalTestDatabaseDataSet";
180 this.Namespace =
"http://tempuri.org/DataPortalTestDatabaseDataSet.xsd";
181 this.EnforceConstraints =
true;
185 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
186 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"15.0.0.0")]
187 private void SchemaChanged(
object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
188 if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
193 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
194 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"15.0.0.0")]
195 public static global::System.Xml.Schema.XmlSchemaComplexType
GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
197 global::System.Xml.Schema.XmlSchemaComplexType type =
new global::System.Xml.Schema.XmlSchemaComplexType();
198 global::System.Xml.Schema.XmlSchemaSequence sequence =
new global::System.Xml.Schema.XmlSchemaSequence();
199 global::System.Xml.Schema.XmlSchemaAny any =
new global::System.Xml.Schema.XmlSchemaAny();
200 any.Namespace = ds.Namespace;
201 sequence.Items.Add(any);
202 type.Particle = sequence;
203 global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
204 if (xs.Contains(dsSchema.TargetNamespace)) {
205 global::System.IO.MemoryStream s1 =
new global::System.IO.MemoryStream();
206 global::System.IO.MemoryStream s2 =
new global::System.IO.MemoryStream();
208 global::System.Xml.Schema.XmlSchema schema =
null;
210 for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
211 schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
214 if ((s1.Length == s2.Length)) {
217 for (; ((s1.Position != s1.Length)
218 && (s1.ReadByte() == s2.ReadByte())); ) {
221 if ((s1.Position == s1.Length)) {
242#pragma warning restore 1591
Represents a strongly typed in-memory cache of data.
override void InitializeDerivedDataSet()
DataPortalTestDatabaseDataSet()
override global::System.Xml.Schema.XmlSchema GetSchemaSerializable()
DataPortalTestDatabaseDataSet(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context)
new global::System.Data.DataTableCollection Tables
override global::System.Data.DataSet Clone()
static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs)
override void ReadXmlSerializable(global::System.Xml.XmlReader reader)
override global::System.Data.SchemaSerializationMode SchemaSerializationMode
override bool ShouldSerializeTables()
override bool ShouldSerializeRelations()
new global::System.Data.DataRelationCollection Relations