📄 dataset1.cs
字号:
//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Runtime Version: 1.1.4322.573
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------
namespace 生产管理系统 {
using System;
using System.Data;
using System.Xml;
using System.Runtime.Serialization;
[Serializable()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Diagnostics.DebuggerStepThrough()]
[System.ComponentModel.ToolboxItem(true)]
public class DataSet1 : DataSet {
private 物料计划类别DataTable table物料计划类别;
private 工厂日历DataTable table工厂日历;
private 物料主文件DataTable table物料主文件;
private 主需求计划DataTable table主需求计划;
private 主生产计划DataTable table主生产计划;
private 物料清单DataTable table物料清单;
public DataSet1() {
this.InitClass();
System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
this.Tables.CollectionChanged += schemaChangedHandler;
this.Relations.CollectionChanged += schemaChangedHandler;
}
protected DataSet1(SerializationInfo info, StreamingContext context) {
string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
if ((strSchema != null)) {
DataSet ds = new DataSet();
ds.ReadXmlSchema(new XmlTextReader(new System.IO.StringReader(strSchema)));
if ((ds.Tables["物料计划类别"] != null)) {
this.Tables.Add(new 物料计划类别DataTable(ds.Tables["物料计划类别"]));
}
if ((ds.Tables["工厂日历"] != null)) {
this.Tables.Add(new 工厂日历DataTable(ds.Tables["工厂日历"]));
}
if ((ds.Tables["物料主文件"] != null)) {
this.Tables.Add(new 物料主文件DataTable(ds.Tables["物料主文件"]));
}
if ((ds.Tables["主需求计划"] != null)) {
this.Tables.Add(new 主需求计划DataTable(ds.Tables["主需求计划"]));
}
if ((ds.Tables["主生产计划"] != null)) {
this.Tables.Add(new 主生产计划DataTable(ds.Tables["主生产计划"]));
}
if ((ds.Tables["物料清单"] != null)) {
this.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, System.Data.MissingSchemaAction.Add);
this.InitVars();
}
else {
this.InitClass();
}
this.GetSerializationData(info, context);
System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
this.Tables.CollectionChanged += schemaChangedHandler;
this.Relations.CollectionChanged += schemaChangedHandler;
}
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
public 物料计划类别DataTable 物料计划类别 {
get {
return this.table物料计划类别;
}
}
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
public 工厂日历DataTable 工厂日历 {
get {
return this.table工厂日历;
}
}
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
public 物料主文件DataTable 物料主文件 {
get {
return this.table物料主文件;
}
}
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
public 主需求计划DataTable 主需求计划 {
get {
return this.table主需求计划;
}
}
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
public 主生产计划DataTable 主生产计划 {
get {
return this.table主生产计划;
}
}
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
public 物料清单DataTable 物料清单 {
get {
return this.table物料清单;
}
}
public override DataSet Clone() {
DataSet1 cln = ((DataSet1)(base.Clone()));
cln.InitVars();
return cln;
}
protected override bool ShouldSerializeTables() {
return false;
}
protected override bool ShouldSerializeRelations() {
return false;
}
protected override void ReadXmlSerializable(XmlReader reader) {
this.Reset();
DataSet ds = new DataSet();
ds.ReadXml(reader);
if ((ds.Tables["物料计划类别"] != null)) {
this.Tables.Add(new 物料计划类别DataTable(ds.Tables["物料计划类别"]));
}
if ((ds.Tables["工厂日历"] != null)) {
this.Tables.Add(new 工厂日历DataTable(ds.Tables["工厂日历"]));
}
if ((ds.Tables["物料主文件"] != null)) {
this.Tables.Add(new 物料主文件DataTable(ds.Tables["物料主文件"]));
}
if ((ds.Tables["主需求计划"] != null)) {
this.Tables.Add(new 主需求计划DataTable(ds.Tables["主需求计划"]));
}
if ((ds.Tables["主生产计划"] != null)) {
this.Tables.Add(new 主生产计划DataTable(ds.Tables["主生产计划"]));
}
if ((ds.Tables["物料清单"] != null)) {
this.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, System.Data.MissingSchemaAction.Add);
this.InitVars();
}
protected override System.Xml.Schema.XmlSchema GetSchemaSerializable() {
System.IO.MemoryStream stream = new System.IO.MemoryStream();
this.WriteXmlSchema(new XmlTextWriter(stream, null));
stream.Position = 0;
return System.Xml.Schema.XmlSchema.Read(new XmlTextReader(stream), null);
}
internal void InitVars() {
this.table物料计划类别 = ((物料计划类别DataTable)(this.Tables["物料计划类别"]));
if ((this.table物料计划类别 != null)) {
this.table物料计划类别.InitVars();
}
this.table工厂日历 = ((工厂日历DataTable)(this.Tables["工厂日历"]));
if ((this.table工厂日历 != null)) {
this.table工厂日历.InitVars();
}
this.table物料主文件 = ((物料主文件DataTable)(this.Tables["物料主文件"]));
if ((this.table物料主文件 != null)) {
this.table物料主文件.InitVars();
}
this.table主需求计划 = ((主需求计划DataTable)(this.Tables["主需求计划"]));
if ((this.table主需求计划 != null)) {
this.table主需求计划.InitVars();
}
this.table主生产计划 = ((主生产计划DataTable)(this.Tables["主生产计划"]));
if ((this.table主生产计划 != null)) {
this.table主生产计划.InitVars();
}
this.table物料清单 = ((物料清单DataTable)(this.Tables["物料清单"]));
if ((this.table物料清单 != null)) {
this.table物料清单.InitVars();
}
}
private void InitClass() {
this.DataSetName = "DataSet1";
this.Prefix = "";
this.Namespace = "http://www.tempuri.org/DataSet1.xsd";
this.Locale = new System.Globalization.CultureInfo("zh-CN");
this.CaseSensitive = false;
this.EnforceConstraints = true;
this.table物料计划类别 = new 物料计划类别DataTable();
this.Tables.Add(this.table物料计划类别);
this.table工厂日历 = new 工厂日历DataTable();
this.Tables.Add(this.table工厂日历);
this.table物料主文件 = new 物料主文件DataTable();
this.Tables.Add(this.table物料主文件);
this.table主需求计划 = new 主需求计划DataTable();
this.Tables.Add(this.table主需求计划);
this.table主生产计划 = new 主生产计划DataTable();
this.Tables.Add(this.table主生产计划);
this.table物料清单 = new 物料清单DataTable();
this.Tables.Add(this.table物料清单);
}
private bool ShouldSerialize物料计划类别() {
return false;
}
private bool ShouldSerialize工厂日历() {
return false;
}
private bool ShouldSerialize物料主文件() {
return false;
}
private bool ShouldSerialize主需求计划() {
return false;
}
private bool ShouldSerialize主生产计划() {
return false;
}
private bool ShouldSerialize物料清单() {
return false;
}
private void SchemaChanged(object sender, System.ComponentModel.CollectionChangeEventArgs e) {
if ((e.Action == System.ComponentModel.CollectionChangeAction.Remove)) {
this.InitVars();
}
}
public delegate void 物料计划类别RowChangeEventHandler(object sender, 物料计划类别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);
public delegate void 主生产计划RowChangeEventHandler(object sender, 主生产计划RowChangeEvent e);
public delegate void 物料清单RowChangeEventHandler(object sender, 物料清单RowChangeEvent e);
[System.Diagnostics.DebuggerStepThrough()]
public class 物料计划类别DataTable : DataTable, System.Collections.IEnumerable {
private DataColumn column类别名称;
private DataColumn column类别代码;
internal 物料计划类别DataTable() :
base("物料计划类别") {
this.InitClass();
}
internal 物料计划类别DataTable(DataTable table) :
base(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;
this.DisplayExpression = table.DisplayExpression;
}
[System.ComponentModel.Browsable(false)]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -