studentDataSet.Designer.cs 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // Этот код создан программой.
  4. // Исполняемая версия:4.0.30319.42000
  5. //
  6. // Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
  7. // повторной генерации кода.
  8. // </auto-generated>
  9. //------------------------------------------------------------------------------
  10. #pragma warning disable 1591
  11. namespace IS31KiselevStudent {
  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("studentDataSet")]
  20. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
  21. public partial class studentDataSet : global::System.Data.DataSet {
  22. private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
  23. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  24. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  25. public studentDataSet() {
  26. this.BeginInit();
  27. this.InitClass();
  28. global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  29. base.Tables.CollectionChanged += schemaChangedHandler;
  30. base.Relations.CollectionChanged += schemaChangedHandler;
  31. this.EndInit();
  32. }
  33. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  34. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  35. protected studentDataSet(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  36. base(info, context, false) {
  37. if ((this.IsBinarySerialized(info, context) == true)) {
  38. this.InitVars(false);
  39. global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  40. this.Tables.CollectionChanged += schemaChangedHandler1;
  41. this.Relations.CollectionChanged += schemaChangedHandler1;
  42. return;
  43. }
  44. string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
  45. if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
  46. global::System.Data.DataSet ds = new global::System.Data.DataSet();
  47. ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
  48. this.DataSetName = ds.DataSetName;
  49. this.Prefix = ds.Prefix;
  50. this.Namespace = ds.Namespace;
  51. this.Locale = ds.Locale;
  52. this.CaseSensitive = ds.CaseSensitive;
  53. this.EnforceConstraints = ds.EnforceConstraints;
  54. this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
  55. this.InitVars();
  56. }
  57. else {
  58. this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
  59. }
  60. this.GetSerializationData(info, context);
  61. global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  62. base.Tables.CollectionChanged += schemaChangedHandler;
  63. this.Relations.CollectionChanged += schemaChangedHandler;
  64. }
  65. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  66. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  67. [global::System.ComponentModel.BrowsableAttribute(true)]
  68. [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
  69. public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
  70. get {
  71. return this._schemaSerializationMode;
  72. }
  73. set {
  74. this._schemaSerializationMode = value;
  75. }
  76. }
  77. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  78. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  79. [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  80. public new global::System.Data.DataTableCollection Tables {
  81. get {
  82. return base.Tables;
  83. }
  84. }
  85. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  86. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  87. [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  88. public new global::System.Data.DataRelationCollection Relations {
  89. get {
  90. return base.Relations;
  91. }
  92. }
  93. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  94. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  95. protected override void InitializeDerivedDataSet() {
  96. this.BeginInit();
  97. this.InitClass();
  98. this.EndInit();
  99. }
  100. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  101. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  102. public override global::System.Data.DataSet Clone() {
  103. studentDataSet cln = ((studentDataSet)(base.Clone()));
  104. cln.InitVars();
  105. cln.SchemaSerializationMode = this.SchemaSerializationMode;
  106. return cln;
  107. }
  108. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  109. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  110. protected override bool ShouldSerializeTables() {
  111. return false;
  112. }
  113. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  114. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  115. protected override bool ShouldSerializeRelations() {
  116. return false;
  117. }
  118. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  119. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  120. protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
  121. if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
  122. this.Reset();
  123. global::System.Data.DataSet ds = new global::System.Data.DataSet();
  124. ds.ReadXml(reader);
  125. this.DataSetName = ds.DataSetName;
  126. this.Prefix = ds.Prefix;
  127. this.Namespace = ds.Namespace;
  128. this.Locale = ds.Locale;
  129. this.CaseSensitive = ds.CaseSensitive;
  130. this.EnforceConstraints = ds.EnforceConstraints;
  131. this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
  132. this.InitVars();
  133. }
  134. else {
  135. this.ReadXml(reader);
  136. this.InitVars();
  137. }
  138. }
  139. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  140. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  141. protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
  142. global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream();
  143. this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null));
  144. stream.Position = 0;
  145. return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null);
  146. }
  147. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  148. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  149. internal void InitVars() {
  150. this.InitVars(true);
  151. }
  152. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  153. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  154. internal void InitVars(bool initTable) {
  155. }
  156. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  157. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  158. private void InitClass() {
  159. this.DataSetName = "studentDataSet";
  160. this.Prefix = "";
  161. this.Namespace = "http://tempuri.org/studentDataSet.xsd";
  162. this.EnforceConstraints = true;
  163. this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
  164. }
  165. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  166. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  167. private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
  168. if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
  169. this.InitVars();
  170. }
  171. }
  172. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  173. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  174. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  175. studentDataSet ds = new studentDataSet();
  176. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  177. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  178. global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
  179. any.Namespace = ds.Namespace;
  180. sequence.Items.Add(any);
  181. type.Particle = sequence;
  182. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  183. if (xs.Contains(dsSchema.TargetNamespace)) {
  184. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  185. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  186. try {
  187. global::System.Xml.Schema.XmlSchema schema = null;
  188. dsSchema.Write(s1);
  189. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  190. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  191. s2.SetLength(0);
  192. schema.Write(s2);
  193. if ((s1.Length == s2.Length)) {
  194. s1.Position = 0;
  195. s2.Position = 0;
  196. for (; ((s1.Position != s1.Length)
  197. && (s1.ReadByte() == s2.ReadByte())); ) {
  198. ;
  199. }
  200. if ((s1.Position == s1.Length)) {
  201. return type;
  202. }
  203. }
  204. }
  205. }
  206. finally {
  207. if ((s1 != null)) {
  208. s1.Close();
  209. }
  210. if ((s2 != null)) {
  211. s2.Close();
  212. }
  213. }
  214. }
  215. xs.Add(dsSchema);
  216. return type;
  217. }
  218. }
  219. }
  220. #pragma warning restore 1591