sda.cs
上传用户:clhb88
上传日期:2009-09-26
资源大小:3468k
文件大小:31k
源码类别:

医药行业

开发平台:

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 sda : DataSet {
  22.         
  23.         private _TableDataTable table_Table;
  24.         
  25.         public sda() {
  26.             this.InitClass();
  27.             System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  28.             this.Tables.CollectionChanged += schemaChangedHandler;
  29.             this.Relations.CollectionChanged += schemaChangedHandler;
  30.         }
  31.         
  32.         protected sda(SerializationInfo info, StreamingContext context) {
  33.             string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
  34.             if ((strSchema != null)) {
  35.                 DataSet ds = new DataSet();
  36.                 ds.ReadXmlSchema(new XmlTextReader(new System.IO.StringReader(strSchema)));
  37.                 if ((ds.Tables["Table"] != null)) {
  38.                     this.Tables.Add(new _TableDataTable(ds.Tables["Table"]));
  39.                 }
  40.                 this.DataSetName = ds.DataSetName;
  41.                 this.Prefix = ds.Prefix;
  42.                 this.Namespace = ds.Namespace;
  43.                 this.Locale = ds.Locale;
  44.                 this.CaseSensitive = ds.CaseSensitive;
  45.                 this.EnforceConstraints = ds.EnforceConstraints;
  46.                 this.Merge(ds, false, System.Data.MissingSchemaAction.Add);
  47.                 this.InitVars();
  48.             }
  49.             else {
  50.                 this.InitClass();
  51.             }
  52.             this.GetSerializationData(info, context);
  53.             System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  54.             this.Tables.CollectionChanged += schemaChangedHandler;
  55.             this.Relations.CollectionChanged += schemaChangedHandler;
  56.         }
  57.         
  58.         [System.ComponentModel.Browsable(false)]
  59.         [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
  60.         public _TableDataTable _Table {
  61.             get {
  62.                 return this.table_Table;
  63.             }
  64.         }
  65.         
  66.         public override DataSet Clone() {
  67.             sda cln = ((sda)(base.Clone()));
  68.             cln.InitVars();
  69.             return cln;
  70.         }
  71.         
  72.         protected override bool ShouldSerializeTables() {
  73.             return false;
  74.         }
  75.         
  76.         protected override bool ShouldSerializeRelations() {
  77.             return false;
  78.         }
  79.         
  80.         protected override void ReadXmlSerializable(XmlReader reader) {
  81.             this.Reset();
  82.             DataSet ds = new DataSet();
  83.             ds.ReadXml(reader);
  84.             if ((ds.Tables["Table"] != null)) {
  85.                 this.Tables.Add(new _TableDataTable(ds.Tables["Table"]));
  86.             }
  87.             this.DataSetName = ds.DataSetName;
  88.             this.Prefix = ds.Prefix;
  89.             this.Namespace = ds.Namespace;
  90.             this.Locale = ds.Locale;
  91.             this.CaseSensitive = ds.CaseSensitive;
  92.             this.EnforceConstraints = ds.EnforceConstraints;
  93.             this.Merge(ds, false, System.Data.MissingSchemaAction.Add);
  94.             this.InitVars();
  95.         }
  96.         
  97.         protected override System.Xml.Schema.XmlSchema GetSchemaSerializable() {
  98.             System.IO.MemoryStream stream = new System.IO.MemoryStream();
  99.             this.WriteXmlSchema(new XmlTextWriter(stream, null));
  100.             stream.Position = 0;
  101.             return System.Xml.Schema.XmlSchema.Read(new XmlTextReader(stream), null);
  102.         }
  103.         
  104.         internal void InitVars() {
  105.             this.table_Table = ((_TableDataTable)(this.Tables["Table"]));
  106.             if ((this.table_Table != null)) {
  107.                 this.table_Table.InitVars();
  108.             }
  109.         }
  110.         
  111.         private void InitClass() {
  112.             this.DataSetName = "sda";
  113.             this.Prefix = "";
  114.             this.Namespace = "http://www.tempuri.org/sda.xsd";
  115.             this.Locale = new System.Globalization.CultureInfo("zh-CN");
  116.             this.CaseSensitive = false;
  117.             this.EnforceConstraints = true;
  118.             this.table_Table = new _TableDataTable();
  119.             this.Tables.Add(this.table_Table);
  120.         }
  121.         
  122.         private bool ShouldSerialize_Table() {
  123.             return false;
  124.         }
  125.         
  126.         private void SchemaChanged(object sender, System.ComponentModel.CollectionChangeEventArgs e) {
  127.             if ((e.Action == System.ComponentModel.CollectionChangeAction.Remove)) {
  128.                 this.InitVars();
  129.             }
  130.         }
  131.         
  132.         public delegate void _TableRowChangeEventHandler(object sender, _TableRowChangeEvent e);
  133.         
  134.         [System.Diagnostics.DebuggerStepThrough()]
  135.         public class _TableDataTable : DataTable, System.Collections.IEnumerable {
  136.             
  137.             private DataColumn columnids;
  138.             
  139.             private DataColumn columnmyimname;
  140.             
  141.             private DataColumn columnmyimdata;
  142.             
  143.             private DataColumn columnmyimtype;
  144.             
  145.             private DataColumn column姓名;
  146.             
  147.             private DataColumn column性别;
  148.             
  149.             private DataColumn column出生年月;
  150.             
  151.             private DataColumn column籍贯;
  152.             
  153.             private DataColumn column种族;
  154.             
  155.             private DataColumn column政治面貌;
  156.             
  157.             private DataColumn column学历;
  158.             
  159.             private DataColumn column职务;
  160.             
  161.             private DataColumn column电话;
  162.             
  163.             private DataColumn column邮箱;
  164.             
  165.             private DataColumn column家庭地址;
  166.             
  167.             internal _TableDataTable() : 
  168.                     base("Table") {
  169.                 this.InitClass();
  170.             }
  171.             
  172.             internal _TableDataTable(DataTable table) : 
  173.                     base(table.TableName) {
  174.                 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  175.                     this.CaseSensitive = table.CaseSensitive;
  176.                 }
  177.                 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  178.                     this.Locale = table.Locale;
  179.                 }
  180.                 if ((table.Namespace != table.DataSet.Namespace)) {
  181.                     this.Namespace = table.Namespace;
  182.                 }
  183.                 this.Prefix = table.Prefix;
  184.                 this.MinimumCapacity = table.MinimumCapacity;
  185.                 this.DisplayExpression = table.DisplayExpression;
  186.             }
  187.             
  188.             [System.ComponentModel.Browsable(false)]
  189.             public int Count {
  190.                 get {
  191.                     return this.Rows.Count;
  192.                 }
  193.             }
  194.             
  195.             internal DataColumn idsColumn {
  196.                 get {
  197.                     return this.columnids;
  198.                 }
  199.             }
  200.             
  201.             internal DataColumn myimnameColumn {
  202.                 get {
  203.                     return this.columnmyimname;
  204.                 }
  205.             }
  206.             
  207.             internal DataColumn myimdataColumn {
  208.                 get {
  209.                     return this.columnmyimdata;
  210.                 }
  211.             }
  212.             
  213.             internal DataColumn myimtypeColumn {
  214.                 get {
  215.                     return this.columnmyimtype;
  216.                 }
  217.             }
  218.             
  219.             internal DataColumn 姓名Column {
  220.                 get {
  221.                     return this.column姓名;
  222.                 }
  223.             }
  224.             
  225.             internal DataColumn 性别Column {
  226.                 get {
  227.                     return this.column性别;
  228.                 }
  229.             }
  230.             
  231.             internal DataColumn 出生年月Column {
  232.                 get {
  233.                     return this.column出生年月;
  234.                 }
  235.             }
  236.             
  237.             internal DataColumn 籍贯Column {
  238.                 get {
  239.                     return this.column籍贯;
  240.                 }
  241.             }
  242.             
  243.             internal DataColumn 种族Column {
  244.                 get {
  245.                     return this.column种族;
  246.                 }
  247.             }
  248.             
  249.             internal DataColumn 政治面貌Column {
  250.                 get {
  251.                     return this.column政治面貌;
  252.                 }
  253.             }
  254.             
  255.             internal DataColumn 学历Column {
  256.                 get {
  257.                     return this.column学历;
  258.                 }
  259.             }
  260.             
  261.             internal DataColumn 职务Column {
  262.                 get {
  263.                     return this.column职务;
  264.                 }
  265.             }
  266.             
  267.             internal DataColumn 电话Column {
  268.                 get {
  269.                     return this.column电话;
  270.                 }
  271.             }
  272.             
  273.             internal DataColumn 邮箱Column {
  274.                 get {
  275.                     return this.column邮箱;
  276.                 }
  277.             }
  278.             
  279.             internal DataColumn 家庭地址Column {
  280.                 get {
  281.                     return this.column家庭地址;
  282.                 }
  283.             }
  284.             
  285.             public _TableRow this[int index] {
  286.                 get {
  287.                     return ((_TableRow)(this.Rows[index]));
  288.                 }
  289.             }
  290.             
  291.             public event _TableRowChangeEventHandler _TableRowChanged;
  292.             
  293.             public event _TableRowChangeEventHandler _TableRowChanging;
  294.             
  295.             public event _TableRowChangeEventHandler _TableRowDeleted;
  296.             
  297.             public event _TableRowChangeEventHandler _TableRowDeleting;
  298.             
  299.             public void Add_TableRow(_TableRow row) {
  300.                 this.Rows.Add(row);
  301.             }
  302.             
  303.             public _TableRow Add_TableRow(string myimname, System.Byte[] myimdata, string myimtype, string 姓名, string 性别, string 出生年月, string 籍贯, string 种族, string 政治面貌, string 学历, string 职务, string 电话, string 邮箱, string 家庭地址) {
  304.                 _TableRow row_TableRow = ((_TableRow)(this.NewRow()));
  305.                 row_TableRow.ItemArray = new object[] {
  306.                         null,
  307.                         myimname,
  308.                         myimdata,
  309.                         myimtype,
  310.                         姓名,
  311.                         性别,
  312.                         出生年月,
  313.                         籍贯,
  314.                         种族,
  315.                         政治面貌,
  316.                         学历,
  317.                         职务,
  318.                         电话,
  319.                         邮箱,
  320.                         家庭地址};
  321.                 this.Rows.Add(row_TableRow);
  322.                 return row_TableRow;
  323.             }
  324.             
  325.             public _TableRow FindByids(int ids) {
  326.                 return ((_TableRow)(this.Rows.Find(new object[] {
  327.                             ids})));
  328.             }
  329.             
  330.             public System.Collections.IEnumerator GetEnumerator() {
  331.                 return this.Rows.GetEnumerator();
  332.             }
  333.             
  334.             public override DataTable Clone() {
  335.                 _TableDataTable cln = ((_TableDataTable)(base.Clone()));
  336.                 cln.InitVars();
  337.                 return cln;
  338.             }
  339.             
  340.             protected override DataTable CreateInstance() {
  341.                 return new _TableDataTable();
  342.             }
  343.             
  344.             internal void InitVars() {
  345.                 this.columnids = this.Columns["ids"];
  346.                 this.columnmyimname = this.Columns["myimname"];
  347.                 this.columnmyimdata = this.Columns["myimdata"];
  348.                 this.columnmyimtype = this.Columns["myimtype"];
  349.                 this.column姓名 = this.Columns["姓名"];
  350.                 this.column性别 = this.Columns["性别"];
  351.                 this.column出生年月 = this.Columns["出生年月"];
  352.                 this.column籍贯 = this.Columns["籍贯"];
  353.                 this.column种族 = this.Columns["种族"];
  354.                 this.column政治面貌 = this.Columns["政治面貌"];
  355.                 this.column学历 = this.Columns["学历"];
  356.                 this.column职务 = this.Columns["职务"];
  357.                 this.column电话 = this.Columns["电话"];
  358.                 this.column邮箱 = this.Columns["邮箱"];
  359.                 this.column家庭地址 = this.Columns["家庭地址"];
  360.             }
  361.             
  362.             private void InitClass() {
  363.                 this.columnids = new DataColumn("ids", typeof(int), null, System.Data.MappingType.Element);
  364.                 this.Columns.Add(this.columnids);
  365.                 this.columnmyimname = new DataColumn("myimname", typeof(string), null, System.Data.MappingType.Element);
  366.                 this.Columns.Add(this.columnmyimname);
  367.                 this.columnmyimdata = new DataColumn("myimdata", typeof(System.Byte[]), null, System.Data.MappingType.Element);
  368.                 this.Columns.Add(this.columnmyimdata);
  369.                 this.columnmyimtype = new DataColumn("myimtype", typeof(string), null, System.Data.MappingType.Element);
  370.                 this.Columns.Add(this.columnmyimtype);
  371.                 this.column姓名 = new DataColumn("姓名", typeof(string), null, System.Data.MappingType.Element);
  372.                 this.Columns.Add(this.column姓名);
  373.                 this.column性别 = new DataColumn("性别", typeof(string), null, System.Data.MappingType.Element);
  374.                 this.Columns.Add(this.column性别);
  375.                 this.column出生年月 = new DataColumn("出生年月", typeof(string), null, System.Data.MappingType.Element);
  376.                 this.Columns.Add(this.column出生年月);
  377.                 this.column籍贯 = new DataColumn("籍贯", typeof(string), null, System.Data.MappingType.Element);
  378.                 this.Columns.Add(this.column籍贯);
  379.                 this.column种族 = new DataColumn("种族", typeof(string), null, System.Data.MappingType.Element);
  380.                 this.Columns.Add(this.column种族);
  381.                 this.column政治面貌 = new DataColumn("政治面貌", typeof(string), null, System.Data.MappingType.Element);
  382.                 this.Columns.Add(this.column政治面貌);
  383.                 this.column学历 = new DataColumn("学历", typeof(string), null, System.Data.MappingType.Element);
  384.                 this.Columns.Add(this.column学历);
  385.                 this.column职务 = new DataColumn("职务", typeof(string), null, System.Data.MappingType.Element);
  386.                 this.Columns.Add(this.column职务);
  387.                 this.column电话 = new DataColumn("电话", typeof(string), null, System.Data.MappingType.Element);
  388.                 this.Columns.Add(this.column电话);
  389.                 this.column邮箱 = new DataColumn("邮箱", typeof(string), null, System.Data.MappingType.Element);
  390.                 this.Columns.Add(this.column邮箱);
  391.                 this.column家庭地址 = new DataColumn("家庭地址", typeof(string), null, System.Data.MappingType.Element);
  392.                 this.Columns.Add(this.column家庭地址);
  393.                 this.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] {
  394.                                 this.columnids}, true));
  395.                 this.columnids.AutoIncrement = true;
  396.                 this.columnids.AllowDBNull = false;
  397.                 this.columnids.ReadOnly = true;
  398.                 this.columnids.Unique = true;
  399.             }
  400.             
  401.             public _TableRow New_TableRow() {
  402.                 return ((_TableRow)(this.NewRow()));
  403.             }
  404.             
  405.             protected override DataRow NewRowFromBuilder(DataRowBuilder builder) {
  406.                 return new _TableRow(builder);
  407.             }
  408.             
  409.             protected override System.Type GetRowType() {
  410.                 return typeof(_TableRow);
  411.             }
  412.             
  413.             protected override void OnRowChanged(DataRowChangeEventArgs e) {
  414.                 base.OnRowChanged(e);
  415.                 if ((this._TableRowChanged != null)) {
  416.                     this._TableRowChanged(this, new _TableRowChangeEvent(((_TableRow)(e.Row)), e.Action));
  417.                 }
  418.             }
  419.             
  420.             protected override void OnRowChanging(DataRowChangeEventArgs e) {
  421.                 base.OnRowChanging(e);
  422.                 if ((this._TableRowChanging != null)) {
  423.                     this._TableRowChanging(this, new _TableRowChangeEvent(((_TableRow)(e.Row)), e.Action));
  424.                 }
  425.             }
  426.             
  427.             protected override void OnRowDeleted(DataRowChangeEventArgs e) {
  428.                 base.OnRowDeleted(e);
  429.                 if ((this._TableRowDeleted != null)) {
  430.                     this._TableRowDeleted(this, new _TableRowChangeEvent(((_TableRow)(e.Row)), e.Action));
  431.                 }
  432.             }
  433.             
  434.             protected override void OnRowDeleting(DataRowChangeEventArgs e) {
  435.                 base.OnRowDeleting(e);
  436.                 if ((this._TableRowDeleting != null)) {
  437.                     this._TableRowDeleting(this, new _TableRowChangeEvent(((_TableRow)(e.Row)), e.Action));
  438.                 }
  439.             }
  440.             
  441.             public void Remove_TableRow(_TableRow row) {
  442.                 this.Rows.Remove(row);
  443.             }
  444.         }
  445.         
  446.         [System.Diagnostics.DebuggerStepThrough()]
  447.         public class _TableRow : DataRow {
  448.             
  449.             private _TableDataTable table_Table;
  450.             
  451.             internal _TableRow(DataRowBuilder rb) : 
  452.                     base(rb) {
  453.                 this.table_Table = ((_TableDataTable)(this.Table));
  454.             }
  455.             
  456.             public int ids {
  457.                 get {
  458.                     return ((int)(this[this.table_Table.idsColumn]));
  459.                 }
  460.                 set {
  461.                     this[this.table_Table.idsColumn] = value;
  462.                 }
  463.             }
  464.             
  465.             public string myimname {
  466.                 get {
  467.                     try {
  468.                         return ((string)(this[this.table_Table.myimnameColumn]));
  469.                     }
  470.                     catch (InvalidCastException e) {
  471.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  472.                     }
  473.                 }
  474.                 set {
  475.                     this[this.table_Table.myimnameColumn] = value;
  476.                 }
  477.             }
  478.             
  479.             public System.Byte[] myimdata {
  480.                 get {
  481.                     try {
  482.                         return ((System.Byte[])(this[this.table_Table.myimdataColumn]));
  483.                     }
  484.                     catch (InvalidCastException e) {
  485.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  486.                     }
  487.                 }
  488.                 set {
  489.                     this[this.table_Table.myimdataColumn] = value;
  490.                 }
  491.             }
  492.             
  493.             public string myimtype {
  494.                 get {
  495.                     try {
  496.                         return ((string)(this[this.table_Table.myimtypeColumn]));
  497.                     }
  498.                     catch (InvalidCastException e) {
  499.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  500.                     }
  501.                 }
  502.                 set {
  503.                     this[this.table_Table.myimtypeColumn] = value;
  504.                 }
  505.             }
  506.             
  507.             public string 姓名 {
  508.                 get {
  509.                     try {
  510.                         return ((string)(this[this.table_Table.姓名Column]));
  511.                     }
  512.                     catch (InvalidCastException e) {
  513.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  514.                     }
  515.                 }
  516.                 set {
  517.                     this[this.table_Table.姓名Column] = value;
  518.                 }
  519.             }
  520.             
  521.             public string 性别 {
  522.                 get {
  523.                     try {
  524.                         return ((string)(this[this.table_Table.性别Column]));
  525.                     }
  526.                     catch (InvalidCastException e) {
  527.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  528.                     }
  529.                 }
  530.                 set {
  531.                     this[this.table_Table.性别Column] = value;
  532.                 }
  533.             }
  534.             
  535.             public string 出生年月 {
  536.                 get {
  537.                     try {
  538.                         return ((string)(this[this.table_Table.出生年月Column]));
  539.                     }
  540.                     catch (InvalidCastException e) {
  541.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  542.                     }
  543.                 }
  544.                 set {
  545.                     this[this.table_Table.出生年月Column] = value;
  546.                 }
  547.             }
  548.             
  549.             public string 籍贯 {
  550.                 get {
  551.                     try {
  552.                         return ((string)(this[this.table_Table.籍贯Column]));
  553.                     }
  554.                     catch (InvalidCastException e) {
  555.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  556.                     }
  557.                 }
  558.                 set {
  559.                     this[this.table_Table.籍贯Column] = value;
  560.                 }
  561.             }
  562.             
  563.             public string 种族 {
  564.                 get {
  565.                     try {
  566.                         return ((string)(this[this.table_Table.种族Column]));
  567.                     }
  568.                     catch (InvalidCastException e) {
  569.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  570.                     }
  571.                 }
  572.                 set {
  573.                     this[this.table_Table.种族Column] = value;
  574.                 }
  575.             }
  576.             
  577.             public string 政治面貌 {
  578.                 get {
  579.                     try {
  580.                         return ((string)(this[this.table_Table.政治面貌Column]));
  581.                     }
  582.                     catch (InvalidCastException e) {
  583.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  584.                     }
  585.                 }
  586.                 set {
  587.                     this[this.table_Table.政治面貌Column] = value;
  588.                 }
  589.             }
  590.             
  591.             public string 学历 {
  592.                 get {
  593.                     try {
  594.                         return ((string)(this[this.table_Table.学历Column]));
  595.                     }
  596.                     catch (InvalidCastException e) {
  597.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  598.                     }
  599.                 }
  600.                 set {
  601.                     this[this.table_Table.学历Column] = value;
  602.                 }
  603.             }
  604.             
  605.             public string 职务 {
  606.                 get {
  607.                     try {
  608.                         return ((string)(this[this.table_Table.职务Column]));
  609.                     }
  610.                     catch (InvalidCastException e) {
  611.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  612.                     }
  613.                 }
  614.                 set {
  615.                     this[this.table_Table.职务Column] = value;
  616.                 }
  617.             }
  618.             
  619.             public string 电话 {
  620.                 get {
  621.                     try {
  622.                         return ((string)(this[this.table_Table.电话Column]));
  623.                     }
  624.                     catch (InvalidCastException e) {
  625.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  626.                     }
  627.                 }
  628.                 set {
  629.                     this[this.table_Table.电话Column] = value;
  630.                 }
  631.             }
  632.             
  633.             public string 邮箱 {
  634.                 get {
  635.                     try {
  636.                         return ((string)(this[this.table_Table.邮箱Column]));
  637.                     }
  638.                     catch (InvalidCastException e) {
  639.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  640.                     }
  641.                 }
  642.                 set {
  643.                     this[this.table_Table.邮箱Column] = value;
  644.                 }
  645.             }
  646.             
  647.             public string 家庭地址 {
  648.                 get {
  649.                     try {
  650.                         return ((string)(this[this.table_Table.家庭地址Column]));
  651.                     }
  652.                     catch (InvalidCastException e) {
  653.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  654.                     }
  655.                 }
  656.                 set {
  657.                     this[this.table_Table.家庭地址Column] = value;
  658.                 }
  659.             }
  660.             
  661.             public bool IsmyimnameNull() {
  662.                 return this.IsNull(this.table_Table.myimnameColumn);
  663.             }
  664.             
  665.             public void SetmyimnameNull() {
  666.                 this[this.table_Table.myimnameColumn] = System.Convert.DBNull;
  667.             }
  668.             
  669.             public bool IsmyimdataNull() {
  670.                 return this.IsNull(this.table_Table.myimdataColumn);
  671.             }
  672.             
  673.             public void SetmyimdataNull() {
  674.                 this[this.table_Table.myimdataColumn] = System.Convert.DBNull;
  675.             }
  676.             
  677.             public bool IsmyimtypeNull() {
  678.                 return this.IsNull(this.table_Table.myimtypeColumn);
  679.             }
  680.             
  681.             public void SetmyimtypeNull() {
  682.                 this[this.table_Table.myimtypeColumn] = System.Convert.DBNull;
  683.             }
  684.             
  685.             public bool Is姓名Null() {
  686.                 return this.IsNull(this.table_Table.姓名Column);
  687.             }
  688.             
  689.             public void Set姓名Null() {
  690.                 this[this.table_Table.姓名Column] = System.Convert.DBNull;
  691.             }
  692.             
  693.             public bool Is性别Null() {
  694.                 return this.IsNull(this.table_Table.性别Column);
  695.             }
  696.             
  697.             public void Set性别Null() {
  698.                 this[this.table_Table.性别Column] = System.Convert.DBNull;
  699.             }
  700.             
  701.             public bool Is出生年月Null() {
  702.                 return this.IsNull(this.table_Table.出生年月Column);
  703.             }
  704.             
  705.             public void Set出生年月Null() {
  706.                 this[this.table_Table.出生年月Column] = System.Convert.DBNull;
  707.             }
  708.             
  709.             public bool Is籍贯Null() {
  710.                 return this.IsNull(this.table_Table.籍贯Column);
  711.             }
  712.             
  713.             public void Set籍贯Null() {
  714.                 this[this.table_Table.籍贯Column] = System.Convert.DBNull;
  715.             }
  716.             
  717.             public bool Is种族Null() {
  718.                 return this.IsNull(this.table_Table.种族Column);
  719.             }
  720.             
  721.             public void Set种族Null() {
  722.                 this[this.table_Table.种族Column] = System.Convert.DBNull;
  723.             }
  724.             
  725.             public bool Is政治面貌Null() {
  726.                 return this.IsNull(this.table_Table.政治面貌Column);
  727.             }
  728.             
  729.             public void Set政治面貌Null() {
  730.                 this[this.table_Table.政治面貌Column] = System.Convert.DBNull;
  731.             }
  732.             
  733.             public bool Is学历Null() {
  734.                 return this.IsNull(this.table_Table.学历Column);
  735.             }
  736.             
  737.             public void Set学历Null() {
  738.                 this[this.table_Table.学历Column] = System.Convert.DBNull;
  739.             }
  740.             
  741.             public bool Is职务Null() {
  742.                 return this.IsNull(this.table_Table.职务Column);
  743.             }
  744.             
  745.             public void Set职务Null() {
  746.                 this[this.table_Table.职务Column] = System.Convert.DBNull;
  747.             }
  748.             
  749.             public bool Is电话Null() {
  750.                 return this.IsNull(this.table_Table.电话Column);
  751.             }
  752.             
  753.             public void Set电话Null() {
  754.                 this[this.table_Table.电话Column] = System.Convert.DBNull;
  755.             }
  756.             
  757.             public bool Is邮箱Null() {
  758.                 return this.IsNull(this.table_Table.邮箱Column);
  759.             }
  760.             
  761.             public void Set邮箱Null() {
  762.                 this[this.table_Table.邮箱Column] = System.Convert.DBNull;
  763.             }
  764.             
  765.             public bool Is家庭地址Null() {
  766.                 return this.IsNull(this.table_Table.家庭地址Column);
  767.             }
  768.             
  769.             public void Set家庭地址Null() {
  770.                 this[this.table_Table.家庭地址Column] = System.Convert.DBNull;
  771.             }
  772.         }
  773.         
  774.         [System.Diagnostics.DebuggerStepThrough()]
  775.         public class _TableRowChangeEvent : EventArgs {
  776.             
  777.             private _TableRow eventRow;
  778.             
  779.             private DataRowAction eventAction;
  780.             
  781.             public _TableRowChangeEvent(_TableRow row, DataRowAction action) {
  782.                 this.eventRow = row;
  783.                 this.eventAction = action;
  784.             }
  785.             
  786.             public _TableRow Row {
  787.                 get {
  788.                     return this.eventRow;
  789.                 }
  790.             }
  791.             
  792.             public DataRowAction Action {
  793.                 get {
  794.                     return this.eventAction;
  795.                 }
  796.             }
  797.         }
  798.     }
  799. }