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

医药行业

开发平台:

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 dsa : DataSet {
  22.         
  23.         private _TableDataTable table_Table;
  24.         
  25.         public dsa() {
  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 dsa(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.             dsa cln = ((dsa)(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 = "dsa";
  113.             this.Prefix = "";
  114.             this.Namespace = "http://www.tempuri.org/dsa.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 columnmyimdata;
  140.             
  141.             private DataColumn column姓名;
  142.             
  143.             private DataColumn column性别;
  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.             internal _TableDataTable() : 
  164.                     base("Table") {
  165.                 this.InitClass();
  166.             }
  167.             
  168.             internal _TableDataTable(DataTable table) : 
  169.                     base(table.TableName) {
  170.                 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  171.                     this.CaseSensitive = table.CaseSensitive;
  172.                 }
  173.                 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  174.                     this.Locale = table.Locale;
  175.                 }
  176.                 if ((table.Namespace != table.DataSet.Namespace)) {
  177.                     this.Namespace = table.Namespace;
  178.                 }
  179.                 this.Prefix = table.Prefix;
  180.                 this.MinimumCapacity = table.MinimumCapacity;
  181.                 this.DisplayExpression = table.DisplayExpression;
  182.             }
  183.             
  184.             [System.ComponentModel.Browsable(false)]
  185.             public int Count {
  186.                 get {
  187.                     return this.Rows.Count;
  188.                 }
  189.             }
  190.             
  191.             internal DataColumn idsColumn {
  192.                 get {
  193.                     return this.columnids;
  194.                 }
  195.             }
  196.             
  197.             internal DataColumn myimdataColumn {
  198.                 get {
  199.                     return this.columnmyimdata;
  200.                 }
  201.             }
  202.             
  203.             internal DataColumn 姓名Column {
  204.                 get {
  205.                     return this.column姓名;
  206.                 }
  207.             }
  208.             
  209.             internal DataColumn 性别Column {
  210.                 get {
  211.                     return this.column性别;
  212.                 }
  213.             }
  214.             
  215.             internal DataColumn 出生年月Column {
  216.                 get {
  217.                     return this.column出生年月;
  218.                 }
  219.             }
  220.             
  221.             internal DataColumn 籍贯Column {
  222.                 get {
  223.                     return this.column籍贯;
  224.                 }
  225.             }
  226.             
  227.             internal DataColumn 种族Column {
  228.                 get {
  229.                     return this.column种族;
  230.                 }
  231.             }
  232.             
  233.             internal DataColumn 政治面貌Column {
  234.                 get {
  235.                     return this.column政治面貌;
  236.                 }
  237.             }
  238.             
  239.             internal DataColumn 学历Column {
  240.                 get {
  241.                     return this.column学历;
  242.                 }
  243.             }
  244.             
  245.             internal DataColumn 职务Column {
  246.                 get {
  247.                     return this.column职务;
  248.                 }
  249.             }
  250.             
  251.             internal DataColumn 电话Column {
  252.                 get {
  253.                     return this.column电话;
  254.                 }
  255.             }
  256.             
  257.             internal DataColumn 邮箱Column {
  258.                 get {
  259.                     return this.column邮箱;
  260.                 }
  261.             }
  262.             
  263.             internal DataColumn 家庭地址Column {
  264.                 get {
  265.                     return this.column家庭地址;
  266.                 }
  267.             }
  268.             
  269.             public _TableRow this[int index] {
  270.                 get {
  271.                     return ((_TableRow)(this.Rows[index]));
  272.                 }
  273.             }
  274.             
  275.             public event _TableRowChangeEventHandler _TableRowChanged;
  276.             
  277.             public event _TableRowChangeEventHandler _TableRowChanging;
  278.             
  279.             public event _TableRowChangeEventHandler _TableRowDeleted;
  280.             
  281.             public event _TableRowChangeEventHandler _TableRowDeleting;
  282.             
  283.             public void Add_TableRow(_TableRow row) {
  284.                 this.Rows.Add(row);
  285.             }
  286.             
  287.             public _TableRow Add_TableRow(System.Byte[] myimdata, string 姓名, string 性别, string 出生年月, string 籍贯, string 种族, string 政治面貌, string 学历, string 职务, string 电话, string 邮箱, string 家庭地址) {
  288.                 _TableRow row_TableRow = ((_TableRow)(this.NewRow()));
  289.                 row_TableRow.ItemArray = new object[] {
  290.                         null,
  291.                         myimdata,
  292.                         姓名,
  293.                         性别,
  294.                         出生年月,
  295.                         籍贯,
  296.                         种族,
  297.                         政治面貌,
  298.                         学历,
  299.                         职务,
  300.                         电话,
  301.                         邮箱,
  302.                         家庭地址};
  303.                 this.Rows.Add(row_TableRow);
  304.                 return row_TableRow;
  305.             }
  306.             
  307.             public _TableRow FindByids(long ids) {
  308.                 return ((_TableRow)(this.Rows.Find(new object[] {
  309.                             ids})));
  310.             }
  311.             
  312.             public System.Collections.IEnumerator GetEnumerator() {
  313.                 return this.Rows.GetEnumerator();
  314.             }
  315.             
  316.             public override DataTable Clone() {
  317.                 _TableDataTable cln = ((_TableDataTable)(base.Clone()));
  318.                 cln.InitVars();
  319.                 return cln;
  320.             }
  321.             
  322.             protected override DataTable CreateInstance() {
  323.                 return new _TableDataTable();
  324.             }
  325.             
  326.             internal void InitVars() {
  327.                 this.columnids = this.Columns["ids"];
  328.                 this.columnmyimdata = this.Columns["myimdata"];
  329.                 this.column姓名 = this.Columns["姓名"];
  330.                 this.column性别 = this.Columns["性别"];
  331.                 this.column出生年月 = this.Columns["出生年月"];
  332.                 this.column籍贯 = this.Columns["籍贯"];
  333.                 this.column种族 = this.Columns["种族"];
  334.                 this.column政治面貌 = this.Columns["政治面貌"];
  335.                 this.column学历 = this.Columns["学历"];
  336.                 this.column职务 = this.Columns["职务"];
  337.                 this.column电话 = this.Columns["电话"];
  338.                 this.column邮箱 = this.Columns["邮箱"];
  339.                 this.column家庭地址 = this.Columns["家庭地址"];
  340.             }
  341.             
  342.             private void InitClass() {
  343.                 this.columnids = new DataColumn("ids", typeof(long), null, System.Data.MappingType.Element);
  344.                 this.Columns.Add(this.columnids);
  345.                 this.columnmyimdata = new DataColumn("myimdata", typeof(System.Byte[]), null, System.Data.MappingType.Element);
  346.                 this.Columns.Add(this.columnmyimdata);
  347.                 this.column姓名 = new DataColumn("姓名", typeof(string), null, System.Data.MappingType.Element);
  348.                 this.Columns.Add(this.column姓名);
  349.                 this.column性别 = new DataColumn("性别", typeof(string), null, System.Data.MappingType.Element);
  350.                 this.Columns.Add(this.column性别);
  351.                 this.column出生年月 = new DataColumn("出生年月", typeof(string), null, System.Data.MappingType.Element);
  352.                 this.Columns.Add(this.column出生年月);
  353.                 this.column籍贯 = new DataColumn("籍贯", typeof(string), null, System.Data.MappingType.Element);
  354.                 this.Columns.Add(this.column籍贯);
  355.                 this.column种族 = new DataColumn("种族", typeof(string), null, System.Data.MappingType.Element);
  356.                 this.Columns.Add(this.column种族);
  357.                 this.column政治面貌 = new DataColumn("政治面貌", typeof(string), null, System.Data.MappingType.Element);
  358.                 this.Columns.Add(this.column政治面貌);
  359.                 this.column学历 = new DataColumn("学历", typeof(string), null, System.Data.MappingType.Element);
  360.                 this.Columns.Add(this.column学历);
  361.                 this.column职务 = new DataColumn("职务", typeof(string), null, System.Data.MappingType.Element);
  362.                 this.Columns.Add(this.column职务);
  363.                 this.column电话 = new DataColumn("电话", typeof(string), null, System.Data.MappingType.Element);
  364.                 this.Columns.Add(this.column电话);
  365.                 this.column邮箱 = new DataColumn("邮箱", typeof(string), null, System.Data.MappingType.Element);
  366.                 this.Columns.Add(this.column邮箱);
  367.                 this.column家庭地址 = new DataColumn("家庭地址", typeof(string), null, System.Data.MappingType.Element);
  368.                 this.Columns.Add(this.column家庭地址);
  369.                 this.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] {
  370.                                 this.columnids}, true));
  371.                 this.columnids.AutoIncrement = true;
  372.                 this.columnids.AllowDBNull = false;
  373.                 this.columnids.ReadOnly = true;
  374.                 this.columnids.Unique = true;
  375.             }
  376.             
  377.             public _TableRow New_TableRow() {
  378.                 return ((_TableRow)(this.NewRow()));
  379.             }
  380.             
  381.             protected override DataRow NewRowFromBuilder(DataRowBuilder builder) {
  382.                 return new _TableRow(builder);
  383.             }
  384.             
  385.             protected override System.Type GetRowType() {
  386.                 return typeof(_TableRow);
  387.             }
  388.             
  389.             protected override void OnRowChanged(DataRowChangeEventArgs e) {
  390.                 base.OnRowChanged(e);
  391.                 if ((this._TableRowChanged != null)) {
  392.                     this._TableRowChanged(this, new _TableRowChangeEvent(((_TableRow)(e.Row)), e.Action));
  393.                 }
  394.             }
  395.             
  396.             protected override void OnRowChanging(DataRowChangeEventArgs e) {
  397.                 base.OnRowChanging(e);
  398.                 if ((this._TableRowChanging != null)) {
  399.                     this._TableRowChanging(this, new _TableRowChangeEvent(((_TableRow)(e.Row)), e.Action));
  400.                 }
  401.             }
  402.             
  403.             protected override void OnRowDeleted(DataRowChangeEventArgs e) {
  404.                 base.OnRowDeleted(e);
  405.                 if ((this._TableRowDeleted != null)) {
  406.                     this._TableRowDeleted(this, new _TableRowChangeEvent(((_TableRow)(e.Row)), e.Action));
  407.                 }
  408.             }
  409.             
  410.             protected override void OnRowDeleting(DataRowChangeEventArgs e) {
  411.                 base.OnRowDeleting(e);
  412.                 if ((this._TableRowDeleting != null)) {
  413.                     this._TableRowDeleting(this, new _TableRowChangeEvent(((_TableRow)(e.Row)), e.Action));
  414.                 }
  415.             }
  416.             
  417.             public void Remove_TableRow(_TableRow row) {
  418.                 this.Rows.Remove(row);
  419.             }
  420.         }
  421.         
  422.         [System.Diagnostics.DebuggerStepThrough()]
  423.         public class _TableRow : DataRow {
  424.             
  425.             private _TableDataTable table_Table;
  426.             
  427.             internal _TableRow(DataRowBuilder rb) : 
  428.                     base(rb) {
  429.                 this.table_Table = ((_TableDataTable)(this.Table));
  430.             }
  431.             
  432.             public long ids {
  433.                 get {
  434.                     return ((long)(this[this.table_Table.idsColumn]));
  435.                 }
  436.                 set {
  437.                     this[this.table_Table.idsColumn] = value;
  438.                 }
  439.             }
  440.             
  441.             public System.Byte[] myimdata {
  442.                 get {
  443.                     try {
  444.                         return ((System.Byte[])(this[this.table_Table.myimdataColumn]));
  445.                     }
  446.                     catch (InvalidCastException e) {
  447.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  448.                     }
  449.                 }
  450.                 set {
  451.                     this[this.table_Table.myimdataColumn] = value;
  452.                 }
  453.             }
  454.             
  455.             public string 姓名 {
  456.                 get {
  457.                     try {
  458.                         return ((string)(this[this.table_Table.姓名Column]));
  459.                     }
  460.                     catch (InvalidCastException e) {
  461.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  462.                     }
  463.                 }
  464.                 set {
  465.                     this[this.table_Table.姓名Column] = value;
  466.                 }
  467.             }
  468.             
  469.             public string 性别 {
  470.                 get {
  471.                     try {
  472.                         return ((string)(this[this.table_Table.性别Column]));
  473.                     }
  474.                     catch (InvalidCastException e) {
  475.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  476.                     }
  477.                 }
  478.                 set {
  479.                     this[this.table_Table.性别Column] = value;
  480.                 }
  481.             }
  482.             
  483.             public string 出生年月 {
  484.                 get {
  485.                     try {
  486.                         return ((string)(this[this.table_Table.出生年月Column]));
  487.                     }
  488.                     catch (InvalidCastException e) {
  489.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  490.                     }
  491.                 }
  492.                 set {
  493.                     this[this.table_Table.出生年月Column] = value;
  494.                 }
  495.             }
  496.             
  497.             public string 籍贯 {
  498.                 get {
  499.                     try {
  500.                         return ((string)(this[this.table_Table.籍贯Column]));
  501.                     }
  502.                     catch (InvalidCastException e) {
  503.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  504.                     }
  505.                 }
  506.                 set {
  507.                     this[this.table_Table.籍贯Column] = value;
  508.                 }
  509.             }
  510.             
  511.             public string 种族 {
  512.                 get {
  513.                     try {
  514.                         return ((string)(this[this.table_Table.种族Column]));
  515.                     }
  516.                     catch (InvalidCastException e) {
  517.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  518.                     }
  519.                 }
  520.                 set {
  521.                     this[this.table_Table.种族Column] = value;
  522.                 }
  523.             }
  524.             
  525.             public string 政治面貌 {
  526.                 get {
  527.                     try {
  528.                         return ((string)(this[this.table_Table.政治面貌Column]));
  529.                     }
  530.                     catch (InvalidCastException e) {
  531.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  532.                     }
  533.                 }
  534.                 set {
  535.                     this[this.table_Table.政治面貌Column] = value;
  536.                 }
  537.             }
  538.             
  539.             public string 学历 {
  540.                 get {
  541.                     try {
  542.                         return ((string)(this[this.table_Table.学历Column]));
  543.                     }
  544.                     catch (InvalidCastException e) {
  545.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  546.                     }
  547.                 }
  548.                 set {
  549.                     this[this.table_Table.学历Column] = value;
  550.                 }
  551.             }
  552.             
  553.             public string 职务 {
  554.                 get {
  555.                     try {
  556.                         return ((string)(this[this.table_Table.职务Column]));
  557.                     }
  558.                     catch (InvalidCastException e) {
  559.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  560.                     }
  561.                 }
  562.                 set {
  563.                     this[this.table_Table.职务Column] = value;
  564.                 }
  565.             }
  566.             
  567.             public string 电话 {
  568.                 get {
  569.                     try {
  570.                         return ((string)(this[this.table_Table.电话Column]));
  571.                     }
  572.                     catch (InvalidCastException e) {
  573.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  574.                     }
  575.                 }
  576.                 set {
  577.                     this[this.table_Table.电话Column] = value;
  578.                 }
  579.             }
  580.             
  581.             public string 邮箱 {
  582.                 get {
  583.                     try {
  584.                         return ((string)(this[this.table_Table.邮箱Column]));
  585.                     }
  586.                     catch (InvalidCastException e) {
  587.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  588.                     }
  589.                 }
  590.                 set {
  591.                     this[this.table_Table.邮箱Column] = value;
  592.                 }
  593.             }
  594.             
  595.             public string 家庭地址 {
  596.                 get {
  597.                     try {
  598.                         return ((string)(this[this.table_Table.家庭地址Column]));
  599.                     }
  600.                     catch (InvalidCastException e) {
  601.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  602.                     }
  603.                 }
  604.                 set {
  605.                     this[this.table_Table.家庭地址Column] = value;
  606.                 }
  607.             }
  608.             
  609.             public bool IsmyimdataNull() {
  610.                 return this.IsNull(this.table_Table.myimdataColumn);
  611.             }
  612.             
  613.             public void SetmyimdataNull() {
  614.                 this[this.table_Table.myimdataColumn] = System.Convert.DBNull;
  615.             }
  616.             
  617.             public bool Is姓名Null() {
  618.                 return this.IsNull(this.table_Table.姓名Column);
  619.             }
  620.             
  621.             public void Set姓名Null() {
  622.                 this[this.table_Table.姓名Column] = System.Convert.DBNull;
  623.             }
  624.             
  625.             public bool Is性别Null() {
  626.                 return this.IsNull(this.table_Table.性别Column);
  627.             }
  628.             
  629.             public void Set性别Null() {
  630.                 this[this.table_Table.性别Column] = System.Convert.DBNull;
  631.             }
  632.             
  633.             public bool Is出生年月Null() {
  634.                 return this.IsNull(this.table_Table.出生年月Column);
  635.             }
  636.             
  637.             public void Set出生年月Null() {
  638.                 this[this.table_Table.出生年月Column] = System.Convert.DBNull;
  639.             }
  640.             
  641.             public bool Is籍贯Null() {
  642.                 return this.IsNull(this.table_Table.籍贯Column);
  643.             }
  644.             
  645.             public void Set籍贯Null() {
  646.                 this[this.table_Table.籍贯Column] = System.Convert.DBNull;
  647.             }
  648.             
  649.             public bool Is种族Null() {
  650.                 return this.IsNull(this.table_Table.种族Column);
  651.             }
  652.             
  653.             public void Set种族Null() {
  654.                 this[this.table_Table.种族Column] = System.Convert.DBNull;
  655.             }
  656.             
  657.             public bool Is政治面貌Null() {
  658.                 return this.IsNull(this.table_Table.政治面貌Column);
  659.             }
  660.             
  661.             public void Set政治面貌Null() {
  662.                 this[this.table_Table.政治面貌Column] = System.Convert.DBNull;
  663.             }
  664.             
  665.             public bool Is学历Null() {
  666.                 return this.IsNull(this.table_Table.学历Column);
  667.             }
  668.             
  669.             public void Set学历Null() {
  670.                 this[this.table_Table.学历Column] = System.Convert.DBNull;
  671.             }
  672.             
  673.             public bool Is职务Null() {
  674.                 return this.IsNull(this.table_Table.职务Column);
  675.             }
  676.             
  677.             public void Set职务Null() {
  678.                 this[this.table_Table.职务Column] = System.Convert.DBNull;
  679.             }
  680.             
  681.             public bool Is电话Null() {
  682.                 return this.IsNull(this.table_Table.电话Column);
  683.             }
  684.             
  685.             public void Set电话Null() {
  686.                 this[this.table_Table.电话Column] = System.Convert.DBNull;
  687.             }
  688.             
  689.             public bool Is邮箱Null() {
  690.                 return this.IsNull(this.table_Table.邮箱Column);
  691.             }
  692.             
  693.             public void Set邮箱Null() {
  694.                 this[this.table_Table.邮箱Column] = System.Convert.DBNull;
  695.             }
  696.             
  697.             public bool Is家庭地址Null() {
  698.                 return this.IsNull(this.table_Table.家庭地址Column);
  699.             }
  700.             
  701.             public void Set家庭地址Null() {
  702.                 this[this.table_Table.家庭地址Column] = System.Convert.DBNull;
  703.             }
  704.         }
  705.         
  706.         [System.Diagnostics.DebuggerStepThrough()]
  707.         public class _TableRowChangeEvent : EventArgs {
  708.             
  709.             private _TableRow eventRow;
  710.             
  711.             private DataRowAction eventAction;
  712.             
  713.             public _TableRowChangeEvent(_TableRow row, DataRowAction action) {
  714.                 this.eventRow = row;
  715.                 this.eventAction = action;
  716.             }
  717.             
  718.             public _TableRow Row {
  719.                 get {
  720.                     return this.eventRow;
  721.                 }
  722.             }
  723.             
  724.             public DataRowAction Action {
  725.                 get {
  726.                     return this.eventAction;
  727.                 }
  728.             }
  729.         }
  730.     }
  731. }