jzzhao.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 jzzhao : DataSet {
  22.         
  23.         private _TableDataTable table_Table;
  24.         
  25.         public jzzhao() {
  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 jzzhao(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.             jzzhao cln = ((jzzhao)(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 = "jzzhao";
  113.             this.Prefix = "";
  114.             this.Namespace = "http://www.tempuri.org/jzzhao.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 column挂号号码;
  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 挂号号码Column {
  192.                 get {
  193.                     return this.column挂号号码;
  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(long 挂号号码, string 姓名, string 年龄, string 性别, string 住院, string 手术, string 实验, string 诊断病况, string 所开药方, string 调剂, string 复核, string 医师, System.DateTime 日期) {
  288.                 _TableRow row_TableRow = ((_TableRow)(this.NewRow()));
  289.                 row_TableRow.ItemArray = new object[] {
  290.                         挂号号码,
  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.column挂号号码 = this.Columns["挂号号码"];
  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.column挂号号码 = new DataColumn("挂号号码", typeof(long), null, System.Data.MappingType.Element);
  339.                 this.Columns.Add(this.column挂号号码);
  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.DateTime), null, System.Data.MappingType.Element);
  363.                 this.Columns.Add(this.column日期);
  364.             }
  365.             
  366.             public _TableRow New_TableRow() {
  367.                 return ((_TableRow)(this.NewRow()));
  368.             }
  369.             
  370.             protected override DataRow NewRowFromBuilder(DataRowBuilder builder) {
  371.                 return new _TableRow(builder);
  372.             }
  373.             
  374.             protected override System.Type GetRowType() {
  375.                 return typeof(_TableRow);
  376.             }
  377.             
  378.             protected override void OnRowChanged(DataRowChangeEventArgs e) {
  379.                 base.OnRowChanged(e);
  380.                 if ((this._TableRowChanged != null)) {
  381.                     this._TableRowChanged(this, new _TableRowChangeEvent(((_TableRow)(e.Row)), e.Action));
  382.                 }
  383.             }
  384.             
  385.             protected override void OnRowChanging(DataRowChangeEventArgs e) {
  386.                 base.OnRowChanging(e);
  387.                 if ((this._TableRowChanging != null)) {
  388.                     this._TableRowChanging(this, new _TableRowChangeEvent(((_TableRow)(e.Row)), e.Action));
  389.                 }
  390.             }
  391.             
  392.             protected override void OnRowDeleted(DataRowChangeEventArgs e) {
  393.                 base.OnRowDeleted(e);
  394.                 if ((this._TableRowDeleted != null)) {
  395.                     this._TableRowDeleted(this, new _TableRowChangeEvent(((_TableRow)(e.Row)), e.Action));
  396.                 }
  397.             }
  398.             
  399.             protected override void OnRowDeleting(DataRowChangeEventArgs e) {
  400.                 base.OnRowDeleting(e);
  401.                 if ((this._TableRowDeleting != null)) {
  402.                     this._TableRowDeleting(this, new _TableRowChangeEvent(((_TableRow)(e.Row)), e.Action));
  403.                 }
  404.             }
  405.             
  406.             public void Remove_TableRow(_TableRow row) {
  407.                 this.Rows.Remove(row);
  408.             }
  409.         }
  410.         
  411.         [System.Diagnostics.DebuggerStepThrough()]
  412.         public class _TableRow : DataRow {
  413.             
  414.             private _TableDataTable table_Table;
  415.             
  416.             internal _TableRow(DataRowBuilder rb) : 
  417.                     base(rb) {
  418.                 this.table_Table = ((_TableDataTable)(this.Table));
  419.             }
  420.             
  421.             public long 挂号号码 {
  422.                 get {
  423.                     try {
  424.                         return ((long)(this[this.table_Table.挂号号码Column]));
  425.                     }
  426.                     catch (InvalidCastException e) {
  427.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  428.                     }
  429.                 }
  430.                 set {
  431.                     this[this.table_Table.挂号号码Column] = value;
  432.                 }
  433.             }
  434.             
  435.             public string 姓名 {
  436.                 get {
  437.                     try {
  438.                         return ((string)(this[this.table_Table.姓名Column]));
  439.                     }
  440.                     catch (InvalidCastException e) {
  441.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  442.                     }
  443.                 }
  444.                 set {
  445.                     this[this.table_Table.姓名Column] = value;
  446.                 }
  447.             }
  448.             
  449.             public string 年龄 {
  450.                 get {
  451.                     try {
  452.                         return ((string)(this[this.table_Table.年龄Column]));
  453.                     }
  454.                     catch (InvalidCastException e) {
  455.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  456.                     }
  457.                 }
  458.                 set {
  459.                     this[this.table_Table.年龄Column] = value;
  460.                 }
  461.             }
  462.             
  463.             public string 性别 {
  464.                 get {
  465.                     try {
  466.                         return ((string)(this[this.table_Table.性别Column]));
  467.                     }
  468.                     catch (InvalidCastException e) {
  469.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  470.                     }
  471.                 }
  472.                 set {
  473.                     this[this.table_Table.性别Column] = value;
  474.                 }
  475.             }
  476.             
  477.             public string 住院 {
  478.                 get {
  479.                     try {
  480.                         return ((string)(this[this.table_Table.住院Column]));
  481.                     }
  482.                     catch (InvalidCastException e) {
  483.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  484.                     }
  485.                 }
  486.                 set {
  487.                     this[this.table_Table.住院Column] = value;
  488.                 }
  489.             }
  490.             
  491.             public string 手术 {
  492.                 get {
  493.                     try {
  494.                         return ((string)(this[this.table_Table.手术Column]));
  495.                     }
  496.                     catch (InvalidCastException e) {
  497.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  498.                     }
  499.                 }
  500.                 set {
  501.                     this[this.table_Table.手术Column] = value;
  502.                 }
  503.             }
  504.             
  505.             public string 实验 {
  506.                 get {
  507.                     try {
  508.                         return ((string)(this[this.table_Table.实验Column]));
  509.                     }
  510.                     catch (InvalidCastException e) {
  511.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  512.                     }
  513.                 }
  514.                 set {
  515.                     this[this.table_Table.实验Column] = value;
  516.                 }
  517.             }
  518.             
  519.             public string 诊断病况 {
  520.                 get {
  521.                     try {
  522.                         return ((string)(this[this.table_Table.诊断病况Column]));
  523.                     }
  524.                     catch (InvalidCastException e) {
  525.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  526.                     }
  527.                 }
  528.                 set {
  529.                     this[this.table_Table.诊断病况Column] = value;
  530.                 }
  531.             }
  532.             
  533.             public string 所开药方 {
  534.                 get {
  535.                     try {
  536.                         return ((string)(this[this.table_Table.所开药方Column]));
  537.                     }
  538.                     catch (InvalidCastException e) {
  539.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  540.                     }
  541.                 }
  542.                 set {
  543.                     this[this.table_Table.所开药方Column] = value;
  544.                 }
  545.             }
  546.             
  547.             public string 调剂 {
  548.                 get {
  549.                     try {
  550.                         return ((string)(this[this.table_Table.调剂Column]));
  551.                     }
  552.                     catch (InvalidCastException e) {
  553.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  554.                     }
  555.                 }
  556.                 set {
  557.                     this[this.table_Table.调剂Column] = value;
  558.                 }
  559.             }
  560.             
  561.             public string 复核 {
  562.                 get {
  563.                     try {
  564.                         return ((string)(this[this.table_Table.复核Column]));
  565.                     }
  566.                     catch (InvalidCastException e) {
  567.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  568.                     }
  569.                 }
  570.                 set {
  571.                     this[this.table_Table.复核Column] = value;
  572.                 }
  573.             }
  574.             
  575.             public string 医师 {
  576.                 get {
  577.                     try {
  578.                         return ((string)(this[this.table_Table.医师Column]));
  579.                     }
  580.                     catch (InvalidCastException e) {
  581.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  582.                     }
  583.                 }
  584.                 set {
  585.                     this[this.table_Table.医师Column] = value;
  586.                 }
  587.             }
  588.             
  589.             public System.DateTime 日期 {
  590.                 get {
  591.                     try {
  592.                         return ((System.DateTime)(this[this.table_Table.日期Column]));
  593.                     }
  594.                     catch (InvalidCastException e) {
  595.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  596.                     }
  597.                 }
  598.                 set {
  599.                     this[this.table_Table.日期Column] = value;
  600.                 }
  601.             }
  602.             
  603.             public bool Is挂号号码Null() {
  604.                 return this.IsNull(this.table_Table.挂号号码Column);
  605.             }
  606.             
  607.             public void Set挂号号码Null() {
  608.                 this[this.table_Table.挂号号码Column] = System.Convert.DBNull;
  609.             }
  610.             
  611.             public bool Is姓名Null() {
  612.                 return this.IsNull(this.table_Table.姓名Column);
  613.             }
  614.             
  615.             public void Set姓名Null() {
  616.                 this[this.table_Table.姓名Column] = System.Convert.DBNull;
  617.             }
  618.             
  619.             public bool Is年龄Null() {
  620.                 return this.IsNull(this.table_Table.年龄Column);
  621.             }
  622.             
  623.             public void Set年龄Null() {
  624.                 this[this.table_Table.年龄Column] = System.Convert.DBNull;
  625.             }
  626.             
  627.             public bool Is性别Null() {
  628.                 return this.IsNull(this.table_Table.性别Column);
  629.             }
  630.             
  631.             public void Set性别Null() {
  632.                 this[this.table_Table.性别Column] = System.Convert.DBNull;
  633.             }
  634.             
  635.             public bool Is住院Null() {
  636.                 return this.IsNull(this.table_Table.住院Column);
  637.             }
  638.             
  639.             public void Set住院Null() {
  640.                 this[this.table_Table.住院Column] = System.Convert.DBNull;
  641.             }
  642.             
  643.             public bool Is手术Null() {
  644.                 return this.IsNull(this.table_Table.手术Column);
  645.             }
  646.             
  647.             public void Set手术Null() {
  648.                 this[this.table_Table.手术Column] = System.Convert.DBNull;
  649.             }
  650.             
  651.             public bool Is实验Null() {
  652.                 return this.IsNull(this.table_Table.实验Column);
  653.             }
  654.             
  655.             public void Set实验Null() {
  656.                 this[this.table_Table.实验Column] = System.Convert.DBNull;
  657.             }
  658.             
  659.             public bool Is诊断病况Null() {
  660.                 return this.IsNull(this.table_Table.诊断病况Column);
  661.             }
  662.             
  663.             public void Set诊断病况Null() {
  664.                 this[this.table_Table.诊断病况Column] = System.Convert.DBNull;
  665.             }
  666.             
  667.             public bool Is所开药方Null() {
  668.                 return this.IsNull(this.table_Table.所开药方Column);
  669.             }
  670.             
  671.             public void Set所开药方Null() {
  672.                 this[this.table_Table.所开药方Column] = System.Convert.DBNull;
  673.             }
  674.             
  675.             public bool Is调剂Null() {
  676.                 return this.IsNull(this.table_Table.调剂Column);
  677.             }
  678.             
  679.             public void Set调剂Null() {
  680.                 this[this.table_Table.调剂Column] = System.Convert.DBNull;
  681.             }
  682.             
  683.             public bool Is复核Null() {
  684.                 return this.IsNull(this.table_Table.复核Column);
  685.             }
  686.             
  687.             public void Set复核Null() {
  688.                 this[this.table_Table.复核Column] = System.Convert.DBNull;
  689.             }
  690.             
  691.             public bool Is医师Null() {
  692.                 return this.IsNull(this.table_Table.医师Column);
  693.             }
  694.             
  695.             public void Set医师Null() {
  696.                 this[this.table_Table.医师Column] = System.Convert.DBNull;
  697.             }
  698.             
  699.             public bool Is日期Null() {
  700.                 return this.IsNull(this.table_Table.日期Column);
  701.             }
  702.             
  703.             public void Set日期Null() {
  704.                 this[this.table_Table.日期Column] = System.Convert.DBNull;
  705.             }
  706.         }
  707.         
  708.         [System.Diagnostics.DebuggerStepThrough()]
  709.         public class _TableRowChangeEvent : EventArgs {
  710.             
  711.             private _TableRow eventRow;
  712.             
  713.             private DataRowAction eventAction;
  714.             
  715.             public _TableRowChangeEvent(_TableRow row, DataRowAction action) {
  716.                 this.eventRow = row;
  717.                 this.eventAction = action;
  718.             }
  719.             
  720.             public _TableRow Row {
  721.                 get {
  722.                     return this.eventRow;
  723.                 }
  724.             }
  725.             
  726.             public DataRowAction Action {
  727.                 get {
  728.                     return this.eventAction;
  729.                 }
  730.             }
  731.         }
  732.     }
  733. }