📄 productinds1.cs
字号:
//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Runtime Version: 1.1.4322.2407
//
// 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 ProductInDS1 : DataSet {
private 产成品入库单历史DataTable table产成品入库单历史;
private view_产成品入库单明细历史DataTable tableview_产成品入库单明细历史;
public ProductInDS1() {
this.InitClass();
System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
this.Tables.CollectionChanged += schemaChangedHandler;
this.Relations.CollectionChanged += schemaChangedHandler;
}
protected ProductInDS1(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["view_产成品入库单明细历史"] != null)) {
this.Tables.Add(new view_产成品入库单明细历史DataTable(ds.Tables["view_产成品入库单明细历史"]));
}
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 view_产成品入库单明细历史DataTable view_产成品入库单明细历史 {
get {
return this.tableview_产成品入库单明细历史;
}
}
public override DataSet Clone() {
ProductInDS1 cln = ((ProductInDS1)(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["view_产成品入库单明细历史"] != null)) {
this.Tables.Add(new view_产成品入库单明细历史DataTable(ds.Tables["view_产成品入库单明细历史"]));
}
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.tableview_产成品入库单明细历史 = ((view_产成品入库单明细历史DataTable)(this.Tables["view_产成品入库单明细历史"]));
if ((this.tableview_产成品入库单明细历史 != null)) {
this.tableview_产成品入库单明细历史.InitVars();
}
}
private void InitClass() {
this.DataSetName = "ProductInDS1";
this.Prefix = "";
this.Namespace = "http://tempuri.org/ProductInDS1.xsd";
this.Locale = new System.Globalization.CultureInfo("en-US");
this.CaseSensitive = false;
this.EnforceConstraints = true;
this.table产成品入库单历史 = new 产成品入库单历史DataTable();
this.Tables.Add(this.table产成品入库单历史);
this.tableview_产成品入库单明细历史 = new view_产成品入库单明细历史DataTable();
this.Tables.Add(this.tableview_产成品入库单明细历史);
}
private bool ShouldSerialize产成品入库单历史() {
return false;
}
private bool ShouldSerializeview_产成品入库单明细历史() {
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 view_产成品入库单明细历史RowChangeEventHandler(object sender, view_产成品入库单明细历史RowChangeEvent e);
[System.Diagnostics.DebuggerStepThrough()]
public class 产成品入库单历史DataTable : DataTable, System.Collections.IEnumerable {
private DataColumn column编号;
private DataColumn column入库日期;
private DataColumn column部门号;
private DataColumn column入库员;
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)]
public int Count {
get {
return this.Rows.Count;
}
}
internal DataColumn 编号Column {
get {
return this.column编号;
}
}
internal DataColumn 入库日期Column {
get {
return this.column入库日期;
}
}
internal DataColumn 部门号Column {
get {
return this.column部门号;
}
}
internal DataColumn 入库员Column {
get {
return this.column入库员;
}
}
internal DataColumn 制单人Column {
get {
return this.column制单人;
}
}
internal DataColumn 票据Column {
get {
return this.column票据;
}
}
public 产成品入库单历史Row this[int index] {
get {
return ((产成品入库单历史Row)(this.Rows[index]));
}
}
public event 产成品入库单历史RowChangeEventHandler 产成品入库单历史RowChanged;
public event 产成品入库单历史RowChangeEventHandler 产成品入库单历史RowChanging;
public event 产成品入库单历史RowChangeEventHandler 产成品入库单历史RowDeleted;
public event 产成品入库单历史RowChangeEventHandler 产成品入库单历史RowDeleting;
public void Add产成品入库单历史Row(产成品入库单历史Row row) {
this.Rows.Add(row);
}
public 产成品入库单历史Row Add产成品入库单历史Row(string 编号, string 入库日期, string 部门号, string 入库员, string 制单人, string 票据) {
产成品入库单历史Row row产成品入库单历史Row = ((产成品入库单历史Row)(this.NewRow()));
row产成品入库单历史Row.ItemArray = new object[] {
编号,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -