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] [XmlRoot("dsFrmPurchaseCosting")] [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [HelpKeyword("vs.data.DataSet")] [DesignerCategory("code")] [ToolboxItem(true)] [XmlSchemaProvider("GetTypedDataSetSchema")] public class dsFrmPurchaseCosting : DataSet { public delegate void PurchaseInDepotBillProductRowChangeEventHandler(object sender, PurchaseInDepotBillProductRowChangeEvent e); public delegate void PurchaseInDepotBillRowChangeEventHandler(object sender, PurchaseInDepotBillRowChangeEvent e); public delegate void AppendInfoRowChangeEventHandler(object sender, AppendInfoRowChangeEvent e); [Serializable] [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [XmlSchemaProvider("GetTypedTableSchema")] public class PurchaseInDepotBillProductDataTable : DataTable, IEnumerable { private DataColumn columnNo_PurchaseInDepotBillProduct; private DataColumn columnType_FromBill; private DataColumn columnNo_FromBill; private DataColumn columnNo_FromBillProduct; private DataColumn columnRefNo_PurchaseInDepotBill; private DataColumn columnQuantity_PurchaseInDepotBillProduct; private DataColumn columnCost_PurchaseInDepotBillProduct; private DataColumn columnComment_PurchaseInDepotBillProduct; private DataColumn columnNo_Product; private DataColumn columnName_Product; private DataColumn columnUnit_Product; private DataColumn columnMoney; [DebuggerNonUserCode] public DataColumn No_PurchaseInDepotBillProductColumn => columnNo_PurchaseInDepotBillProduct; [DebuggerNonUserCode] public DataColumn Type_FromBillColumn => columnType_FromBill; [DebuggerNonUserCode] public DataColumn No_FromBillColumn => columnNo_FromBill; [DebuggerNonUserCode] public DataColumn No_FromBillProductColumn => columnNo_FromBillProduct; [DebuggerNonUserCode] public DataColumn RefNo_PurchaseInDepotBillColumn => columnRefNo_PurchaseInDepotBill; [DebuggerNonUserCode] public DataColumn Quantity_PurchaseInDepotBillProductColumn => columnQuantity_PurchaseInDepotBillProduct; [DebuggerNonUserCode] public DataColumn Cost_PurchaseInDepotBillProductColumn => columnCost_PurchaseInDepotBillProduct; [DebuggerNonUserCode] public DataColumn Comment_PurchaseInDepotBillProductColumn => columnComment_PurchaseInDepotBillProduct; [DebuggerNonUserCode] public DataColumn No_ProductColumn => columnNo_Product; [DebuggerNonUserCode] public DataColumn Name_ProductColumn => columnName_Product; [DebuggerNonUserCode] public DataColumn Unit_ProductColumn => columnUnit_Product; [DebuggerNonUserCode] public DataColumn MoneyColumn => columnMoney; [DebuggerNonUserCode] [Browsable(false)] public int Count => base.Rows.Count; [DebuggerNonUserCode] public PurchaseInDepotBillProductRow this[int index] => (PurchaseInDepotBillProductRow)base.Rows[index]; public event PurchaseInDepotBillProductRowChangeEventHandler PurchaseInDepotBillProductRowChanging; public event PurchaseInDepotBillProductRowChangeEventHandler PurchaseInDepotBillProductRowChanged; public event PurchaseInDepotBillProductRowChangeEventHandler PurchaseInDepotBillProductRowDeleting; public event PurchaseInDepotBillProductRowChangeEventHandler PurchaseInDepotBillProductRowDeleted; [DebuggerNonUserCode] public PurchaseInDepotBillProductDataTable() { base.TableName = "PurchaseInDepotBillProduct"; BeginInit(); InitClass(); EndInit(); } [DebuggerNonUserCode] internal PurchaseInDepotBillProductDataTable(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 PurchaseInDepotBillProductDataTable(SerializationInfo info, StreamingContext context) : base(info, context) { InitVars(); } [DebuggerNonUserCode] public void AddPurchaseInDepotBillProductRow(PurchaseInDepotBillProductRow row) { base.Rows.Add(row); } [DebuggerNonUserCode] public PurchaseInDepotBillProductRow AddPurchaseInDepotBillProductRow(string No_PurchaseInDepotBillProduct, int Type_FromBill, string No_FromBill, string No_FromBillProduct, string RefNo_PurchaseInDepotBill, decimal Quantity_PurchaseInDepotBillProduct, decimal Cost_PurchaseInDepotBillProduct, string Comment_PurchaseInDepotBillProduct, string No_Product, string Name_Product, string Unit_Product, decimal Money) { PurchaseInDepotBillProductRow purchaseInDepotBillProductRow = (PurchaseInDepotBillProductRow)NewRow(); purchaseInDepotBillProductRow.ItemArray = new object[12] { No_PurchaseInDepotBillProduct, Type_FromBill, No_FromBill, No_FromBillProduct, RefNo_PurchaseInDepotBill, Quantity_PurchaseInDepotBillProduct, Cost_PurchaseInDepotBillProduct, Comment_PurchaseInDepotBillProduct, No_Product, Name_Product, Unit_Product, Money }; base.Rows.Add(purchaseInDepotBillProductRow); return purchaseInDepotBillProductRow; } [DebuggerNonUserCode] public virtual IEnumerator GetEnumerator() { return base.Rows.GetEnumerator(); } [DebuggerNonUserCode] public override DataTable Clone() { PurchaseInDepotBillProductDataTable purchaseInDepotBillProductDataTable = (PurchaseInDepotBillProductDataTable)base.Clone(); purchaseInDepotBillProductDataTable.InitVars(); return purchaseInDepotBillProductDataTable; } [DebuggerNonUserCode] protected override DataTable CreateInstance() { return new PurchaseInDepotBillProductDataTable(); } [DebuggerNonUserCode] internal void InitVars() { columnNo_PurchaseInDepotBillProduct = base.Columns["No_PurchaseInDepotBillProduct"]; columnType_FromBill = base.Columns["Type_FromBill"]; columnNo_FromBill = base.Columns["No_FromBill"]; columnNo_FromBillProduct = base.Columns["No_FromBillProduct"]; columnRefNo_PurchaseInDepotBill = base.Columns["RefNo_PurchaseInDepotBill"]; columnQuantity_PurchaseInDepotBillProduct = base.Columns["Quantity_PurchaseInDepotBillProduct"]; columnCost_PurchaseInDepotBillProduct = base.Columns["Cost_PurchaseInDepotBillProduct"]; columnComment_PurchaseInDepotBillProduct = base.Columns["Comment_PurchaseInDepotBillProduct"]; columnNo_Product = base.Columns["No_Product"]; columnName_Product = base.Columns["Name_Product"]; columnUnit_Product = base.Columns["Unit_Product"]; columnMoney = base.Columns["Money"]; } [DebuggerNonUserCode] private void InitClass() { columnNo_PurchaseInDepotBillProduct = new DataColumn("No_PurchaseInDepotBillProduct", typeof(string), null, MappingType.Element); base.Columns.Add(columnNo_PurchaseInDepotBillProduct); columnType_FromBill = new DataColumn("Type_FromBill", typeof(int), null, MappingType.Element); base.Columns.Add(columnType_FromBill); columnNo_FromBill = new DataColumn("No_FromBill", typeof(string), null, MappingType.Element); base.Columns.Add(columnNo_FromBill); columnNo_FromBillProduct = new DataColumn("No_FromBillProduct", typeof(string), null, MappingType.Element); base.Columns.Add(columnNo_FromBillProduct); columnRefNo_PurchaseInDepotBill = new DataColumn("RefNo_PurchaseInDepotBill", typeof(string), null, MappingType.Element); base.Columns.Add(columnRefNo_PurchaseInDepotBill); columnQuantity_PurchaseInDepotBillProduct = new DataColumn("Quantity_PurchaseInDepotBillProduct", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnQuantity_PurchaseInDepotBillProduct); columnCost_PurchaseInDepotBillProduct = new DataColumn("Cost_PurchaseInDepotBillProduct", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnCost_PurchaseInDepotBillProduct); columnComment_PurchaseInDepotBillProduct = new DataColumn("Comment_PurchaseInDepotBillProduct", typeof(string), null, MappingType.Element); base.Columns.Add(columnComment_PurchaseInDepotBillProduct); 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); columnUnit_Product = new DataColumn("Unit_Product", typeof(string), null, MappingType.Element); base.Columns.Add(columnUnit_Product); columnMoney = new DataColumn("Money", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnMoney); } [DebuggerNonUserCode] public PurchaseInDepotBillProductRow NewPurchaseInDepotBillProductRow() { return (PurchaseInDepotBillProductRow)NewRow(); } [DebuggerNonUserCode] protected override DataRow NewRowFromBuilder(DataRowBuilder builder) { return new PurchaseInDepotBillProductRow(builder); } [DebuggerNonUserCode] protected override Type GetRowType() { return typeof(PurchaseInDepotBillProductRow); } [DebuggerNonUserCode] protected override void OnRowChanged(DataRowChangeEventArgs e) { base.OnRowChanged(e); if (this.PurchaseInDepotBillProductRowChanged != null) { this.PurchaseInDepotBillProductRowChanged(this, new PurchaseInDepotBillProductRowChangeEvent((PurchaseInDepotBillProductRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowChanging(DataRowChangeEventArgs e) { base.OnRowChanging(e); if (this.PurchaseInDepotBillProductRowChanging != null) { this.PurchaseInDepotBillProductRowChanging(this, new PurchaseInDepotBillProductRowChangeEvent((PurchaseInDepotBillProductRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowDeleted(DataRowChangeEventArgs e) { base.OnRowDeleted(e); if (this.PurchaseInDepotBillProductRowDeleted != null) { this.PurchaseInDepotBillProductRowDeleted(this, new PurchaseInDepotBillProductRowChangeEvent((PurchaseInDepotBillProductRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowDeleting(DataRowChangeEventArgs e) { base.OnRowDeleting(e); if (this.PurchaseInDepotBillProductRowDeleting != null) { this.PurchaseInDepotBillProductRowDeleting(this, new PurchaseInDepotBillProductRowChangeEvent((PurchaseInDepotBillProductRow)e.Row, e.Action)); } } [DebuggerNonUserCode] public void RemovePurchaseInDepotBillProductRow(PurchaseInDepotBillProductRow row) { base.Rows.Remove(row); } [DebuggerNonUserCode] public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs) { XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType(); XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence(); dsFrmPurchaseCosting dsFrmPurchaseCosting = new dsFrmPurchaseCosting(); xs.Add(dsFrmPurchaseCosting.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 = dsFrmPurchaseCosting.Namespace; xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute); XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute(); xmlSchemaAttribute2.Name = "tableTypeName"; xmlSchemaAttribute2.FixedValue = "PurchaseInDepotBillProductDataTable"; xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2); xmlSchemaComplexType.Particle = xmlSchemaSequence; return xmlSchemaComplexType; } } [Serializable] [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [XmlSchemaProvider("GetTypedTableSchema")] public class PurchaseInDepotBillDataTable : DataTable, IEnumerable { private DataColumn columnDate_PurchaseInDepotBill; private DataColumn columnNo_PurchaseInDepotBill; private DataColumn columnEncasementNo_PurchaseInDepotBill; private DataColumn columnQA_PurchaseInDepotBill; private DataColumn columnAssessDate_PurchaseInDepotBill; private DataColumn columnComment_PurchaseInDepotBill; private DataColumn columnCostVerify_PurchaseInDepotBill; private DataColumn columnCreateDate_PurchaseInDepotBill; private DataColumn columnLastModDate_PurchaseInDepotBill; private DataColumn columnCostingDate_PurchaseInDepotBill; private DataColumn columnInvoiceNo_PurchaseInDepotBill; private DataColumn columnCurrency_PurchaseInDepotBill; private DataColumn columnGoodsAmount_PurchaseInDepotBill; private DataColumn columnTaxAmount_PurchaseInDepotBill; private DataColumn columnCustom_PurchaseInDepotBill; private DataColumn columnAgent_PurchaseInDepotBill; private DataColumn columnHandling_PurchaseInDepotBill; private DataColumn columnCarriage_PurchaseInDepotBill; private DataColumn columnOthers_PurchaseInDepotBill; private DataColumn columnAmount_PurchaseInDepotBill; private DataColumn columnStrikedGoodsAmount_PurchaseInDepotBill; private DataColumn columnStrikedTaxAmount_PurchaseInDepotBill; private DataColumn columnName_UserAudit; private DataColumn columnName_UserMod; private DataColumn columncount; [DebuggerNonUserCode] public DataColumn Date_PurchaseInDepotBillColumn => columnDate_PurchaseInDepotBill; [DebuggerNonUserCode] public DataColumn No_PurchaseInDepotBillColumn => columnNo_PurchaseInDepotBill; [DebuggerNonUserCode] public DataColumn EncasementNo_PurchaseInDepotBillColumn => columnEncasementNo_PurchaseInDepotBill; [DebuggerNonUserCode] public DataColumn QA_PurchaseInDepotBillColumn => columnQA_PurchaseInDepotBill; [DebuggerNonUserCode] public DataColumn AssessDate_PurchaseInDepotBillColumn => columnAssessDate_PurchaseInDepotBill; [DebuggerNonUserCode] public DataColumn Comment_PurchaseInDepotBillColumn => columnComment_PurchaseInDepotBill; [DebuggerNonUserCode] public DataColumn CostVerify_PurchaseInDepotBillColumn => columnCostVerify_PurchaseInDepotBill; [DebuggerNonUserCode] public DataColumn CreateDate_PurchaseInDepotBillColumn => columnCreateDate_PurchaseInDepotBill; [DebuggerNonUserCode] public DataColumn LastModDate_PurchaseInDepotBillColumn => columnLastModDate_PurchaseInDepotBill; [DebuggerNonUserCode] public DataColumn CostingDate_PurchaseInDepotBillColumn => columnCostingDate_PurchaseInDepotBill; [DebuggerNonUserCode] public DataColumn InvoiceNo_PurchaseInDepotBillColumn => columnInvoiceNo_PurchaseInDepotBill; [DebuggerNonUserCode] public DataColumn Currency_PurchaseInDepotBillColumn => columnCurrency_PurchaseInDepotBill; [DebuggerNonUserCode] public DataColumn GoodsAmount_PurchaseInDepotBillColumn => columnGoodsAmount_PurchaseInDepotBill; [DebuggerNonUserCode] public DataColumn TaxAmount_PurchaseInDepotBillColumn => columnTaxAmount_PurchaseInDepotBill; [DebuggerNonUserCode] public DataColumn Custom_PurchaseInDepotBillColumn => columnCustom_PurchaseInDepotBill; [DebuggerNonUserCode] public DataColumn Agent_PurchaseInDepotBillColumn => columnAgent_PurchaseInDepotBill; [DebuggerNonUserCode] public DataColumn Handling_PurchaseInDepotBillColumn => columnHandling_PurchaseInDepotBill; [DebuggerNonUserCode] public DataColumn Carriage_PurchaseInDepotBillColumn => columnCarriage_PurchaseInDepotBill; [DebuggerNonUserCode] public DataColumn Others_PurchaseInDepotBillColumn => columnOthers_PurchaseInDepotBill; [DebuggerNonUserCode] public DataColumn Amount_PurchaseInDepotBillColumn => columnAmount_PurchaseInDepotBill; [DebuggerNonUserCode] public DataColumn StrikedGoodsAmount_PurchaseInDepotBillColumn => columnStrikedGoodsAmount_PurchaseInDepotBill; [DebuggerNonUserCode] public DataColumn StrikedTaxAmount_PurchaseInDepotBillColumn => columnStrikedTaxAmount_PurchaseInDepotBill; [DebuggerNonUserCode] public DataColumn Name_UserAuditColumn => columnName_UserAudit; [DebuggerNonUserCode] public DataColumn Name_UserModColumn => columnName_UserMod; [DebuggerNonUserCode] public DataColumn countColumn => columncount; [Browsable(false)] [DebuggerNonUserCode] public int Count => base.Rows.Count; [DebuggerNonUserCode] public PurchaseInDepotBillRow this[int index] => (PurchaseInDepotBillRow)base.Rows[index]; public event PurchaseInDepotBillRowChangeEventHandler PurchaseInDepotBillRowChanging; public event PurchaseInDepotBillRowChangeEventHandler PurchaseInDepotBillRowChanged; public event PurchaseInDepotBillRowChangeEventHandler PurchaseInDepotBillRowDeleting; public event PurchaseInDepotBillRowChangeEventHandler PurchaseInDepotBillRowDeleted; [DebuggerNonUserCode] public PurchaseInDepotBillDataTable() { base.TableName = "PurchaseInDepotBill"; BeginInit(); InitClass(); EndInit(); } [DebuggerNonUserCode] internal PurchaseInDepotBillDataTable(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 PurchaseInDepotBillDataTable(SerializationInfo info, StreamingContext context) : base(info, context) { InitVars(); } [DebuggerNonUserCode] public void AddPurchaseInDepotBillRow(PurchaseInDepotBillRow row) { base.Rows.Add(row); } [DebuggerNonUserCode] public PurchaseInDepotBillRow AddPurchaseInDepotBillRow(DateTime Date_PurchaseInDepotBill, string No_PurchaseInDepotBill, string EncasementNo_PurchaseInDepotBill, string QA_PurchaseInDepotBill, DateTime AssessDate_PurchaseInDepotBill, string Comment_PurchaseInDepotBill, bool CostVerify_PurchaseInDepotBill, DateTime CreateDate_PurchaseInDepotBill, DateTime LastModDate_PurchaseInDepotBill, DateTime CostingDate_PurchaseInDepotBill, string InvoiceNo_PurchaseInDepotBill, string Currency_PurchaseInDepotBill, decimal GoodsAmount_PurchaseInDepotBill, decimal TaxAmount_PurchaseInDepotBill, decimal Custom_PurchaseInDepotBill, decimal Agent_PurchaseInDepotBill, decimal Handling_PurchaseInDepotBill, decimal Carriage_PurchaseInDepotBill, decimal Others_PurchaseInDepotBill, decimal Amount_PurchaseInDepotBill, decimal StrikedGoodsAmount_PurchaseInDepotBill, decimal StrikedTaxAmount_PurchaseInDepotBill, string Name_UserAudit, string Name_UserMod, decimal count) { PurchaseInDepotBillRow purchaseInDepotBillRow = (PurchaseInDepotBillRow)NewRow(); purchaseInDepotBillRow.ItemArray = new object[25] { Date_PurchaseInDepotBill, No_PurchaseInDepotBill, EncasementNo_PurchaseInDepotBill, QA_PurchaseInDepotBill, AssessDate_PurchaseInDepotBill, Comment_PurchaseInDepotBill, CostVerify_PurchaseInDepotBill, CreateDate_PurchaseInDepotBill, LastModDate_PurchaseInDepotBill, CostingDate_PurchaseInDepotBill, InvoiceNo_PurchaseInDepotBill, Currency_PurchaseInDepotBill, GoodsAmount_PurchaseInDepotBill, TaxAmount_PurchaseInDepotBill, Custom_PurchaseInDepotBill, Agent_PurchaseInDepotBill, Handling_PurchaseInDepotBill, Carriage_PurchaseInDepotBill, Others_PurchaseInDepotBill, Amount_PurchaseInDepotBill, StrikedGoodsAmount_PurchaseInDepotBill, StrikedTaxAmount_PurchaseInDepotBill, Name_UserAudit, Name_UserMod, count }; base.Rows.Add(purchaseInDepotBillRow); return purchaseInDepotBillRow; } [DebuggerNonUserCode] public virtual IEnumerator GetEnumerator() { return base.Rows.GetEnumerator(); } [DebuggerNonUserCode] public override DataTable Clone() { PurchaseInDepotBillDataTable purchaseInDepotBillDataTable = (PurchaseInDepotBillDataTable)base.Clone(); purchaseInDepotBillDataTable.InitVars(); return purchaseInDepotBillDataTable; } [DebuggerNonUserCode] protected override DataTable CreateInstance() { return new PurchaseInDepotBillDataTable(); } [DebuggerNonUserCode] internal void InitVars() { columnDate_PurchaseInDepotBill = base.Columns["Date_PurchaseInDepotBill"]; columnNo_PurchaseInDepotBill = base.Columns["No_PurchaseInDepotBill"]; columnEncasementNo_PurchaseInDepotBill = base.Columns["EncasementNo_PurchaseInDepotBill"]; columnQA_PurchaseInDepotBill = base.Columns["QA_PurchaseInDepotBill"]; columnAssessDate_PurchaseInDepotBill = base.Columns["AssessDate_PurchaseInDepotBill"]; columnComment_PurchaseInDepotBill = base.Columns["Comment_PurchaseInDepotBill"]; columnCostVerify_PurchaseInDepotBill = base.Columns["CostVerify_PurchaseInDepotBill"]; columnCreateDate_PurchaseInDepotBill = base.Columns["CreateDate_PurchaseInDepotBill"]; columnLastModDate_PurchaseInDepotBill = base.Columns["LastModDate_PurchaseInDepotBill"]; columnCostingDate_PurchaseInDepotBill = base.Columns["CostingDate_PurchaseInDepotBill"]; columnInvoiceNo_PurchaseInDepotBill = base.Columns["InvoiceNo_PurchaseInDepotBill"]; columnCurrency_PurchaseInDepotBill = base.Columns["Currency_PurchaseInDepotBill"]; columnGoodsAmount_PurchaseInDepotBill = base.Columns["GoodsAmount_PurchaseInDepotBill"]; columnTaxAmount_PurchaseInDepotBill = base.Columns["TaxAmount_PurchaseInDepotBill"]; columnCustom_PurchaseInDepotBill = base.Columns["Custom_PurchaseInDepotBill"]; columnAgent_PurchaseInDepotBill = base.Columns["Agent_PurchaseInDepotBill"]; columnHandling_PurchaseInDepotBill = base.Columns["Handling_PurchaseInDepotBill"]; columnCarriage_PurchaseInDepotBill = base.Columns["Carriage_PurchaseInDepotBill"]; columnOthers_PurchaseInDepotBill = base.Columns["Others_PurchaseInDepotBill"]; columnAmount_PurchaseInDepotBill = base.Columns["Amount_PurchaseInDepotBill"]; columnStrikedGoodsAmount_PurchaseInDepotBill = base.Columns["StrikedGoodsAmount_PurchaseInDepotBill"]; columnStrikedTaxAmount_PurchaseInDepotBill = base.Columns["StrikedTaxAmount_PurchaseInDepotBill"]; columnName_UserAudit = base.Columns["Name_UserAudit"]; columnName_UserMod = base.Columns["Name_UserMod"]; columncount = base.Columns["count"]; } [DebuggerNonUserCode] private void InitClass() { columnDate_PurchaseInDepotBill = new DataColumn("Date_PurchaseInDepotBill", typeof(DateTime), null, MappingType.Element); base.Columns.Add(columnDate_PurchaseInDepotBill); columnNo_PurchaseInDepotBill = new DataColumn("No_PurchaseInDepotBill", typeof(string), null, MappingType.Element); base.Columns.Add(columnNo_PurchaseInDepotBill); columnEncasementNo_PurchaseInDepotBill = new DataColumn("EncasementNo_PurchaseInDepotBill", typeof(string), null, MappingType.Element); base.Columns.Add(columnEncasementNo_PurchaseInDepotBill); columnQA_PurchaseInDepotBill = new DataColumn("QA_PurchaseInDepotBill", typeof(string), null, MappingType.Element); base.Columns.Add(columnQA_PurchaseInDepotBill); columnAssessDate_PurchaseInDepotBill = new DataColumn("AssessDate_PurchaseInDepotBill", typeof(DateTime), null, MappingType.Element); base.Columns.Add(columnAssessDate_PurchaseInDepotBill); columnComment_PurchaseInDepotBill = new DataColumn("Comment_PurchaseInDepotBill", typeof(string), null, MappingType.Element); base.Columns.Add(columnComment_PurchaseInDepotBill); columnCostVerify_PurchaseInDepotBill = new DataColumn("CostVerify_PurchaseInDepotBill", typeof(bool), null, MappingType.Element); base.Columns.Add(columnCostVerify_PurchaseInDepotBill); columnCreateDate_PurchaseInDepotBill = new DataColumn("CreateDate_PurchaseInDepotBill", typeof(DateTime), null, MappingType.Element); base.Columns.Add(columnCreateDate_PurchaseInDepotBill); columnLastModDate_PurchaseInDepotBill = new DataColumn("LastModDate_PurchaseInDepotBill", typeof(DateTime), null, MappingType.Element); base.Columns.Add(columnLastModDate_PurchaseInDepotBill); columnCostingDate_PurchaseInDepotBill = new DataColumn("CostingDate_PurchaseInDepotBill", typeof(DateTime), null, MappingType.Element); base.Columns.Add(columnCostingDate_PurchaseInDepotBill); columnInvoiceNo_PurchaseInDepotBill = new DataColumn("InvoiceNo_PurchaseInDepotBill", typeof(string), null, MappingType.Element); base.Columns.Add(columnInvoiceNo_PurchaseInDepotBill); columnCurrency_PurchaseInDepotBill = new DataColumn("Currency_PurchaseInDepotBill", typeof(string), null, MappingType.Element); base.Columns.Add(columnCurrency_PurchaseInDepotBill); columnGoodsAmount_PurchaseInDepotBill = new DataColumn("GoodsAmount_PurchaseInDepotBill", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnGoodsAmount_PurchaseInDepotBill); columnTaxAmount_PurchaseInDepotBill = new DataColumn("TaxAmount_PurchaseInDepotBill", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnTaxAmount_PurchaseInDepotBill); columnCustom_PurchaseInDepotBill = new DataColumn("Custom_PurchaseInDepotBill", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnCustom_PurchaseInDepotBill); columnAgent_PurchaseInDepotBill = new DataColumn("Agent_PurchaseInDepotBill", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnAgent_PurchaseInDepotBill); columnHandling_PurchaseInDepotBill = new DataColumn("Handling_PurchaseInDepotBill", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnHandling_PurchaseInDepotBill); columnCarriage_PurchaseInDepotBill = new DataColumn("Carriage_PurchaseInDepotBill", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnCarriage_PurchaseInDepotBill); columnOthers_PurchaseInDepotBill = new DataColumn("Others_PurchaseInDepotBill", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnOthers_PurchaseInDepotBill); columnAmount_PurchaseInDepotBill = new DataColumn("Amount_PurchaseInDepotBill", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnAmount_PurchaseInDepotBill); columnStrikedGoodsAmount_PurchaseInDepotBill = new DataColumn("StrikedGoodsAmount_PurchaseInDepotBill", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnStrikedGoodsAmount_PurchaseInDepotBill); columnStrikedTaxAmount_PurchaseInDepotBill = new DataColumn("StrikedTaxAmount_PurchaseInDepotBill", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnStrikedTaxAmount_PurchaseInDepotBill); columnName_UserAudit = new DataColumn("Name_UserAudit", typeof(string), null, MappingType.Element); base.Columns.Add(columnName_UserAudit); columnName_UserMod = new DataColumn("Name_UserMod", typeof(string), null, MappingType.Element); base.Columns.Add(columnName_UserMod); columncount = new DataColumn("count", typeof(decimal), null, MappingType.Element); base.Columns.Add(columncount); } [DebuggerNonUserCode] public PurchaseInDepotBillRow NewPurchaseInDepotBillRow() { return (PurchaseInDepotBillRow)NewRow(); } [DebuggerNonUserCode] protected override DataRow NewRowFromBuilder(DataRowBuilder builder) { return new PurchaseInDepotBillRow(builder); } [DebuggerNonUserCode] protected override Type GetRowType() { return typeof(PurchaseInDepotBillRow); } [DebuggerNonUserCode] protected override void OnRowChanged(DataRowChangeEventArgs e) { base.OnRowChanged(e); if (this.PurchaseInDepotBillRowChanged != null) { this.PurchaseInDepotBillRowChanged(this, new PurchaseInDepotBillRowChangeEvent((PurchaseInDepotBillRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowChanging(DataRowChangeEventArgs e) { base.OnRowChanging(e); if (this.PurchaseInDepotBillRowChanging != null) { this.PurchaseInDepotBillRowChanging(this, new PurchaseInDepotBillRowChangeEvent((PurchaseInDepotBillRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowDeleted(DataRowChangeEventArgs e) { base.OnRowDeleted(e); if (this.PurchaseInDepotBillRowDeleted != null) { this.PurchaseInDepotBillRowDeleted(this, new PurchaseInDepotBillRowChangeEvent((PurchaseInDepotBillRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowDeleting(DataRowChangeEventArgs e) { base.OnRowDeleting(e); if (this.PurchaseInDepotBillRowDeleting != null) { this.PurchaseInDepotBillRowDeleting(this, new PurchaseInDepotBillRowChangeEvent((PurchaseInDepotBillRow)e.Row, e.Action)); } } [DebuggerNonUserCode] public void RemovePurchaseInDepotBillRow(PurchaseInDepotBillRow row) { base.Rows.Remove(row); } [DebuggerNonUserCode] public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs) { XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType(); XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence(); dsFrmPurchaseCosting dsFrmPurchaseCosting = new dsFrmPurchaseCosting(); xs.Add(dsFrmPurchaseCosting.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 = dsFrmPurchaseCosting.Namespace; xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute); XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute(); xmlSchemaAttribute2.Name = "tableTypeName"; xmlSchemaAttribute2.FixedValue = "PurchaseInDepotBillDataTable"; 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(); dsFrmPurchaseCosting dsFrmPurchaseCosting = new dsFrmPurchaseCosting(); xs.Add(dsFrmPurchaseCosting.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 = dsFrmPurchaseCosting.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 PurchaseInDepotBillProductRow : DataRow { private PurchaseInDepotBillProductDataTable tablePurchaseInDepotBillProduct; [DebuggerNonUserCode] public string No_PurchaseInDepotBillProduct { get { try { return (string)base[tablePurchaseInDepotBillProduct.No_PurchaseInDepotBillProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'No_PurchaseInDepotBillProduct' in table 'PurchaseInDepotBillProduct' is DBNull.", innerException); } } set { base[tablePurchaseInDepotBillProduct.No_PurchaseInDepotBillProductColumn] = value; } } [DebuggerNonUserCode] public int Type_FromBill { get { try { return (int)base[tablePurchaseInDepotBillProduct.Type_FromBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Type_FromBill' in table 'PurchaseInDepotBillProduct' is DBNull.", innerException); } } set { base[tablePurchaseInDepotBillProduct.Type_FromBillColumn] = value; } } [DebuggerNonUserCode] public string No_FromBill { get { try { return (string)base[tablePurchaseInDepotBillProduct.No_FromBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'No_FromBill' in table 'PurchaseInDepotBillProduct' is DBNull.", innerException); } } set { base[tablePurchaseInDepotBillProduct.No_FromBillColumn] = value; } } [DebuggerNonUserCode] public string No_FromBillProduct { get { try { return (string)base[tablePurchaseInDepotBillProduct.No_FromBillProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'No_FromBillProduct' in table 'PurchaseInDepotBillProduct' is DBNull.", innerException); } } set { base[tablePurchaseInDepotBillProduct.No_FromBillProductColumn] = value; } } [DebuggerNonUserCode] public string RefNo_PurchaseInDepotBill { get { try { return (string)base[tablePurchaseInDepotBillProduct.RefNo_PurchaseInDepotBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'RefNo_PurchaseInDepotBill' in table 'PurchaseInDepotBillProduct' is DBNull.", innerException); } } set { base[tablePurchaseInDepotBillProduct.RefNo_PurchaseInDepotBillColumn] = value; } } [DebuggerNonUserCode] public decimal Quantity_PurchaseInDepotBillProduct { get { try { return (decimal)base[tablePurchaseInDepotBillProduct.Quantity_PurchaseInDepotBillProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Quantity_PurchaseInDepotBillProduct' in table 'PurchaseInDepotBillProduct' is DBNull.", innerException); } } set { base[tablePurchaseInDepotBillProduct.Quantity_PurchaseInDepotBillProductColumn] = value; } } [DebuggerNonUserCode] public decimal Cost_PurchaseInDepotBillProduct { get { try { return (decimal)base[tablePurchaseInDepotBillProduct.Cost_PurchaseInDepotBillProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Cost_PurchaseInDepotBillProduct' in table 'PurchaseInDepotBillProduct' is DBNull.", innerException); } } set { base[tablePurchaseInDepotBillProduct.Cost_PurchaseInDepotBillProductColumn] = value; } } [DebuggerNonUserCode] public string Comment_PurchaseInDepotBillProduct { get { try { return (string)base[tablePurchaseInDepotBillProduct.Comment_PurchaseInDepotBillProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Comment_PurchaseInDepotBillProduct' in table 'PurchaseInDepotBillProduct' is DBNull.", innerException); } } set { base[tablePurchaseInDepotBillProduct.Comment_PurchaseInDepotBillProductColumn] = value; } } [DebuggerNonUserCode] public string No_Product { get { try { return (string)base[tablePurchaseInDepotBillProduct.No_ProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'No_Product' in table 'PurchaseInDepotBillProduct' is DBNull.", innerException); } } set { base[tablePurchaseInDepotBillProduct.No_ProductColumn] = value; } } [DebuggerNonUserCode] public string Name_Product { get { try { return (string)base[tablePurchaseInDepotBillProduct.Name_ProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Name_Product' in table 'PurchaseInDepotBillProduct' is DBNull.", innerException); } } set { base[tablePurchaseInDepotBillProduct.Name_ProductColumn] = value; } } [DebuggerNonUserCode] public string Unit_Product { get { try { return (string)base[tablePurchaseInDepotBillProduct.Unit_ProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Unit_Product' in table 'PurchaseInDepotBillProduct' is DBNull.", innerException); } } set { base[tablePurchaseInDepotBillProduct.Unit_ProductColumn] = value; } } [DebuggerNonUserCode] public decimal Money { get { try { return (decimal)base[tablePurchaseInDepotBillProduct.MoneyColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Money' in table 'PurchaseInDepotBillProduct' is DBNull.", innerException); } } set { base[tablePurchaseInDepotBillProduct.MoneyColumn] = value; } } [DebuggerNonUserCode] internal PurchaseInDepotBillProductRow(DataRowBuilder rb) : base(rb) { tablePurchaseInDepotBillProduct = (PurchaseInDepotBillProductDataTable)base.Table; } [DebuggerNonUserCode] public bool IsNo_PurchaseInDepotBillProductNull() { return IsNull(tablePurchaseInDepotBillProduct.No_PurchaseInDepotBillProductColumn); } [DebuggerNonUserCode] public void SetNo_PurchaseInDepotBillProductNull() { base[tablePurchaseInDepotBillProduct.No_PurchaseInDepotBillProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsType_FromBillNull() { return IsNull(tablePurchaseInDepotBillProduct.Type_FromBillColumn); } [DebuggerNonUserCode] public void SetType_FromBillNull() { base[tablePurchaseInDepotBillProduct.Type_FromBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsNo_FromBillNull() { return IsNull(tablePurchaseInDepotBillProduct.No_FromBillColumn); } [DebuggerNonUserCode] public void SetNo_FromBillNull() { base[tablePurchaseInDepotBillProduct.No_FromBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsNo_FromBillProductNull() { return IsNull(tablePurchaseInDepotBillProduct.No_FromBillProductColumn); } [DebuggerNonUserCode] public void SetNo_FromBillProductNull() { base[tablePurchaseInDepotBillProduct.No_FromBillProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsRefNo_PurchaseInDepotBillNull() { return IsNull(tablePurchaseInDepotBillProduct.RefNo_PurchaseInDepotBillColumn); } [DebuggerNonUserCode] public void SetRefNo_PurchaseInDepotBillNull() { base[tablePurchaseInDepotBillProduct.RefNo_PurchaseInDepotBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsQuantity_PurchaseInDepotBillProductNull() { return IsNull(tablePurchaseInDepotBillProduct.Quantity_PurchaseInDepotBillProductColumn); } [DebuggerNonUserCode] public void SetQuantity_PurchaseInDepotBillProductNull() { base[tablePurchaseInDepotBillProduct.Quantity_PurchaseInDepotBillProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsCost_PurchaseInDepotBillProductNull() { return IsNull(tablePurchaseInDepotBillProduct.Cost_PurchaseInDepotBillProductColumn); } [DebuggerNonUserCode] public void SetCost_PurchaseInDepotBillProductNull() { base[tablePurchaseInDepotBillProduct.Cost_PurchaseInDepotBillProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsComment_PurchaseInDepotBillProductNull() { return IsNull(tablePurchaseInDepotBillProduct.Comment_PurchaseInDepotBillProductColumn); } [DebuggerNonUserCode] public void SetComment_PurchaseInDepotBillProductNull() { base[tablePurchaseInDepotBillProduct.Comment_PurchaseInDepotBillProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsNo_ProductNull() { return IsNull(tablePurchaseInDepotBillProduct.No_ProductColumn); } [DebuggerNonUserCode] public void SetNo_ProductNull() { base[tablePurchaseInDepotBillProduct.No_ProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsName_ProductNull() { return IsNull(tablePurchaseInDepotBillProduct.Name_ProductColumn); } [DebuggerNonUserCode] public void SetName_ProductNull() { base[tablePurchaseInDepotBillProduct.Name_ProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsUnit_ProductNull() { return IsNull(tablePurchaseInDepotBillProduct.Unit_ProductColumn); } [DebuggerNonUserCode] public void SetUnit_ProductNull() { base[tablePurchaseInDepotBillProduct.Unit_ProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsMoneyNull() { return IsNull(tablePurchaseInDepotBillProduct.MoneyColumn); } [DebuggerNonUserCode] public void SetMoneyNull() { base[tablePurchaseInDepotBillProduct.MoneyColumn] = Convert.DBNull; } } [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class PurchaseInDepotBillRow : DataRow { private PurchaseInDepotBillDataTable tablePurchaseInDepotBill; [DebuggerNonUserCode] public DateTime Date_PurchaseInDepotBill { get { try { return (DateTime)base[tablePurchaseInDepotBill.Date_PurchaseInDepotBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Date_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException); } } set { base[tablePurchaseInDepotBill.Date_PurchaseInDepotBillColumn] = value; } } [DebuggerNonUserCode] public string No_PurchaseInDepotBill { get { try { return (string)base[tablePurchaseInDepotBill.No_PurchaseInDepotBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'No_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException); } } set { base[tablePurchaseInDepotBill.No_PurchaseInDepotBillColumn] = value; } } [DebuggerNonUserCode] public string EncasementNo_PurchaseInDepotBill { get { try { return (string)base[tablePurchaseInDepotBill.EncasementNo_PurchaseInDepotBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'EncasementNo_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException); } } set { base[tablePurchaseInDepotBill.EncasementNo_PurchaseInDepotBillColumn] = value; } } [DebuggerNonUserCode] public string QA_PurchaseInDepotBill { get { try { return (string)base[tablePurchaseInDepotBill.QA_PurchaseInDepotBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'QA_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException); } } set { base[tablePurchaseInDepotBill.QA_PurchaseInDepotBillColumn] = value; } } [DebuggerNonUserCode] public DateTime AssessDate_PurchaseInDepotBill { get { try { return (DateTime)base[tablePurchaseInDepotBill.AssessDate_PurchaseInDepotBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'AssessDate_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException); } } set { base[tablePurchaseInDepotBill.AssessDate_PurchaseInDepotBillColumn] = value; } } [DebuggerNonUserCode] public string Comment_PurchaseInDepotBill { get { try { return (string)base[tablePurchaseInDepotBill.Comment_PurchaseInDepotBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Comment_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException); } } set { base[tablePurchaseInDepotBill.Comment_PurchaseInDepotBillColumn] = value; } } [DebuggerNonUserCode] public bool CostVerify_PurchaseInDepotBill { get { try { return (bool)base[tablePurchaseInDepotBill.CostVerify_PurchaseInDepotBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'CostVerify_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException); } } set { base[tablePurchaseInDepotBill.CostVerify_PurchaseInDepotBillColumn] = value; } } [DebuggerNonUserCode] public DateTime CreateDate_PurchaseInDepotBill { get { try { return (DateTime)base[tablePurchaseInDepotBill.CreateDate_PurchaseInDepotBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'CreateDate_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException); } } set { base[tablePurchaseInDepotBill.CreateDate_PurchaseInDepotBillColumn] = value; } } [DebuggerNonUserCode] public DateTime LastModDate_PurchaseInDepotBill { get { try { return (DateTime)base[tablePurchaseInDepotBill.LastModDate_PurchaseInDepotBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'LastModDate_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException); } } set { base[tablePurchaseInDepotBill.LastModDate_PurchaseInDepotBillColumn] = value; } } [DebuggerNonUserCode] public DateTime CostingDate_PurchaseInDepotBill { get { try { return (DateTime)base[tablePurchaseInDepotBill.CostingDate_PurchaseInDepotBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'CostingDate_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException); } } set { base[tablePurchaseInDepotBill.CostingDate_PurchaseInDepotBillColumn] = value; } } [DebuggerNonUserCode] public string InvoiceNo_PurchaseInDepotBill { get { try { return (string)base[tablePurchaseInDepotBill.InvoiceNo_PurchaseInDepotBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'InvoiceNo_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException); } } set { base[tablePurchaseInDepotBill.InvoiceNo_PurchaseInDepotBillColumn] = value; } } [DebuggerNonUserCode] public string Currency_PurchaseInDepotBill { get { try { return (string)base[tablePurchaseInDepotBill.Currency_PurchaseInDepotBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Currency_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException); } } set { base[tablePurchaseInDepotBill.Currency_PurchaseInDepotBillColumn] = value; } } [DebuggerNonUserCode] public decimal GoodsAmount_PurchaseInDepotBill { get { try { return (decimal)base[tablePurchaseInDepotBill.GoodsAmount_PurchaseInDepotBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'GoodsAmount_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException); } } set { base[tablePurchaseInDepotBill.GoodsAmount_PurchaseInDepotBillColumn] = value; } } [DebuggerNonUserCode] public decimal TaxAmount_PurchaseInDepotBill { get { try { return (decimal)base[tablePurchaseInDepotBill.TaxAmount_PurchaseInDepotBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'TaxAmount_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException); } } set { base[tablePurchaseInDepotBill.TaxAmount_PurchaseInDepotBillColumn] = value; } } [DebuggerNonUserCode] public decimal Custom_PurchaseInDepotBill { get { try { return (decimal)base[tablePurchaseInDepotBill.Custom_PurchaseInDepotBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Custom_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException); } } set { base[tablePurchaseInDepotBill.Custom_PurchaseInDepotBillColumn] = value; } } [DebuggerNonUserCode] public decimal Agent_PurchaseInDepotBill { get { try { return (decimal)base[tablePurchaseInDepotBill.Agent_PurchaseInDepotBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Agent_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException); } } set { base[tablePurchaseInDepotBill.Agent_PurchaseInDepotBillColumn] = value; } } [DebuggerNonUserCode] public decimal Handling_PurchaseInDepotBill { get { try { return (decimal)base[tablePurchaseInDepotBill.Handling_PurchaseInDepotBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Handling_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException); } } set { base[tablePurchaseInDepotBill.Handling_PurchaseInDepotBillColumn] = value; } } [DebuggerNonUserCode] public decimal Carriage_PurchaseInDepotBill { get { try { return (decimal)base[tablePurchaseInDepotBill.Carriage_PurchaseInDepotBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Carriage_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException); } } set { base[tablePurchaseInDepotBill.Carriage_PurchaseInDepotBillColumn] = value; } } [DebuggerNonUserCode] public decimal Others_PurchaseInDepotBill { get { try { return (decimal)base[tablePurchaseInDepotBill.Others_PurchaseInDepotBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Others_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException); } } set { base[tablePurchaseInDepotBill.Others_PurchaseInDepotBillColumn] = value; } } [DebuggerNonUserCode] public decimal Amount_PurchaseInDepotBill { get { try { return (decimal)base[tablePurchaseInDepotBill.Amount_PurchaseInDepotBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Amount_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException); } } set { base[tablePurchaseInDepotBill.Amount_PurchaseInDepotBillColumn] = value; } } [DebuggerNonUserCode] public decimal StrikedGoodsAmount_PurchaseInDepotBill { get { try { return (decimal)base[tablePurchaseInDepotBill.StrikedGoodsAmount_PurchaseInDepotBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'StrikedGoodsAmount_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException); } } set { base[tablePurchaseInDepotBill.StrikedGoodsAmount_PurchaseInDepotBillColumn] = value; } } [DebuggerNonUserCode] public decimal StrikedTaxAmount_PurchaseInDepotBill { get { try { return (decimal)base[tablePurchaseInDepotBill.StrikedTaxAmount_PurchaseInDepotBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'StrikedTaxAmount_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException); } } set { base[tablePurchaseInDepotBill.StrikedTaxAmount_PurchaseInDepotBillColumn] = value; } } [DebuggerNonUserCode] public string Name_UserAudit { get { try { return (string)base[tablePurchaseInDepotBill.Name_UserAuditColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Name_UserAudit' in table 'PurchaseInDepotBill' is DBNull.", innerException); } } set { base[tablePurchaseInDepotBill.Name_UserAuditColumn] = value; } } [DebuggerNonUserCode] public string Name_UserMod { get { try { return (string)base[tablePurchaseInDepotBill.Name_UserModColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Name_UserMod' in table 'PurchaseInDepotBill' is DBNull.", innerException); } } set { base[tablePurchaseInDepotBill.Name_UserModColumn] = value; } } [DebuggerNonUserCode] public decimal count { get { try { return (decimal)base[tablePurchaseInDepotBill.countColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'count' in table 'PurchaseInDepotBill' is DBNull.", innerException); } } set { base[tablePurchaseInDepotBill.countColumn] = value; } } [DebuggerNonUserCode] internal PurchaseInDepotBillRow(DataRowBuilder rb) : base(rb) { tablePurchaseInDepotBill = (PurchaseInDepotBillDataTable)base.Table; } [DebuggerNonUserCode] public bool IsDate_PurchaseInDepotBillNull() { return IsNull(tablePurchaseInDepotBill.Date_PurchaseInDepotBillColumn); } [DebuggerNonUserCode] public void SetDate_PurchaseInDepotBillNull() { base[tablePurchaseInDepotBill.Date_PurchaseInDepotBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsNo_PurchaseInDepotBillNull() { return IsNull(tablePurchaseInDepotBill.No_PurchaseInDepotBillColumn); } [DebuggerNonUserCode] public void SetNo_PurchaseInDepotBillNull() { base[tablePurchaseInDepotBill.No_PurchaseInDepotBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsEncasementNo_PurchaseInDepotBillNull() { return IsNull(tablePurchaseInDepotBill.EncasementNo_PurchaseInDepotBillColumn); } [DebuggerNonUserCode] public void SetEncasementNo_PurchaseInDepotBillNull() { base[tablePurchaseInDepotBill.EncasementNo_PurchaseInDepotBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsQA_PurchaseInDepotBillNull() { return IsNull(tablePurchaseInDepotBill.QA_PurchaseInDepotBillColumn); } [DebuggerNonUserCode] public void SetQA_PurchaseInDepotBillNull() { base[tablePurchaseInDepotBill.QA_PurchaseInDepotBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsAssessDate_PurchaseInDepotBillNull() { return IsNull(tablePurchaseInDepotBill.AssessDate_PurchaseInDepotBillColumn); } [DebuggerNonUserCode] public void SetAssessDate_PurchaseInDepotBillNull() { base[tablePurchaseInDepotBill.AssessDate_PurchaseInDepotBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsComment_PurchaseInDepotBillNull() { return IsNull(tablePurchaseInDepotBill.Comment_PurchaseInDepotBillColumn); } [DebuggerNonUserCode] public void SetComment_PurchaseInDepotBillNull() { base[tablePurchaseInDepotBill.Comment_PurchaseInDepotBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsCostVerify_PurchaseInDepotBillNull() { return IsNull(tablePurchaseInDepotBill.CostVerify_PurchaseInDepotBillColumn); } [DebuggerNonUserCode] public void SetCostVerify_PurchaseInDepotBillNull() { base[tablePurchaseInDepotBill.CostVerify_PurchaseInDepotBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsCreateDate_PurchaseInDepotBillNull() { return IsNull(tablePurchaseInDepotBill.CreateDate_PurchaseInDepotBillColumn); } [DebuggerNonUserCode] public void SetCreateDate_PurchaseInDepotBillNull() { base[tablePurchaseInDepotBill.CreateDate_PurchaseInDepotBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsLastModDate_PurchaseInDepotBillNull() { return IsNull(tablePurchaseInDepotBill.LastModDate_PurchaseInDepotBillColumn); } [DebuggerNonUserCode] public void SetLastModDate_PurchaseInDepotBillNull() { base[tablePurchaseInDepotBill.LastModDate_PurchaseInDepotBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsCostingDate_PurchaseInDepotBillNull() { return IsNull(tablePurchaseInDepotBill.CostingDate_PurchaseInDepotBillColumn); } [DebuggerNonUserCode] public void SetCostingDate_PurchaseInDepotBillNull() { base[tablePurchaseInDepotBill.CostingDate_PurchaseInDepotBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsInvoiceNo_PurchaseInDepotBillNull() { return IsNull(tablePurchaseInDepotBill.InvoiceNo_PurchaseInDepotBillColumn); } [DebuggerNonUserCode] public void SetInvoiceNo_PurchaseInDepotBillNull() { base[tablePurchaseInDepotBill.InvoiceNo_PurchaseInDepotBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsCurrency_PurchaseInDepotBillNull() { return IsNull(tablePurchaseInDepotBill.Currency_PurchaseInDepotBillColumn); } [DebuggerNonUserCode] public void SetCurrency_PurchaseInDepotBillNull() { base[tablePurchaseInDepotBill.Currency_PurchaseInDepotBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsGoodsAmount_PurchaseInDepotBillNull() { return IsNull(tablePurchaseInDepotBill.GoodsAmount_PurchaseInDepotBillColumn); } [DebuggerNonUserCode] public void SetGoodsAmount_PurchaseInDepotBillNull() { base[tablePurchaseInDepotBill.GoodsAmount_PurchaseInDepotBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsTaxAmount_PurchaseInDepotBillNull() { return IsNull(tablePurchaseInDepotBill.TaxAmount_PurchaseInDepotBillColumn); } [DebuggerNonUserCode] public void SetTaxAmount_PurchaseInDepotBillNull() { base[tablePurchaseInDepotBill.TaxAmount_PurchaseInDepotBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsCustom_PurchaseInDepotBillNull() { return IsNull(tablePurchaseInDepotBill.Custom_PurchaseInDepotBillColumn); } [DebuggerNonUserCode] public void SetCustom_PurchaseInDepotBillNull() { base[tablePurchaseInDepotBill.Custom_PurchaseInDepotBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsAgent_PurchaseInDepotBillNull() { return IsNull(tablePurchaseInDepotBill.Agent_PurchaseInDepotBillColumn); } [DebuggerNonUserCode] public void SetAgent_PurchaseInDepotBillNull() { base[tablePurchaseInDepotBill.Agent_PurchaseInDepotBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsHandling_PurchaseInDepotBillNull() { return IsNull(tablePurchaseInDepotBill.Handling_PurchaseInDepotBillColumn); } [DebuggerNonUserCode] public void SetHandling_PurchaseInDepotBillNull() { base[tablePurchaseInDepotBill.Handling_PurchaseInDepotBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsCarriage_PurchaseInDepotBillNull() { return IsNull(tablePurchaseInDepotBill.Carriage_PurchaseInDepotBillColumn); } [DebuggerNonUserCode] public void SetCarriage_PurchaseInDepotBillNull() { base[tablePurchaseInDepotBill.Carriage_PurchaseInDepotBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsOthers_PurchaseInDepotBillNull() { return IsNull(tablePurchaseInDepotBill.Others_PurchaseInDepotBillColumn); } [DebuggerNonUserCode] public void SetOthers_PurchaseInDepotBillNull() { base[tablePurchaseInDepotBill.Others_PurchaseInDepotBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsAmount_PurchaseInDepotBillNull() { return IsNull(tablePurchaseInDepotBill.Amount_PurchaseInDepotBillColumn); } [DebuggerNonUserCode] public void SetAmount_PurchaseInDepotBillNull() { base[tablePurchaseInDepotBill.Amount_PurchaseInDepotBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsStrikedGoodsAmount_PurchaseInDepotBillNull() { return IsNull(tablePurchaseInDepotBill.StrikedGoodsAmount_PurchaseInDepotBillColumn); } [DebuggerNonUserCode] public void SetStrikedGoodsAmount_PurchaseInDepotBillNull() { base[tablePurchaseInDepotBill.StrikedGoodsAmount_PurchaseInDepotBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsStrikedTaxAmount_PurchaseInDepotBillNull() { return IsNull(tablePurchaseInDepotBill.StrikedTaxAmount_PurchaseInDepotBillColumn); } [DebuggerNonUserCode] public void SetStrikedTaxAmount_PurchaseInDepotBillNull() { base[tablePurchaseInDepotBill.StrikedTaxAmount_PurchaseInDepotBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsName_UserAuditNull() { return IsNull(tablePurchaseInDepotBill.Name_UserAuditColumn); } [DebuggerNonUserCode] public void SetName_UserAuditNull() { base[tablePurchaseInDepotBill.Name_UserAuditColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsName_UserModNull() { return IsNull(tablePurchaseInDepotBill.Name_UserModColumn); } [DebuggerNonUserCode] public void SetName_UserModNull() { base[tablePurchaseInDepotBill.Name_UserModColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IscountNull() { return IsNull(tablePurchaseInDepotBill.countColumn); } [DebuggerNonUserCode] public void SetcountNull() { base[tablePurchaseInDepotBill.countColumn] = 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 PurchaseInDepotBillProductRowChangeEvent : EventArgs { private PurchaseInDepotBillProductRow eventRow; private DataRowAction eventAction; [DebuggerNonUserCode] public PurchaseInDepotBillProductRow Row => eventRow; [DebuggerNonUserCode] public DataRowAction Action => eventAction; [DebuggerNonUserCode] public PurchaseInDepotBillProductRowChangeEvent(PurchaseInDepotBillProductRow row, DataRowAction action) { eventRow = row; eventAction = action; } } [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class PurchaseInDepotBillRowChangeEvent : EventArgs { private PurchaseInDepotBillRow eventRow; private DataRowAction eventAction; [DebuggerNonUserCode] public PurchaseInDepotBillRow Row => eventRow; [DebuggerNonUserCode] public DataRowAction Action => eventAction; [DebuggerNonUserCode] public PurchaseInDepotBillRowChangeEvent(PurchaseInDepotBillRow 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 PurchaseInDepotBillProductDataTable tablePurchaseInDepotBillProduct; private PurchaseInDepotBillDataTable tablePurchaseInDepotBill; private AppendInfoDataTable tableAppendInfo; private SchemaSerializationMode _schemaSerializationMode = SchemaSerializationMode.IncludeSchema; [DebuggerNonUserCode] [Browsable(false)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)] public PurchaseInDepotBillProductDataTable PurchaseInDepotBillProduct => tablePurchaseInDepotBillProduct; [Browsable(false)] [DebuggerNonUserCode] [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)] public PurchaseInDepotBillDataTable PurchaseInDepotBill => tablePurchaseInDepotBill; [Browsable(false)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)] [DebuggerNonUserCode] 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; [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [DebuggerNonUserCode] public new DataRelationCollection Relations => base.Relations; [DebuggerNonUserCode] public dsFrmPurchaseCosting() { BeginInit(); InitClass(); CollectionChangeEventHandler value = SchemaChanged; base.Tables.CollectionChanged += value; base.Relations.CollectionChanged += value; EndInit(); } [DebuggerNonUserCode] protected dsFrmPurchaseCosting(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["PurchaseInDepotBillProduct"] != null) { base.Tables.Add(new PurchaseInDepotBillProductDataTable(dataSet.Tables["PurchaseInDepotBillProduct"])); } if (dataSet.Tables["PurchaseInDepotBill"] != null) { base.Tables.Add(new PurchaseInDepotBillDataTable(dataSet.Tables["PurchaseInDepotBill"])); } 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() { dsFrmPurchaseCosting dsFrmPurchaseCosting = (dsFrmPurchaseCosting)base.Clone(); dsFrmPurchaseCosting.InitVars(); dsFrmPurchaseCosting.SchemaSerializationMode = SchemaSerializationMode; return dsFrmPurchaseCosting; } [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["PurchaseInDepotBillProduct"] != null) { base.Tables.Add(new PurchaseInDepotBillProductDataTable(dataSet.Tables["PurchaseInDepotBillProduct"])); } if (dataSet.Tables["PurchaseInDepotBill"] != null) { base.Tables.Add(new PurchaseInDepotBillDataTable(dataSet.Tables["PurchaseInDepotBill"])); } 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) { tablePurchaseInDepotBillProduct = (PurchaseInDepotBillProductDataTable)base.Tables["PurchaseInDepotBillProduct"]; if (initTable && tablePurchaseInDepotBillProduct != null) { tablePurchaseInDepotBillProduct.InitVars(); } tablePurchaseInDepotBill = (PurchaseInDepotBillDataTable)base.Tables["PurchaseInDepotBill"]; if (initTable && tablePurchaseInDepotBill != null) { tablePurchaseInDepotBill.InitVars(); } tableAppendInfo = (AppendInfoDataTable)base.Tables["AppendInfo"]; if (initTable && tableAppendInfo != null) { tableAppendInfo.InitVars(); } } [DebuggerNonUserCode] private void InitClass() { base.DataSetName = "dsFrmPurchaseCosting"; base.Prefix = ""; base.Namespace = "http://tempuri.org/dsFrmPurchaseCosting.xsd"; base.EnforceConstraints = true; SchemaSerializationMode = SchemaSerializationMode.IncludeSchema; tablePurchaseInDepotBillProduct = new PurchaseInDepotBillProductDataTable(); base.Tables.Add(tablePurchaseInDepotBillProduct); tablePurchaseInDepotBill = new PurchaseInDepotBillDataTable(); base.Tables.Add(tablePurchaseInDepotBill); tableAppendInfo = new AppendInfoDataTable(); base.Tables.Add(tableAppendInfo); } [DebuggerNonUserCode] private bool ShouldSerializePurchaseInDepotBillProduct() { return false; } [DebuggerNonUserCode] private bool ShouldSerializePurchaseInDepotBill() { 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) { dsFrmPurchaseCosting dsFrmPurchaseCosting = new dsFrmPurchaseCosting(); XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType(); XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence(); xs.Add(dsFrmPurchaseCosting.GetSchemaSerializable()); XmlSchemaAny xmlSchemaAny = new XmlSchemaAny(); xmlSchemaAny.Namespace = dsFrmPurchaseCosting.Namespace; xmlSchemaSequence.Items.Add(xmlSchemaAny); xmlSchemaComplexType.Particle = xmlSchemaSequence; return xmlSchemaComplexType; } } }