123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179 |
- 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]
- [HelpKeyword("vs.data.DataSet")]
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- [DesignerCategory("code")]
- [XmlSchemaProvider("GetTypedDataSetSchema")]
- [XmlRoot("dsFrmSaleRtnNoInDepot")]
- [ToolboxItem(true)]
- public class dsFrmSaleRtnNoInDepot : DataSet
- {
- public delegate void SaleBillDetailRowChangeEventHandler(object sender, SaleBillDetailRowChangeEvent e);
- public delegate void AppendInfoRowChangeEventHandler(object sender, AppendInfoRowChangeEvent e);
- [Serializable]
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- [XmlSchemaProvider("GetTypedTableSchema")]
- public class SaleBillDetailDataTable : DataTable, IEnumerable
- {
- private DataColumn columnNo_SaleRtnBill;
- private DataColumn columnDate_SaleRtnBill;
- private DataColumn columnNo_Customer;
- private DataColumn columnShortName_Customer;
- private DataColumn columnReason_SaleRtnBill;
- private DataColumn columnNo_Product;
- private DataColumn columnName_Product;
- private DataColumn columnQuantity_SaleRtn;
- private DataColumn columnQuantity_InDepot;
- [DebuggerNonUserCode]
- public DataColumn No_SaleRtnBillColumn => columnNo_SaleRtnBill;
- [DebuggerNonUserCode]
- public DataColumn Date_SaleRtnBillColumn => columnDate_SaleRtnBill;
- [DebuggerNonUserCode]
- public DataColumn No_CustomerColumn => columnNo_Customer;
- [DebuggerNonUserCode]
- public DataColumn ShortName_CustomerColumn => columnShortName_Customer;
- [DebuggerNonUserCode]
- public DataColumn Reason_SaleRtnBillColumn => columnReason_SaleRtnBill;
- [DebuggerNonUserCode]
- public DataColumn No_ProductColumn => columnNo_Product;
- [DebuggerNonUserCode]
- public DataColumn Name_ProductColumn => columnName_Product;
- [DebuggerNonUserCode]
- public DataColumn Quantity_SaleRtnColumn => columnQuantity_SaleRtn;
- [DebuggerNonUserCode]
- public DataColumn Quantity_InDepotColumn => columnQuantity_InDepot;
- [DebuggerNonUserCode]
- [Browsable(false)]
- public int Count => base.Rows.Count;
- [DebuggerNonUserCode]
- public SaleBillDetailRow this[int index] => (SaleBillDetailRow)base.Rows[index];
- public event SaleBillDetailRowChangeEventHandler SaleBillDetailRowChanging;
- public event SaleBillDetailRowChangeEventHandler SaleBillDetailRowChanged;
- public event SaleBillDetailRowChangeEventHandler SaleBillDetailRowDeleting;
- public event SaleBillDetailRowChangeEventHandler SaleBillDetailRowDeleted;
- [DebuggerNonUserCode]
- public SaleBillDetailDataTable()
- {
- base.TableName = "SaleBillDetail";
- BeginInit();
- InitClass();
- EndInit();
- }
- [DebuggerNonUserCode]
- internal SaleBillDetailDataTable(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 SaleBillDetailDataTable(SerializationInfo info, StreamingContext context)
- : base(info, context)
- {
- InitVars();
- }
- [DebuggerNonUserCode]
- public void AddSaleBillDetailRow(SaleBillDetailRow row)
- {
- base.Rows.Add(row);
- }
- [DebuggerNonUserCode]
- public SaleBillDetailRow AddSaleBillDetailRow(string No_SaleRtnBill, DateTime Date_SaleRtnBill, string No_Customer, string ShortName_Customer, string Reason_SaleRtnBill, string No_Product, string Name_Product, decimal Quantity_SaleRtn, decimal Quantity_InDepot)
- {
- SaleBillDetailRow saleBillDetailRow = (SaleBillDetailRow)NewRow();
- saleBillDetailRow.ItemArray = new object[9]
- {
- No_SaleRtnBill,
- Date_SaleRtnBill,
- No_Customer,
- ShortName_Customer,
- Reason_SaleRtnBill,
- No_Product,
- Name_Product,
- Quantity_SaleRtn,
- Quantity_InDepot
- };
- base.Rows.Add(saleBillDetailRow);
- return saleBillDetailRow;
- }
- [DebuggerNonUserCode]
- public virtual IEnumerator GetEnumerator()
- {
- return base.Rows.GetEnumerator();
- }
- [DebuggerNonUserCode]
- public override DataTable Clone()
- {
- SaleBillDetailDataTable saleBillDetailDataTable = (SaleBillDetailDataTable)base.Clone();
- saleBillDetailDataTable.InitVars();
- return saleBillDetailDataTable;
- }
- [DebuggerNonUserCode]
- protected override DataTable CreateInstance()
- {
- return new SaleBillDetailDataTable();
- }
- [DebuggerNonUserCode]
- internal void InitVars()
- {
- columnNo_SaleRtnBill = base.Columns["No_SaleRtnBill"];
- columnDate_SaleRtnBill = base.Columns["Date_SaleRtnBill"];
- columnNo_Customer = base.Columns["No_Customer"];
- columnShortName_Customer = base.Columns["ShortName_Customer"];
- columnReason_SaleRtnBill = base.Columns["Reason_SaleRtnBill"];
- columnNo_Product = base.Columns["No_Product"];
- columnName_Product = base.Columns["Name_Product"];
- columnQuantity_SaleRtn = base.Columns["Quantity_SaleRtn"];
- columnQuantity_InDepot = base.Columns["Quantity_InDepot"];
- }
- [DebuggerNonUserCode]
- private void InitClass()
- {
- columnNo_SaleRtnBill = new DataColumn("No_SaleRtnBill", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnNo_SaleRtnBill);
- columnDate_SaleRtnBill = new DataColumn("Date_SaleRtnBill", typeof(DateTime), null, MappingType.Element);
- base.Columns.Add(columnDate_SaleRtnBill);
- columnNo_Customer = new DataColumn("No_Customer", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnNo_Customer);
- columnShortName_Customer = new DataColumn("ShortName_Customer", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnShortName_Customer);
- columnReason_SaleRtnBill = new DataColumn("Reason_SaleRtnBill", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnReason_SaleRtnBill);
- 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_SaleRtn = new DataColumn("Quantity_SaleRtn", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnQuantity_SaleRtn);
- columnQuantity_InDepot = new DataColumn("Quantity_InDepot", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnQuantity_InDepot);
- }
- [DebuggerNonUserCode]
- public SaleBillDetailRow NewSaleBillDetailRow()
- {
- return (SaleBillDetailRow)NewRow();
- }
- [DebuggerNonUserCode]
- protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
- {
- return new SaleBillDetailRow(builder);
- }
- [DebuggerNonUserCode]
- protected override Type GetRowType()
- {
- return typeof(SaleBillDetailRow);
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanged(DataRowChangeEventArgs e)
- {
- base.OnRowChanged(e);
- if (this.SaleBillDetailRowChanged != null)
- {
- this.SaleBillDetailRowChanged(this, new SaleBillDetailRowChangeEvent((SaleBillDetailRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanging(DataRowChangeEventArgs e)
- {
- base.OnRowChanging(e);
- if (this.SaleBillDetailRowChanging != null)
- {
- this.SaleBillDetailRowChanging(this, new SaleBillDetailRowChangeEvent((SaleBillDetailRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleted(DataRowChangeEventArgs e)
- {
- base.OnRowDeleted(e);
- if (this.SaleBillDetailRowDeleted != null)
- {
- this.SaleBillDetailRowDeleted(this, new SaleBillDetailRowChangeEvent((SaleBillDetailRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleting(DataRowChangeEventArgs e)
- {
- base.OnRowDeleting(e);
- if (this.SaleBillDetailRowDeleting != null)
- {
- this.SaleBillDetailRowDeleting(this, new SaleBillDetailRowChangeEvent((SaleBillDetailRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- public void RemoveSaleBillDetailRow(SaleBillDetailRow row)
- {
- base.Rows.Remove(row);
- }
- [DebuggerNonUserCode]
- public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
- {
- XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
- XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
- dsFrmSaleRtnNoInDepot dsFrmSaleRtnNoInDepot = new dsFrmSaleRtnNoInDepot();
- xs.Add(dsFrmSaleRtnNoInDepot.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 = dsFrmSaleRtnNoInDepot.Namespace;
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
- XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
- xmlSchemaAttribute2.Name = "tableTypeName";
- xmlSchemaAttribute2.FixedValue = "SaleBillDetailDataTable";
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
- xmlSchemaComplexType.Particle = xmlSchemaSequence;
- return xmlSchemaComplexType;
- }
- }
- [Serializable]
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- [XmlSchemaProvider("GetTypedTableSchema")]
- 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();
- dsFrmSaleRtnNoInDepot dsFrmSaleRtnNoInDepot = new dsFrmSaleRtnNoInDepot();
- xs.Add(dsFrmSaleRtnNoInDepot.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 = dsFrmSaleRtnNoInDepot.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 SaleBillDetailRow : DataRow
- {
- private SaleBillDetailDataTable tableSaleBillDetail;
- [DebuggerNonUserCode]
- public string No_SaleRtnBill
- {
- get
- {
- try
- {
- return (string)base[tableSaleBillDetail.No_SaleRtnBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'No_SaleRtnBill' in table 'SaleBillDetail' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableSaleBillDetail.No_SaleRtnBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public DateTime Date_SaleRtnBill
- {
- get
- {
- try
- {
- return (DateTime)base[tableSaleBillDetail.Date_SaleRtnBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Date_SaleRtnBill' in table 'SaleBillDetail' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableSaleBillDetail.Date_SaleRtnBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string No_Customer
- {
- get
- {
- try
- {
- return (string)base[tableSaleBillDetail.No_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'No_Customer' in table 'SaleBillDetail' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableSaleBillDetail.No_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string ShortName_Customer
- {
- get
- {
- try
- {
- return (string)base[tableSaleBillDetail.ShortName_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'ShortName_Customer' in table 'SaleBillDetail' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableSaleBillDetail.ShortName_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Reason_SaleRtnBill
- {
- get
- {
- try
- {
- return (string)base[tableSaleBillDetail.Reason_SaleRtnBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Reason_SaleRtnBill' in table 'SaleBillDetail' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableSaleBillDetail.Reason_SaleRtnBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string No_Product
- {
- get
- {
- try
- {
- return (string)base[tableSaleBillDetail.No_ProductColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'No_Product' in table 'SaleBillDetail' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableSaleBillDetail.No_ProductColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Name_Product
- {
- get
- {
- try
- {
- return (string)base[tableSaleBillDetail.Name_ProductColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Name_Product' in table 'SaleBillDetail' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableSaleBillDetail.Name_ProductColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal Quantity_SaleRtn
- {
- get
- {
- try
- {
- return (decimal)base[tableSaleBillDetail.Quantity_SaleRtnColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Quantity_SaleRtn' in table 'SaleBillDetail' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableSaleBillDetail.Quantity_SaleRtnColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal Quantity_InDepot
- {
- get
- {
- try
- {
- return (decimal)base[tableSaleBillDetail.Quantity_InDepotColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Quantity_InDepot' in table 'SaleBillDetail' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableSaleBillDetail.Quantity_InDepotColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- internal SaleBillDetailRow(DataRowBuilder rb)
- : base(rb)
- {
- tableSaleBillDetail = (SaleBillDetailDataTable)base.Table;
- }
- [DebuggerNonUserCode]
- public bool IsNo_SaleRtnBillNull()
- {
- return IsNull(tableSaleBillDetail.No_SaleRtnBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetNo_SaleRtnBillNull()
- {
- base[tableSaleBillDetail.No_SaleRtnBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsDate_SaleRtnBillNull()
- {
- return IsNull(tableSaleBillDetail.Date_SaleRtnBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetDate_SaleRtnBillNull()
- {
- base[tableSaleBillDetail.Date_SaleRtnBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsNo_CustomerNull()
- {
- return IsNull(tableSaleBillDetail.No_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetNo_CustomerNull()
- {
- base[tableSaleBillDetail.No_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsShortName_CustomerNull()
- {
- return IsNull(tableSaleBillDetail.ShortName_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetShortName_CustomerNull()
- {
- base[tableSaleBillDetail.ShortName_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsReason_SaleRtnBillNull()
- {
- return IsNull(tableSaleBillDetail.Reason_SaleRtnBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetReason_SaleRtnBillNull()
- {
- base[tableSaleBillDetail.Reason_SaleRtnBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsNo_ProductNull()
- {
- return IsNull(tableSaleBillDetail.No_ProductColumn);
- }
- [DebuggerNonUserCode]
- public void SetNo_ProductNull()
- {
- base[tableSaleBillDetail.No_ProductColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsName_ProductNull()
- {
- return IsNull(tableSaleBillDetail.Name_ProductColumn);
- }
- [DebuggerNonUserCode]
- public void SetName_ProductNull()
- {
- base[tableSaleBillDetail.Name_ProductColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsQuantity_SaleRtnNull()
- {
- return IsNull(tableSaleBillDetail.Quantity_SaleRtnColumn);
- }
- [DebuggerNonUserCode]
- public void SetQuantity_SaleRtnNull()
- {
- base[tableSaleBillDetail.Quantity_SaleRtnColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsQuantity_InDepotNull()
- {
- return IsNull(tableSaleBillDetail.Quantity_InDepotColumn);
- }
- [DebuggerNonUserCode]
- public void SetQuantity_InDepotNull()
- {
- base[tableSaleBillDetail.Quantity_InDepotColumn] = 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 SaleBillDetailRowChangeEvent : EventArgs
- {
- private SaleBillDetailRow eventRow;
- private DataRowAction eventAction;
- [DebuggerNonUserCode]
- public SaleBillDetailRow Row => eventRow;
- [DebuggerNonUserCode]
- public DataRowAction Action => eventAction;
- [DebuggerNonUserCode]
- public SaleBillDetailRowChangeEvent(SaleBillDetailRow 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 SaleBillDetailDataTable tableSaleBillDetail;
- private AppendInfoDataTable tableAppendInfo;
- private SchemaSerializationMode _schemaSerializationMode = SchemaSerializationMode.IncludeSchema;
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
- [DebuggerNonUserCode]
- [Browsable(false)]
- public SaleBillDetailDataTable SaleBillDetail => tableSaleBillDetail;
- [DebuggerNonUserCode]
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
- [Browsable(false)]
- public AppendInfoDataTable AppendInfo => tableAppendInfo;
- [DebuggerNonUserCode]
- [Browsable(true)]
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
- public override SchemaSerializationMode SchemaSerializationMode
- {
- get
- {
- return _schemaSerializationMode;
- }
- set
- {
- _schemaSerializationMode = value;
- }
- }
- [DebuggerNonUserCode]
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
- public new DataTableCollection Tables => base.Tables;
- [DebuggerNonUserCode]
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
- public new DataRelationCollection Relations => base.Relations;
- [DebuggerNonUserCode]
- public dsFrmSaleRtnNoInDepot()
- {
- BeginInit();
- InitClass();
- CollectionChangeEventHandler value = SchemaChanged;
- base.Tables.CollectionChanged += value;
- base.Relations.CollectionChanged += value;
- EndInit();
- }
- [DebuggerNonUserCode]
- protected dsFrmSaleRtnNoInDepot(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["SaleBillDetail"] != null)
- {
- base.Tables.Add(new SaleBillDetailDataTable(dataSet.Tables["SaleBillDetail"]));
- }
- 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()
- {
- dsFrmSaleRtnNoInDepot dsFrmSaleRtnNoInDepot = (dsFrmSaleRtnNoInDepot)base.Clone();
- dsFrmSaleRtnNoInDepot.InitVars();
- dsFrmSaleRtnNoInDepot.SchemaSerializationMode = SchemaSerializationMode;
- return dsFrmSaleRtnNoInDepot;
- }
- [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["SaleBillDetail"] != null)
- {
- base.Tables.Add(new SaleBillDetailDataTable(dataSet.Tables["SaleBillDetail"]));
- }
- 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)
- {
- tableSaleBillDetail = (SaleBillDetailDataTable)base.Tables["SaleBillDetail"];
- if (initTable && tableSaleBillDetail != null)
- {
- tableSaleBillDetail.InitVars();
- }
- tableAppendInfo = (AppendInfoDataTable)base.Tables["AppendInfo"];
- if (initTable && tableAppendInfo != null)
- {
- tableAppendInfo.InitVars();
- }
- }
- [DebuggerNonUserCode]
- private void InitClass()
- {
- base.DataSetName = "dsFrmSaleRtnNoInDepot";
- base.Prefix = "";
- base.Namespace = "http://tempuri.org/dsFrmSaleRtnNoInDepot.xsd";
- base.EnforceConstraints = true;
- SchemaSerializationMode = SchemaSerializationMode.IncludeSchema;
- tableSaleBillDetail = new SaleBillDetailDataTable();
- base.Tables.Add(tableSaleBillDetail);
- tableAppendInfo = new AppendInfoDataTable();
- base.Tables.Add(tableAppendInfo);
- }
- [DebuggerNonUserCode]
- private bool ShouldSerializeSaleBillDetail()
- {
- 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)
- {
- dsFrmSaleRtnNoInDepot dsFrmSaleRtnNoInDepot = new dsFrmSaleRtnNoInDepot();
- XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
- XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
- xs.Add(dsFrmSaleRtnNoInDepot.GetSchemaSerializable());
- XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
- xmlSchemaAny.Namespace = dsFrmSaleRtnNoInDepot.Namespace;
- xmlSchemaSequence.Items.Add(xmlSchemaAny);
- xmlSchemaComplexType.Particle = xmlSchemaSequence;
- return xmlSchemaComplexType;
- }
- }
- }
|