DataSet2.Designer.cs
资源名称:yiyuan.rar [点击查看]
上传用户:yongjiajia
上传日期:2021-01-30
资源大小:686k
文件大小:134k
源码类别:
手机彩信(MMS)编程
开发平台:
ASP/ASPX
- //------------------------------------------------------------------------------
- // <auto-generated>
- // 此代码由工具生成。
- // 运行时版本:2.0.50727.3082
- //
- // 对此文件的更改可能会导致不正确的行为,并且如果
- // 重新生成代码,这些更改将会丢失。
- // </auto-generated>
- //------------------------------------------------------------------------------
- #pragma warning disable 1591
- namespace 医院管理系统 {
- /// <summary>
- ///Represents a strongly typed in-memory cache of data.
- ///</summary>
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- [global::System.Serializable()]
- [global::System.ComponentModel.DesignerCategoryAttribute("code")]
- [global::System.ComponentModel.ToolboxItem(true)]
- [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
- [global::System.Xml.Serialization.XmlRootAttribute("DataSet2")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
- public partial class DataSet2 : global::System.Data.DataSet {
- private v收费项目及药品DataTable tablev收费项目及药品;
- private 门诊挂号DataTable table门诊挂号;
- private 门诊划价明细DataTable table门诊划价明细;
- private 门诊划价DataTable table门诊划价;
- private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public DataSet2() {
- this.BeginInit();
- this.InitClass();
- global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
- base.Tables.CollectionChanged += schemaChangedHandler;
- base.Relations.CollectionChanged += schemaChangedHandler;
- this.EndInit();
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected DataSet2(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
- base(info, context, false) {
- if ((this.IsBinarySerialized(info, context) == true)) {
- this.InitVars(false);
- global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
- this.Tables.CollectionChanged += schemaChangedHandler1;
- this.Relations.CollectionChanged += schemaChangedHandler1;
- return;
- }
- string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
- if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
- global::System.Data.DataSet ds = new global::System.Data.DataSet();
- ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
- if ((ds.Tables["v收费项目及药品"] != null)) {
- base.Tables.Add(new v收费项目及药品DataTable(ds.Tables["v收费项目及药品"]));
- }
- if ((ds.Tables["门诊挂号"] != null)) {
- base.Tables.Add(new 门诊挂号DataTable(ds.Tables["门诊挂号"]));
- }
- if ((ds.Tables["门诊划价明细"] != null)) {
- base.Tables.Add(new 门诊划价明细DataTable(ds.Tables["门诊划价明细"]));
- }
- if ((ds.Tables["门诊划价"] != null)) {
- base.Tables.Add(new 门诊划价DataTable(ds.Tables["门诊划价"]));
- }
- this.DataSetName = ds.DataSetName;
- this.Prefix = ds.Prefix;
- this.Namespace = ds.Namespace;
- this.Locale = ds.Locale;
- this.CaseSensitive = ds.CaseSensitive;
- this.EnforceConstraints = ds.EnforceConstraints;
- this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
- this.InitVars();
- }
- else {
- this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
- }
- this.GetSerializationData(info, context);
- global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
- base.Tables.CollectionChanged += schemaChangedHandler;
- this.Relations.CollectionChanged += schemaChangedHandler;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.ComponentModel.Browsable(false)]
- [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
- public v收费项目及药品DataTable v收费项目及药品 {
- get {
- return this.tablev收费项目及药品;
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.ComponentModel.Browsable(false)]
- [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
- public 门诊挂号DataTable 门诊挂号 {
- get {
- return this.table门诊挂号;
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.ComponentModel.Browsable(false)]
- [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
- public 门诊划价明细DataTable 门诊划价明细 {
- get {
- return this.table门诊划价明细;
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.ComponentModel.Browsable(false)]
- [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
- public 门诊划价DataTable 门诊划价 {
- get {
- return this.table门诊划价;
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.ComponentModel.BrowsableAttribute(true)]
- [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
- public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
- get {
- return this._schemaSerializationMode;
- }
- set {
- this._schemaSerializationMode = value;
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
- public new global::System.Data.DataTableCollection Tables {
- get {
- return base.Tables;
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
- public new global::System.Data.DataRelationCollection Relations {
- get {
- return base.Relations;
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected override void InitializeDerivedDataSet() {
- this.BeginInit();
- this.InitClass();
- this.EndInit();
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public override global::System.Data.DataSet Clone() {
- DataSet2 cln = ((DataSet2)(base.Clone()));
- cln.InitVars();
- cln.SchemaSerializationMode = this.SchemaSerializationMode;
- return cln;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected override bool ShouldSerializeTables() {
- return false;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected override bool ShouldSerializeRelations() {
- return false;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
- if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
- this.Reset();
- global::System.Data.DataSet ds = new global::System.Data.DataSet();
- ds.ReadXml(reader);
- if ((ds.Tables["v收费项目及药品"] != null)) {
- base.Tables.Add(new v收费项目及药品DataTable(ds.Tables["v收费项目及药品"]));
- }
- if ((ds.Tables["门诊挂号"] != null)) {
- base.Tables.Add(new 门诊挂号DataTable(ds.Tables["门诊挂号"]));
- }
- if ((ds.Tables["门诊划价明细"] != null)) {
- base.Tables.Add(new 门诊划价明细DataTable(ds.Tables["门诊划价明细"]));
- }
- if ((ds.Tables["门诊划价"] != null)) {
- base.Tables.Add(new 门诊划价DataTable(ds.Tables["门诊划价"]));
- }
- this.DataSetName = ds.DataSetName;
- this.Prefix = ds.Prefix;
- this.Namespace = ds.Namespace;
- this.Locale = ds.Locale;
- this.CaseSensitive = ds.CaseSensitive;
- this.EnforceConstraints = ds.EnforceConstraints;
- this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
- this.InitVars();
- }
- else {
- this.ReadXml(reader);
- this.InitVars();
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
- global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream();
- this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null));
- stream.Position = 0;
- return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal void InitVars() {
- this.InitVars(true);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal void InitVars(bool initTable) {
- this.tablev收费项目及药品 = ((v收费项目及药品DataTable)(base.Tables["v收费项目及药品"]));
- if ((initTable == true)) {
- if ((this.tablev收费项目及药品 != null)) {
- this.tablev收费项目及药品.InitVars();
- }
- }
- this.table门诊挂号 = ((门诊挂号DataTable)(base.Tables["门诊挂号"]));
- if ((initTable == true)) {
- if ((this.table门诊挂号 != null)) {
- this.table门诊挂号.InitVars();
- }
- }
- this.table门诊划价明细 = ((门诊划价明细DataTable)(base.Tables["门诊划价明细"]));
- if ((initTable == true)) {
- if ((this.table门诊划价明细 != null)) {
- this.table门诊划价明细.InitVars();
- }
- }
- this.table门诊划价 = ((门诊划价DataTable)(base.Tables["门诊划价"]));
- if ((initTable == true)) {
- if ((this.table门诊划价 != null)) {
- this.table门诊划价.InitVars();
- }
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- private void InitClass() {
- this.DataSetName = "DataSet2";
- this.Prefix = "";
- this.Namespace = "http://www.tempuri.org/DataSet2.xsd";
- this.Locale = new global::System.Globalization.CultureInfo("zh-CN");
- this.EnforceConstraints = true;
- this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
- this.tablev收费项目及药品 = new v收费项目及药品DataTable();
- base.Tables.Add(this.tablev收费项目及药品);
- this.table门诊挂号 = new 门诊挂号DataTable();
- base.Tables.Add(this.table门诊挂号);
- this.table门诊划价明细 = new 门诊划价明细DataTable();
- base.Tables.Add(this.table门诊划价明细);
- this.table门诊划价 = new 门诊划价DataTable();
- base.Tables.Add(this.table门诊划价);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- private bool ShouldSerializev收费项目及药品() {
- return false;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- private bool ShouldSerialize门诊挂号() {
- return false;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- private bool ShouldSerialize门诊划价明细() {
- return false;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- private bool ShouldSerialize门诊划价() {
- return false;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
- if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
- this.InitVars();
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
- DataSet2 ds = new DataSet2();
- global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
- global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
- global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
- any.Namespace = ds.Namespace;
- sequence.Items.Add(any);
- type.Particle = sequence;
- global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
- if (xs.Contains(dsSchema.TargetNamespace)) {
- global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
- global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
- try {
- global::System.Xml.Schema.XmlSchema schema = null;
- dsSchema.Write(s1);
- for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
- schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
- s2.SetLength(0);
- schema.Write(s2);
- if ((s1.Length == s2.Length)) {
- s1.Position = 0;
- s2.Position = 0;
- for (; ((s1.Position != s1.Length)
- && (s1.ReadByte() == s2.ReadByte())); ) {
- ;
- }
- if ((s1.Position == s1.Length)) {
- return type;
- }
- }
- }
- }
- finally {
- if ((s1 != null)) {
- s1.Close();
- }
- if ((s2 != null)) {
- s2.Close();
- }
- }
- }
- xs.Add(dsSchema);
- return type;
- }
- public delegate void v收费项目及药品RowChangeEventHandler(object sender, v收费项目及药品RowChangeEvent e);
- public delegate void 门诊挂号RowChangeEventHandler(object sender, 门诊挂号RowChangeEvent e);
- public delegate void 门诊划价明细RowChangeEventHandler(object sender, 门诊划价明细RowChangeEvent e);
- public delegate void 门诊划价RowChangeEventHandler(object sender, 门诊划价RowChangeEvent e);
- /// <summary>
- ///Represents the strongly named DataTable class.
- ///</summary>
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- [global::System.Serializable()]
- [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
- public partial class v收费项目及药品DataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
- private global::System.Data.DataColumn column编号;
- private global::System.Data.DataColumn column名称;
- private global::System.Data.DataColumn column规格;
- private global::System.Data.DataColumn column单位;
- private global::System.Data.DataColumn column单价;
- private global::System.Data.DataColumn column拼音码;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public v收费项目及药品DataTable() {
- this.TableName = "v收费项目及药品";
- this.BeginInit();
- this.InitClass();
- this.EndInit();
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal v收费项目及药品DataTable(global::System.Data.DataTable table) {
- this.TableName = table.TableName;
- if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
- this.CaseSensitive = table.CaseSensitive;
- }
- if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
- this.Locale = table.Locale;
- }
- if ((table.Namespace != table.DataSet.Namespace)) {
- this.Namespace = table.Namespace;
- }
- this.Prefix = table.Prefix;
- this.MinimumCapacity = table.MinimumCapacity;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected v收费项目及药品DataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
- base(info, context) {
- this.InitVars();
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn 编号Column {
- get {
- return this.column编号;
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn 名称Column {
- get {
- return this.column名称;
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn 规格Column {
- get {
- return this.column规格;
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn 单位Column {
- get {
- return this.column单位;
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn 单价Column {
- get {
- return this.column单价;
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn 拼音码Column {
- get {
- return this.column拼音码;
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.ComponentModel.Browsable(false)]
- public int Count {
- get {
- return this.Rows.Count;
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public v收费项目及药品Row this[int index] {
- get {
- return ((v收费项目及药品Row)(this.Rows[index]));
- }
- }
- public event v收费项目及药品RowChangeEventHandler v收费项目及药品RowChanging;
- public event v收费项目及药品RowChangeEventHandler v收费项目及药品RowChanged;
- public event v收费项目及药品RowChangeEventHandler v收费项目及药品RowDeleting;
- public event v收费项目及药品RowChangeEventHandler v收费项目及药品RowDeleted;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public void Addv收费项目及药品Row(v收费项目及药品Row row) {
- this.Rows.Add(row);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public v收费项目及药品Row Addv收费项目及药品Row(string 编号, string 名称, string 规格, string 单位, decimal 单价, string 拼音码) {
- v收费项目及药品Row rowv收费项目及药品Row = ((v收费项目及药品Row)(this.NewRow()));
- object[] columnValuesArray = new object[] {
- 编号,
- 名称,
- 规格,
- 单位,
- 单价,
- 拼音码};
- rowv收费项目及药品Row.ItemArray = columnValuesArray;
- this.Rows.Add(rowv收费项目及药品Row);
- return rowv收费项目及药品Row;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public virtual global::System.Collections.IEnumerator GetEnumerator() {
- return this.Rows.GetEnumerator();
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public override global::System.Data.DataTable Clone() {
- v收费项目及药品DataTable cln = ((v收费项目及药品DataTable)(base.Clone()));
- cln.InitVars();
- return cln;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected override global::System.Data.DataTable CreateInstance() {
- return new v收费项目及药品DataTable();
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal void InitVars() {
- this.column编号 = base.Columns["编号"];
- this.column名称 = base.Columns["名称"];
- this.column规格 = base.Columns["规格"];
- this.column单位 = base.Columns["单位"];
- this.column单价 = base.Columns["单价"];
- this.column拼音码 = base.Columns["拼音码"];
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- private void InitClass() {
- this.column编号 = new global::System.Data.DataColumn("编号", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.column编号);
- this.column名称 = new global::System.Data.DataColumn("名称", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.column名称);
- this.column规格 = new global::System.Data.DataColumn("规格", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.column规格);
- this.column单位 = new global::System.Data.DataColumn("单位", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.column单位);
- this.column单价 = new global::System.Data.DataColumn("单价", typeof(decimal), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.column单价);
- this.column拼音码 = new global::System.Data.DataColumn("拼音码", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.column拼音码);
- this.column编号.AllowDBNull = false;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public v收费项目及药品Row Newv收费项目及药品Row() {
- return ((v收费项目及药品Row)(this.NewRow()));
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
- return new v收费项目及药品Row(builder);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected override global::System.Type GetRowType() {
- return typeof(v收费项目及药品Row);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowChanged(e);
- if ((this.v收费项目及药品RowChanged != null)) {
- this.v收费项目及药品RowChanged(this, new v收费项目及药品RowChangeEvent(((v收费项目及药品Row)(e.Row)), e.Action));
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowChanging(e);
- if ((this.v收费项目及药品RowChanging != null)) {
- this.v收费项目及药品RowChanging(this, new v收费项目及药品RowChangeEvent(((v收费项目及药品Row)(e.Row)), e.Action));
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowDeleted(e);
- if ((this.v收费项目及药品RowDeleted != null)) {
- this.v收费项目及药品RowDeleted(this, new v收费项目及药品RowChangeEvent(((v收费项目及药品Row)(e.Row)), e.Action));
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowDeleting(e);
- if ((this.v收费项目及药品RowDeleting != null)) {
- this.v收费项目及药品RowDeleting(this, new v收费项目及药品RowChangeEvent(((v收费项目及药品Row)(e.Row)), e.Action));
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public void Removev收费项目及药品Row(v收费项目及药品Row row) {
- this.Rows.Remove(row);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
- global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
- global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
- DataSet2 ds = new DataSet2();
- global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
- any1.Namespace = "http://www.w3.org/2001/XMLSchema";
- any1.MinOccurs = new decimal(0);
- any1.MaxOccurs = decimal.MaxValue;
- any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
- sequence.Items.Add(any1);
- global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
- any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
- any2.MinOccurs = new decimal(1);
- any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
- sequence.Items.Add(any2);
- global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
- attribute1.Name = "namespace";
- attribute1.FixedValue = ds.Namespace;
- type.Attributes.Add(attribute1);
- global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
- attribute2.Name = "tableTypeName";
- attribute2.FixedValue = "v收费项目及药品DataTable";
- type.Attributes.Add(attribute2);
- type.Particle = sequence;
- global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
- if (xs.Contains(dsSchema.TargetNamespace)) {
- global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
- global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
- try {
- global::System.Xml.Schema.XmlSchema schema = null;
- dsSchema.Write(s1);
- for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
- schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
- s2.SetLength(0);
- schema.Write(s2);
- if ((s1.Length == s2.Length)) {
- s1.Position = 0;
- s2.Position = 0;
- for (; ((s1.Position != s1.Length)
- && (s1.ReadByte() == s2.ReadByte())); ) {
- ;
- }
- if ((s1.Position == s1.Length)) {
- return type;
- }
- }
- }
- }
- finally {
- if ((s1 != null)) {
- s1.Close();
- }
- if ((s2 != null)) {
- s2.Close();
- }
- }
- }
- xs.Add(dsSchema);
- return type;
- }
- }
- /// <summary>
- ///Represents the strongly named DataTable class.
- ///</summary>
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- [global::System.Serializable()]
- [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
- public partial class 门诊挂号DataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
- private global::System.Data.DataColumn column编号;
- private global::System.Data.DataColumn column病人编号;
- private global::System.Data.DataColumn column姓名;
- private global::System.Data.DataColumn column性别;
- private global::System.Data.DataColumn column挂号科室;
- private global::System.Data.DataColumn column费用类型;
- private global::System.Data.DataColumn column挂号类型;
- private global::System.Data.DataColumn column挂号费用;
- private global::System.Data.DataColumn column医生;
- private global::System.Data.DataColumn column时间;
- private global::System.Data.DataColumn column是否已划价;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public 门诊挂号DataTable() {
- this.TableName = "门诊挂号";
- this.BeginInit();
- this.InitClass();
- this.EndInit();
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal 门诊挂号DataTable(global::System.Data.DataTable table) {
- this.TableName = table.TableName;
- if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
- this.CaseSensitive = table.CaseSensitive;
- }
- if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
- this.Locale = table.Locale;
- }
- if ((table.Namespace != table.DataSet.Namespace)) {
- this.Namespace = table.Namespace;
- }
- this.Prefix = table.Prefix;
- this.MinimumCapacity = table.MinimumCapacity;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected 门诊挂号DataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
- base(info, context) {
- this.InitVars();
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn 编号Column {
- get {
- return this.column编号;
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn 病人编号Column {
- get {
- return this.column病人编号;
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn 姓名Column {
- get {
- return this.column姓名;
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn 性别Column {
- get {
- return this.column性别;
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn 挂号科室Column {
- get {
- return this.column挂号科室;
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn 费用类型Column {
- get {
- return this.column费用类型;
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn 挂号类型Column {
- get {
- return this.column挂号类型;
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn 挂号费用Column {
- get {
- return this.column挂号费用;
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn 医生Column {
- get {
- return this.column医生;
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn 时间Column {
- get {
- return this.column时间;
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn 是否已划价Column {
- get {
- return this.column是否已划价;
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.ComponentModel.Browsable(false)]
- public int Count {
- get {
- return this.Rows.Count;
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public 门诊挂号Row this[int index] {
- get {
- return ((门诊挂号Row)(this.Rows[index]));
- }
- }
- public event 门诊挂号RowChangeEventHandler 门诊挂号RowChanging;
- public event 门诊挂号RowChangeEventHandler 门诊挂号RowChanged;
- public event 门诊挂号RowChangeEventHandler 门诊挂号RowDeleting;
- public event 门诊挂号RowChangeEventHandler 门诊挂号RowDeleted;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public void Add门诊挂号Row(门诊挂号Row row) {
- this.Rows.Add(row);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public 门诊挂号Row Add门诊挂号Row(string 编号, string 病人编号, string 姓名, string 性别, string 挂号科室, string 费用类型, string 挂号类型, decimal 挂号费用, string 医生, System.DateTime 时间, string 是否已划价) {
- 门诊挂号Row row门诊挂号Row = ((门诊挂号Row)(this.NewRow()));
- object[] columnValuesArray = new object[] {
- 编号,
- 病人编号,
- 姓名,
- 性别,
- 挂号科室,
- 费用类型,
- 挂号类型,
- 挂号费用,
- 医生,
- 时间,
- 是否已划价};
- row门诊挂号Row.ItemArray = columnValuesArray;
- this.Rows.Add(row门诊挂号Row);
- return row门诊挂号Row;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public 门诊挂号Row FindBy编号(string 编号) {
- return ((门诊挂号Row)(this.Rows.Find(new object[] {
- 编号})));
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public virtual global::System.Collections.IEnumerator GetEnumerator() {
- return this.Rows.GetEnumerator();
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public override global::System.Data.DataTable Clone() {
- 门诊挂号DataTable cln = ((门诊挂号DataTable)(base.Clone()));
- cln.InitVars();
- return cln;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected override global::System.Data.DataTable CreateInstance() {
- return new 门诊挂号DataTable();
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal void InitVars() {
- this.column编号 = base.Columns["编号"];
- this.column病人编号 = base.Columns["病人编号"];
- this.column姓名 = base.Columns["姓名"];
- this.column性别 = base.Columns["性别"];
- this.column挂号科室 = base.Columns["挂号科室"];
- this.column费用类型 = base.Columns["费用类型"];
- this.column挂号类型 = base.Columns["挂号类型"];
- this.column挂号费用 = base.Columns["挂号费用"];
- this.column医生 = base.Columns["医生"];
- this.column时间 = base.Columns["时间"];
- this.column是否已划价 = base.Columns["是否已划价"];
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- private void InitClass() {
- this.column编号 = new global::System.Data.DataColumn("编号", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.column编号);
- this.column病人编号 = new global::System.Data.DataColumn("病人编号", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.column病人编号);
- this.column姓名 = new global::System.Data.DataColumn("姓名", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.column姓名);
- this.column性别 = new global::System.Data.DataColumn("性别", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.column性别);
- this.column挂号科室 = new global::System.Data.DataColumn("挂号科室", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.column挂号科室);
- this.column费用类型 = new global::System.Data.DataColumn("费用类型", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.column费用类型);
- this.column挂号类型 = new global::System.Data.DataColumn("挂号类型", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.column挂号类型);
- this.column挂号费用 = new global::System.Data.DataColumn("挂号费用", typeof(decimal), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.column挂号费用);
- this.column医生 = new global::System.Data.DataColumn("医生", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.column医生);
- this.column时间 = new global::System.Data.DataColumn("时间", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.column时间);
- this.column是否已划价 = new global::System.Data.DataColumn("是否已划价", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.column是否已划价);
- this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
- this.column编号}, true));
- this.column编号.AllowDBNull = false;
- this.column编号.Unique = true;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public 门诊挂号Row New门诊挂号Row() {
- return ((门诊挂号Row)(this.NewRow()));
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
- return new 门诊挂号Row(builder);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected override global::System.Type GetRowType() {
- return typeof(门诊挂号Row);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowChanged(e);
- if ((this.门诊挂号RowChanged != null)) {
- this.门诊挂号RowChanged(this, new 门诊挂号RowChangeEvent(((门诊挂号Row)(e.Row)), e.Action));
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowChanging(e);
- if ((this.门诊挂号RowChanging != null)) {
- this.门诊挂号RowChanging(this, new 门诊挂号RowChangeEvent(((门诊挂号Row)(e.Row)), e.Action));
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowDeleted(e);
- if ((this.门诊挂号RowDeleted != null)) {
- this.门诊挂号RowDeleted(this, new 门诊挂号RowChangeEvent(((门诊挂号Row)(e.Row)), e.Action));
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowDeleting(e);
- if ((this.门诊挂号RowDeleting != null)) {
- this.门诊挂号RowDeleting(this, new 门诊挂号RowChangeEvent(((门诊挂号Row)(e.Row)), e.Action));
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public void Remove门诊挂号Row(门诊挂号Row row) {
- this.Rows.Remove(row);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
- global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
- global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
- DataSet2 ds = new DataSet2();
- global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
- any1.Namespace = "http://www.w3.org/2001/XMLSchema";
- any1.MinOccurs = new decimal(0);
- any1.MaxOccurs = decimal.MaxValue;
- any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
- sequence.Items.Add(any1);
- global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
- any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
- any2.MinOccurs = new decimal(1);
- any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
- sequence.Items.Add(any2);
- global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
- attribute1.Name = "namespace";
- attribute1.FixedValue = ds.Namespace;
- type.Attributes.Add(attribute1);
- global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
- attribute2.Name = "tableTypeName";
- attribute2.FixedValue = "门诊挂号DataTable";
- type.Attributes.Add(attribute2);
- type.Particle = sequence;
- global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
- if (xs.Contains(dsSchema.TargetNamespace)) {
- global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
- global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
- try {
- global::System.Xml.Schema.XmlSchema schema = null;
- dsSchema.Write(s1);
- for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
- schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
- s2.SetLength(0);
- schema.Write(s2);
- if ((s1.Length == s2.Length)) {
- s1.Position = 0;
- s2.Position = 0;
- for (; ((s1.Position != s1.Length)
- && (s1.ReadByte() == s2.ReadByte())); ) {
- ;
- }
- if ((s1.Position == s1.Length)) {
- return type;
- }
- }
- }
- }
- finally {
- if ((s1 != null)) {
- s1.Close();
- }
- if ((s2 != null)) {
- s2.Close();
- }
- }
- }
- xs.Add(dsSchema);
- return type;
- }
- }
- /// <summary>
- ///Represents the strongly named DataTable class.
- ///</summary>
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- [global::System.Serializable()]
- [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
- public partial class 门诊划价明细DataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
- private global::System.Data.DataColumn column编号;
- private global::System.Data.DataColumn column药品编号;
- private global::System.Data.DataColumn column名称;
- private global::System.Data.DataColumn column单价;
- private global::System.Data.DataColumn column数量;
- private global::System.Data.DataColumn column金额;
- private global::System.Data.DataColumn column划价编号;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public 门诊划价明细DataTable() {
- this.TableName = "门诊划价明细";
- this.BeginInit();
- this.InitClass();
- this.EndInit();
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal 门诊划价明细DataTable(global::System.Data.DataTable table) {
- this.TableName = table.TableName;
- if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
- this.CaseSensitive = table.CaseSensitive;
- }
- if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
- this.Locale = table.Locale;
- }
- if ((table.Namespace != table.DataSet.Namespace)) {
- this.Namespace = table.Namespace;
- }
- this.Prefix = table.Prefix;
- this.MinimumCapacity = table.MinimumCapacity;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected 门诊划价明细DataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
- base(info, context) {
- this.InitVars();
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn 编号Column {
- get {
- return this.column编号;
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn 药品编号Column {
- get {
- return this.column药品编号;
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn 名称Column {
- get {
- return this.column名称;
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn 单价Column {
- get {
- return this.column单价;
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn 数量Column {
- get {
- return this.column数量;
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn 金额Column {
- get {
- return this.column金额;
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public global::System.Data.DataColumn 划价编号Column {
- get {
- return this.column划价编号;
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.ComponentModel.Browsable(false)]
- public int Count {
- get {
- return this.Rows.Count;
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public 门诊划价明细Row this[int index] {
- get {
- return ((门诊划价明细Row)(this.Rows[index]));
- }
- }
- public event 门诊划价明细RowChangeEventHandler 门诊划价明细RowChanging;
- public event 门诊划价明细RowChangeEventHandler 门诊划价明细RowChanged;
- public event 门诊划价明细RowChangeEventHandler 门诊划价明细RowDeleting;
- public event 门诊划价明细RowChangeEventHandler 门诊划价明细RowDeleted;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public void Add门诊划价明细Row(门诊划价明细Row row) {
- this.Rows.Add(row);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public 门诊划价明细Row Add门诊划价明细Row(string 药品编号, string 名称, decimal 单价, decimal 数量, decimal 金额, string 划价编号) {
- 门诊划价明细Row row门诊划价明细Row = ((门诊划价明细Row)(this.NewRow()));
- object[] columnValuesArray = new object[] {
- null,
- 药品编号,
- 名称,
- 单价,
- 数量,
- 金额,
- 划价编号};
- row门诊划价明细Row.ItemArray = columnValuesArray;
- this.Rows.Add(row门诊划价明细Row);
- return row门诊划价明细Row;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public virtual global::System.Collections.IEnumerator GetEnumerator() {
- return this.Rows.GetEnumerator();
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public override global::System.Data.DataTable Clone() {
- 门诊划价明细DataTable cln = ((门诊划价明细DataTable)(base.Clone()));
- cln.InitVars();
- return cln;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected override global::System.Data.DataTable CreateInstance() {
- return new 门诊划价明细DataTable();
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal void InitVars() {
- this.column编号 = base.Columns["编号"];
- this.column药品编号 = base.Columns["药品编号"];
- this.column名称 = base.Columns["名称"];
- this.column单价 = base.Columns["单价"];
- this.column数量 = base.Columns["数量"];
- this.column金额 = base.Columns["金额"];
- this.column划价编号 = base.Columns["划价编号"];
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- private void InitClass() {
- this.column编号 = new global::System.Data.DataColumn("编号", typeof(int), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.column编号);
- this.column药品编号 = new global::System.Data.DataColumn("药品编号", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.column药品编号);
- this.column名称 = new global::System.Data.DataColumn("名称", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.column名称);
- this.column单价 = new global::System.Data.DataColumn("单价", typeof(decimal), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.column单价);
- this.column数量 = new global::System.Data.DataColumn("数量", typeof(decimal), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.column数量);
- this.column金额 = new global::System.Data.DataColumn("金额", typeof(decimal), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.column金额);
- this.column划价编号 = new global::System.Data.DataColumn("划价编号", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.column划价编号);
- this.column编号.AutoIncrement = true;
- this.column编号.AllowDBNull = false;
- this.column编号.ReadOnly = true;
- this.column药品编号.AllowDBNull = false;
- this.column划价编号.AllowDBNull = false;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public 门诊划价明细Row New门诊划价明细Row() {
- return ((门诊划价明细Row)(this.NewRow()));
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
- return new 门诊划价明细Row(builder);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected override global::System.Type GetRowType() {
- return typeof(门诊划价明细Row);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowChanged(e);
- if ((this.门诊划价明细RowChanged != null)) {
- this.门诊划价明细RowChanged(this, new 门诊划价明细RowChangeEvent(((门诊划价明细Row)(e.Row)), e.Action));
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowChanging(e);
- if ((this.门诊划价明细RowChanging != null)) {
- this.门诊划价明细RowChanging(this, new 门诊划价明细RowChangeEvent(((门诊划价明细Row)(e.Row)), e.Action));
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowDeleted(e);
- if ((this.门诊划价明细RowDeleted != null)) {
- this.门诊划价明细RowDeleted(this, new 门诊划价明细RowChangeEvent(((门诊划价明细Row)(e.Row)), e.Action));
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowDeleting(e);
- if ((this.门诊划价明细RowDeleting != null)) {
- this.门诊划价明细RowDeleting(this, new 门诊划价明细RowChangeEvent(((门诊划价明细Row)(e.Row)), e.Action));
- }
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public void Remove门诊划价明细Row(门诊划价明细Row row) {
- this.Rows.Remove(row);
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
- global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
- global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
- DataSet2 ds = new DataSet2();
- global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
- any1.Namespace = "http://www.w3.org/2001/XMLSchema";
- any1.MinOccurs = new decimal(0);
- any1.MaxOccurs = decimal.MaxValue;
- any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
- sequence.Items.Add(any1);
- global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
- any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
- any2.MinOccurs = new decimal(1);
- any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
- sequence.Items.Add(any2);
- global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
- attribute1.Name = "namespace";
- attribute1.FixedValue = ds.Namespace;
- type.Attributes.Add(attribute1);
- global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
- attribute2.Name = "tableTypeName";
- attribute2.FixedValue = "门诊划价明细DataTable";
- type.Attributes.Add(attribute2);
- type.Particle = sequence;
- global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
- if (xs.Contains(dsSchema.TargetNamespace)) {
- global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
- global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
- try {
- global::System.Xml.Schema.XmlSchema schema = null;
- dsSchema.Write(s1);
- for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
- schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
- s2.SetLength(0);
- schema.Write(s2);
- if ((s1.Length == s2.Length)) {
- s1.Position = 0;
- s2.Position = 0;
- for (; ((s1.Position != s1.Length)
- && (s1.ReadByte() == s2.ReadByte())); ) {
- ;
- }
- if ((s1.Position == s1.Length)) {
- return type;
- }
- }
- }
- }
- finally {
- if ((s1 != null)) {
- s1.Close();
- }
- if ((s2 != null)) {
- s2.Close();
- }
- }
- }
- xs.Add(dsSchema);
- return type;
- }
- }
- /// <summary>
- ///Represents the strongly named DataTable class.
- ///</summary>
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- [global::System.Serializable()]
- [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
- public partial class 门诊划价DataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
- private global::System.Data.DataColumn column姓名;
- private global::System.Data.DataColumn column性别;
- private global::System.Data.DataColumn column编号;
- private global::System.Data.DataColumn column科室;
- private global::System.Data.DataColumn column挂号编号;
- private global::System.Data.DataColumn column医生;
- private global::System.Data.DataColumn column划价时间;
- private global::System.Data.DataColumn column划价员;
- private global::System.Data.DataColumn column是否收费;
- private global::System.Data.DataColumn column收费员;
- private global::System.Data.DataColumn column收费时间;
- private global::System.Data.DataColumn column划价金额;
- private global::System.Data.DataColumn column是否发药;
- private global::System.Data.DataColumn column发药时间;
- private global::System.Data.DataColumn column发药员;
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- public 门诊划价DataTable() {
- this.TableName = "门诊划价";
- this.BeginInit();
- this.InitClass();
- this.EndInit();
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- internal 门诊划价DataTable(global::System.Data.DataTable table) {
- this.TableName = table.TableName;
- if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
- this.CaseSensitive = table.CaseSensitive;
- }
- if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
- this.Locale = table.Locale;
- }
- if ((table.Namespace != table.DataSet.Namespace)) {
- this.Namespace = table.Namespace;
- }
- this.Prefix = table.Prefix;
- this.MinimumCapacity = table.MinimumCapacity;
- }
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- protected 门诊划价DataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
- base(info, context) {