myima.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 myima : DataSet {
  22.         
  23.         private _TableDataTable table_Table;
  24.         
  25.         public myima() {
  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 myima(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.             myima cln = ((myima)(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 = "myima";
  113.             this.Prefix = "";
  114.             this.Namespace = "http://www.tempuri.org/myima.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 columnnumber;
  138.             
  139.             private DataColumn column姓名;
  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 numberColumn {
  192.                 get {
  193.                     return this.columnnumber;
  194.                 }
  195.             }
  196.             
  197.             internal DataColumn 姓名Column {
  198.                 get {
  199.                     return this.column姓名;
  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(string 姓名, string 性别, string 出生年月, string 籍贯, string 种族, string 政治面貌, string 学历, string 职务, string 电话, string 邮箱, string 家庭地址, System.Byte[] 照片) {
  288.                 _TableRow row_TableRow = ((_TableRow)(this.NewRow()));
  289.                 row_TableRow.ItemArray = new object[] {
  290.                         null,
  291.                         姓名,
  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 System.Collections.IEnumerator GetEnumerator() {
  308.                 return this.Rows.GetEnumerator();
  309.             }
  310.             
  311.             public override DataTable Clone() {
  312.                 _TableDataTable cln = ((_TableDataTable)(base.Clone()));
  313.                 cln.InitVars();
  314.                 return cln;
  315.             }
  316.             
  317.             protected override DataTable CreateInstance() {
  318.                 return new _TableDataTable();
  319.             }
  320.             
  321.             internal void InitVars() {
  322.                 this.columnnumber = this.Columns["number"];
  323.                 this.column姓名 = this.Columns["姓名"];
  324.                 this.column性别 = this.Columns["性别"];
  325.                 this.column出生年月 = this.Columns["出生年月"];
  326.                 this.column籍贯 = this.Columns["籍贯"];
  327.                 this.column种族 = this.Columns["种族"];
  328.                 this.column政治面貌 = this.Columns["政治面貌"];
  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.             }
  336.             
  337.             private void InitClass() {
  338.                 this.columnnumber = new DataColumn("number", typeof(long), null, System.Data.MappingType.Element);
  339.                 this.Columns.Add(this.columnnumber);
  340.                 this.column姓名 = new DataColumn("姓名", typeof(string), null, System.Data.MappingType.Element);
  341.                 this.Columns.Add(this.column姓名);
  342.                 this.column性别 = new DataColumn("性别", typeof(string), null, System.Data.MappingType.Element);
  343.                 this.Columns.Add(this.column性别);
  344.                 this.column出生年月 = new DataColumn("出生年月", typeof(string), null, System.Data.MappingType.Element);
  345.                 this.Columns.Add(this.column出生年月);
  346.                 this.column籍贯 = new DataColumn("籍贯", typeof(string), null, System.Data.MappingType.Element);
  347.                 this.Columns.Add(this.column籍贯);
  348.                 this.column种族 = new DataColumn("种族", typeof(string), null, System.Data.MappingType.Element);
  349.                 this.Columns.Add(this.column种族);
  350.                 this.column政治面貌 = new DataColumn("政治面貌", typeof(string), null, System.Data.MappingType.Element);
  351.                 this.Columns.Add(this.column政治面貌);
  352.                 this.column学历 = new DataColumn("学历", typeof(string), null, System.Data.MappingType.Element);
  353.                 this.Columns.Add(this.column学历);
  354.                 this.column职务 = new DataColumn("职务", typeof(string), null, System.Data.MappingType.Element);
  355.                 this.Columns.Add(this.column职务);
  356.                 this.column电话 = new DataColumn("电话", typeof(string), null, System.Data.MappingType.Element);
  357.                 this.Columns.Add(this.column电话);
  358.                 this.column邮箱 = new DataColumn("邮箱", typeof(string), null, System.Data.MappingType.Element);
  359.                 this.Columns.Add(this.column邮箱);
  360.                 this.column家庭地址 = new DataColumn("家庭地址", typeof(string), null, System.Data.MappingType.Element);
  361.                 this.Columns.Add(this.column家庭地址);
  362.                 this.column照片 = new DataColumn("照片", typeof(System.Byte[]), null, System.Data.MappingType.Element);
  363.                 this.Columns.Add(this.column照片);
  364.                 this.columnnumber.AutoIncrement = true;
  365.                 this.columnnumber.AllowDBNull = false;
  366.                 this.columnnumber.ReadOnly = true;
  367.             }
  368.             
  369.             public _TableRow New_TableRow() {
  370.                 return ((_TableRow)(this.NewRow()));
  371.             }
  372.             
  373.             protected override DataRow NewRowFromBuilder(DataRowBuilder builder) {
  374.                 return new _TableRow(builder);
  375.             }
  376.             
  377.             protected override System.Type GetRowType() {
  378.                 return typeof(_TableRow);
  379.             }
  380.             
  381.             protected override void OnRowChanged(DataRowChangeEventArgs e) {
  382.                 base.OnRowChanged(e);
  383.                 if ((this._TableRowChanged != null)) {
  384.                     this._TableRowChanged(this, new _TableRowChangeEvent(((_TableRow)(e.Row)), e.Action));
  385.                 }
  386.             }
  387.             
  388.             protected override void OnRowChanging(DataRowChangeEventArgs e) {
  389.                 base.OnRowChanging(e);
  390.                 if ((this._TableRowChanging != null)) {
  391.                     this._TableRowChanging(this, new _TableRowChangeEvent(((_TableRow)(e.Row)), e.Action));
  392.                 }
  393.             }
  394.             
  395.             protected override void OnRowDeleted(DataRowChangeEventArgs e) {
  396.                 base.OnRowDeleted(e);
  397.                 if ((this._TableRowDeleted != null)) {
  398.                     this._TableRowDeleted(this, new _TableRowChangeEvent(((_TableRow)(e.Row)), e.Action));
  399.                 }
  400.             }
  401.             
  402.             protected override void OnRowDeleting(DataRowChangeEventArgs e) {
  403.                 base.OnRowDeleting(e);
  404.                 if ((this._TableRowDeleting != null)) {
  405.                     this._TableRowDeleting(this, new _TableRowChangeEvent(((_TableRow)(e.Row)), e.Action));
  406.                 }
  407.             }
  408.             
  409.             public void Remove_TableRow(_TableRow row) {
  410.                 this.Rows.Remove(row);
  411.             }
  412.         }
  413.         
  414.         [System.Diagnostics.DebuggerStepThrough()]
  415.         public class _TableRow : DataRow {
  416.             
  417.             private _TableDataTable table_Table;
  418.             
  419.             internal _TableRow(DataRowBuilder rb) : 
  420.                     base(rb) {
  421.                 this.table_Table = ((_TableDataTable)(this.Table));
  422.             }
  423.             
  424.             public long number {
  425.                 get {
  426.                     return ((long)(this[this.table_Table.numberColumn]));
  427.                 }
  428.                 set {
  429.                     this[this.table_Table.numberColumn] = value;
  430.                 }
  431.             }
  432.             
  433.             public string 姓名 {
  434.                 get {
  435.                     try {
  436.                         return ((string)(this[this.table_Table.姓名Column]));
  437.                     }
  438.                     catch (InvalidCastException e) {
  439.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  440.                     }
  441.                 }
  442.                 set {
  443.                     this[this.table_Table.姓名Column] = value;
  444.                 }
  445.             }
  446.             
  447.             public string 性别 {
  448.                 get {
  449.                     try {
  450.                         return ((string)(this[this.table_Table.性别Column]));
  451.                     }
  452.                     catch (InvalidCastException e) {
  453.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  454.                     }
  455.                 }
  456.                 set {
  457.                     this[this.table_Table.性别Column] = value;
  458.                 }
  459.             }
  460.             
  461.             public string 出生年月 {
  462.                 get {
  463.                     try {
  464.                         return ((string)(this[this.table_Table.出生年月Column]));
  465.                     }
  466.                     catch (InvalidCastException e) {
  467.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  468.                     }
  469.                 }
  470.                 set {
  471.                     this[this.table_Table.出生年月Column] = value;
  472.                 }
  473.             }
  474.             
  475.             public string 籍贯 {
  476.                 get {
  477.                     try {
  478.                         return ((string)(this[this.table_Table.籍贯Column]));
  479.                     }
  480.                     catch (InvalidCastException e) {
  481.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  482.                     }
  483.                 }
  484.                 set {
  485.                     this[this.table_Table.籍贯Column] = value;
  486.                 }
  487.             }
  488.             
  489.             public string 种族 {
  490.                 get {
  491.                     try {
  492.                         return ((string)(this[this.table_Table.种族Column]));
  493.                     }
  494.                     catch (InvalidCastException e) {
  495.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  496.                     }
  497.                 }
  498.                 set {
  499.                     this[this.table_Table.种族Column] = value;
  500.                 }
  501.             }
  502.             
  503.             public string 政治面貌 {
  504.                 get {
  505.                     try {
  506.                         return ((string)(this[this.table_Table.政治面貌Column]));
  507.                     }
  508.                     catch (InvalidCastException e) {
  509.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  510.                     }
  511.                 }
  512.                 set {
  513.                     this[this.table_Table.政治面貌Column] = value;
  514.                 }
  515.             }
  516.             
  517.             public string 学历 {
  518.                 get {
  519.                     try {
  520.                         return ((string)(this[this.table_Table.学历Column]));
  521.                     }
  522.                     catch (InvalidCastException e) {
  523.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  524.                     }
  525.                 }
  526.                 set {
  527.                     this[this.table_Table.学历Column] = value;
  528.                 }
  529.             }
  530.             
  531.             public string 职务 {
  532.                 get {
  533.                     try {
  534.                         return ((string)(this[this.table_Table.职务Column]));
  535.                     }
  536.                     catch (InvalidCastException e) {
  537.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  538.                     }
  539.                 }
  540.                 set {
  541.                     this[this.table_Table.职务Column] = value;
  542.                 }
  543.             }
  544.             
  545.             public string 电话 {
  546.                 get {
  547.                     try {
  548.                         return ((string)(this[this.table_Table.电话Column]));
  549.                     }
  550.                     catch (InvalidCastException e) {
  551.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  552.                     }
  553.                 }
  554.                 set {
  555.                     this[this.table_Table.电话Column] = value;
  556.                 }
  557.             }
  558.             
  559.             public string 邮箱 {
  560.                 get {
  561.                     try {
  562.                         return ((string)(this[this.table_Table.邮箱Column]));
  563.                     }
  564.                     catch (InvalidCastException e) {
  565.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  566.                     }
  567.                 }
  568.                 set {
  569.                     this[this.table_Table.邮箱Column] = value;
  570.                 }
  571.             }
  572.             
  573.             public string 家庭地址 {
  574.                 get {
  575.                     try {
  576.                         return ((string)(this[this.table_Table.家庭地址Column]));
  577.                     }
  578.                     catch (InvalidCastException e) {
  579.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  580.                     }
  581.                 }
  582.                 set {
  583.                     this[this.table_Table.家庭地址Column] = value;
  584.                 }
  585.             }
  586.             
  587.             public System.Byte[] 照片 {
  588.                 get {
  589.                     try {
  590.                         return ((System.Byte[])(this[this.table_Table.照片Column]));
  591.                     }
  592.                     catch (InvalidCastException e) {
  593.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  594.                     }
  595.                 }
  596.                 set {
  597.                     this[this.table_Table.照片Column] = value;
  598.                 }
  599.             }
  600.             
  601.             public bool Is姓名Null() {
  602.                 return this.IsNull(this.table_Table.姓名Column);
  603.             }
  604.             
  605.             public void Set姓名Null() {
  606.                 this[this.table_Table.姓名Column] = System.Convert.DBNull;
  607.             }
  608.             
  609.             public bool Is性别Null() {
  610.                 return this.IsNull(this.table_Table.性别Column);
  611.             }
  612.             
  613.             public void Set性别Null() {
  614.                 this[this.table_Table.性别Column] = 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.         
  698.         [System.Diagnostics.DebuggerStepThrough()]
  699.         public class _TableRowChangeEvent : EventArgs {
  700.             
  701.             private _TableRow eventRow;
  702.             
  703.             private DataRowAction eventAction;
  704.             
  705.             public _TableRowChangeEvent(_TableRow row, DataRowAction action) {
  706.                 this.eventRow = row;
  707.                 this.eventAction = action;
  708.             }
  709.             
  710.             public _TableRow Row {
  711.                 get {
  712.                     return this.eventRow;
  713.                 }
  714.             }
  715.             
  716.             public DataRowAction Action {
  717.                 get {
  718.                     return this.eventAction;
  719.                 }
  720.             }
  721.         }
  722.     }
  723. }