12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220 |
- using System;
- using System.CodeDom.Compiler;
- using System.Collections;
- using System.ComponentModel;
- using System.ComponentModel.Design;
- using System.Data;
- using System.Diagnostics;
- using System.IO;
- using System.Runtime.Serialization;
- using System.Xml;
- using System.Xml.Schema;
- using System.Xml.Serialization;
- namespace SunRoxm.BizPeri.ReportDataSet.ReportDataSet
- {
- [Serializable]
- [ToolboxItem(true)]
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- [DesignerCategory("code")]
- [HelpKeyword("vs.data.DataSet")]
- [XmlSchemaProvider("GetTypedDataSetSchema")]
- [XmlRoot("dsFrmPurchaseNoInDepot")]
- public class dsFrmPurchaseNoInDepot : DataSet
- {
- public delegate void PurchaseNoInDepotRowChangeEventHandler(object sender, PurchaseNoInDepotRowChangeEvent e);
- public delegate void AppendInfoRowChangeEventHandler(object sender, AppendInfoRowChangeEvent e);
- [Serializable]
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- [XmlSchemaProvider("GetTypedTableSchema")]
- public class PurchaseNoInDepotDataTable : DataTable, IEnumerable
- {
- private DataColumn columnNo_PurchaseOrderBill;
- private DataColumn columnDate_PurchaseOrderBill;
- private DataColumn columnArrivalDate_PurchaseOrderBill;
- private DataColumn columnNo_Product;
- private DataColumn columnName_Product;
- private DataColumn columnQuantity_PurchaseOrderBillProduct;
- private DataColumn columnQuantity_InDepot;
- private DataColumn columnQuantity_EndCase;
- private DataColumn columnQuantity_OnShip;
- private DataColumn columnNoInDepot;
- [DebuggerNonUserCode]
- public DataColumn No_PurchaseOrderBillColumn => columnNo_PurchaseOrderBill;
- [DebuggerNonUserCode]
- public DataColumn Date_PurchaseOrderBillColumn => columnDate_PurchaseOrderBill;
- [DebuggerNonUserCode]
- public DataColumn ArrivalDate_PurchaseOrderBillColumn => columnArrivalDate_PurchaseOrderBill;
- [DebuggerNonUserCode]
- public DataColumn No_ProductColumn => columnNo_Product;
- [DebuggerNonUserCode]
- public DataColumn Name_ProductColumn => columnName_Product;
- [DebuggerNonUserCode]
- public DataColumn Quantity_PurchaseOrderBillProductColumn => columnQuantity_PurchaseOrderBillProduct;
- [DebuggerNonUserCode]
- public DataColumn Quantity_InDepotColumn => columnQuantity_InDepot;
- [DebuggerNonUserCode]
- public DataColumn Quantity_EndCaseColumn => columnQuantity_EndCase;
- [DebuggerNonUserCode]
- public DataColumn Quantity_OnShipColumn => columnQuantity_OnShip;
- [DebuggerNonUserCode]
- public DataColumn NoInDepotColumn => columnNoInDepot;
- [DebuggerNonUserCode]
- [Browsable(false)]
- public int Count => base.Rows.Count;
- [DebuggerNonUserCode]
- public PurchaseNoInDepotRow this[int index] => (PurchaseNoInDepotRow)base.Rows[index];
- public event PurchaseNoInDepotRowChangeEventHandler PurchaseNoInDepotRowChanging;
- public event PurchaseNoInDepotRowChangeEventHandler PurchaseNoInDepotRowChanged;
- public event PurchaseNoInDepotRowChangeEventHandler PurchaseNoInDepotRowDeleting;
- public event PurchaseNoInDepotRowChangeEventHandler PurchaseNoInDepotRowDeleted;
- [DebuggerNonUserCode]
- public PurchaseNoInDepotDataTable()
- {
- base.TableName = "PurchaseNoInDepot";
- BeginInit();
- InitClass();
- EndInit();
- }
- [DebuggerNonUserCode]
- internal PurchaseNoInDepotDataTable(DataTable table)
- {
- base.TableName = table.TableName;
- if (table.CaseSensitive != table.DataSet.CaseSensitive)
- {
- base.CaseSensitive = table.CaseSensitive;
- }
- if (table.Locale.ToString() != table.DataSet.Locale.ToString())
- {
- base.Locale = table.Locale;
- }
- if (table.Namespace != table.DataSet.Namespace)
- {
- base.Namespace = table.Namespace;
- }
- base.Prefix = table.Prefix;
- base.MinimumCapacity = table.MinimumCapacity;
- }
- [DebuggerNonUserCode]
- protected PurchaseNoInDepotDataTable(SerializationInfo info, StreamingContext context)
- : base(info, context)
- {
- InitVars();
- }
- [DebuggerNonUserCode]
- public void AddPurchaseNoInDepotRow(PurchaseNoInDepotRow row)
- {
- base.Rows.Add(row);
- }
- [DebuggerNonUserCode]
- public PurchaseNoInDepotRow AddPurchaseNoInDepotRow(string No_PurchaseOrderBill, DateTime Date_PurchaseOrderBill, DateTime ArrivalDate_PurchaseOrderBill, string No_Product, string Name_Product, decimal Quantity_PurchaseOrderBillProduct, decimal Quantity_InDepot, decimal Quantity_EndCase, decimal Quantity_OnShip, decimal NoInDepot)
- {
- PurchaseNoInDepotRow purchaseNoInDepotRow = (PurchaseNoInDepotRow)NewRow();
- purchaseNoInDepotRow.ItemArray = new object[10]
- {
- No_PurchaseOrderBill,
- Date_PurchaseOrderBill,
- ArrivalDate_PurchaseOrderBill,
- No_Product,
- Name_Product,
- Quantity_PurchaseOrderBillProduct,
- Quantity_InDepot,
- Quantity_EndCase,
- Quantity_OnShip,
- NoInDepot
- };
- base.Rows.Add(purchaseNoInDepotRow);
- return purchaseNoInDepotRow;
- }
- [DebuggerNonUserCode]
- public virtual IEnumerator GetEnumerator()
- {
- return base.Rows.GetEnumerator();
- }
- [DebuggerNonUserCode]
- public override DataTable Clone()
- {
- PurchaseNoInDepotDataTable purchaseNoInDepotDataTable = (PurchaseNoInDepotDataTable)base.Clone();
- purchaseNoInDepotDataTable.InitVars();
- return purchaseNoInDepotDataTable;
- }
- [DebuggerNonUserCode]
- protected override DataTable CreateInstance()
- {
- return new PurchaseNoInDepotDataTable();
- }
- [DebuggerNonUserCode]
- internal void InitVars()
- {
- columnNo_PurchaseOrderBill = base.Columns["No_PurchaseOrderBill"];
- columnDate_PurchaseOrderBill = base.Columns["Date_PurchaseOrderBill"];
- columnArrivalDate_PurchaseOrderBill = base.Columns["ArrivalDate_PurchaseOrderBill"];
- columnNo_Product = base.Columns["No_Product"];
- columnName_Product = base.Columns["Name_Product"];
- columnQuantity_PurchaseOrderBillProduct = base.Columns["Quantity_PurchaseOrderBillProduct"];
- columnQuantity_InDepot = base.Columns["Quantity_InDepot"];
- columnQuantity_EndCase = base.Columns["Quantity_EndCase"];
- columnQuantity_OnShip = base.Columns["Quantity_OnShip"];
- columnNoInDepot = base.Columns["NoInDepot"];
- }
- [DebuggerNonUserCode]
- private void InitClass()
- {
- columnNo_PurchaseOrderBill = new DataColumn("No_PurchaseOrderBill", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnNo_PurchaseOrderBill);
- columnDate_PurchaseOrderBill = new DataColumn("Date_PurchaseOrderBill", typeof(DateTime), null, MappingType.Element);
- base.Columns.Add(columnDate_PurchaseOrderBill);
- columnArrivalDate_PurchaseOrderBill = new DataColumn("ArrivalDate_PurchaseOrderBill", typeof(DateTime), null, MappingType.Element);
- base.Columns.Add(columnArrivalDate_PurchaseOrderBill);
- columnNo_Product = new DataColumn("No_Product", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnNo_Product);
- columnName_Product = new DataColumn("Name_Product", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnName_Product);
- columnQuantity_PurchaseOrderBillProduct = new DataColumn("Quantity_PurchaseOrderBillProduct", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnQuantity_PurchaseOrderBillProduct);
- columnQuantity_InDepot = new DataColumn("Quantity_InDepot", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnQuantity_InDepot);
- columnQuantity_EndCase = new DataColumn("Quantity_EndCase", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnQuantity_EndCase);
- columnQuantity_OnShip = new DataColumn("Quantity_OnShip", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnQuantity_OnShip);
- columnNoInDepot = new DataColumn("NoInDepot", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnNoInDepot);
- }
- [DebuggerNonUserCode]
- public PurchaseNoInDepotRow NewPurchaseNoInDepotRow()
- {
- return (PurchaseNoInDepotRow)NewRow();
- }
- [DebuggerNonUserCode]
- protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
- {
- return new PurchaseNoInDepotRow(builder);
- }
- [DebuggerNonUserCode]
- protected override Type GetRowType()
- {
- return typeof(PurchaseNoInDepotRow);
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanged(DataRowChangeEventArgs e)
- {
- base.OnRowChanged(e);
- if (this.PurchaseNoInDepotRowChanged != null)
- {
- this.PurchaseNoInDepotRowChanged(this, new PurchaseNoInDepotRowChangeEvent((PurchaseNoInDepotRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanging(DataRowChangeEventArgs e)
- {
- base.OnRowChanging(e);
- if (this.PurchaseNoInDepotRowChanging != null)
- {
- this.PurchaseNoInDepotRowChanging(this, new PurchaseNoInDepotRowChangeEvent((PurchaseNoInDepotRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleted(DataRowChangeEventArgs e)
- {
- base.OnRowDeleted(e);
- if (this.PurchaseNoInDepotRowDeleted != null)
- {
- this.PurchaseNoInDepotRowDeleted(this, new PurchaseNoInDepotRowChangeEvent((PurchaseNoInDepotRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleting(DataRowChangeEventArgs e)
- {
- base.OnRowDeleting(e);
- if (this.PurchaseNoInDepotRowDeleting != null)
- {
- this.PurchaseNoInDepotRowDeleting(this, new PurchaseNoInDepotRowChangeEvent((PurchaseNoInDepotRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- public void RemovePurchaseNoInDepotRow(PurchaseNoInDepotRow row)
- {
- base.Rows.Remove(row);
- }
- [DebuggerNonUserCode]
- public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
- {
- XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
- XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
- dsFrmPurchaseNoInDepot dsFrmPurchaseNoInDepot = new dsFrmPurchaseNoInDepot();
- xs.Add(dsFrmPurchaseNoInDepot.GetSchemaSerializable());
- XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
- xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
- xmlSchemaAny.MinOccurs = 0m;
- xmlSchemaAny.MaxOccurs = decimal.MaxValue;
- xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
- xmlSchemaSequence.Items.Add(xmlSchemaAny);
- XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
- xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
- xmlSchemaAny2.MinOccurs = 1m;
- xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
- xmlSchemaSequence.Items.Add(xmlSchemaAny2);
- XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
- xmlSchemaAttribute.Name = "namespace";
- xmlSchemaAttribute.FixedValue = dsFrmPurchaseNoInDepot.Namespace;
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
- XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
- xmlSchemaAttribute2.Name = "tableTypeName";
- xmlSchemaAttribute2.FixedValue = "PurchaseNoInDepotDataTable";
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
- xmlSchemaComplexType.Particle = xmlSchemaSequence;
- return xmlSchemaComplexType;
- }
- }
- [Serializable]
- [XmlSchemaProvider("GetTypedTableSchema")]
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class AppendInfoDataTable : DataTable, IEnumerable
- {
- private DataColumn columnCurrentCompany;
- private DataColumn columnCurrentUser;
- [DebuggerNonUserCode]
- public DataColumn CurrentCompanyColumn => columnCurrentCompany;
- [DebuggerNonUserCode]
- public DataColumn CurrentUserColumn => columnCurrentUser;
- [Browsable(false)]
- [DebuggerNonUserCode]
- public int Count => base.Rows.Count;
- [DebuggerNonUserCode]
- public AppendInfoRow this[int index] => (AppendInfoRow)base.Rows[index];
- public event AppendInfoRowChangeEventHandler AppendInfoRowChanging;
- public event AppendInfoRowChangeEventHandler AppendInfoRowChanged;
- public event AppendInfoRowChangeEventHandler AppendInfoRowDeleting;
- public event AppendInfoRowChangeEventHandler AppendInfoRowDeleted;
- [DebuggerNonUserCode]
- public AppendInfoDataTable()
- {
- base.TableName = "AppendInfo";
- BeginInit();
- InitClass();
- EndInit();
- }
- [DebuggerNonUserCode]
- internal AppendInfoDataTable(DataTable table)
- {
- base.TableName = table.TableName;
- if (table.CaseSensitive != table.DataSet.CaseSensitive)
- {
- base.CaseSensitive = table.CaseSensitive;
- }
- if (table.Locale.ToString() != table.DataSet.Locale.ToString())
- {
- base.Locale = table.Locale;
- }
- if (table.Namespace != table.DataSet.Namespace)
- {
- base.Namespace = table.Namespace;
- }
- base.Prefix = table.Prefix;
- base.MinimumCapacity = table.MinimumCapacity;
- }
- [DebuggerNonUserCode]
- protected AppendInfoDataTable(SerializationInfo info, StreamingContext context)
- : base(info, context)
- {
- InitVars();
- }
- [DebuggerNonUserCode]
- public void AddAppendInfoRow(AppendInfoRow row)
- {
- base.Rows.Add(row);
- }
- [DebuggerNonUserCode]
- public AppendInfoRow AddAppendInfoRow(string CurrentCompany, string CurrentUser)
- {
- AppendInfoRow appendInfoRow = (AppendInfoRow)NewRow();
- appendInfoRow.ItemArray = new object[2]
- {
- CurrentCompany,
- CurrentUser
- };
- base.Rows.Add(appendInfoRow);
- return appendInfoRow;
- }
- [DebuggerNonUserCode]
- public virtual IEnumerator GetEnumerator()
- {
- return base.Rows.GetEnumerator();
- }
- [DebuggerNonUserCode]
- public override DataTable Clone()
- {
- AppendInfoDataTable appendInfoDataTable = (AppendInfoDataTable)base.Clone();
- appendInfoDataTable.InitVars();
- return appendInfoDataTable;
- }
- [DebuggerNonUserCode]
- protected override DataTable CreateInstance()
- {
- return new AppendInfoDataTable();
- }
- [DebuggerNonUserCode]
- internal void InitVars()
- {
- columnCurrentCompany = base.Columns["CurrentCompany"];
- columnCurrentUser = base.Columns["CurrentUser"];
- }
- [DebuggerNonUserCode]
- private void InitClass()
- {
- columnCurrentCompany = new DataColumn("CurrentCompany", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnCurrentCompany);
- columnCurrentUser = new DataColumn("CurrentUser", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnCurrentUser);
- }
- [DebuggerNonUserCode]
- public AppendInfoRow NewAppendInfoRow()
- {
- return (AppendInfoRow)NewRow();
- }
- [DebuggerNonUserCode]
- protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
- {
- return new AppendInfoRow(builder);
- }
- [DebuggerNonUserCode]
- protected override Type GetRowType()
- {
- return typeof(AppendInfoRow);
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanged(DataRowChangeEventArgs e)
- {
- base.OnRowChanged(e);
- if (this.AppendInfoRowChanged != null)
- {
- this.AppendInfoRowChanged(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanging(DataRowChangeEventArgs e)
- {
- base.OnRowChanging(e);
- if (this.AppendInfoRowChanging != null)
- {
- this.AppendInfoRowChanging(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleted(DataRowChangeEventArgs e)
- {
- base.OnRowDeleted(e);
- if (this.AppendInfoRowDeleted != null)
- {
- this.AppendInfoRowDeleted(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleting(DataRowChangeEventArgs e)
- {
- base.OnRowDeleting(e);
- if (this.AppendInfoRowDeleting != null)
- {
- this.AppendInfoRowDeleting(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- public void RemoveAppendInfoRow(AppendInfoRow row)
- {
- base.Rows.Remove(row);
- }
- [DebuggerNonUserCode]
- public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
- {
- XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
- XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
- dsFrmPurchaseNoInDepot dsFrmPurchaseNoInDepot = new dsFrmPurchaseNoInDepot();
- xs.Add(dsFrmPurchaseNoInDepot.GetSchemaSerializable());
- XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
- xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
- xmlSchemaAny.MinOccurs = 0m;
- xmlSchemaAny.MaxOccurs = decimal.MaxValue;
- xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
- xmlSchemaSequence.Items.Add(xmlSchemaAny);
- XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
- xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
- xmlSchemaAny2.MinOccurs = 1m;
- xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
- xmlSchemaSequence.Items.Add(xmlSchemaAny2);
- XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
- xmlSchemaAttribute.Name = "namespace";
- xmlSchemaAttribute.FixedValue = dsFrmPurchaseNoInDepot.Namespace;
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
- XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
- xmlSchemaAttribute2.Name = "tableTypeName";
- xmlSchemaAttribute2.FixedValue = "AppendInfoDataTable";
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
- xmlSchemaComplexType.Particle = xmlSchemaSequence;
- return xmlSchemaComplexType;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class PurchaseNoInDepotRow : DataRow
- {
- private PurchaseNoInDepotDataTable tablePurchaseNoInDepot;
- [DebuggerNonUserCode]
- public string No_PurchaseOrderBill
- {
- get
- {
- try
- {
- return (string)base[tablePurchaseNoInDepot.No_PurchaseOrderBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'No_PurchaseOrderBill' in table 'PurchaseNoInDepot' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseNoInDepot.No_PurchaseOrderBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public DateTime Date_PurchaseOrderBill
- {
- get
- {
- try
- {
- return (DateTime)base[tablePurchaseNoInDepot.Date_PurchaseOrderBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Date_PurchaseOrderBill' in table 'PurchaseNoInDepot' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseNoInDepot.Date_PurchaseOrderBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public DateTime ArrivalDate_PurchaseOrderBill
- {
- get
- {
- try
- {
- return (DateTime)base[tablePurchaseNoInDepot.ArrivalDate_PurchaseOrderBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'ArrivalDate_PurchaseOrderBill' in table 'PurchaseNoInDepot' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseNoInDepot.ArrivalDate_PurchaseOrderBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string No_Product
- {
- get
- {
- try
- {
- return (string)base[tablePurchaseNoInDepot.No_ProductColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'No_Product' in table 'PurchaseNoInDepot' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseNoInDepot.No_ProductColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Name_Product
- {
- get
- {
- try
- {
- return (string)base[tablePurchaseNoInDepot.Name_ProductColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Name_Product' in table 'PurchaseNoInDepot' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseNoInDepot.Name_ProductColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal Quantity_PurchaseOrderBillProduct
- {
- get
- {
- try
- {
- return (decimal)base[tablePurchaseNoInDepot.Quantity_PurchaseOrderBillProductColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Quantity_PurchaseOrderBillProduct' in table 'PurchaseNoInDepot' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseNoInDepot.Quantity_PurchaseOrderBillProductColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal Quantity_InDepot
- {
- get
- {
- try
- {
- return (decimal)base[tablePurchaseNoInDepot.Quantity_InDepotColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Quantity_InDepot' in table 'PurchaseNoInDepot' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseNoInDepot.Quantity_InDepotColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal Quantity_EndCase
- {
- get
- {
- try
- {
- return (decimal)base[tablePurchaseNoInDepot.Quantity_EndCaseColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Quantity_EndCase' in table 'PurchaseNoInDepot' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseNoInDepot.Quantity_EndCaseColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal Quantity_OnShip
- {
- get
- {
- try
- {
- return (decimal)base[tablePurchaseNoInDepot.Quantity_OnShipColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Quantity_OnShip' in table 'PurchaseNoInDepot' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseNoInDepot.Quantity_OnShipColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal NoInDepot
- {
- get
- {
- try
- {
- return (decimal)base[tablePurchaseNoInDepot.NoInDepotColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'NoInDepot' in table 'PurchaseNoInDepot' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseNoInDepot.NoInDepotColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- internal PurchaseNoInDepotRow(DataRowBuilder rb)
- : base(rb)
- {
- tablePurchaseNoInDepot = (PurchaseNoInDepotDataTable)base.Table;
- }
- [DebuggerNonUserCode]
- public bool IsNo_PurchaseOrderBillNull()
- {
- return IsNull(tablePurchaseNoInDepot.No_PurchaseOrderBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetNo_PurchaseOrderBillNull()
- {
- base[tablePurchaseNoInDepot.No_PurchaseOrderBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsDate_PurchaseOrderBillNull()
- {
- return IsNull(tablePurchaseNoInDepot.Date_PurchaseOrderBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetDate_PurchaseOrderBillNull()
- {
- base[tablePurchaseNoInDepot.Date_PurchaseOrderBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsArrivalDate_PurchaseOrderBillNull()
- {
- return IsNull(tablePurchaseNoInDepot.ArrivalDate_PurchaseOrderBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetArrivalDate_PurchaseOrderBillNull()
- {
- base[tablePurchaseNoInDepot.ArrivalDate_PurchaseOrderBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsNo_ProductNull()
- {
- return IsNull(tablePurchaseNoInDepot.No_ProductColumn);
- }
- [DebuggerNonUserCode]
- public void SetNo_ProductNull()
- {
- base[tablePurchaseNoInDepot.No_ProductColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsName_ProductNull()
- {
- return IsNull(tablePurchaseNoInDepot.Name_ProductColumn);
- }
- [DebuggerNonUserCode]
- public void SetName_ProductNull()
- {
- base[tablePurchaseNoInDepot.Name_ProductColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsQuantity_PurchaseOrderBillProductNull()
- {
- return IsNull(tablePurchaseNoInDepot.Quantity_PurchaseOrderBillProductColumn);
- }
- [DebuggerNonUserCode]
- public void SetQuantity_PurchaseOrderBillProductNull()
- {
- base[tablePurchaseNoInDepot.Quantity_PurchaseOrderBillProductColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsQuantity_InDepotNull()
- {
- return IsNull(tablePurchaseNoInDepot.Quantity_InDepotColumn);
- }
- [DebuggerNonUserCode]
- public void SetQuantity_InDepotNull()
- {
- base[tablePurchaseNoInDepot.Quantity_InDepotColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsQuantity_EndCaseNull()
- {
- return IsNull(tablePurchaseNoInDepot.Quantity_EndCaseColumn);
- }
- [DebuggerNonUserCode]
- public void SetQuantity_EndCaseNull()
- {
- base[tablePurchaseNoInDepot.Quantity_EndCaseColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsQuantity_OnShipNull()
- {
- return IsNull(tablePurchaseNoInDepot.Quantity_OnShipColumn);
- }
- [DebuggerNonUserCode]
- public void SetQuantity_OnShipNull()
- {
- base[tablePurchaseNoInDepot.Quantity_OnShipColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsNoInDepotNull()
- {
- return IsNull(tablePurchaseNoInDepot.NoInDepotColumn);
- }
- [DebuggerNonUserCode]
- public void SetNoInDepotNull()
- {
- base[tablePurchaseNoInDepot.NoInDepotColumn] = Convert.DBNull;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class AppendInfoRow : DataRow
- {
- private AppendInfoDataTable tableAppendInfo;
- [DebuggerNonUserCode]
- public string CurrentCompany
- {
- get
- {
- try
- {
- return (string)base[tableAppendInfo.CurrentCompanyColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'CurrentCompany' in table 'AppendInfo' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableAppendInfo.CurrentCompanyColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string CurrentUser
- {
- get
- {
- try
- {
- return (string)base[tableAppendInfo.CurrentUserColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'CurrentUser' in table 'AppendInfo' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableAppendInfo.CurrentUserColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- internal AppendInfoRow(DataRowBuilder rb)
- : base(rb)
- {
- tableAppendInfo = (AppendInfoDataTable)base.Table;
- }
- [DebuggerNonUserCode]
- public bool IsCurrentCompanyNull()
- {
- return IsNull(tableAppendInfo.CurrentCompanyColumn);
- }
- [DebuggerNonUserCode]
- public void SetCurrentCompanyNull()
- {
- base[tableAppendInfo.CurrentCompanyColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsCurrentUserNull()
- {
- return IsNull(tableAppendInfo.CurrentUserColumn);
- }
- [DebuggerNonUserCode]
- public void SetCurrentUserNull()
- {
- base[tableAppendInfo.CurrentUserColumn] = Convert.DBNull;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class PurchaseNoInDepotRowChangeEvent : EventArgs
- {
- private PurchaseNoInDepotRow eventRow;
- private DataRowAction eventAction;
- [DebuggerNonUserCode]
- public PurchaseNoInDepotRow Row => eventRow;
- [DebuggerNonUserCode]
- public DataRowAction Action => eventAction;
- [DebuggerNonUserCode]
- public PurchaseNoInDepotRowChangeEvent(PurchaseNoInDepotRow row, DataRowAction action)
- {
- eventRow = row;
- eventAction = action;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class AppendInfoRowChangeEvent : EventArgs
- {
- private AppendInfoRow eventRow;
- private DataRowAction eventAction;
- [DebuggerNonUserCode]
- public AppendInfoRow Row => eventRow;
- [DebuggerNonUserCode]
- public DataRowAction Action => eventAction;
- [DebuggerNonUserCode]
- public AppendInfoRowChangeEvent(AppendInfoRow row, DataRowAction action)
- {
- eventRow = row;
- eventAction = action;
- }
- }
- private PurchaseNoInDepotDataTable tablePurchaseNoInDepot;
- private AppendInfoDataTable tableAppendInfo;
- private SchemaSerializationMode _schemaSerializationMode = SchemaSerializationMode.IncludeSchema;
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
- [DebuggerNonUserCode]
- [Browsable(false)]
- public PurchaseNoInDepotDataTable PurchaseNoInDepot => tablePurchaseNoInDepot;
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
- [Browsable(false)]
- [DebuggerNonUserCode]
- public AppendInfoDataTable AppendInfo => tableAppendInfo;
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
- [DebuggerNonUserCode]
- [Browsable(true)]
- public override SchemaSerializationMode SchemaSerializationMode
- {
- get
- {
- return _schemaSerializationMode;
- }
- set
- {
- _schemaSerializationMode = value;
- }
- }
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
- [DebuggerNonUserCode]
- public new DataTableCollection Tables => base.Tables;
- [DebuggerNonUserCode]
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
- public new DataRelationCollection Relations => base.Relations;
- [DebuggerNonUserCode]
- public dsFrmPurchaseNoInDepot()
- {
- BeginInit();
- InitClass();
- CollectionChangeEventHandler value = SchemaChanged;
- base.Tables.CollectionChanged += value;
- base.Relations.CollectionChanged += value;
- EndInit();
- }
- [DebuggerNonUserCode]
- protected dsFrmPurchaseNoInDepot(SerializationInfo info, StreamingContext context)
- : base(info, context, ConstructSchema: false)
- {
- if (IsBinarySerialized(info, context))
- {
- InitVars(initTable: false);
- CollectionChangeEventHandler value = SchemaChanged;
- Tables.CollectionChanged += value;
- Relations.CollectionChanged += value;
- return;
- }
- string s = (string)info.GetValue("XmlSchema", typeof(string));
- if (DetermineSchemaSerializationMode(info, context) == SchemaSerializationMode.IncludeSchema)
- {
- DataSet dataSet = new DataSet();
- dataSet.ReadXmlSchema(new XmlTextReader(new StringReader(s)));
- if (dataSet.Tables["PurchaseNoInDepot"] != null)
- {
- base.Tables.Add(new PurchaseNoInDepotDataTable(dataSet.Tables["PurchaseNoInDepot"]));
- }
- if (dataSet.Tables["AppendInfo"] != null)
- {
- base.Tables.Add(new AppendInfoDataTable(dataSet.Tables["AppendInfo"]));
- }
- base.DataSetName = dataSet.DataSetName;
- base.Prefix = dataSet.Prefix;
- base.Namespace = dataSet.Namespace;
- base.Locale = dataSet.Locale;
- base.CaseSensitive = dataSet.CaseSensitive;
- base.EnforceConstraints = dataSet.EnforceConstraints;
- Merge(dataSet, preserveChanges: false, MissingSchemaAction.Add);
- InitVars();
- }
- else
- {
- ReadXmlSchema(new XmlTextReader(new StringReader(s)));
- }
- GetSerializationData(info, context);
- CollectionChangeEventHandler value2 = SchemaChanged;
- base.Tables.CollectionChanged += value2;
- Relations.CollectionChanged += value2;
- }
- [DebuggerNonUserCode]
- protected override void InitializeDerivedDataSet()
- {
- BeginInit();
- InitClass();
- EndInit();
- }
- [DebuggerNonUserCode]
- public override DataSet Clone()
- {
- dsFrmPurchaseNoInDepot dsFrmPurchaseNoInDepot = (dsFrmPurchaseNoInDepot)base.Clone();
- dsFrmPurchaseNoInDepot.InitVars();
- dsFrmPurchaseNoInDepot.SchemaSerializationMode = SchemaSerializationMode;
- return dsFrmPurchaseNoInDepot;
- }
- [DebuggerNonUserCode]
- protected override bool ShouldSerializeTables()
- {
- return false;
- }
- [DebuggerNonUserCode]
- protected override bool ShouldSerializeRelations()
- {
- return false;
- }
- [DebuggerNonUserCode]
- protected override void ReadXmlSerializable(XmlReader reader)
- {
- if (DetermineSchemaSerializationMode(reader) == SchemaSerializationMode.IncludeSchema)
- {
- Reset();
- DataSet dataSet = new DataSet();
- dataSet.ReadXml(reader);
- if (dataSet.Tables["PurchaseNoInDepot"] != null)
- {
- base.Tables.Add(new PurchaseNoInDepotDataTable(dataSet.Tables["PurchaseNoInDepot"]));
- }
- if (dataSet.Tables["AppendInfo"] != null)
- {
- base.Tables.Add(new AppendInfoDataTable(dataSet.Tables["AppendInfo"]));
- }
- base.DataSetName = dataSet.DataSetName;
- base.Prefix = dataSet.Prefix;
- base.Namespace = dataSet.Namespace;
- base.Locale = dataSet.Locale;
- base.CaseSensitive = dataSet.CaseSensitive;
- base.EnforceConstraints = dataSet.EnforceConstraints;
- Merge(dataSet, preserveChanges: false, MissingSchemaAction.Add);
- InitVars();
- }
- else
- {
- ReadXml(reader);
- InitVars();
- }
- }
- [DebuggerNonUserCode]
- protected override XmlSchema GetSchemaSerializable()
- {
- MemoryStream memoryStream = new MemoryStream();
- WriteXmlSchema(new XmlTextWriter(memoryStream, null));
- memoryStream.Position = 0L;
- return XmlSchema.Read(new XmlTextReader(memoryStream), null);
- }
- [DebuggerNonUserCode]
- internal void InitVars()
- {
- InitVars(initTable: true);
- }
- [DebuggerNonUserCode]
- internal void InitVars(bool initTable)
- {
- tablePurchaseNoInDepot = (PurchaseNoInDepotDataTable)base.Tables["PurchaseNoInDepot"];
- if (initTable && tablePurchaseNoInDepot != null)
- {
- tablePurchaseNoInDepot.InitVars();
- }
- tableAppendInfo = (AppendInfoDataTable)base.Tables["AppendInfo"];
- if (initTable && tableAppendInfo != null)
- {
- tableAppendInfo.InitVars();
- }
- }
- [DebuggerNonUserCode]
- private void InitClass()
- {
- base.DataSetName = "dsFrmPurchaseNoInDepot";
- base.Prefix = "";
- base.Namespace = "http://tempuri.org/dsFrmPurchaseNoInDepot.xsd";
- base.EnforceConstraints = true;
- SchemaSerializationMode = SchemaSerializationMode.IncludeSchema;
- tablePurchaseNoInDepot = new PurchaseNoInDepotDataTable();
- base.Tables.Add(tablePurchaseNoInDepot);
- tableAppendInfo = new AppendInfoDataTable();
- base.Tables.Add(tableAppendInfo);
- }
- [DebuggerNonUserCode]
- private bool ShouldSerializePurchaseNoInDepot()
- {
- return false;
- }
- [DebuggerNonUserCode]
- private bool ShouldSerializeAppendInfo()
- {
- return false;
- }
- [DebuggerNonUserCode]
- private void SchemaChanged(object sender, CollectionChangeEventArgs e)
- {
- if (e.Action == CollectionChangeAction.Remove)
- {
- InitVars();
- }
- }
- [DebuggerNonUserCode]
- public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs)
- {
- dsFrmPurchaseNoInDepot dsFrmPurchaseNoInDepot = new dsFrmPurchaseNoInDepot();
- XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
- XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
- xs.Add(dsFrmPurchaseNoInDepot.GetSchemaSerializable());
- XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
- xmlSchemaAny.Namespace = dsFrmPurchaseNoInDepot.Namespace;
- xmlSchemaSequence.Items.Add(xmlSchemaAny);
- xmlSchemaComplexType.Particle = xmlSchemaSequence;
- return xmlSchemaComplexType;
- }
- }
- }
|