123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794 |
- 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]
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- [HelpKeyword("vs.data.DataSet")]
- [ToolboxItem(true)]
- [XmlRoot("dsFrmIndentNoSale")]
- [DesignerCategory("code")]
- [XmlSchemaProvider("GetTypedDataSetSchema")]
- public class dsFrmIndentNoSale : DataSet
- {
- public delegate void IndentBillNoSaleRowChangeEventHandler(object sender, IndentBillNoSaleRowChangeEvent e);
- [Serializable]
- [XmlSchemaProvider("GetTypedTableSchema")]
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class IndentBillNoSaleDataTable : DataTable, IEnumerable
- {
- private DataColumn columnNo_IndentBill;
- private DataColumn columnDate_IndentBill;
- private DataColumn columnNo_Customer;
- private DataColumn columnShortName_Customer;
- private DataColumn columnNo_Product;
- private DataColumn columnName_Product;
- private DataColumn columnQuantity_IndentBillProduct;
- private DataColumn columnQuantity_Sale;
- [DebuggerNonUserCode]
- public DataColumn No_IndentBillColumn => columnNo_IndentBill;
- [DebuggerNonUserCode]
- public DataColumn Date_IndentBillColumn => columnDate_IndentBill;
- [DebuggerNonUserCode]
- public DataColumn No_CustomerColumn => columnNo_Customer;
- [DebuggerNonUserCode]
- public DataColumn ShortName_CustomerColumn => columnShortName_Customer;
- [DebuggerNonUserCode]
- public DataColumn No_ProductColumn => columnNo_Product;
- [DebuggerNonUserCode]
- public DataColumn Name_ProductColumn => columnName_Product;
- [DebuggerNonUserCode]
- public DataColumn Quantity_IndentBillProductColumn => columnQuantity_IndentBillProduct;
- [DebuggerNonUserCode]
- public DataColumn Quantity_SaleColumn => columnQuantity_Sale;
- [Browsable(false)]
- [DebuggerNonUserCode]
- public int Count => base.Rows.Count;
- [DebuggerNonUserCode]
- public IndentBillNoSaleRow this[int index] => (IndentBillNoSaleRow)base.Rows[index];
- public event IndentBillNoSaleRowChangeEventHandler IndentBillNoSaleRowChanging;
- public event IndentBillNoSaleRowChangeEventHandler IndentBillNoSaleRowChanged;
- public event IndentBillNoSaleRowChangeEventHandler IndentBillNoSaleRowDeleting;
- public event IndentBillNoSaleRowChangeEventHandler IndentBillNoSaleRowDeleted;
- [DebuggerNonUserCode]
- public IndentBillNoSaleDataTable()
- {
- base.TableName = "IndentBillNoSale";
- BeginInit();
- InitClass();
- EndInit();
- }
- [DebuggerNonUserCode]
- internal IndentBillNoSaleDataTable(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 IndentBillNoSaleDataTable(SerializationInfo info, StreamingContext context)
- : base(info, context)
- {
- InitVars();
- }
- [DebuggerNonUserCode]
- public void AddIndentBillNoSaleRow(IndentBillNoSaleRow row)
- {
- base.Rows.Add(row);
- }
- [DebuggerNonUserCode]
- public IndentBillNoSaleRow AddIndentBillNoSaleRow(string No_IndentBill, DateTime Date_IndentBill, string No_Customer, string ShortName_Customer, string No_Product, string Name_Product, decimal Quantity_IndentBillProduct, decimal Quantity_Sale)
- {
- IndentBillNoSaleRow indentBillNoSaleRow = (IndentBillNoSaleRow)NewRow();
- indentBillNoSaleRow.ItemArray = new object[8]
- {
- No_IndentBill,
- Date_IndentBill,
- No_Customer,
- ShortName_Customer,
- No_Product,
- Name_Product,
- Quantity_IndentBillProduct,
- Quantity_Sale
- };
- base.Rows.Add(indentBillNoSaleRow);
- return indentBillNoSaleRow;
- }
- [DebuggerNonUserCode]
- public virtual IEnumerator GetEnumerator()
- {
- return base.Rows.GetEnumerator();
- }
- [DebuggerNonUserCode]
- public override DataTable Clone()
- {
- IndentBillNoSaleDataTable indentBillNoSaleDataTable = (IndentBillNoSaleDataTable)base.Clone();
- indentBillNoSaleDataTable.InitVars();
- return indentBillNoSaleDataTable;
- }
- [DebuggerNonUserCode]
- protected override DataTable CreateInstance()
- {
- return new IndentBillNoSaleDataTable();
- }
- [DebuggerNonUserCode]
- internal void InitVars()
- {
- columnNo_IndentBill = base.Columns["No_IndentBill"];
- columnDate_IndentBill = base.Columns["Date_IndentBill"];
- columnNo_Customer = base.Columns["No_Customer"];
- columnShortName_Customer = base.Columns["ShortName_Customer"];
- columnNo_Product = base.Columns["No_Product"];
- columnName_Product = base.Columns["Name_Product"];
- columnQuantity_IndentBillProduct = base.Columns["Quantity_IndentBillProduct"];
- columnQuantity_Sale = base.Columns["Quantity_Sale"];
- }
- [DebuggerNonUserCode]
- private void InitClass()
- {
- columnNo_IndentBill = new DataColumn("No_IndentBill", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnNo_IndentBill);
- columnDate_IndentBill = new DataColumn("Date_IndentBill", typeof(DateTime), null, MappingType.Element);
- base.Columns.Add(columnDate_IndentBill);
- 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);
- 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_IndentBillProduct = new DataColumn("Quantity_IndentBillProduct", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnQuantity_IndentBillProduct);
- columnQuantity_Sale = new DataColumn("Quantity_Sale", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnQuantity_Sale);
- }
- [DebuggerNonUserCode]
- public IndentBillNoSaleRow NewIndentBillNoSaleRow()
- {
- return (IndentBillNoSaleRow)NewRow();
- }
- [DebuggerNonUserCode]
- protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
- {
- return new IndentBillNoSaleRow(builder);
- }
- [DebuggerNonUserCode]
- protected override Type GetRowType()
- {
- return typeof(IndentBillNoSaleRow);
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanged(DataRowChangeEventArgs e)
- {
- base.OnRowChanged(e);
- if (this.IndentBillNoSaleRowChanged != null)
- {
- this.IndentBillNoSaleRowChanged(this, new IndentBillNoSaleRowChangeEvent((IndentBillNoSaleRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanging(DataRowChangeEventArgs e)
- {
- base.OnRowChanging(e);
- if (this.IndentBillNoSaleRowChanging != null)
- {
- this.IndentBillNoSaleRowChanging(this, new IndentBillNoSaleRowChangeEvent((IndentBillNoSaleRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleted(DataRowChangeEventArgs e)
- {
- base.OnRowDeleted(e);
- if (this.IndentBillNoSaleRowDeleted != null)
- {
- this.IndentBillNoSaleRowDeleted(this, new IndentBillNoSaleRowChangeEvent((IndentBillNoSaleRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleting(DataRowChangeEventArgs e)
- {
- base.OnRowDeleting(e);
- if (this.IndentBillNoSaleRowDeleting != null)
- {
- this.IndentBillNoSaleRowDeleting(this, new IndentBillNoSaleRowChangeEvent((IndentBillNoSaleRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- public void RemoveIndentBillNoSaleRow(IndentBillNoSaleRow row)
- {
- base.Rows.Remove(row);
- }
- [DebuggerNonUserCode]
- public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
- {
- XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
- XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
- dsFrmIndentNoSale dsFrmIndentNoSale = new dsFrmIndentNoSale();
- xs.Add(dsFrmIndentNoSale.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 = dsFrmIndentNoSale.Namespace;
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
- XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
- xmlSchemaAttribute2.Name = "tableTypeName";
- xmlSchemaAttribute2.FixedValue = "IndentBillNoSaleDataTable";
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
- xmlSchemaComplexType.Particle = xmlSchemaSequence;
- return xmlSchemaComplexType;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class IndentBillNoSaleRow : DataRow
- {
- private IndentBillNoSaleDataTable tableIndentBillNoSale;
- [DebuggerNonUserCode]
- public string No_IndentBill
- {
- get
- {
- try
- {
- return (string)base[tableIndentBillNoSale.No_IndentBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'No_IndentBill' in table 'IndentBillNoSale' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableIndentBillNoSale.No_IndentBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public DateTime Date_IndentBill
- {
- get
- {
- try
- {
- return (DateTime)base[tableIndentBillNoSale.Date_IndentBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Date_IndentBill' in table 'IndentBillNoSale' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableIndentBillNoSale.Date_IndentBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string No_Customer
- {
- get
- {
- try
- {
- return (string)base[tableIndentBillNoSale.No_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'No_Customer' in table 'IndentBillNoSale' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableIndentBillNoSale.No_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string ShortName_Customer
- {
- get
- {
- try
- {
- return (string)base[tableIndentBillNoSale.ShortName_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'ShortName_Customer' in table 'IndentBillNoSale' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableIndentBillNoSale.ShortName_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string No_Product
- {
- get
- {
- try
- {
- return (string)base[tableIndentBillNoSale.No_ProductColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'No_Product' in table 'IndentBillNoSale' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableIndentBillNoSale.No_ProductColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Name_Product
- {
- get
- {
- try
- {
- return (string)base[tableIndentBillNoSale.Name_ProductColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Name_Product' in table 'IndentBillNoSale' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableIndentBillNoSale.Name_ProductColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal Quantity_IndentBillProduct
- {
- get
- {
- try
- {
- return (decimal)base[tableIndentBillNoSale.Quantity_IndentBillProductColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Quantity_IndentBillProduct' in table 'IndentBillNoSale' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableIndentBillNoSale.Quantity_IndentBillProductColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal Quantity_Sale
- {
- get
- {
- try
- {
- return (decimal)base[tableIndentBillNoSale.Quantity_SaleColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Quantity_Sale' in table 'IndentBillNoSale' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableIndentBillNoSale.Quantity_SaleColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- internal IndentBillNoSaleRow(DataRowBuilder rb)
- : base(rb)
- {
- tableIndentBillNoSale = (IndentBillNoSaleDataTable)base.Table;
- }
- [DebuggerNonUserCode]
- public bool IsNo_IndentBillNull()
- {
- return IsNull(tableIndentBillNoSale.No_IndentBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetNo_IndentBillNull()
- {
- base[tableIndentBillNoSale.No_IndentBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsDate_IndentBillNull()
- {
- return IsNull(tableIndentBillNoSale.Date_IndentBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetDate_IndentBillNull()
- {
- base[tableIndentBillNoSale.Date_IndentBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsNo_CustomerNull()
- {
- return IsNull(tableIndentBillNoSale.No_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetNo_CustomerNull()
- {
- base[tableIndentBillNoSale.No_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsShortName_CustomerNull()
- {
- return IsNull(tableIndentBillNoSale.ShortName_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetShortName_CustomerNull()
- {
- base[tableIndentBillNoSale.ShortName_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsNo_ProductNull()
- {
- return IsNull(tableIndentBillNoSale.No_ProductColumn);
- }
- [DebuggerNonUserCode]
- public void SetNo_ProductNull()
- {
- base[tableIndentBillNoSale.No_ProductColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsName_ProductNull()
- {
- return IsNull(tableIndentBillNoSale.Name_ProductColumn);
- }
- [DebuggerNonUserCode]
- public void SetName_ProductNull()
- {
- base[tableIndentBillNoSale.Name_ProductColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsQuantity_IndentBillProductNull()
- {
- return IsNull(tableIndentBillNoSale.Quantity_IndentBillProductColumn);
- }
- [DebuggerNonUserCode]
- public void SetQuantity_IndentBillProductNull()
- {
- base[tableIndentBillNoSale.Quantity_IndentBillProductColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsQuantity_SaleNull()
- {
- return IsNull(tableIndentBillNoSale.Quantity_SaleColumn);
- }
- [DebuggerNonUserCode]
- public void SetQuantity_SaleNull()
- {
- base[tableIndentBillNoSale.Quantity_SaleColumn] = Convert.DBNull;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class IndentBillNoSaleRowChangeEvent : EventArgs
- {
- private IndentBillNoSaleRow eventRow;
- private DataRowAction eventAction;
- [DebuggerNonUserCode]
- public IndentBillNoSaleRow Row => eventRow;
- [DebuggerNonUserCode]
- public DataRowAction Action => eventAction;
- [DebuggerNonUserCode]
- public IndentBillNoSaleRowChangeEvent(IndentBillNoSaleRow row, DataRowAction action)
- {
- eventRow = row;
- eventAction = action;
- }
- }
- private IndentBillNoSaleDataTable tableIndentBillNoSale;
- private SchemaSerializationMode _schemaSerializationMode = SchemaSerializationMode.IncludeSchema;
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
- [DebuggerNonUserCode]
- [Browsable(false)]
- public IndentBillNoSaleDataTable IndentBillNoSale => tableIndentBillNoSale;
- [Browsable(true)]
- [DebuggerNonUserCode]
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
- public override SchemaSerializationMode SchemaSerializationMode
- {
- get
- {
- return _schemaSerializationMode;
- }
- set
- {
- _schemaSerializationMode = value;
- }
- }
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
- [DebuggerNonUserCode]
- public new DataTableCollection Tables => base.Tables;
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
- [DebuggerNonUserCode]
- public new DataRelationCollection Relations => base.Relations;
- [DebuggerNonUserCode]
- public dsFrmIndentNoSale()
- {
- BeginInit();
- InitClass();
- CollectionChangeEventHandler value = SchemaChanged;
- base.Tables.CollectionChanged += value;
- base.Relations.CollectionChanged += value;
- EndInit();
- }
- [DebuggerNonUserCode]
- protected dsFrmIndentNoSale(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["IndentBillNoSale"] != null)
- {
- base.Tables.Add(new IndentBillNoSaleDataTable(dataSet.Tables["IndentBillNoSale"]));
- }
- 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()
- {
- dsFrmIndentNoSale dsFrmIndentNoSale = (dsFrmIndentNoSale)base.Clone();
- dsFrmIndentNoSale.InitVars();
- dsFrmIndentNoSale.SchemaSerializationMode = SchemaSerializationMode;
- return dsFrmIndentNoSale;
- }
- [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["IndentBillNoSale"] != null)
- {
- base.Tables.Add(new IndentBillNoSaleDataTable(dataSet.Tables["IndentBillNoSale"]));
- }
- 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)
- {
- tableIndentBillNoSale = (IndentBillNoSaleDataTable)base.Tables["IndentBillNoSale"];
- if (initTable && tableIndentBillNoSale != null)
- {
- tableIndentBillNoSale.InitVars();
- }
- }
- [DebuggerNonUserCode]
- private void InitClass()
- {
- base.DataSetName = "dsFrmIndentNoSale";
- base.Prefix = "";
- base.Namespace = "http://tempuri.org/dsFrmIndentNoSale.xsd";
- base.EnforceConstraints = true;
- SchemaSerializationMode = SchemaSerializationMode.IncludeSchema;
- tableIndentBillNoSale = new IndentBillNoSaleDataTable();
- base.Tables.Add(tableIndentBillNoSale);
- }
- [DebuggerNonUserCode]
- private bool ShouldSerializeIndentBillNoSale()
- {
- return false;
- }
- [DebuggerNonUserCode]
- private void SchemaChanged(object sender, CollectionChangeEventArgs e)
- {
- if (e.Action == CollectionChangeAction.Remove)
- {
- InitVars();
- }
- }
- [DebuggerNonUserCode]
- public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs)
- {
- dsFrmIndentNoSale dsFrmIndentNoSale = new dsFrmIndentNoSale();
- XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
- XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
- xs.Add(dsFrmIndentNoSale.GetSchemaSerializable());
- XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
- xmlSchemaAny.Namespace = dsFrmIndentNoSale.Namespace;
- xmlSchemaSequence.Items.Add(xmlSchemaAny);
- xmlSchemaComplexType.Particle = xmlSchemaSequence;
- return xmlSchemaComplexType;
- }
- }
- }
|