DataSet1.cs
上传用户:hjieqiu
上传日期:2013-05-11
资源大小:16494k
文件大小:98k
源码类别:

企业管理

开发平台:

C#

  1. //------------------------------------------------------------------------------
  2. // <autogenerated>
  3. //     This code was generated by a tool.
  4. //     Runtime Version: 1.1.4322.573
  5. //
  6. //     Changes to this file may cause incorrect behavior and will be lost if 
  7. //     the code is regenerated.
  8. // </autogenerated>
  9. //------------------------------------------------------------------------------
  10. namespace 教务管理系统 {
  11.     using System;
  12.     using System.Data;
  13.     using System.Xml;
  14.     using System.Runtime.Serialization;
  15.     
  16.     
  17.     [Serializable()]
  18.     [System.ComponentModel.DesignerCategoryAttribute("code")]
  19.     [System.Diagnostics.DebuggerStepThrough()]
  20.     [System.ComponentModel.ToolboxItem(true)]
  21.     public class DataSet1 : DataSet {
  22.         
  23.         private 政治面貌代码表DataTable table政治面貌代码表;
  24.         
  25.         private 籍贯代码表DataTable table籍贯代码表;
  26.         
  27.         private 民族代码表DataTable table民族代码表;
  28.         
  29.         private 学籍代码表DataTable table学籍代码表;
  30.         
  31.         private 班级信息DataTable table班级信息;
  32.         
  33.         private 学生信息DataTable table学生信息;
  34.         
  35.         private 课程信息DataTable table课程信息;
  36.         
  37.         public DataSet1() {
  38.             this.InitClass();
  39.             System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  40.             this.Tables.CollectionChanged += schemaChangedHandler;
  41.             this.Relations.CollectionChanged += schemaChangedHandler;
  42.         }
  43.         
  44.         protected DataSet1(SerializationInfo info, StreamingContext context) {
  45.             string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
  46.             if ((strSchema != null)) {
  47.                 DataSet ds = new DataSet();
  48.                 ds.ReadXmlSchema(new XmlTextReader(new System.IO.StringReader(strSchema)));
  49.                 if ((ds.Tables["政治面貌代码表"] != null)) {
  50.                     this.Tables.Add(new 政治面貌代码表DataTable(ds.Tables["政治面貌代码表"]));
  51.                 }
  52.                 if ((ds.Tables["籍贯代码表"] != null)) {
  53.                     this.Tables.Add(new 籍贯代码表DataTable(ds.Tables["籍贯代码表"]));
  54.                 }
  55.                 if ((ds.Tables["民族代码表"] != null)) {
  56.                     this.Tables.Add(new 民族代码表DataTable(ds.Tables["民族代码表"]));
  57.                 }
  58.                 if ((ds.Tables["学籍代码表"] != null)) {
  59.                     this.Tables.Add(new 学籍代码表DataTable(ds.Tables["学籍代码表"]));
  60.                 }
  61.                 if ((ds.Tables["班级信息"] != null)) {
  62.                     this.Tables.Add(new 班级信息DataTable(ds.Tables["班级信息"]));
  63.                 }
  64.                 if ((ds.Tables["学生信息"] != null)) {
  65.                     this.Tables.Add(new 学生信息DataTable(ds.Tables["学生信息"]));
  66.                 }
  67.                 if ((ds.Tables["课程信息"] != null)) {
  68.                     this.Tables.Add(new 课程信息DataTable(ds.Tables["课程信息"]));
  69.                 }
  70.                 this.DataSetName = ds.DataSetName;
  71.                 this.Prefix = ds.Prefix;
  72.                 this.Namespace = ds.Namespace;
  73.                 this.Locale = ds.Locale;
  74.                 this.CaseSensitive = ds.CaseSensitive;
  75.                 this.EnforceConstraints = ds.EnforceConstraints;
  76.                 this.Merge(ds, false, System.Data.MissingSchemaAction.Add);
  77.                 this.InitVars();
  78.             }
  79.             else {
  80.                 this.InitClass();
  81.             }
  82.             this.GetSerializationData(info, context);
  83.             System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  84.             this.Tables.CollectionChanged += schemaChangedHandler;
  85.             this.Relations.CollectionChanged += schemaChangedHandler;
  86.         }
  87.         
  88.         [System.ComponentModel.Browsable(false)]
  89.         [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
  90.         public 政治面貌代码表DataTable 政治面貌代码表 {
  91.             get {
  92.                 return this.table政治面貌代码表;
  93.             }
  94.         }
  95.         
  96.         [System.ComponentModel.Browsable(false)]
  97.         [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
  98.         public 籍贯代码表DataTable 籍贯代码表 {
  99.             get {
  100.                 return this.table籍贯代码表;
  101.             }
  102.         }
  103.         
  104.         [System.ComponentModel.Browsable(false)]
  105.         [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
  106.         public 民族代码表DataTable 民族代码表 {
  107.             get {
  108.                 return this.table民族代码表;
  109.             }
  110.         }
  111.         
  112.         [System.ComponentModel.Browsable(false)]
  113.         [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
  114.         public 学籍代码表DataTable 学籍代码表 {
  115.             get {
  116.                 return this.table学籍代码表;
  117.             }
  118.         }
  119.         
  120.         [System.ComponentModel.Browsable(false)]
  121.         [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
  122.         public 班级信息DataTable 班级信息 {
  123.             get {
  124.                 return this.table班级信息;
  125.             }
  126.         }
  127.         
  128.         [System.ComponentModel.Browsable(false)]
  129.         [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
  130.         public 学生信息DataTable 学生信息 {
  131.             get {
  132.                 return this.table学生信息;
  133.             }
  134.         }
  135.         
  136.         [System.ComponentModel.Browsable(false)]
  137.         [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
  138.         public 课程信息DataTable 课程信息 {
  139.             get {
  140.                 return this.table课程信息;
  141.             }
  142.         }
  143.         
  144.         public override DataSet Clone() {
  145.             DataSet1 cln = ((DataSet1)(base.Clone()));
  146.             cln.InitVars();
  147.             return cln;
  148.         }
  149.         
  150.         protected override bool ShouldSerializeTables() {
  151.             return false;
  152.         }
  153.         
  154.         protected override bool ShouldSerializeRelations() {
  155.             return false;
  156.         }
  157.         
  158.         protected override void ReadXmlSerializable(XmlReader reader) {
  159.             this.Reset();
  160.             DataSet ds = new DataSet();
  161.             ds.ReadXml(reader);
  162.             if ((ds.Tables["政治面貌代码表"] != null)) {
  163.                 this.Tables.Add(new 政治面貌代码表DataTable(ds.Tables["政治面貌代码表"]));
  164.             }
  165.             if ((ds.Tables["籍贯代码表"] != null)) {
  166.                 this.Tables.Add(new 籍贯代码表DataTable(ds.Tables["籍贯代码表"]));
  167.             }
  168.             if ((ds.Tables["民族代码表"] != null)) {
  169.                 this.Tables.Add(new 民族代码表DataTable(ds.Tables["民族代码表"]));
  170.             }
  171.             if ((ds.Tables["学籍代码表"] != null)) {
  172.                 this.Tables.Add(new 学籍代码表DataTable(ds.Tables["学籍代码表"]));
  173.             }
  174.             if ((ds.Tables["班级信息"] != null)) {
  175.                 this.Tables.Add(new 班级信息DataTable(ds.Tables["班级信息"]));
  176.             }
  177.             if ((ds.Tables["学生信息"] != null)) {
  178.                 this.Tables.Add(new 学生信息DataTable(ds.Tables["学生信息"]));
  179.             }
  180.             if ((ds.Tables["课程信息"] != null)) {
  181.                 this.Tables.Add(new 课程信息DataTable(ds.Tables["课程信息"]));
  182.             }
  183.             this.DataSetName = ds.DataSetName;
  184.             this.Prefix = ds.Prefix;
  185.             this.Namespace = ds.Namespace;
  186.             this.Locale = ds.Locale;
  187.             this.CaseSensitive = ds.CaseSensitive;
  188.             this.EnforceConstraints = ds.EnforceConstraints;
  189.             this.Merge(ds, false, System.Data.MissingSchemaAction.Add);
  190.             this.InitVars();
  191.         }
  192.         
  193.         protected override System.Xml.Schema.XmlSchema GetSchemaSerializable() {
  194.             System.IO.MemoryStream stream = new System.IO.MemoryStream();
  195.             this.WriteXmlSchema(new XmlTextWriter(stream, null));
  196.             stream.Position = 0;
  197.             return System.Xml.Schema.XmlSchema.Read(new XmlTextReader(stream), null);
  198.         }
  199.         
  200.         internal void InitVars() {
  201.             this.table政治面貌代码表 = ((政治面貌代码表DataTable)(this.Tables["政治面貌代码表"]));
  202.             if ((this.table政治面貌代码表 != null)) {
  203.                 this.table政治面貌代码表.InitVars();
  204.             }
  205.             this.table籍贯代码表 = ((籍贯代码表DataTable)(this.Tables["籍贯代码表"]));
  206.             if ((this.table籍贯代码表 != null)) {
  207.                 this.table籍贯代码表.InitVars();
  208.             }
  209.             this.table民族代码表 = ((民族代码表DataTable)(this.Tables["民族代码表"]));
  210.             if ((this.table民族代码表 != null)) {
  211.                 this.table民族代码表.InitVars();
  212.             }
  213.             this.table学籍代码表 = ((学籍代码表DataTable)(this.Tables["学籍代码表"]));
  214.             if ((this.table学籍代码表 != null)) {
  215.                 this.table学籍代码表.InitVars();
  216.             }
  217.             this.table班级信息 = ((班级信息DataTable)(this.Tables["班级信息"]));
  218.             if ((this.table班级信息 != null)) {
  219.                 this.table班级信息.InitVars();
  220.             }
  221.             this.table学生信息 = ((学生信息DataTable)(this.Tables["学生信息"]));
  222.             if ((this.table学生信息 != null)) {
  223.                 this.table学生信息.InitVars();
  224.             }
  225.             this.table课程信息 = ((课程信息DataTable)(this.Tables["课程信息"]));
  226.             if ((this.table课程信息 != null)) {
  227.                 this.table课程信息.InitVars();
  228.             }
  229.         }
  230.         
  231.         private void InitClass() {
  232.             this.DataSetName = "DataSet1";
  233.             this.Prefix = "";
  234.             this.Namespace = "http://www.tempuri.org/DataSet1.xsd";
  235.             this.Locale = new System.Globalization.CultureInfo("zh-CN");
  236.             this.CaseSensitive = false;
  237.             this.EnforceConstraints = true;
  238.             this.table政治面貌代码表 = new 政治面貌代码表DataTable();
  239.             this.Tables.Add(this.table政治面貌代码表);
  240.             this.table籍贯代码表 = new 籍贯代码表DataTable();
  241.             this.Tables.Add(this.table籍贯代码表);
  242.             this.table民族代码表 = new 民族代码表DataTable();
  243.             this.Tables.Add(this.table民族代码表);
  244.             this.table学籍代码表 = new 学籍代码表DataTable();
  245.             this.Tables.Add(this.table学籍代码表);
  246.             this.table班级信息 = new 班级信息DataTable();
  247.             this.Tables.Add(this.table班级信息);
  248.             this.table学生信息 = new 学生信息DataTable();
  249.             this.Tables.Add(this.table学生信息);
  250.             this.table课程信息 = new 课程信息DataTable();
  251.             this.Tables.Add(this.table课程信息);
  252.         }
  253.         
  254.         private bool ShouldSerialize政治面貌代码表() {
  255.             return false;
  256.         }
  257.         
  258.         private bool ShouldSerialize籍贯代码表() {
  259.             return false;
  260.         }
  261.         
  262.         private bool ShouldSerialize民族代码表() {
  263.             return false;
  264.         }
  265.         
  266.         private bool ShouldSerialize学籍代码表() {
  267.             return false;
  268.         }
  269.         
  270.         private bool ShouldSerialize班级信息() {
  271.             return false;
  272.         }
  273.         
  274.         private bool ShouldSerialize学生信息() {
  275.             return false;
  276.         }
  277.         
  278.         private bool ShouldSerialize课程信息() {
  279.             return false;
  280.         }
  281.         
  282.         private void SchemaChanged(object sender, System.ComponentModel.CollectionChangeEventArgs e) {
  283.             if ((e.Action == System.ComponentModel.CollectionChangeAction.Remove)) {
  284.                 this.InitVars();
  285.             }
  286.         }
  287.         
  288.         public delegate void 政治面貌代码表RowChangeEventHandler(object sender, 政治面貌代码表RowChangeEvent e);
  289.         
  290.         public delegate void 籍贯代码表RowChangeEventHandler(object sender, 籍贯代码表RowChangeEvent e);
  291.         
  292.         public delegate void 民族代码表RowChangeEventHandler(object sender, 民族代码表RowChangeEvent e);
  293.         
  294.         public delegate void 学籍代码表RowChangeEventHandler(object sender, 学籍代码表RowChangeEvent e);
  295.         
  296.         public delegate void 班级信息RowChangeEventHandler(object sender, 班级信息RowChangeEvent e);
  297.         
  298.         public delegate void 学生信息RowChangeEventHandler(object sender, 学生信息RowChangeEvent e);
  299.         
  300.         public delegate void 课程信息RowChangeEventHandler(object sender, 课程信息RowChangeEvent e);
  301.         
  302.         [System.Diagnostics.DebuggerStepThrough()]
  303.         public class 政治面貌代码表DataTable : DataTable, System.Collections.IEnumerable {
  304.             
  305.             private DataColumn column政治面貌编号;
  306.             
  307.             private DataColumn column政治面貌;
  308.             
  309.             internal 政治面貌代码表DataTable() : 
  310.                     base("政治面貌代码表") {
  311.                 this.InitClass();
  312.             }
  313.             
  314.             internal 政治面貌代码表DataTable(DataTable table) : 
  315.                     base(table.TableName) {
  316.                 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  317.                     this.CaseSensitive = table.CaseSensitive;
  318.                 }
  319.                 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  320.                     this.Locale = table.Locale;
  321.                 }
  322.                 if ((table.Namespace != table.DataSet.Namespace)) {
  323.                     this.Namespace = table.Namespace;
  324.                 }
  325.                 this.Prefix = table.Prefix;
  326.                 this.MinimumCapacity = table.MinimumCapacity;
  327.                 this.DisplayExpression = table.DisplayExpression;
  328.             }
  329.             
  330.             [System.ComponentModel.Browsable(false)]
  331.             public int Count {
  332.                 get {
  333.                     return this.Rows.Count;
  334.                 }
  335.             }
  336.             
  337.             internal DataColumn 政治面貌编号Column {
  338.                 get {
  339.                     return this.column政治面貌编号;
  340.                 }
  341.             }
  342.             
  343.             internal DataColumn 政治面貌Column {
  344.                 get {
  345.                     return this.column政治面貌;
  346.                 }
  347.             }
  348.             
  349.             public 政治面貌代码表Row this[int index] {
  350.                 get {
  351.                     return ((政治面貌代码表Row)(this.Rows[index]));
  352.                 }
  353.             }
  354.             
  355.             public event 政治面貌代码表RowChangeEventHandler 政治面貌代码表RowChanged;
  356.             
  357.             public event 政治面貌代码表RowChangeEventHandler 政治面貌代码表RowChanging;
  358.             
  359.             public event 政治面貌代码表RowChangeEventHandler 政治面貌代码表RowDeleted;
  360.             
  361.             public event 政治面貌代码表RowChangeEventHandler 政治面貌代码表RowDeleting;
  362.             
  363.             public void Add政治面貌代码表Row(政治面貌代码表Row row) {
  364.                 this.Rows.Add(row);
  365.             }
  366.             
  367.             public 政治面貌代码表Row Add政治面貌代码表Row(string 政治面貌编号, string 政治面貌) {
  368.                 政治面貌代码表Row row政治面貌代码表Row = ((政治面貌代码表Row)(this.NewRow()));
  369.                 row政治面貌代码表Row.ItemArray = new object[] {
  370.                         政治面貌编号,
  371.                         政治面貌};
  372.                 this.Rows.Add(row政治面貌代码表Row);
  373.                 return row政治面貌代码表Row;
  374.             }
  375.             
  376.             public 政治面貌代码表Row FindBy政治面貌编号(string 政治面貌编号) {
  377.                 return ((政治面貌代码表Row)(this.Rows.Find(new object[] {
  378.                             政治面貌编号})));
  379.             }
  380.             
  381.             public System.Collections.IEnumerator GetEnumerator() {
  382.                 return this.Rows.GetEnumerator();
  383.             }
  384.             
  385.             public override DataTable Clone() {
  386.                 政治面貌代码表DataTable cln = ((政治面貌代码表DataTable)(base.Clone()));
  387.                 cln.InitVars();
  388.                 return cln;
  389.             }
  390.             
  391.             protected override DataTable CreateInstance() {
  392.                 return new 政治面貌代码表DataTable();
  393.             }
  394.             
  395.             internal void InitVars() {
  396.                 this.column政治面貌编号 = this.Columns["政治面貌编号"];
  397.                 this.column政治面貌 = this.Columns["政治面貌"];
  398.             }
  399.             
  400.             private void InitClass() {
  401.                 this.column政治面貌编号 = new DataColumn("政治面貌编号", typeof(string), null, System.Data.MappingType.Element);
  402.                 this.Columns.Add(this.column政治面貌编号);
  403.                 this.column政治面貌 = new DataColumn("政治面貌", typeof(string), null, System.Data.MappingType.Element);
  404.                 this.Columns.Add(this.column政治面貌);
  405.                 this.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] {
  406.                                 this.column政治面貌编号}, true));
  407.                 this.column政治面貌编号.AllowDBNull = false;
  408.                 this.column政治面貌编号.Unique = true;
  409.             }
  410.             
  411.             public 政治面貌代码表Row New政治面貌代码表Row() {
  412.                 return ((政治面貌代码表Row)(this.NewRow()));
  413.             }
  414.             
  415.             protected override DataRow NewRowFromBuilder(DataRowBuilder builder) {
  416.                 return new 政治面貌代码表Row(builder);
  417.             }
  418.             
  419.             protected override System.Type GetRowType() {
  420.                 return typeof(政治面貌代码表Row);
  421.             }
  422.             
  423.             protected override void OnRowChanged(DataRowChangeEventArgs e) {
  424.                 base.OnRowChanged(e);
  425.                 if ((this.政治面貌代码表RowChanged != null)) {
  426.                     this.政治面貌代码表RowChanged(this, new 政治面貌代码表RowChangeEvent(((政治面貌代码表Row)(e.Row)), e.Action));
  427.                 }
  428.             }
  429.             
  430.             protected override void OnRowChanging(DataRowChangeEventArgs e) {
  431.                 base.OnRowChanging(e);
  432.                 if ((this.政治面貌代码表RowChanging != null)) {
  433.                     this.政治面貌代码表RowChanging(this, new 政治面貌代码表RowChangeEvent(((政治面貌代码表Row)(e.Row)), e.Action));
  434.                 }
  435.             }
  436.             
  437.             protected override void OnRowDeleted(DataRowChangeEventArgs e) {
  438.                 base.OnRowDeleted(e);
  439.                 if ((this.政治面貌代码表RowDeleted != null)) {
  440.                     this.政治面貌代码表RowDeleted(this, new 政治面貌代码表RowChangeEvent(((政治面貌代码表Row)(e.Row)), e.Action));
  441.                 }
  442.             }
  443.             
  444.             protected override void OnRowDeleting(DataRowChangeEventArgs e) {
  445.                 base.OnRowDeleting(e);
  446.                 if ((this.政治面貌代码表RowDeleting != null)) {
  447.                     this.政治面貌代码表RowDeleting(this, new 政治面貌代码表RowChangeEvent(((政治面貌代码表Row)(e.Row)), e.Action));
  448.                 }
  449.             }
  450.             
  451.             public void Remove政治面貌代码表Row(政治面貌代码表Row row) {
  452.                 this.Rows.Remove(row);
  453.             }
  454.         }
  455.         
  456.         [System.Diagnostics.DebuggerStepThrough()]
  457.         public class 政治面貌代码表Row : DataRow {
  458.             
  459.             private 政治面貌代码表DataTable table政治面貌代码表;
  460.             
  461.             internal 政治面貌代码表Row(DataRowBuilder rb) : 
  462.                     base(rb) {
  463.                 this.table政治面貌代码表 = ((政治面貌代码表DataTable)(this.Table));
  464.             }
  465.             
  466.             public string 政治面貌编号 {
  467.                 get {
  468.                     return ((string)(this[this.table政治面貌代码表.政治面貌编号Column]));
  469.                 }
  470.                 set {
  471.                     this[this.table政治面貌代码表.政治面貌编号Column] = value;
  472.                 }
  473.             }
  474.             
  475.             public string 政治面貌 {
  476.                 get {
  477.                     try {
  478.                         return ((string)(this[this.table政治面貌代码表.政治面貌Column]));
  479.                     }
  480.                     catch (InvalidCastException e) {
  481.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  482.                     }
  483.                 }
  484.                 set {
  485.                     this[this.table政治面貌代码表.政治面貌Column] = value;
  486.                 }
  487.             }
  488.             
  489.             public bool Is政治面貌Null() {
  490.                 return this.IsNull(this.table政治面貌代码表.政治面貌Column);
  491.             }
  492.             
  493.             public void Set政治面貌Null() {
  494.                 this[this.table政治面貌代码表.政治面貌Column] = System.Convert.DBNull;
  495.             }
  496.         }
  497.         
  498.         [System.Diagnostics.DebuggerStepThrough()]
  499.         public class 政治面貌代码表RowChangeEvent : EventArgs {
  500.             
  501.             private 政治面貌代码表Row eventRow;
  502.             
  503.             private DataRowAction eventAction;
  504.             
  505.             public 政治面貌代码表RowChangeEvent(政治面貌代码表Row row, DataRowAction action) {
  506.                 this.eventRow = row;
  507.                 this.eventAction = action;
  508.             }
  509.             
  510.             public 政治面貌代码表Row Row {
  511.                 get {
  512.                     return this.eventRow;
  513.                 }
  514.             }
  515.             
  516.             public DataRowAction Action {
  517.                 get {
  518.                     return this.eventAction;
  519.                 }
  520.             }
  521.         }
  522.         
  523.         [System.Diagnostics.DebuggerStepThrough()]
  524.         public class 籍贯代码表DataTable : DataTable, System.Collections.IEnumerable {
  525.             
  526.             private DataColumn column籍贯编号;
  527.             
  528.             private DataColumn column籍贯;
  529.             
  530.             internal 籍贯代码表DataTable() : 
  531.                     base("籍贯代码表") {
  532.                 this.InitClass();
  533.             }
  534.             
  535.             internal 籍贯代码表DataTable(DataTable table) : 
  536.                     base(table.TableName) {
  537.                 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  538.                     this.CaseSensitive = table.CaseSensitive;
  539.                 }
  540.                 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  541.                     this.Locale = table.Locale;
  542.                 }
  543.                 if ((table.Namespace != table.DataSet.Namespace)) {
  544.                     this.Namespace = table.Namespace;
  545.                 }
  546.                 this.Prefix = table.Prefix;
  547.                 this.MinimumCapacity = table.MinimumCapacity;
  548.                 this.DisplayExpression = table.DisplayExpression;
  549.             }
  550.             
  551.             [System.ComponentModel.Browsable(false)]
  552.             public int Count {
  553.                 get {
  554.                     return this.Rows.Count;
  555.                 }
  556.             }
  557.             
  558.             internal DataColumn 籍贯编号Column {
  559.                 get {
  560.                     return this.column籍贯编号;
  561.                 }
  562.             }
  563.             
  564.             internal DataColumn 籍贯Column {
  565.                 get {
  566.                     return this.column籍贯;
  567.                 }
  568.             }
  569.             
  570.             public 籍贯代码表Row this[int index] {
  571.                 get {
  572.                     return ((籍贯代码表Row)(this.Rows[index]));
  573.                 }
  574.             }
  575.             
  576.             public event 籍贯代码表RowChangeEventHandler 籍贯代码表RowChanged;
  577.             
  578.             public event 籍贯代码表RowChangeEventHandler 籍贯代码表RowChanging;
  579.             
  580.             public event 籍贯代码表RowChangeEventHandler 籍贯代码表RowDeleted;
  581.             
  582.             public event 籍贯代码表RowChangeEventHandler 籍贯代码表RowDeleting;
  583.             
  584.             public void Add籍贯代码表Row(籍贯代码表Row row) {
  585.                 this.Rows.Add(row);
  586.             }
  587.             
  588.             public 籍贯代码表Row Add籍贯代码表Row(string 籍贯编号, string 籍贯) {
  589.                 籍贯代码表Row row籍贯代码表Row = ((籍贯代码表Row)(this.NewRow()));
  590.                 row籍贯代码表Row.ItemArray = new object[] {
  591.                         籍贯编号,
  592.                         籍贯};
  593.                 this.Rows.Add(row籍贯代码表Row);
  594.                 return row籍贯代码表Row;
  595.             }
  596.             
  597.             public 籍贯代码表Row FindBy籍贯编号(string 籍贯编号) {
  598.                 return ((籍贯代码表Row)(this.Rows.Find(new object[] {
  599.                             籍贯编号})));
  600.             }
  601.             
  602.             public System.Collections.IEnumerator GetEnumerator() {
  603.                 return this.Rows.GetEnumerator();
  604.             }
  605.             
  606.             public override DataTable Clone() {
  607.                 籍贯代码表DataTable cln = ((籍贯代码表DataTable)(base.Clone()));
  608.                 cln.InitVars();
  609.                 return cln;
  610.             }
  611.             
  612.             protected override DataTable CreateInstance() {
  613.                 return new 籍贯代码表DataTable();
  614.             }
  615.             
  616.             internal void InitVars() {
  617.                 this.column籍贯编号 = this.Columns["籍贯编号"];
  618.                 this.column籍贯 = this.Columns["籍贯"];
  619.             }
  620.             
  621.             private void InitClass() {
  622.                 this.column籍贯编号 = new DataColumn("籍贯编号", typeof(string), null, System.Data.MappingType.Element);
  623.                 this.Columns.Add(this.column籍贯编号);
  624.                 this.column籍贯 = new DataColumn("籍贯", typeof(string), null, System.Data.MappingType.Element);
  625.                 this.Columns.Add(this.column籍贯);
  626.                 this.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] {
  627.                                 this.column籍贯编号}, true));
  628.                 this.column籍贯编号.AllowDBNull = false;
  629.                 this.column籍贯编号.Unique = true;
  630.             }
  631.             
  632.             public 籍贯代码表Row New籍贯代码表Row() {
  633.                 return ((籍贯代码表Row)(this.NewRow()));
  634.             }
  635.             
  636.             protected override DataRow NewRowFromBuilder(DataRowBuilder builder) {
  637.                 return new 籍贯代码表Row(builder);
  638.             }
  639.             
  640.             protected override System.Type GetRowType() {
  641.                 return typeof(籍贯代码表Row);
  642.             }
  643.             
  644.             protected override void OnRowChanged(DataRowChangeEventArgs e) {
  645.                 base.OnRowChanged(e);
  646.                 if ((this.籍贯代码表RowChanged != null)) {
  647.                     this.籍贯代码表RowChanged(this, new 籍贯代码表RowChangeEvent(((籍贯代码表Row)(e.Row)), e.Action));
  648.                 }
  649.             }
  650.             
  651.             protected override void OnRowChanging(DataRowChangeEventArgs e) {
  652.                 base.OnRowChanging(e);
  653.                 if ((this.籍贯代码表RowChanging != null)) {
  654.                     this.籍贯代码表RowChanging(this, new 籍贯代码表RowChangeEvent(((籍贯代码表Row)(e.Row)), e.Action));
  655.                 }
  656.             }
  657.             
  658.             protected override void OnRowDeleted(DataRowChangeEventArgs e) {
  659.                 base.OnRowDeleted(e);
  660.                 if ((this.籍贯代码表RowDeleted != null)) {
  661.                     this.籍贯代码表RowDeleted(this, new 籍贯代码表RowChangeEvent(((籍贯代码表Row)(e.Row)), e.Action));
  662.                 }
  663.             }
  664.             
  665.             protected override void OnRowDeleting(DataRowChangeEventArgs e) {
  666.                 base.OnRowDeleting(e);
  667.                 if ((this.籍贯代码表RowDeleting != null)) {
  668.                     this.籍贯代码表RowDeleting(this, new 籍贯代码表RowChangeEvent(((籍贯代码表Row)(e.Row)), e.Action));
  669.                 }
  670.             }
  671.             
  672.             public void Remove籍贯代码表Row(籍贯代码表Row row) {
  673.                 this.Rows.Remove(row);
  674.             }
  675.         }
  676.         
  677.         [System.Diagnostics.DebuggerStepThrough()]
  678.         public class 籍贯代码表Row : DataRow {
  679.             
  680.             private 籍贯代码表DataTable table籍贯代码表;
  681.             
  682.             internal 籍贯代码表Row(DataRowBuilder rb) : 
  683.                     base(rb) {
  684.                 this.table籍贯代码表 = ((籍贯代码表DataTable)(this.Table));
  685.             }
  686.             
  687.             public string 籍贯编号 {
  688.                 get {
  689.                     return ((string)(this[this.table籍贯代码表.籍贯编号Column]));
  690.                 }
  691.                 set {
  692.                     this[this.table籍贯代码表.籍贯编号Column] = value;
  693.                 }
  694.             }
  695.             
  696.             public string 籍贯 {
  697.                 get {
  698.                     try {
  699.                         return ((string)(this[this.table籍贯代码表.籍贯Column]));
  700.                     }
  701.                     catch (InvalidCastException e) {
  702.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  703.                     }
  704.                 }
  705.                 set {
  706.                     this[this.table籍贯代码表.籍贯Column] = value;
  707.                 }
  708.             }
  709.             
  710.             public bool Is籍贯Null() {
  711.                 return this.IsNull(this.table籍贯代码表.籍贯Column);
  712.             }
  713.             
  714.             public void Set籍贯Null() {
  715.                 this[this.table籍贯代码表.籍贯Column] = System.Convert.DBNull;
  716.             }
  717.         }
  718.         
  719.         [System.Diagnostics.DebuggerStepThrough()]
  720.         public class 籍贯代码表RowChangeEvent : EventArgs {
  721.             
  722.             private 籍贯代码表Row eventRow;
  723.             
  724.             private DataRowAction eventAction;
  725.             
  726.             public 籍贯代码表RowChangeEvent(籍贯代码表Row row, DataRowAction action) {
  727.                 this.eventRow = row;
  728.                 this.eventAction = action;
  729.             }
  730.             
  731.             public 籍贯代码表Row Row {
  732.                 get {
  733.                     return this.eventRow;
  734.                 }
  735.             }
  736.             
  737.             public DataRowAction Action {
  738.                 get {
  739.                     return this.eventAction;
  740.                 }
  741.             }
  742.         }
  743.         
  744.         [System.Diagnostics.DebuggerStepThrough()]
  745.         public class 民族代码表DataTable : DataTable, System.Collections.IEnumerable {
  746.             
  747.             private DataColumn column民族编号;
  748.             
  749.             private DataColumn column民族;
  750.             
  751.             internal 民族代码表DataTable() : 
  752.                     base("民族代码表") {
  753.                 this.InitClass();
  754.             }
  755.             
  756.             internal 民族代码表DataTable(DataTable table) : 
  757.                     base(table.TableName) {
  758.                 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  759.                     this.CaseSensitive = table.CaseSensitive;
  760.                 }
  761.                 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  762.                     this.Locale = table.Locale;
  763.                 }
  764.                 if ((table.Namespace != table.DataSet.Namespace)) {
  765.                     this.Namespace = table.Namespace;
  766.                 }
  767.                 this.Prefix = table.Prefix;
  768.                 this.MinimumCapacity = table.MinimumCapacity;
  769.                 this.DisplayExpression = table.DisplayExpression;
  770.             }
  771.             
  772.             [System.ComponentModel.Browsable(false)]
  773.             public int Count {
  774.                 get {
  775.                     return this.Rows.Count;
  776.                 }
  777.             }
  778.             
  779.             internal DataColumn 民族编号Column {
  780.                 get {
  781.                     return this.column民族编号;
  782.                 }
  783.             }
  784.             
  785.             internal DataColumn 民族Column {
  786.                 get {
  787.                     return this.column民族;
  788.                 }
  789.             }
  790.             
  791.             public 民族代码表Row this[int index] {
  792.                 get {
  793.                     return ((民族代码表Row)(this.Rows[index]));
  794.                 }
  795.             }
  796.             
  797.             public event 民族代码表RowChangeEventHandler 民族代码表RowChanged;
  798.             
  799.             public event 民族代码表RowChangeEventHandler 民族代码表RowChanging;
  800.             
  801.             public event 民族代码表RowChangeEventHandler 民族代码表RowDeleted;
  802.             
  803.             public event 民族代码表RowChangeEventHandler 民族代码表RowDeleting;
  804.             
  805.             public void Add民族代码表Row(民族代码表Row row) {
  806.                 this.Rows.Add(row);
  807.             }
  808.             
  809.             public 民族代码表Row Add民族代码表Row(string 民族编号, string 民族) {
  810.                 民族代码表Row row民族代码表Row = ((民族代码表Row)(this.NewRow()));
  811.                 row民族代码表Row.ItemArray = new object[] {
  812.                         民族编号,
  813.                         民族};
  814.                 this.Rows.Add(row民族代码表Row);
  815.                 return row民族代码表Row;
  816.             }
  817.             
  818.             public 民族代码表Row FindBy民族编号(string 民族编号) {
  819.                 return ((民族代码表Row)(this.Rows.Find(new object[] {
  820.                             民族编号})));
  821.             }
  822.             
  823.             public System.Collections.IEnumerator GetEnumerator() {
  824.                 return this.Rows.GetEnumerator();
  825.             }
  826.             
  827.             public override DataTable Clone() {
  828.                 民族代码表DataTable cln = ((民族代码表DataTable)(base.Clone()));
  829.                 cln.InitVars();
  830.                 return cln;
  831.             }
  832.             
  833.             protected override DataTable CreateInstance() {
  834.                 return new 民族代码表DataTable();
  835.             }
  836.             
  837.             internal void InitVars() {
  838.                 this.column民族编号 = this.Columns["民族编号"];
  839.                 this.column民族 = this.Columns["民族"];
  840.             }
  841.             
  842.             private void InitClass() {
  843.                 this.column民族编号 = new DataColumn("民族编号", typeof(string), null, System.Data.MappingType.Element);
  844.                 this.Columns.Add(this.column民族编号);
  845.                 this.column民族 = new DataColumn("民族", typeof(string), null, System.Data.MappingType.Element);
  846.                 this.Columns.Add(this.column民族);
  847.                 this.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] {
  848.                                 this.column民族编号}, true));
  849.                 this.column民族编号.AllowDBNull = false;
  850.                 this.column民族编号.Unique = true;
  851.             }
  852.             
  853.             public 民族代码表Row New民族代码表Row() {
  854.                 return ((民族代码表Row)(this.NewRow()));
  855.             }
  856.             
  857.             protected override DataRow NewRowFromBuilder(DataRowBuilder builder) {
  858.                 return new 民族代码表Row(builder);
  859.             }
  860.             
  861.             protected override System.Type GetRowType() {
  862.                 return typeof(民族代码表Row);
  863.             }
  864.             
  865.             protected override void OnRowChanged(DataRowChangeEventArgs e) {
  866.                 base.OnRowChanged(e);
  867.                 if ((this.民族代码表RowChanged != null)) {
  868.                     this.民族代码表RowChanged(this, new 民族代码表RowChangeEvent(((民族代码表Row)(e.Row)), e.Action));
  869.                 }
  870.             }
  871.             
  872.             protected override void OnRowChanging(DataRowChangeEventArgs e) {
  873.                 base.OnRowChanging(e);
  874.                 if ((this.民族代码表RowChanging != null)) {
  875.                     this.民族代码表RowChanging(this, new 民族代码表RowChangeEvent(((民族代码表Row)(e.Row)), e.Action));
  876.                 }
  877.             }
  878.             
  879.             protected override void OnRowDeleted(DataRowChangeEventArgs e) {
  880.                 base.OnRowDeleted(e);
  881.                 if ((this.民族代码表RowDeleted != null)) {
  882.                     this.民族代码表RowDeleted(this, new 民族代码表RowChangeEvent(((民族代码表Row)(e.Row)), e.Action));
  883.                 }
  884.             }
  885.             
  886.             protected override void OnRowDeleting(DataRowChangeEventArgs e) {
  887.                 base.OnRowDeleting(e);
  888.                 if ((this.民族代码表RowDeleting != null)) {
  889.                     this.民族代码表RowDeleting(this, new 民族代码表RowChangeEvent(((民族代码表Row)(e.Row)), e.Action));
  890.                 }
  891.             }
  892.             
  893.             public void Remove民族代码表Row(民族代码表Row row) {
  894.                 this.Rows.Remove(row);
  895.             }
  896.         }
  897.         
  898.         [System.Diagnostics.DebuggerStepThrough()]
  899.         public class 民族代码表Row : DataRow {
  900.             
  901.             private 民族代码表DataTable table民族代码表;
  902.             
  903.             internal 民族代码表Row(DataRowBuilder rb) : 
  904.                     base(rb) {
  905.                 this.table民族代码表 = ((民族代码表DataTable)(this.Table));
  906.             }
  907.             
  908.             public string 民族编号 {
  909.                 get {
  910.                     return ((string)(this[this.table民族代码表.民族编号Column]));
  911.                 }
  912.                 set {
  913.                     this[this.table民族代码表.民族编号Column] = value;
  914.                 }
  915.             }
  916.             
  917.             public string 民族 {
  918.                 get {
  919.                     try {
  920.                         return ((string)(this[this.table民族代码表.民族Column]));
  921.                     }
  922.                     catch (InvalidCastException e) {
  923.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  924.                     }
  925.                 }
  926.                 set {
  927.                     this[this.table民族代码表.民族Column] = value;
  928.                 }
  929.             }
  930.             
  931.             public bool Is民族Null() {
  932.                 return this.IsNull(this.table民族代码表.民族Column);
  933.             }
  934.             
  935.             public void Set民族Null() {
  936.                 this[this.table民族代码表.民族Column] = System.Convert.DBNull;
  937.             }
  938.         }
  939.         
  940.         [System.Diagnostics.DebuggerStepThrough()]
  941.         public class 民族代码表RowChangeEvent : EventArgs {
  942.             
  943.             private 民族代码表Row eventRow;
  944.             
  945.             private DataRowAction eventAction;
  946.             
  947.             public 民族代码表RowChangeEvent(民族代码表Row row, DataRowAction action) {
  948.                 this.eventRow = row;
  949.                 this.eventAction = action;
  950.             }
  951.             
  952.             public 民族代码表Row Row {
  953.                 get {
  954.                     return this.eventRow;
  955.                 }
  956.             }
  957.             
  958.             public DataRowAction Action {
  959.                 get {
  960.                     return this.eventAction;
  961.                 }
  962.             }
  963.         }
  964.         
  965.         [System.Diagnostics.DebuggerStepThrough()]
  966.         public class 学籍代码表DataTable : DataTable, System.Collections.IEnumerable {
  967.             
  968.             private DataColumn column学籍编号;
  969.             
  970.             private DataColumn column学籍名称;
  971.             
  972.             internal 学籍代码表DataTable() : 
  973.                     base("学籍代码表") {
  974.                 this.InitClass();
  975.             }
  976.             
  977.             internal 学籍代码表DataTable(DataTable table) : 
  978.                     base(table.TableName) {
  979.                 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  980.                     this.CaseSensitive = table.CaseSensitive;
  981.                 }
  982.                 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  983.                     this.Locale = table.Locale;
  984.                 }
  985.                 if ((table.Namespace != table.DataSet.Namespace)) {
  986.                     this.Namespace = table.Namespace;
  987.                 }
  988.                 this.Prefix = table.Prefix;
  989.                 this.MinimumCapacity = table.MinimumCapacity;
  990.                 this.DisplayExpression = table.DisplayExpression;
  991.             }
  992.             
  993.             [System.ComponentModel.Browsable(false)]
  994.             public int Count {
  995.                 get {
  996.                     return this.Rows.Count;
  997.                 }
  998.             }
  999.             
  1000.             internal DataColumn 学籍编号Column {
  1001.                 get {
  1002.                     return this.column学籍编号;
  1003.                 }
  1004.             }
  1005.             
  1006.             internal DataColumn 学籍名称Column {
  1007.                 get {
  1008.                     return this.column学籍名称;
  1009.                 }
  1010.             }
  1011.             
  1012.             public 学籍代码表Row this[int index] {
  1013.                 get {
  1014.                     return ((学籍代码表Row)(this.Rows[index]));
  1015.                 }
  1016.             }
  1017.             
  1018.             public event 学籍代码表RowChangeEventHandler 学籍代码表RowChanged;
  1019.             
  1020.             public event 学籍代码表RowChangeEventHandler 学籍代码表RowChanging;
  1021.             
  1022.             public event 学籍代码表RowChangeEventHandler 学籍代码表RowDeleted;
  1023.             
  1024.             public event 学籍代码表RowChangeEventHandler 学籍代码表RowDeleting;
  1025.             
  1026.             public void Add学籍代码表Row(学籍代码表Row row) {
  1027.                 this.Rows.Add(row);
  1028.             }
  1029.             
  1030.             public 学籍代码表Row Add学籍代码表Row(string 学籍编号, string 学籍名称) {
  1031.                 学籍代码表Row row学籍代码表Row = ((学籍代码表Row)(this.NewRow()));
  1032.                 row学籍代码表Row.ItemArray = new object[] {
  1033.                         学籍编号,
  1034.                         学籍名称};
  1035.                 this.Rows.Add(row学籍代码表Row);
  1036.                 return row学籍代码表Row;
  1037.             }
  1038.             
  1039.             public 学籍代码表Row FindBy学籍编号(string 学籍编号) {
  1040.                 return ((学籍代码表Row)(this.Rows.Find(new object[] {
  1041.                             学籍编号})));
  1042.             }
  1043.             
  1044.             public System.Collections.IEnumerator GetEnumerator() {
  1045.                 return this.Rows.GetEnumerator();
  1046.             }
  1047.             
  1048.             public override DataTable Clone() {
  1049.                 学籍代码表DataTable cln = ((学籍代码表DataTable)(base.Clone()));
  1050.                 cln.InitVars();
  1051.                 return cln;
  1052.             }
  1053.             
  1054.             protected override DataTable CreateInstance() {
  1055.                 return new 学籍代码表DataTable();
  1056.             }
  1057.             
  1058.             internal void InitVars() {
  1059.                 this.column学籍编号 = this.Columns["学籍编号"];
  1060.                 this.column学籍名称 = this.Columns["学籍名称"];
  1061.             }
  1062.             
  1063.             private void InitClass() {
  1064.                 this.column学籍编号 = new DataColumn("学籍编号", typeof(string), null, System.Data.MappingType.Element);
  1065.                 this.Columns.Add(this.column学籍编号);
  1066.                 this.column学籍名称 = new DataColumn("学籍名称", typeof(string), null, System.Data.MappingType.Element);
  1067.                 this.Columns.Add(this.column学籍名称);
  1068.                 this.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] {
  1069.                                 this.column学籍编号}, true));
  1070.                 this.column学籍编号.AllowDBNull = false;
  1071.                 this.column学籍编号.Unique = true;
  1072.             }
  1073.             
  1074.             public 学籍代码表Row New学籍代码表Row() {
  1075.                 return ((学籍代码表Row)(this.NewRow()));
  1076.             }
  1077.             
  1078.             protected override DataRow NewRowFromBuilder(DataRowBuilder builder) {
  1079.                 return new 学籍代码表Row(builder);
  1080.             }
  1081.             
  1082.             protected override System.Type GetRowType() {
  1083.                 return typeof(学籍代码表Row);
  1084.             }
  1085.             
  1086.             protected override void OnRowChanged(DataRowChangeEventArgs e) {
  1087.                 base.OnRowChanged(e);
  1088.                 if ((this.学籍代码表RowChanged != null)) {
  1089.                     this.学籍代码表RowChanged(this, new 学籍代码表RowChangeEvent(((学籍代码表Row)(e.Row)), e.Action));
  1090.                 }
  1091.             }
  1092.             
  1093.             protected override void OnRowChanging(DataRowChangeEventArgs e) {
  1094.                 base.OnRowChanging(e);
  1095.                 if ((this.学籍代码表RowChanging != null)) {
  1096.                     this.学籍代码表RowChanging(this, new 学籍代码表RowChangeEvent(((学籍代码表Row)(e.Row)), e.Action));
  1097.                 }
  1098.             }
  1099.             
  1100.             protected override void OnRowDeleted(DataRowChangeEventArgs e) {
  1101.                 base.OnRowDeleted(e);
  1102.                 if ((this.学籍代码表RowDeleted != null)) {
  1103.                     this.学籍代码表RowDeleted(this, new 学籍代码表RowChangeEvent(((学籍代码表Row)(e.Row)), e.Action));
  1104.                 }
  1105.             }
  1106.             
  1107.             protected override void OnRowDeleting(DataRowChangeEventArgs e) {
  1108.                 base.OnRowDeleting(e);
  1109.                 if ((this.学籍代码表RowDeleting != null)) {
  1110.                     this.学籍代码表RowDeleting(this, new 学籍代码表RowChangeEvent(((学籍代码表Row)(e.Row)), e.Action));
  1111.                 }
  1112.             }
  1113.             
  1114.             public void Remove学籍代码表Row(学籍代码表Row row) {
  1115.                 this.Rows.Remove(row);
  1116.             }
  1117.         }
  1118.         
  1119.         [System.Diagnostics.DebuggerStepThrough()]
  1120.         public class 学籍代码表Row : DataRow {
  1121.             
  1122.             private 学籍代码表DataTable table学籍代码表;
  1123.             
  1124.             internal 学籍代码表Row(DataRowBuilder rb) : 
  1125.                     base(rb) {
  1126.                 this.table学籍代码表 = ((学籍代码表DataTable)(this.Table));
  1127.             }
  1128.             
  1129.             public string 学籍编号 {
  1130.                 get {
  1131.                     return ((string)(this[this.table学籍代码表.学籍编号Column]));
  1132.                 }
  1133.                 set {
  1134.                     this[this.table学籍代码表.学籍编号Column] = value;
  1135.                 }
  1136.             }
  1137.             
  1138.             public string 学籍名称 {
  1139.                 get {
  1140.                     try {
  1141.                         return ((string)(this[this.table学籍代码表.学籍名称Column]));
  1142.                     }
  1143.                     catch (InvalidCastException e) {
  1144.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1145.                     }
  1146.                 }
  1147.                 set {
  1148.                     this[this.table学籍代码表.学籍名称Column] = value;
  1149.                 }
  1150.             }
  1151.             
  1152.             public bool Is学籍名称Null() {
  1153.                 return this.IsNull(this.table学籍代码表.学籍名称Column);
  1154.             }
  1155.             
  1156.             public void Set学籍名称Null() {
  1157.                 this[this.table学籍代码表.学籍名称Column] = System.Convert.DBNull;
  1158.             }
  1159.         }
  1160.         
  1161.         [System.Diagnostics.DebuggerStepThrough()]
  1162.         public class 学籍代码表RowChangeEvent : EventArgs {
  1163.             
  1164.             private 学籍代码表Row eventRow;
  1165.             
  1166.             private DataRowAction eventAction;
  1167.             
  1168.             public 学籍代码表RowChangeEvent(学籍代码表Row row, DataRowAction action) {
  1169.                 this.eventRow = row;
  1170.                 this.eventAction = action;
  1171.             }
  1172.             
  1173.             public 学籍代码表Row Row {
  1174.                 get {
  1175.                     return this.eventRow;
  1176.                 }
  1177.             }
  1178.             
  1179.             public DataRowAction Action {
  1180.                 get {
  1181.                     return this.eventAction;
  1182.                 }
  1183.             }
  1184.         }
  1185.         
  1186.         [System.Diagnostics.DebuggerStepThrough()]
  1187.         public class 班级信息DataTable : DataTable, System.Collections.IEnumerable {
  1188.             
  1189.             private DataColumn column班级编号;
  1190.             
  1191.             private DataColumn column年级;
  1192.             
  1193.             private DataColumn column班级名称;
  1194.             
  1195.             private DataColumn column班级简称;
  1196.             
  1197.             private DataColumn column人数;
  1198.             
  1199.             private DataColumn column班主任;
  1200.             
  1201.             internal 班级信息DataTable() : 
  1202.                     base("班级信息") {
  1203.                 this.InitClass();
  1204.             }
  1205.             
  1206.             internal 班级信息DataTable(DataTable table) : 
  1207.                     base(table.TableName) {
  1208.                 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  1209.                     this.CaseSensitive = table.CaseSensitive;
  1210.                 }
  1211.                 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  1212.                     this.Locale = table.Locale;
  1213.                 }
  1214.                 if ((table.Namespace != table.DataSet.Namespace)) {
  1215.                     this.Namespace = table.Namespace;
  1216.                 }
  1217.                 this.Prefix = table.Prefix;
  1218.                 this.MinimumCapacity = table.MinimumCapacity;
  1219.                 this.DisplayExpression = table.DisplayExpression;
  1220.             }
  1221.             
  1222.             [System.ComponentModel.Browsable(false)]
  1223.             public int Count {
  1224.                 get {
  1225.                     return this.Rows.Count;
  1226.                 }
  1227.             }
  1228.             
  1229.             internal DataColumn 班级编号Column {
  1230.                 get {
  1231.                     return this.column班级编号;
  1232.                 }
  1233.             }
  1234.             
  1235.             internal DataColumn 年级Column {
  1236.                 get {
  1237.                     return this.column年级;
  1238.                 }
  1239.             }
  1240.             
  1241.             internal DataColumn 班级名称Column {
  1242.                 get {
  1243.                     return this.column班级名称;
  1244.                 }
  1245.             }
  1246.             
  1247.             internal DataColumn 班级简称Column {
  1248.                 get {
  1249.                     return this.column班级简称;
  1250.                 }
  1251.             }
  1252.             
  1253.             internal DataColumn 人数Column {
  1254.                 get {
  1255.                     return this.column人数;
  1256.                 }
  1257.             }
  1258.             
  1259.             internal DataColumn 班主任Column {
  1260.                 get {
  1261.                     return this.column班主任;
  1262.                 }
  1263.             }
  1264.             
  1265.             public 班级信息Row this[int index] {
  1266.                 get {
  1267.                     return ((班级信息Row)(this.Rows[index]));
  1268.                 }
  1269.             }
  1270.             
  1271.             public event 班级信息RowChangeEventHandler 班级信息RowChanged;
  1272.             
  1273.             public event 班级信息RowChangeEventHandler 班级信息RowChanging;
  1274.             
  1275.             public event 班级信息RowChangeEventHandler 班级信息RowDeleted;
  1276.             
  1277.             public event 班级信息RowChangeEventHandler 班级信息RowDeleting;
  1278.             
  1279.             public void Add班级信息Row(班级信息Row row) {
  1280.                 this.Rows.Add(row);
  1281.             }
  1282.             
  1283.             public 班级信息Row Add班级信息Row(string 班级编号, string 年级, string 班级名称, string 班级简称, System.Decimal 人数, string 班主任) {
  1284.                 班级信息Row row班级信息Row = ((班级信息Row)(this.NewRow()));
  1285.                 row班级信息Row.ItemArray = new object[] {
  1286.                         班级编号,
  1287.                         年级,
  1288.                         班级名称,
  1289.                         班级简称,
  1290.                         人数,
  1291.                         班主任};
  1292.                 this.Rows.Add(row班级信息Row);
  1293.                 return row班级信息Row;
  1294.             }
  1295.             
  1296.             public 班级信息Row FindBy班级编号(string 班级编号) {
  1297.                 return ((班级信息Row)(this.Rows.Find(new object[] {
  1298.                             班级编号})));
  1299.             }
  1300.             
  1301.             public System.Collections.IEnumerator GetEnumerator() {
  1302.                 return this.Rows.GetEnumerator();
  1303.             }
  1304.             
  1305.             public override DataTable Clone() {
  1306.                 班级信息DataTable cln = ((班级信息DataTable)(base.Clone()));
  1307.                 cln.InitVars();
  1308.                 return cln;
  1309.             }
  1310.             
  1311.             protected override DataTable CreateInstance() {
  1312.                 return new 班级信息DataTable();
  1313.             }
  1314.             
  1315.             internal void InitVars() {
  1316.                 this.column班级编号 = this.Columns["班级编号"];
  1317.                 this.column年级 = this.Columns["年级"];
  1318.                 this.column班级名称 = this.Columns["班级名称"];
  1319.                 this.column班级简称 = this.Columns["班级简称"];
  1320.                 this.column人数 = this.Columns["人数"];
  1321.                 this.column班主任 = this.Columns["班主任"];
  1322.             }
  1323.             
  1324.             private void InitClass() {
  1325.                 this.column班级编号 = new DataColumn("班级编号", typeof(string), null, System.Data.MappingType.Element);
  1326.                 this.Columns.Add(this.column班级编号);
  1327.                 this.column年级 = new DataColumn("年级", typeof(string), null, System.Data.MappingType.Element);
  1328.                 this.Columns.Add(this.column年级);
  1329.                 this.column班级名称 = new DataColumn("班级名称", typeof(string), null, System.Data.MappingType.Element);
  1330.                 this.Columns.Add(this.column班级名称);
  1331.                 this.column班级简称 = new DataColumn("班级简称", typeof(string), null, System.Data.MappingType.Element);
  1332.                 this.Columns.Add(this.column班级简称);
  1333.                 this.column人数 = new DataColumn("人数", typeof(System.Decimal), null, System.Data.MappingType.Element);
  1334.                 this.Columns.Add(this.column人数);
  1335.                 this.column班主任 = new DataColumn("班主任", typeof(string), null, System.Data.MappingType.Element);
  1336.                 this.Columns.Add(this.column班主任);
  1337.                 this.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] {
  1338.                                 this.column班级编号}, true));
  1339.                 this.column班级编号.AllowDBNull = false;
  1340.                 this.column班级编号.Unique = true;
  1341.             }
  1342.             
  1343.             public 班级信息Row New班级信息Row() {
  1344.                 return ((班级信息Row)(this.NewRow()));
  1345.             }
  1346.             
  1347.             protected override DataRow NewRowFromBuilder(DataRowBuilder builder) {
  1348.                 return new 班级信息Row(builder);
  1349.             }
  1350.             
  1351.             protected override System.Type GetRowType() {
  1352.                 return typeof(班级信息Row);
  1353.             }
  1354.             
  1355.             protected override void OnRowChanged(DataRowChangeEventArgs e) {
  1356.                 base.OnRowChanged(e);
  1357.                 if ((this.班级信息RowChanged != null)) {
  1358.                     this.班级信息RowChanged(this, new 班级信息RowChangeEvent(((班级信息Row)(e.Row)), e.Action));
  1359.                 }
  1360.             }
  1361.             
  1362.             protected override void OnRowChanging(DataRowChangeEventArgs e) {
  1363.                 base.OnRowChanging(e);
  1364.                 if ((this.班级信息RowChanging != null)) {
  1365.                     this.班级信息RowChanging(this, new 班级信息RowChangeEvent(((班级信息Row)(e.Row)), e.Action));
  1366.                 }
  1367.             }
  1368.             
  1369.             protected override void OnRowDeleted(DataRowChangeEventArgs e) {
  1370.                 base.OnRowDeleted(e);
  1371.                 if ((this.班级信息RowDeleted != null)) {
  1372.                     this.班级信息RowDeleted(this, new 班级信息RowChangeEvent(((班级信息Row)(e.Row)), e.Action));
  1373.                 }
  1374.             }
  1375.             
  1376.             protected override void OnRowDeleting(DataRowChangeEventArgs e) {
  1377.                 base.OnRowDeleting(e);
  1378.                 if ((this.班级信息RowDeleting != null)) {
  1379.                     this.班级信息RowDeleting(this, new 班级信息RowChangeEvent(((班级信息Row)(e.Row)), e.Action));
  1380.                 }
  1381.             }
  1382.             
  1383.             public void Remove班级信息Row(班级信息Row row) {
  1384.                 this.Rows.Remove(row);
  1385.             }
  1386.         }
  1387.         
  1388.         [System.Diagnostics.DebuggerStepThrough()]
  1389.         public class 班级信息Row : DataRow {
  1390.             
  1391.             private 班级信息DataTable table班级信息;
  1392.             
  1393.             internal 班级信息Row(DataRowBuilder rb) : 
  1394.                     base(rb) {
  1395.                 this.table班级信息 = ((班级信息DataTable)(this.Table));
  1396.             }
  1397.             
  1398.             public string 班级编号 {
  1399.                 get {
  1400.                     return ((string)(this[this.table班级信息.班级编号Column]));
  1401.                 }
  1402.                 set {
  1403.                     this[this.table班级信息.班级编号Column] = value;
  1404.                 }
  1405.             }
  1406.             
  1407.             public string 年级 {
  1408.                 get {
  1409.                     try {
  1410.                         return ((string)(this[this.table班级信息.年级Column]));
  1411.                     }
  1412.                     catch (InvalidCastException e) {
  1413.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1414.                     }
  1415.                 }
  1416.                 set {
  1417.                     this[this.table班级信息.年级Column] = value;
  1418.                 }
  1419.             }
  1420.             
  1421.             public string 班级名称 {
  1422.                 get {
  1423.                     try {
  1424.                         return ((string)(this[this.table班级信息.班级名称Column]));
  1425.                     }
  1426.                     catch (InvalidCastException e) {
  1427.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1428.                     }
  1429.                 }
  1430.                 set {
  1431.                     this[this.table班级信息.班级名称Column] = value;
  1432.                 }
  1433.             }
  1434.             
  1435.             public string 班级简称 {
  1436.                 get {
  1437.                     try {
  1438.                         return ((string)(this[this.table班级信息.班级简称Column]));
  1439.                     }
  1440.                     catch (InvalidCastException e) {
  1441.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1442.                     }
  1443.                 }
  1444.                 set {
  1445.                     this[this.table班级信息.班级简称Column] = value;
  1446.                 }
  1447.             }
  1448.             
  1449.             public System.Decimal 人数 {
  1450.                 get {
  1451.                     try {
  1452.                         return ((System.Decimal)(this[this.table班级信息.人数Column]));
  1453.                     }
  1454.                     catch (InvalidCastException e) {
  1455.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1456.                     }
  1457.                 }
  1458.                 set {
  1459.                     this[this.table班级信息.人数Column] = value;
  1460.                 }
  1461.             }
  1462.             
  1463.             public string 班主任 {
  1464.                 get {
  1465.                     try {
  1466.                         return ((string)(this[this.table班级信息.班主任Column]));
  1467.                     }
  1468.                     catch (InvalidCastException e) {
  1469.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1470.                     }
  1471.                 }
  1472.                 set {
  1473.                     this[this.table班级信息.班主任Column] = value;
  1474.                 }
  1475.             }
  1476.             
  1477.             public bool Is年级Null() {
  1478.                 return this.IsNull(this.table班级信息.年级Column);
  1479.             }
  1480.             
  1481.             public void Set年级Null() {
  1482.                 this[this.table班级信息.年级Column] = System.Convert.DBNull;
  1483.             }
  1484.             
  1485.             public bool Is班级名称Null() {
  1486.                 return this.IsNull(this.table班级信息.班级名称Column);
  1487.             }
  1488.             
  1489.             public void Set班级名称Null() {
  1490.                 this[this.table班级信息.班级名称Column] = System.Convert.DBNull;
  1491.             }
  1492.             
  1493.             public bool Is班级简称Null() {
  1494.                 return this.IsNull(this.table班级信息.班级简称Column);
  1495.             }
  1496.             
  1497.             public void Set班级简称Null() {
  1498.                 this[this.table班级信息.班级简称Column] = System.Convert.DBNull;
  1499.             }
  1500.             
  1501.             public bool Is人数Null() {
  1502.                 return this.IsNull(this.table班级信息.人数Column);
  1503.             }
  1504.             
  1505.             public void Set人数Null() {
  1506.                 this[this.table班级信息.人数Column] = System.Convert.DBNull;
  1507.             }
  1508.             
  1509.             public bool Is班主任Null() {
  1510.                 return this.IsNull(this.table班级信息.班主任Column);
  1511.             }
  1512.             
  1513.             public void Set班主任Null() {
  1514.                 this[this.table班级信息.班主任Column] = System.Convert.DBNull;
  1515.             }
  1516.         }
  1517.         
  1518.         [System.Diagnostics.DebuggerStepThrough()]
  1519.         public class 班级信息RowChangeEvent : EventArgs {
  1520.             
  1521.             private 班级信息Row eventRow;
  1522.             
  1523.             private DataRowAction eventAction;
  1524.             
  1525.             public 班级信息RowChangeEvent(班级信息Row row, DataRowAction action) {
  1526.                 this.eventRow = row;
  1527.                 this.eventAction = action;
  1528.             }
  1529.             
  1530.             public 班级信息Row Row {
  1531.                 get {
  1532.                     return this.eventRow;
  1533.                 }
  1534.             }
  1535.             
  1536.             public DataRowAction Action {
  1537.                 get {
  1538.                     return this.eventAction;
  1539.                 }
  1540.             }
  1541.         }
  1542.         
  1543.         [System.Diagnostics.DebuggerStepThrough()]
  1544.         public class 学生信息DataTable : DataTable, System.Collections.IEnumerable {
  1545.             
  1546.             private DataColumn column学号;
  1547.             
  1548.             private DataColumn column姓名;
  1549.             
  1550.             private DataColumn column班级编号;
  1551.             
  1552.             private DataColumn column性别;
  1553.             
  1554.             private DataColumn column年级;
  1555.             
  1556.             private DataColumn column政治面貌编号;
  1557.             
  1558.             private DataColumn column民族编号;
  1559.             
  1560.             private DataColumn column籍贯编号;
  1561.             
  1562.             private DataColumn column身份证号;
  1563.             
  1564.             private DataColumn column学籍编号;
  1565.             
  1566.             internal 学生信息DataTable() : 
  1567.                     base("学生信息") {
  1568.                 this.InitClass();
  1569.             }
  1570.             
  1571.             internal 学生信息DataTable(DataTable table) : 
  1572.                     base(table.TableName) {
  1573.                 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  1574.                     this.CaseSensitive = table.CaseSensitive;
  1575.                 }
  1576.                 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  1577.                     this.Locale = table.Locale;
  1578.                 }
  1579.                 if ((table.Namespace != table.DataSet.Namespace)) {
  1580.                     this.Namespace = table.Namespace;
  1581.                 }
  1582.                 this.Prefix = table.Prefix;
  1583.                 this.MinimumCapacity = table.MinimumCapacity;
  1584.                 this.DisplayExpression = table.DisplayExpression;
  1585.             }
  1586.             
  1587.             [System.ComponentModel.Browsable(false)]
  1588.             public int Count {
  1589.                 get {
  1590.                     return this.Rows.Count;
  1591.                 }
  1592.             }
  1593.             
  1594.             internal DataColumn 学号Column {
  1595.                 get {
  1596.                     return this.column学号;
  1597.                 }
  1598.             }
  1599.             
  1600.             internal DataColumn 姓名Column {
  1601.                 get {
  1602.                     return this.column姓名;
  1603.                 }
  1604.             }
  1605.             
  1606.             internal DataColumn 班级编号Column {
  1607.                 get {
  1608.                     return this.column班级编号;
  1609.                 }
  1610.             }
  1611.             
  1612.             internal DataColumn 性别Column {
  1613.                 get {
  1614.                     return this.column性别;
  1615.                 }
  1616.             }
  1617.             
  1618.             internal DataColumn 年级Column {
  1619.                 get {
  1620.                     return this.column年级;
  1621.                 }
  1622.             }
  1623.             
  1624.             internal DataColumn 政治面貌编号Column {
  1625.                 get {
  1626.                     return this.column政治面貌编号;
  1627.                 }
  1628.             }
  1629.             
  1630.             internal DataColumn 民族编号Column {
  1631.                 get {
  1632.                     return this.column民族编号;
  1633.                 }
  1634.             }
  1635.             
  1636.             internal DataColumn 籍贯编号Column {
  1637.                 get {
  1638.                     return this.column籍贯编号;
  1639.                 }
  1640.             }
  1641.             
  1642.             internal DataColumn 身份证号Column {
  1643.                 get {
  1644.                     return this.column身份证号;
  1645.                 }
  1646.             }
  1647.             
  1648.             internal DataColumn 学籍编号Column {
  1649.                 get {
  1650.                     return this.column学籍编号;
  1651.                 }
  1652.             }
  1653.             
  1654.             public 学生信息Row this[int index] {
  1655.                 get {
  1656.                     return ((学生信息Row)(this.Rows[index]));
  1657.                 }
  1658.             }
  1659.             
  1660.             public event 学生信息RowChangeEventHandler 学生信息RowChanged;
  1661.             
  1662.             public event 学生信息RowChangeEventHandler 学生信息RowChanging;
  1663.             
  1664.             public event 学生信息RowChangeEventHandler 学生信息RowDeleted;
  1665.             
  1666.             public event 学生信息RowChangeEventHandler 学生信息RowDeleting;
  1667.             
  1668.             public void Add学生信息Row(学生信息Row row) {
  1669.                 this.Rows.Add(row);
  1670.             }
  1671.             
  1672.             public 学生信息Row Add学生信息Row(string 学号, string 姓名, string 班级编号, string 性别, int 年级, string 政治面貌编号, string 民族编号, string 籍贯编号, string 身份证号, string 学籍编号) {
  1673.                 学生信息Row row学生信息Row = ((学生信息Row)(this.NewRow()));
  1674.                 row学生信息Row.ItemArray = new object[] {
  1675.                         学号,
  1676.                         姓名,
  1677.                         班级编号,
  1678.                         性别,
  1679.                         年级,
  1680.                         政治面貌编号,
  1681.                         民族编号,
  1682.                         籍贯编号,
  1683.                         身份证号,
  1684.                         学籍编号};
  1685.                 this.Rows.Add(row学生信息Row);
  1686.                 return row学生信息Row;
  1687.             }
  1688.             
  1689.             public 学生信息Row FindBy学号(string 学号) {
  1690.                 return ((学生信息Row)(this.Rows.Find(new object[] {
  1691.                             学号})));
  1692.             }
  1693.             
  1694.             public System.Collections.IEnumerator GetEnumerator() {
  1695.                 return this.Rows.GetEnumerator();
  1696.             }
  1697.             
  1698.             public override DataTable Clone() {
  1699.                 学生信息DataTable cln = ((学生信息DataTable)(base.Clone()));
  1700.                 cln.InitVars();
  1701.                 return cln;
  1702.             }
  1703.             
  1704.             protected override DataTable CreateInstance() {
  1705.                 return new 学生信息DataTable();
  1706.             }
  1707.             
  1708.             internal void InitVars() {
  1709.                 this.column学号 = this.Columns["学号"];
  1710.                 this.column姓名 = this.Columns["姓名"];
  1711.                 this.column班级编号 = this.Columns["班级编号"];
  1712.                 this.column性别 = this.Columns["性别"];
  1713.                 this.column年级 = this.Columns["年级"];
  1714.                 this.column政治面貌编号 = this.Columns["政治面貌编号"];
  1715.                 this.column民族编号 = this.Columns["民族编号"];
  1716.                 this.column籍贯编号 = this.Columns["籍贯编号"];
  1717.                 this.column身份证号 = this.Columns["身份证号"];
  1718.                 this.column学籍编号 = this.Columns["学籍编号"];
  1719.             }
  1720.             
  1721.             private void InitClass() {
  1722.                 this.column学号 = new DataColumn("学号", typeof(string), null, System.Data.MappingType.Element);
  1723.                 this.Columns.Add(this.column学号);
  1724.                 this.column姓名 = new DataColumn("姓名", typeof(string), null, System.Data.MappingType.Element);
  1725.                 this.Columns.Add(this.column姓名);
  1726.                 this.column班级编号 = new DataColumn("班级编号", typeof(string), null, System.Data.MappingType.Element);
  1727.                 this.Columns.Add(this.column班级编号);
  1728.                 this.column性别 = new DataColumn("性别", typeof(string), null, System.Data.MappingType.Element);
  1729.                 this.Columns.Add(this.column性别);
  1730.                 this.column年级 = new DataColumn("年级", typeof(int), null, System.Data.MappingType.Element);
  1731.                 this.Columns.Add(this.column年级);
  1732.                 this.column政治面貌编号 = new DataColumn("政治面貌编号", typeof(string), null, System.Data.MappingType.Element);
  1733.                 this.Columns.Add(this.column政治面貌编号);
  1734.                 this.column民族编号 = new DataColumn("民族编号", typeof(string), null, System.Data.MappingType.Element);
  1735.                 this.Columns.Add(this.column民族编号);
  1736.                 this.column籍贯编号 = new DataColumn("籍贯编号", typeof(string), null, System.Data.MappingType.Element);
  1737.                 this.Columns.Add(this.column籍贯编号);
  1738.                 this.column身份证号 = new DataColumn("身份证号", typeof(string), null, System.Data.MappingType.Element);
  1739.                 this.Columns.Add(this.column身份证号);
  1740.                 this.column学籍编号 = new DataColumn("学籍编号", typeof(string), null, System.Data.MappingType.Element);
  1741.                 this.Columns.Add(this.column学籍编号);
  1742.                 this.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] {
  1743.                                 this.column学号}, true));
  1744.                 this.column学号.AllowDBNull = false;
  1745.                 this.column学号.Unique = true;
  1746.                 this.column民族编号.AllowDBNull = false;
  1747.                 this.column籍贯编号.AllowDBNull = false;
  1748.                 this.column学籍编号.AllowDBNull = false;
  1749.             }
  1750.             
  1751.             public 学生信息Row New学生信息Row() {
  1752.                 return ((学生信息Row)(this.NewRow()));
  1753.             }
  1754.             
  1755.             protected override DataRow NewRowFromBuilder(DataRowBuilder builder) {
  1756.                 return new 学生信息Row(builder);
  1757.             }
  1758.             
  1759.             protected override System.Type GetRowType() {
  1760.                 return typeof(学生信息Row);
  1761.             }
  1762.             
  1763.             protected override void OnRowChanged(DataRowChangeEventArgs e) {
  1764.                 base.OnRowChanged(e);
  1765.                 if ((this.学生信息RowChanged != null)) {
  1766.                     this.学生信息RowChanged(this, new 学生信息RowChangeEvent(((学生信息Row)(e.Row)), e.Action));
  1767.                 }
  1768.             }
  1769.             
  1770.             protected override void OnRowChanging(DataRowChangeEventArgs e) {
  1771.                 base.OnRowChanging(e);
  1772.                 if ((this.学生信息RowChanging != null)) {
  1773.                     this.学生信息RowChanging(this, new 学生信息RowChangeEvent(((学生信息Row)(e.Row)), e.Action));
  1774.                 }
  1775.             }
  1776.             
  1777.             protected override void OnRowDeleted(DataRowChangeEventArgs e) {
  1778.                 base.OnRowDeleted(e);
  1779.                 if ((this.学生信息RowDeleted != null)) {
  1780.                     this.学生信息RowDeleted(this, new 学生信息RowChangeEvent(((学生信息Row)(e.Row)), e.Action));
  1781.                 }
  1782.             }
  1783.             
  1784.             protected override void OnRowDeleting(DataRowChangeEventArgs e) {
  1785.                 base.OnRowDeleting(e);
  1786.                 if ((this.学生信息RowDeleting != null)) {
  1787.                     this.学生信息RowDeleting(this, new 学生信息RowChangeEvent(((学生信息Row)(e.Row)), e.Action));
  1788.                 }
  1789.             }
  1790.             
  1791.             public void Remove学生信息Row(学生信息Row row) {
  1792.                 this.Rows.Remove(row);
  1793.             }
  1794.         }
  1795.         
  1796.         [System.Diagnostics.DebuggerStepThrough()]
  1797.         public class 学生信息Row : DataRow {
  1798.             
  1799.             private 学生信息DataTable table学生信息;
  1800.             
  1801.             internal 学生信息Row(DataRowBuilder rb) : 
  1802.                     base(rb) {
  1803.                 this.table学生信息 = ((学生信息DataTable)(this.Table));
  1804.             }
  1805.             
  1806.             public string 学号 {
  1807.                 get {
  1808.                     return ((string)(this[this.table学生信息.学号Column]));
  1809.                 }
  1810.                 set {
  1811.                     this[this.table学生信息.学号Column] = value;
  1812.                 }
  1813.             }
  1814.             
  1815.             public string 姓名 {
  1816.                 get {
  1817.                     try {
  1818.                         return ((string)(this[this.table学生信息.姓名Column]));
  1819.                     }
  1820.                     catch (InvalidCastException e) {
  1821.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1822.                     }
  1823.                 }
  1824.                 set {
  1825.                     this[this.table学生信息.姓名Column] = value;
  1826.                 }
  1827.             }
  1828.             
  1829.             public string 班级编号 {
  1830.                 get {
  1831.                     try {
  1832.                         return ((string)(this[this.table学生信息.班级编号Column]));
  1833.                     }
  1834.                     catch (InvalidCastException e) {
  1835.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1836.                     }
  1837.                 }
  1838.                 set {
  1839.                     this[this.table学生信息.班级编号Column] = value;
  1840.                 }
  1841.             }
  1842.             
  1843.             public string 性别 {
  1844.                 get {
  1845.                     try {
  1846.                         return ((string)(this[this.table学生信息.性别Column]));
  1847.                     }
  1848.                     catch (InvalidCastException e) {
  1849.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1850.                     }
  1851.                 }
  1852.                 set {
  1853.                     this[this.table学生信息.性别Column] = value;
  1854.                 }
  1855.             }
  1856.             
  1857.             public int 年级 {
  1858.                 get {
  1859.                     try {
  1860.                         return ((int)(this[this.table学生信息.年级Column]));
  1861.                     }
  1862.                     catch (InvalidCastException e) {
  1863.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1864.                     }
  1865.                 }
  1866.                 set {
  1867.                     this[this.table学生信息.年级Column] = value;
  1868.                 }
  1869.             }
  1870.             
  1871.             public string 政治面貌编号 {
  1872.                 get {
  1873.                     try {
  1874.                         return ((string)(this[this.table学生信息.政治面貌编号Column]));
  1875.                     }
  1876.                     catch (InvalidCastException e) {
  1877.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1878.                     }
  1879.                 }
  1880.                 set {
  1881.                     this[this.table学生信息.政治面貌编号Column] = value;
  1882.                 }
  1883.             }
  1884.             
  1885.             public string 民族编号 {
  1886.                 get {
  1887.                     return ((string)(this[this.table学生信息.民族编号Column]));
  1888.                 }
  1889.                 set {
  1890.                     this[this.table学生信息.民族编号Column] = value;
  1891.                 }
  1892.             }
  1893.             
  1894.             public string 籍贯编号 {
  1895.                 get {
  1896.                     return ((string)(this[this.table学生信息.籍贯编号Column]));
  1897.                 }
  1898.                 set {
  1899.                     this[this.table学生信息.籍贯编号Column] = value;
  1900.                 }
  1901.             }
  1902.             
  1903.             public string 身份证号 {
  1904.                 get {
  1905.                     try {
  1906.                         return ((string)(this[this.table学生信息.身份证号Column]));
  1907.                     }
  1908.                     catch (InvalidCastException e) {
  1909.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1910.                     }
  1911.                 }
  1912.                 set {
  1913.                     this[this.table学生信息.身份证号Column] = value;
  1914.                 }
  1915.             }
  1916.             
  1917.             public string 学籍编号 {
  1918.                 get {
  1919.                     return ((string)(this[this.table学生信息.学籍编号Column]));
  1920.                 }
  1921.                 set {
  1922.                     this[this.table学生信息.学籍编号Column] = value;
  1923.                 }
  1924.             }
  1925.             
  1926.             public bool Is姓名Null() {
  1927.                 return this.IsNull(this.table学生信息.姓名Column);
  1928.             }
  1929.             
  1930.             public void Set姓名Null() {
  1931.                 this[this.table学生信息.姓名Column] = System.Convert.DBNull;
  1932.             }
  1933.             
  1934.             public bool Is班级编号Null() {
  1935.                 return this.IsNull(this.table学生信息.班级编号Column);
  1936.             }
  1937.             
  1938.             public void Set班级编号Null() {
  1939.                 this[this.table学生信息.班级编号Column] = System.Convert.DBNull;
  1940.             }
  1941.             
  1942.             public bool Is性别Null() {
  1943.                 return this.IsNull(this.table学生信息.性别Column);
  1944.             }
  1945.             
  1946.             public void Set性别Null() {
  1947.                 this[this.table学生信息.性别Column] = System.Convert.DBNull;
  1948.             }
  1949.             
  1950.             public bool Is年级Null() {
  1951.                 return this.IsNull(this.table学生信息.年级Column);
  1952.             }
  1953.             
  1954.             public void Set年级Null() {
  1955.                 this[this.table学生信息.年级Column] = System.Convert.DBNull;
  1956.             }
  1957.             
  1958.             public bool Is政治面貌编号Null() {
  1959.                 return this.IsNull(this.table学生信息.政治面貌编号Column);
  1960.             }
  1961.             
  1962.             public void Set政治面貌编号Null() {
  1963.                 this[this.table学生信息.政治面貌编号Column] = System.Convert.DBNull;
  1964.             }
  1965.             
  1966.             public bool Is身份证号Null() {
  1967.                 return this.IsNull(this.table学生信息.身份证号Column);
  1968.             }
  1969.             
  1970.             public void Set身份证号Null() {
  1971.                 this[this.table学生信息.身份证号Column] = System.Convert.DBNull;
  1972.             }
  1973.         }
  1974.         
  1975.         [System.Diagnostics.DebuggerStepThrough()]
  1976.         public class 学生信息RowChangeEvent : EventArgs {
  1977.             
  1978.             private 学生信息Row eventRow;
  1979.             
  1980.             private DataRowAction eventAction;
  1981.             
  1982.             public 学生信息RowChangeEvent(学生信息Row row, DataRowAction action) {
  1983.                 this.eventRow = row;
  1984.                 this.eventAction = action;
  1985.             }
  1986.             
  1987.             public 学生信息Row Row {
  1988.                 get {
  1989.                     return this.eventRow;
  1990.                 }
  1991.             }
  1992.             
  1993.             public DataRowAction Action {
  1994.                 get {
  1995.                     return this.eventAction;
  1996.                 }
  1997.             }
  1998.         }
  1999.         
  2000.         [System.Diagnostics.DebuggerStepThrough()]
  2001.         public class 课程信息DataTable : DataTable, System.Collections.IEnumerable {
  2002.             
  2003.             private DataColumn column课程编号;
  2004.             
  2005.             private DataColumn column课程名称;
  2006.             
  2007.             private DataColumn column课程简称;
  2008.             
  2009.             private DataColumn column拼音码;
  2010.             
  2011.             private DataColumn column本学期课程;
  2012.             
  2013.             private DataColumn column教师;
  2014.             
  2015.             private DataColumn column开课系别;
  2016.             
  2017.             private DataColumn column学分;
  2018.             
  2019.             internal 课程信息DataTable() : 
  2020.                     base("课程信息") {
  2021.                 this.InitClass();
  2022.             }
  2023.             
  2024.             internal 课程信息DataTable(DataTable table) : 
  2025.                     base(table.TableName) {
  2026.                 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  2027.                     this.CaseSensitive = table.CaseSensitive;
  2028.                 }
  2029.                 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  2030.                     this.Locale = table.Locale;
  2031.                 }
  2032.                 if ((table.Namespace != table.DataSet.Namespace)) {
  2033.                     this.Namespace = table.Namespace;
  2034.                 }
  2035.                 this.Prefix = table.Prefix;
  2036.                 this.MinimumCapacity = table.MinimumCapacity;
  2037.                 this.DisplayExpression = table.DisplayExpression;
  2038.             }
  2039.             
  2040.             [System.ComponentModel.Browsable(false)]
  2041.             public int Count {
  2042.                 get {
  2043.                     return this.Rows.Count;
  2044.                 }
  2045.             }
  2046.             
  2047.             internal DataColumn 课程编号Column {
  2048.                 get {
  2049.                     return this.column课程编号;
  2050.                 }
  2051.             }
  2052.             
  2053.             internal DataColumn 课程名称Column {
  2054.                 get {
  2055.                     return this.column课程名称;
  2056.                 }
  2057.             }
  2058.             
  2059.             internal DataColumn 课程简称Column {
  2060.                 get {
  2061.                     return this.column课程简称;
  2062.                 }
  2063.             }
  2064.             
  2065.             internal DataColumn 拼音码Column {
  2066.                 get {
  2067.                     return this.column拼音码;
  2068.                 }
  2069.             }
  2070.             
  2071.             internal DataColumn 本学期课程Column {
  2072.                 get {
  2073.                     return this.column本学期课程;
  2074.                 }
  2075.             }
  2076.             
  2077.             internal DataColumn 教师Column {
  2078.                 get {
  2079.                     return this.column教师;
  2080.                 }
  2081.             }
  2082.             
  2083.             internal DataColumn 开课系别Column {
  2084.                 get {
  2085.                     return this.column开课系别;
  2086.                 }
  2087.             }
  2088.             
  2089.             internal DataColumn 学分Column {
  2090.                 get {
  2091.                     return this.column学分;
  2092.                 }
  2093.             }
  2094.             
  2095.             public 课程信息Row this[int index] {
  2096.                 get {
  2097.                     return ((课程信息Row)(this.Rows[index]));
  2098.                 }
  2099.             }
  2100.             
  2101.             public event 课程信息RowChangeEventHandler 课程信息RowChanged;
  2102.             
  2103.             public event 课程信息RowChangeEventHandler 课程信息RowChanging;
  2104.             
  2105.             public event 课程信息RowChangeEventHandler 课程信息RowDeleted;
  2106.             
  2107.             public event 课程信息RowChangeEventHandler 课程信息RowDeleting;
  2108.             
  2109.             public void Add课程信息Row(课程信息Row row) {
  2110.                 this.Rows.Add(row);
  2111.             }
  2112.             
  2113.             public 课程信息Row Add课程信息Row(int 课程编号, string 课程名称, string 课程简称, string 拼音码, string 本学期课程, string 教师, string 开课系别, int 学分) {
  2114.                 课程信息Row row课程信息Row = ((课程信息Row)(this.NewRow()));
  2115.                 row课程信息Row.ItemArray = new object[] {
  2116.                         课程编号,
  2117.                         课程名称,
  2118.                         课程简称,
  2119.                         拼音码,
  2120.                         本学期课程,
  2121.                         教师,
  2122.                         开课系别,
  2123.                         学分};
  2124.                 this.Rows.Add(row课程信息Row);
  2125.                 return row课程信息Row;
  2126.             }
  2127.             
  2128.             public 课程信息Row FindBy课程编号(int 课程编号) {
  2129.                 return ((课程信息Row)(this.Rows.Find(new object[] {
  2130.                             课程编号})));
  2131.             }
  2132.             
  2133.             public System.Collections.IEnumerator GetEnumerator() {
  2134.                 return this.Rows.GetEnumerator();
  2135.             }
  2136.             
  2137.             public override DataTable Clone() {
  2138.                 课程信息DataTable cln = ((课程信息DataTable)(base.Clone()));
  2139.                 cln.InitVars();
  2140.                 return cln;
  2141.             }
  2142.             
  2143.             protected override DataTable CreateInstance() {
  2144.                 return new 课程信息DataTable();
  2145.             }
  2146.             
  2147.             internal void InitVars() {
  2148.                 this.column课程编号 = this.Columns["课程编号"];
  2149.                 this.column课程名称 = this.Columns["课程名称"];
  2150.                 this.column课程简称 = this.Columns["课程简称"];
  2151.                 this.column拼音码 = this.Columns["拼音码"];
  2152.                 this.column本学期课程 = this.Columns["本学期课程"];
  2153.                 this.column教师 = this.Columns["教师"];
  2154.                 this.column开课系别 = this.Columns["开课系别"];
  2155.                 this.column学分 = this.Columns["学分"];
  2156.             }
  2157.             
  2158.             private void InitClass() {
  2159.                 this.column课程编号 = new DataColumn("课程编号", typeof(int), null, System.Data.MappingType.Element);
  2160.                 this.Columns.Add(this.column课程编号);
  2161.                 this.column课程名称 = new DataColumn("课程名称", typeof(string), null, System.Data.MappingType.Element);
  2162.                 this.Columns.Add(this.column课程名称);
  2163.                 this.column课程简称 = new DataColumn("课程简称", typeof(string), null, System.Data.MappingType.Element);
  2164.                 this.Columns.Add(this.column课程简称);
  2165.                 this.column拼音码 = new DataColumn("拼音码", typeof(string), null, System.Data.MappingType.Element);
  2166.                 this.Columns.Add(this.column拼音码);
  2167.                 this.column本学期课程 = new DataColumn("本学期课程", typeof(string), null, System.Data.MappingType.Element);
  2168.                 this.Columns.Add(this.column本学期课程);
  2169.                 this.column教师 = new DataColumn("教师", typeof(string), null, System.Data.MappingType.Element);
  2170.                 this.Columns.Add(this.column教师);
  2171.                 this.column开课系别 = new DataColumn("开课系别", typeof(string), null, System.Data.MappingType.Element);
  2172.                 this.Columns.Add(this.column开课系别);
  2173.                 this.column学分 = new DataColumn("学分", typeof(int), null, System.Data.MappingType.Element);
  2174.                 this.Columns.Add(this.column学分);
  2175.                 this.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] {
  2176.                                 this.column课程编号}, true));
  2177.                 this.column课程编号.AllowDBNull = false;
  2178.                 this.column课程编号.Unique = true;
  2179.                 this.column课程名称.AllowDBNull = false;
  2180.                 this.column课程简称.AllowDBNull = false;
  2181.                 this.column本学期课程.AllowDBNull = false;
  2182.             }
  2183.             
  2184.             public 课程信息Row New课程信息Row() {
  2185.                 return ((课程信息Row)(this.NewRow()));
  2186.             }
  2187.             
  2188.             protected override DataRow NewRowFromBuilder(DataRowBuilder builder) {
  2189.                 return new 课程信息Row(builder);
  2190.             }
  2191.             
  2192.             protected override System.Type GetRowType() {
  2193.                 return typeof(课程信息Row);
  2194.             }
  2195.             
  2196.             protected override void OnRowChanged(DataRowChangeEventArgs e) {
  2197.                 base.OnRowChanged(e);
  2198.                 if ((this.课程信息RowChanged != null)) {
  2199.                     this.课程信息RowChanged(this, new 课程信息RowChangeEvent(((课程信息Row)(e.Row)), e.Action));
  2200.                 }
  2201.             }
  2202.             
  2203.             protected override void OnRowChanging(DataRowChangeEventArgs e) {
  2204.                 base.OnRowChanging(e);
  2205.                 if ((this.课程信息RowChanging != null)) {
  2206.                     this.课程信息RowChanging(this, new 课程信息RowChangeEvent(((课程信息Row)(e.Row)), e.Action));
  2207.                 }
  2208.             }
  2209.             
  2210.             protected override void OnRowDeleted(DataRowChangeEventArgs e) {
  2211.                 base.OnRowDeleted(e);
  2212.                 if ((this.课程信息RowDeleted != null)) {
  2213.                     this.课程信息RowDeleted(this, new 课程信息RowChangeEvent(((课程信息Row)(e.Row)), e.Action));
  2214.                 }
  2215.             }
  2216.             
  2217.             protected override void OnRowDeleting(DataRowChangeEventArgs e) {
  2218.                 base.OnRowDeleting(e);
  2219.                 if ((this.课程信息RowDeleting != null)) {
  2220.                     this.课程信息RowDeleting(this, new 课程信息RowChangeEvent(((课程信息Row)(e.Row)), e.Action));
  2221.                 }
  2222.             }
  2223.             
  2224.             public void Remove课程信息Row(课程信息Row row) {
  2225.                 this.Rows.Remove(row);
  2226.             }
  2227.         }
  2228.         
  2229.         [System.Diagnostics.DebuggerStepThrough()]
  2230.         public class 课程信息Row : DataRow {
  2231.             
  2232.             private 课程信息DataTable table课程信息;
  2233.             
  2234.             internal 课程信息Row(DataRowBuilder rb) : 
  2235.                     base(rb) {
  2236.                 this.table课程信息 = ((课程信息DataTable)(this.Table));
  2237.             }
  2238.             
  2239.             public int 课程编号 {
  2240.                 get {
  2241.                     return ((int)(this[this.table课程信息.课程编号Column]));
  2242.                 }
  2243.                 set {
  2244.                     this[this.table课程信息.课程编号Column] = value;
  2245.                 }
  2246.             }
  2247.             
  2248.             public string 课程名称 {
  2249.                 get {
  2250.                     return ((string)(this[this.table课程信息.课程名称Column]));
  2251.                 }
  2252.                 set {
  2253.                     this[this.table课程信息.课程名称Column] = value;
  2254.                 }
  2255.             }
  2256.             
  2257.             public string 课程简称 {
  2258.                 get {
  2259.                     return ((string)(this[this.table课程信息.课程简称Column]));
  2260.                 }
  2261.                 set {
  2262.                     this[this.table课程信息.课程简称Column] = value;
  2263.                 }
  2264.             }
  2265.             
  2266.             public string 拼音码 {
  2267.                 get {
  2268.                     try {
  2269.                         return ((string)(this[this.table课程信息.拼音码Column]));
  2270.                     }
  2271.                     catch (InvalidCastException e) {
  2272.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  2273.                     }
  2274.                 }
  2275.                 set {
  2276.                     this[this.table课程信息.拼音码Column] = value;
  2277.                 }
  2278.             }
  2279.             
  2280.             public string 本学期课程 {
  2281.                 get {
  2282.                     return ((string)(this[this.table课程信息.本学期课程Column]));
  2283.                 }
  2284.                 set {
  2285.                     this[this.table课程信息.本学期课程Column] = value;
  2286.                 }
  2287.             }
  2288.             
  2289.             public string 教师 {
  2290.                 get {
  2291.                     try {
  2292.                         return ((string)(this[this.table课程信息.教师Column]));
  2293.                     }
  2294.                     catch (InvalidCastException e) {
  2295.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  2296.                     }
  2297.                 }
  2298.                 set {
  2299.                     this[this.table课程信息.教师Column] = value;
  2300.                 }
  2301.             }
  2302.             
  2303.             public string 开课系别 {
  2304.                 get {
  2305.                     try {
  2306.                         return ((string)(this[this.table课程信息.开课系别Column]));
  2307.                     }
  2308.                     catch (InvalidCastException e) {
  2309.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  2310.                     }
  2311.                 }
  2312.                 set {
  2313.                     this[this.table课程信息.开课系别Column] = value;
  2314.                 }
  2315.             }
  2316.             
  2317.             public int 学分 {
  2318.                 get {
  2319.                     try {
  2320.                         return ((int)(this[this.table课程信息.学分Column]));
  2321.                     }
  2322.                     catch (InvalidCastException e) {
  2323.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  2324.                     }
  2325.                 }
  2326.                 set {
  2327.                     this[this.table课程信息.学分Column] = value;
  2328.                 }
  2329.             }
  2330.             
  2331.             public bool Is拼音码Null() {
  2332.                 return this.IsNull(this.table课程信息.拼音码Column);
  2333.             }
  2334.             
  2335.             public void Set拼音码Null() {
  2336.                 this[this.table课程信息.拼音码Column] = System.Convert.DBNull;
  2337.             }
  2338.             
  2339.             public bool Is教师Null() {
  2340.                 return this.IsNull(this.table课程信息.教师Column);
  2341.             }
  2342.             
  2343.             public void Set教师Null() {
  2344.                 this[this.table课程信息.教师Column] = System.Convert.DBNull;
  2345.             }
  2346.             
  2347.             public bool Is开课系别Null() {
  2348.                 return this.IsNull(this.table课程信息.开课系别Column);
  2349.             }
  2350.             
  2351.             public void Set开课系别Null() {
  2352.                 this[this.table课程信息.开课系别Column] = System.Convert.DBNull;
  2353.             }
  2354.             
  2355.             public bool Is学分Null() {
  2356.                 return this.IsNull(this.table课程信息.学分Column);
  2357.             }
  2358.             
  2359.             public void Set学分Null() {
  2360.                 this[this.table课程信息.学分Column] = System.Convert.DBNull;
  2361.             }
  2362.         }
  2363.         
  2364.         [System.Diagnostics.DebuggerStepThrough()]
  2365.         public class 课程信息RowChangeEvent : EventArgs {
  2366.             
  2367.             private 课程信息Row eventRow;
  2368.             
  2369.             private DataRowAction eventAction;
  2370.             
  2371.             public 课程信息RowChangeEvent(课程信息Row row, DataRowAction action) {
  2372.                 this.eventRow = row;
  2373.                 this.eventAction = action;
  2374.             }
  2375.             
  2376.             public 课程信息Row Row {
  2377.                 get {
  2378.                     return this.eventRow;
  2379.                 }
  2380.             }
  2381.             
  2382.             public DataRowAction Action {
  2383.                 get {
  2384.                     return this.eventAction;
  2385.                 }
  2386.             }
  2387.         }
  2388.     }
  2389. }