123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671 |
- 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]
- [XmlSchemaProvider("GetTypedDataSetSchema")]
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- [DesignerCategory("code")]
- [HelpKeyword("vs.data.DataSet")]
- [ToolboxItem(true)]
- [XmlRoot("dsUIFrmSalesDailyByPrincipal")]
- public class dsUIFrmSalesDailyByPrincipal : DataSet
- {
- public delegate void UIRowChangeEventHandler(object sender, UIRowChangeEvent e);
- public delegate void FrmSalesDailyByPrincipalRowChangeEventHandler(object sender, FrmSalesDailyByPrincipalRowChangeEvent e);
- [Serializable]
- [XmlSchemaProvider("GetTypedTableSchema")]
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class UIDataTable : DataTable, IEnumerable
- {
- private DataColumn columnStartDate_SaleBill;
- private DataColumn columnEndDate_SaleBill;
- private DataColumn columnStartNo_SaleBill;
- private DataColumn columnEndNo_SaleBill;
- private DataColumn columnStartNo_Customer;
- private DataColumn columnEndNo_Customer;
- private DataColumn columnStartPrincipal_SaleBill;
- private DataColumn columnEndPrincipal_SaleBill;
- private DataColumn columnStartName_Location;
- private DataColumn columnEndName_Location;
- private DataColumn columnName_Creator;
- private DataColumn columnCreateDate;
- [DebuggerNonUserCode]
- public DataColumn StartDate_SaleBillColumn => columnStartDate_SaleBill;
- [DebuggerNonUserCode]
- public DataColumn EndDate_SaleBillColumn => columnEndDate_SaleBill;
- [DebuggerNonUserCode]
- public DataColumn StartNo_SaleBillColumn => columnStartNo_SaleBill;
- [DebuggerNonUserCode]
- public DataColumn EndNo_SaleBillColumn => columnEndNo_SaleBill;
- [DebuggerNonUserCode]
- public DataColumn StartNo_CustomerColumn => columnStartNo_Customer;
- [DebuggerNonUserCode]
- public DataColumn EndNo_CustomerColumn => columnEndNo_Customer;
- [DebuggerNonUserCode]
- public DataColumn StartPrincipal_SaleBillColumn => columnStartPrincipal_SaleBill;
- [DebuggerNonUserCode]
- public DataColumn EndPrincipal_SaleBillColumn => columnEndPrincipal_SaleBill;
- [DebuggerNonUserCode]
- public DataColumn StartName_LocationColumn => columnStartName_Location;
- [DebuggerNonUserCode]
- public DataColumn EndName_LocationColumn => columnEndName_Location;
- [DebuggerNonUserCode]
- public DataColumn Name_CreatorColumn => columnName_Creator;
- [DebuggerNonUserCode]
- public DataColumn CreateDateColumn => columnCreateDate;
- [DebuggerNonUserCode]
- [Browsable(false)]
- public int Count => base.Rows.Count;
- [DebuggerNonUserCode]
- public UIRow this[int index] => (UIRow)base.Rows[index];
- public event UIRowChangeEventHandler UIRowChanging;
- public event UIRowChangeEventHandler UIRowChanged;
- public event UIRowChangeEventHandler UIRowDeleting;
- public event UIRowChangeEventHandler UIRowDeleted;
- [DebuggerNonUserCode]
- public UIDataTable()
- {
- base.TableName = "UI";
- BeginInit();
- InitClass();
- EndInit();
- }
- [DebuggerNonUserCode]
- internal UIDataTable(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 UIDataTable(SerializationInfo info, StreamingContext context)
- : base(info, context)
- {
- InitVars();
- }
- [DebuggerNonUserCode]
- public void AddUIRow(UIRow row)
- {
- base.Rows.Add(row);
- }
- [DebuggerNonUserCode]
- public UIRow AddUIRow(DateTime StartDate_SaleBill, DateTime EndDate_SaleBill, string StartNo_SaleBill, string EndNo_SaleBill, string StartNo_Customer, string EndNo_Customer, string StartPrincipal_SaleBill, string EndPrincipal_SaleBill, string StartName_Location, string EndName_Location, string Name_Creator, DateTime CreateDate)
- {
- UIRow uIRow = (UIRow)NewRow();
- uIRow.ItemArray = new object[12]
- {
- StartDate_SaleBill,
- EndDate_SaleBill,
- StartNo_SaleBill,
- EndNo_SaleBill,
- StartNo_Customer,
- EndNo_Customer,
- StartPrincipal_SaleBill,
- EndPrincipal_SaleBill,
- StartName_Location,
- EndName_Location,
- Name_Creator,
- CreateDate
- };
- base.Rows.Add(uIRow);
- return uIRow;
- }
- [DebuggerNonUserCode]
- public virtual IEnumerator GetEnumerator()
- {
- return base.Rows.GetEnumerator();
- }
- [DebuggerNonUserCode]
- public override DataTable Clone()
- {
- UIDataTable uIDataTable = (UIDataTable)base.Clone();
- uIDataTable.InitVars();
- return uIDataTable;
- }
- [DebuggerNonUserCode]
- protected override DataTable CreateInstance()
- {
- return new UIDataTable();
- }
- [DebuggerNonUserCode]
- internal void InitVars()
- {
- columnStartDate_SaleBill = base.Columns["StartDate_SaleBill"];
- columnEndDate_SaleBill = base.Columns["EndDate_SaleBill"];
- columnStartNo_SaleBill = base.Columns["StartNo_SaleBill"];
- columnEndNo_SaleBill = base.Columns["EndNo_SaleBill"];
- columnStartNo_Customer = base.Columns["StartNo_Customer"];
- columnEndNo_Customer = base.Columns["EndNo_Customer"];
- columnStartPrincipal_SaleBill = base.Columns["StartPrincipal_SaleBill"];
- columnEndPrincipal_SaleBill = base.Columns["EndPrincipal_SaleBill"];
- columnStartName_Location = base.Columns["StartName_Location"];
- columnEndName_Location = base.Columns["EndName_Location"];
- columnName_Creator = base.Columns["Name_Creator"];
- columnCreateDate = base.Columns["CreateDate"];
- }
- [DebuggerNonUserCode]
- private void InitClass()
- {
- columnStartDate_SaleBill = new DataColumn("StartDate_SaleBill", typeof(DateTime), null, MappingType.Element);
- base.Columns.Add(columnStartDate_SaleBill);
- columnEndDate_SaleBill = new DataColumn("EndDate_SaleBill", typeof(DateTime), null, MappingType.Element);
- base.Columns.Add(columnEndDate_SaleBill);
- columnStartNo_SaleBill = new DataColumn("StartNo_SaleBill", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnStartNo_SaleBill);
- columnEndNo_SaleBill = new DataColumn("EndNo_SaleBill", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnEndNo_SaleBill);
- columnStartNo_Customer = new DataColumn("StartNo_Customer", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnStartNo_Customer);
- columnEndNo_Customer = new DataColumn("EndNo_Customer", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnEndNo_Customer);
- columnStartPrincipal_SaleBill = new DataColumn("StartPrincipal_SaleBill", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnStartPrincipal_SaleBill);
- columnEndPrincipal_SaleBill = new DataColumn("EndPrincipal_SaleBill", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnEndPrincipal_SaleBill);
- columnStartName_Location = new DataColumn("StartName_Location", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnStartName_Location);
- columnEndName_Location = new DataColumn("EndName_Location", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnEndName_Location);
- columnName_Creator = new DataColumn("Name_Creator", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnName_Creator);
- columnCreateDate = new DataColumn("CreateDate", typeof(DateTime), null, MappingType.Element);
- base.Columns.Add(columnCreateDate);
- }
- [DebuggerNonUserCode]
- public UIRow NewUIRow()
- {
- return (UIRow)NewRow();
- }
- [DebuggerNonUserCode]
- protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
- {
- return new UIRow(builder);
- }
- [DebuggerNonUserCode]
- protected override Type GetRowType()
- {
- return typeof(UIRow);
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanged(DataRowChangeEventArgs e)
- {
- base.OnRowChanged(e);
- if (this.UIRowChanged != null)
- {
- this.UIRowChanged(this, new UIRowChangeEvent((UIRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanging(DataRowChangeEventArgs e)
- {
- base.OnRowChanging(e);
- if (this.UIRowChanging != null)
- {
- this.UIRowChanging(this, new UIRowChangeEvent((UIRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleted(DataRowChangeEventArgs e)
- {
- base.OnRowDeleted(e);
- if (this.UIRowDeleted != null)
- {
- this.UIRowDeleted(this, new UIRowChangeEvent((UIRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleting(DataRowChangeEventArgs e)
- {
- base.OnRowDeleting(e);
- if (this.UIRowDeleting != null)
- {
- this.UIRowDeleting(this, new UIRowChangeEvent((UIRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- public void RemoveUIRow(UIRow row)
- {
- base.Rows.Remove(row);
- }
- [DebuggerNonUserCode]
- public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
- {
- XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
- XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
- dsUIFrmSalesDailyByPrincipal dsUIFrmSalesDailyByPrincipal = new dsUIFrmSalesDailyByPrincipal();
- xs.Add(dsUIFrmSalesDailyByPrincipal.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 = dsUIFrmSalesDailyByPrincipal.Namespace;
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
- XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
- xmlSchemaAttribute2.Name = "tableTypeName";
- xmlSchemaAttribute2.FixedValue = "UIDataTable";
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
- xmlSchemaComplexType.Particle = xmlSchemaSequence;
- return xmlSchemaComplexType;
- }
- }
- [Serializable]
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- [XmlSchemaProvider("GetTypedTableSchema")]
- public class FrmSalesDailyByPrincipalDataTable : DataTable, IEnumerable
- {
- private DataColumn columnPrincipal_SaleBill;
- private DataColumn columnType;
- private DataColumn columnNo_SaleBill;
- private DataColumn columnShortName_Customer;
- private DataColumn columnName_Location;
- private DataColumn columnCurrency_SaleBill;
- private DataColumn columnGoodsAmount_SaleBill;
- private DataColumn columnAmount_SaleBill;
- private DataColumn columnTaxAmount_SaleBill;
- private DataColumn columnTaxCurrency_SaleBill;
- private DataColumn columnDate_SaleBill;
- [DebuggerNonUserCode]
- public DataColumn Principal_SaleBillColumn => columnPrincipal_SaleBill;
- [DebuggerNonUserCode]
- public DataColumn TypeColumn => columnType;
- [DebuggerNonUserCode]
- public DataColumn No_SaleBillColumn => columnNo_SaleBill;
- [DebuggerNonUserCode]
- public DataColumn ShortName_CustomerColumn => columnShortName_Customer;
- [DebuggerNonUserCode]
- public DataColumn Name_LocationColumn => columnName_Location;
- [DebuggerNonUserCode]
- public DataColumn Currency_SaleBillColumn => columnCurrency_SaleBill;
- [DebuggerNonUserCode]
- public DataColumn GoodsAmount_SaleBillColumn => columnGoodsAmount_SaleBill;
- [DebuggerNonUserCode]
- public DataColumn Amount_SaleBillColumn => columnAmount_SaleBill;
- [DebuggerNonUserCode]
- public DataColumn TaxAmount_SaleBillColumn => columnTaxAmount_SaleBill;
- [DebuggerNonUserCode]
- public DataColumn TaxCurrency_SaleBillColumn => columnTaxCurrency_SaleBill;
- [DebuggerNonUserCode]
- public DataColumn Date_SaleBillColumn => columnDate_SaleBill;
- [Browsable(false)]
- [DebuggerNonUserCode]
- public int Count => base.Rows.Count;
- [DebuggerNonUserCode]
- public FrmSalesDailyByPrincipalRow this[int index] => (FrmSalesDailyByPrincipalRow)base.Rows[index];
- public event FrmSalesDailyByPrincipalRowChangeEventHandler FrmSalesDailyByPrincipalRowChanging;
- public event FrmSalesDailyByPrincipalRowChangeEventHandler FrmSalesDailyByPrincipalRowChanged;
- public event FrmSalesDailyByPrincipalRowChangeEventHandler FrmSalesDailyByPrincipalRowDeleting;
- public event FrmSalesDailyByPrincipalRowChangeEventHandler FrmSalesDailyByPrincipalRowDeleted;
- [DebuggerNonUserCode]
- public FrmSalesDailyByPrincipalDataTable()
- {
- base.TableName = "FrmSalesDailyByPrincipal";
- BeginInit();
- InitClass();
- EndInit();
- }
- [DebuggerNonUserCode]
- internal FrmSalesDailyByPrincipalDataTable(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 FrmSalesDailyByPrincipalDataTable(SerializationInfo info, StreamingContext context)
- : base(info, context)
- {
- InitVars();
- }
- [DebuggerNonUserCode]
- public void AddFrmSalesDailyByPrincipalRow(FrmSalesDailyByPrincipalRow row)
- {
- base.Rows.Add(row);
- }
- [DebuggerNonUserCode]
- public FrmSalesDailyByPrincipalRow AddFrmSalesDailyByPrincipalRow(string Principal_SaleBill, string Type, string No_SaleBill, string ShortName_Customer, string Name_Location, string Currency_SaleBill, decimal GoodsAmount_SaleBill, decimal Amount_SaleBill, decimal TaxAmount_SaleBill, string TaxCurrency_SaleBill, DateTime Date_SaleBill)
- {
- FrmSalesDailyByPrincipalRow frmSalesDailyByPrincipalRow = (FrmSalesDailyByPrincipalRow)NewRow();
- frmSalesDailyByPrincipalRow.ItemArray = new object[11]
- {
- Principal_SaleBill,
- Type,
- No_SaleBill,
- ShortName_Customer,
- Name_Location,
- Currency_SaleBill,
- GoodsAmount_SaleBill,
- Amount_SaleBill,
- TaxAmount_SaleBill,
- TaxCurrency_SaleBill,
- Date_SaleBill
- };
- base.Rows.Add(frmSalesDailyByPrincipalRow);
- return frmSalesDailyByPrincipalRow;
- }
- [DebuggerNonUserCode]
- public virtual IEnumerator GetEnumerator()
- {
- return base.Rows.GetEnumerator();
- }
- [DebuggerNonUserCode]
- public override DataTable Clone()
- {
- FrmSalesDailyByPrincipalDataTable frmSalesDailyByPrincipalDataTable = (FrmSalesDailyByPrincipalDataTable)base.Clone();
- frmSalesDailyByPrincipalDataTable.InitVars();
- return frmSalesDailyByPrincipalDataTable;
- }
- [DebuggerNonUserCode]
- protected override DataTable CreateInstance()
- {
- return new FrmSalesDailyByPrincipalDataTable();
- }
- [DebuggerNonUserCode]
- internal void InitVars()
- {
- columnPrincipal_SaleBill = base.Columns["Principal_SaleBill"];
- columnType = base.Columns["Type"];
- columnNo_SaleBill = base.Columns["No_SaleBill"];
- columnShortName_Customer = base.Columns["ShortName_Customer"];
- columnName_Location = base.Columns["Name_Location"];
- columnCurrency_SaleBill = base.Columns["Currency_SaleBill"];
- columnGoodsAmount_SaleBill = base.Columns["GoodsAmount_SaleBill"];
- columnAmount_SaleBill = base.Columns["Amount_SaleBill"];
- columnTaxAmount_SaleBill = base.Columns["TaxAmount_SaleBill"];
- columnTaxCurrency_SaleBill = base.Columns["TaxCurrency_SaleBill"];
- columnDate_SaleBill = base.Columns["Date_SaleBill"];
- }
- [DebuggerNonUserCode]
- private void InitClass()
- {
- columnPrincipal_SaleBill = new DataColumn("Principal_SaleBill", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnPrincipal_SaleBill);
- columnType = new DataColumn("Type", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnType);
- columnNo_SaleBill = new DataColumn("No_SaleBill", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnNo_SaleBill);
- columnShortName_Customer = new DataColumn("ShortName_Customer", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnShortName_Customer);
- columnName_Location = new DataColumn("Name_Location", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnName_Location);
- columnCurrency_SaleBill = new DataColumn("Currency_SaleBill", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnCurrency_SaleBill);
- columnGoodsAmount_SaleBill = new DataColumn("GoodsAmount_SaleBill", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnGoodsAmount_SaleBill);
- columnAmount_SaleBill = new DataColumn("Amount_SaleBill", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnAmount_SaleBill);
- columnTaxAmount_SaleBill = new DataColumn("TaxAmount_SaleBill", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnTaxAmount_SaleBill);
- columnTaxCurrency_SaleBill = new DataColumn("TaxCurrency_SaleBill", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnTaxCurrency_SaleBill);
- columnDate_SaleBill = new DataColumn("Date_SaleBill", typeof(DateTime), null, MappingType.Element);
- base.Columns.Add(columnDate_SaleBill);
- }
- [DebuggerNonUserCode]
- public FrmSalesDailyByPrincipalRow NewFrmSalesDailyByPrincipalRow()
- {
- return (FrmSalesDailyByPrincipalRow)NewRow();
- }
- [DebuggerNonUserCode]
- protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
- {
- return new FrmSalesDailyByPrincipalRow(builder);
- }
- [DebuggerNonUserCode]
- protected override Type GetRowType()
- {
- return typeof(FrmSalesDailyByPrincipalRow);
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanged(DataRowChangeEventArgs e)
- {
- base.OnRowChanged(e);
- if (this.FrmSalesDailyByPrincipalRowChanged != null)
- {
- this.FrmSalesDailyByPrincipalRowChanged(this, new FrmSalesDailyByPrincipalRowChangeEvent((FrmSalesDailyByPrincipalRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanging(DataRowChangeEventArgs e)
- {
- base.OnRowChanging(e);
- if (this.FrmSalesDailyByPrincipalRowChanging != null)
- {
- this.FrmSalesDailyByPrincipalRowChanging(this, new FrmSalesDailyByPrincipalRowChangeEvent((FrmSalesDailyByPrincipalRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleted(DataRowChangeEventArgs e)
- {
- base.OnRowDeleted(e);
- if (this.FrmSalesDailyByPrincipalRowDeleted != null)
- {
- this.FrmSalesDailyByPrincipalRowDeleted(this, new FrmSalesDailyByPrincipalRowChangeEvent((FrmSalesDailyByPrincipalRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleting(DataRowChangeEventArgs e)
- {
- base.OnRowDeleting(e);
- if (this.FrmSalesDailyByPrincipalRowDeleting != null)
- {
- this.FrmSalesDailyByPrincipalRowDeleting(this, new FrmSalesDailyByPrincipalRowChangeEvent((FrmSalesDailyByPrincipalRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- public void RemoveFrmSalesDailyByPrincipalRow(FrmSalesDailyByPrincipalRow row)
- {
- base.Rows.Remove(row);
- }
- [DebuggerNonUserCode]
- public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
- {
- XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
- XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
- dsUIFrmSalesDailyByPrincipal dsUIFrmSalesDailyByPrincipal = new dsUIFrmSalesDailyByPrincipal();
- xs.Add(dsUIFrmSalesDailyByPrincipal.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 = dsUIFrmSalesDailyByPrincipal.Namespace;
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
- XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
- xmlSchemaAttribute2.Name = "tableTypeName";
- xmlSchemaAttribute2.FixedValue = "FrmSalesDailyByPrincipalDataTable";
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
- xmlSchemaComplexType.Particle = xmlSchemaSequence;
- return xmlSchemaComplexType;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class UIRow : DataRow
- {
- private UIDataTable tableUI;
- [DebuggerNonUserCode]
- public DateTime StartDate_SaleBill
- {
- get
- {
- try
- {
- return (DateTime)base[tableUI.StartDate_SaleBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'StartDate_SaleBill' in table 'UI' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableUI.StartDate_SaleBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public DateTime EndDate_SaleBill
- {
- get
- {
- try
- {
- return (DateTime)base[tableUI.EndDate_SaleBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'EndDate_SaleBill' in table 'UI' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableUI.EndDate_SaleBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string StartNo_SaleBill
- {
- get
- {
- try
- {
- return (string)base[tableUI.StartNo_SaleBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'StartNo_SaleBill' in table 'UI' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableUI.StartNo_SaleBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string EndNo_SaleBill
- {
- get
- {
- try
- {
- return (string)base[tableUI.EndNo_SaleBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'EndNo_SaleBill' in table 'UI' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableUI.EndNo_SaleBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string StartNo_Customer
- {
- get
- {
- try
- {
- return (string)base[tableUI.StartNo_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'StartNo_Customer' in table 'UI' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableUI.StartNo_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string EndNo_Customer
- {
- get
- {
- try
- {
- return (string)base[tableUI.EndNo_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'EndNo_Customer' in table 'UI' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableUI.EndNo_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string StartPrincipal_SaleBill
- {
- get
- {
- try
- {
- return (string)base[tableUI.StartPrincipal_SaleBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'StartPrincipal_SaleBill' in table 'UI' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableUI.StartPrincipal_SaleBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string EndPrincipal_SaleBill
- {
- get
- {
- try
- {
- return (string)base[tableUI.EndPrincipal_SaleBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'EndPrincipal_SaleBill' in table 'UI' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableUI.EndPrincipal_SaleBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string StartName_Location
- {
- get
- {
- try
- {
- return (string)base[tableUI.StartName_LocationColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'StartName_Location' in table 'UI' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableUI.StartName_LocationColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string EndName_Location
- {
- get
- {
- try
- {
- return (string)base[tableUI.EndName_LocationColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'EndName_Location' in table 'UI' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableUI.EndName_LocationColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Name_Creator
- {
- get
- {
- try
- {
- return (string)base[tableUI.Name_CreatorColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Name_Creator' in table 'UI' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableUI.Name_CreatorColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public DateTime CreateDate
- {
- get
- {
- try
- {
- return (DateTime)base[tableUI.CreateDateColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'CreateDate' in table 'UI' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableUI.CreateDateColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- internal UIRow(DataRowBuilder rb)
- : base(rb)
- {
- tableUI = (UIDataTable)base.Table;
- }
- [DebuggerNonUserCode]
- public bool IsStartDate_SaleBillNull()
- {
- return IsNull(tableUI.StartDate_SaleBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetStartDate_SaleBillNull()
- {
- base[tableUI.StartDate_SaleBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsEndDate_SaleBillNull()
- {
- return IsNull(tableUI.EndDate_SaleBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetEndDate_SaleBillNull()
- {
- base[tableUI.EndDate_SaleBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsStartNo_SaleBillNull()
- {
- return IsNull(tableUI.StartNo_SaleBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetStartNo_SaleBillNull()
- {
- base[tableUI.StartNo_SaleBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsEndNo_SaleBillNull()
- {
- return IsNull(tableUI.EndNo_SaleBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetEndNo_SaleBillNull()
- {
- base[tableUI.EndNo_SaleBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsStartNo_CustomerNull()
- {
- return IsNull(tableUI.StartNo_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetStartNo_CustomerNull()
- {
- base[tableUI.StartNo_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsEndNo_CustomerNull()
- {
- return IsNull(tableUI.EndNo_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetEndNo_CustomerNull()
- {
- base[tableUI.EndNo_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsStartPrincipal_SaleBillNull()
- {
- return IsNull(tableUI.StartPrincipal_SaleBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetStartPrincipal_SaleBillNull()
- {
- base[tableUI.StartPrincipal_SaleBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsEndPrincipal_SaleBillNull()
- {
- return IsNull(tableUI.EndPrincipal_SaleBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetEndPrincipal_SaleBillNull()
- {
- base[tableUI.EndPrincipal_SaleBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsStartName_LocationNull()
- {
- return IsNull(tableUI.StartName_LocationColumn);
- }
- [DebuggerNonUserCode]
- public void SetStartName_LocationNull()
- {
- base[tableUI.StartName_LocationColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsEndName_LocationNull()
- {
- return IsNull(tableUI.EndName_LocationColumn);
- }
- [DebuggerNonUserCode]
- public void SetEndName_LocationNull()
- {
- base[tableUI.EndName_LocationColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsName_CreatorNull()
- {
- return IsNull(tableUI.Name_CreatorColumn);
- }
- [DebuggerNonUserCode]
- public void SetName_CreatorNull()
- {
- base[tableUI.Name_CreatorColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsCreateDateNull()
- {
- return IsNull(tableUI.CreateDateColumn);
- }
- [DebuggerNonUserCode]
- public void SetCreateDateNull()
- {
- base[tableUI.CreateDateColumn] = Convert.DBNull;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class FrmSalesDailyByPrincipalRow : DataRow
- {
- private FrmSalesDailyByPrincipalDataTable tableFrmSalesDailyByPrincipal;
- [DebuggerNonUserCode]
- public string Principal_SaleBill
- {
- get
- {
- try
- {
- return (string)base[tableFrmSalesDailyByPrincipal.Principal_SaleBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Principal_SaleBill' in table 'FrmSalesDailyByPrincipal' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableFrmSalesDailyByPrincipal.Principal_SaleBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Type
- {
- get
- {
- try
- {
- return (string)base[tableFrmSalesDailyByPrincipal.TypeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Type' in table 'FrmSalesDailyByPrincipal' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableFrmSalesDailyByPrincipal.TypeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string No_SaleBill
- {
- get
- {
- try
- {
- return (string)base[tableFrmSalesDailyByPrincipal.No_SaleBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'No_SaleBill' in table 'FrmSalesDailyByPrincipal' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableFrmSalesDailyByPrincipal.No_SaleBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string ShortName_Customer
- {
- get
- {
- try
- {
- return (string)base[tableFrmSalesDailyByPrincipal.ShortName_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'ShortName_Customer' in table 'FrmSalesDailyByPrincipal' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableFrmSalesDailyByPrincipal.ShortName_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Name_Location
- {
- get
- {
- try
- {
- return (string)base[tableFrmSalesDailyByPrincipal.Name_LocationColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Name_Location' in table 'FrmSalesDailyByPrincipal' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableFrmSalesDailyByPrincipal.Name_LocationColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Currency_SaleBill
- {
- get
- {
- try
- {
- return (string)base[tableFrmSalesDailyByPrincipal.Currency_SaleBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Currency_SaleBill' in table 'FrmSalesDailyByPrincipal' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableFrmSalesDailyByPrincipal.Currency_SaleBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal GoodsAmount_SaleBill
- {
- get
- {
- try
- {
- return (decimal)base[tableFrmSalesDailyByPrincipal.GoodsAmount_SaleBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'GoodsAmount_SaleBill' in table 'FrmSalesDailyByPrincipal' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableFrmSalesDailyByPrincipal.GoodsAmount_SaleBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal Amount_SaleBill
- {
- get
- {
- try
- {
- return (decimal)base[tableFrmSalesDailyByPrincipal.Amount_SaleBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Amount_SaleBill' in table 'FrmSalesDailyByPrincipal' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableFrmSalesDailyByPrincipal.Amount_SaleBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal TaxAmount_SaleBill
- {
- get
- {
- try
- {
- return (decimal)base[tableFrmSalesDailyByPrincipal.TaxAmount_SaleBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'TaxAmount_SaleBill' in table 'FrmSalesDailyByPrincipal' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableFrmSalesDailyByPrincipal.TaxAmount_SaleBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string TaxCurrency_SaleBill
- {
- get
- {
- try
- {
- return (string)base[tableFrmSalesDailyByPrincipal.TaxCurrency_SaleBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'TaxCurrency_SaleBill' in table 'FrmSalesDailyByPrincipal' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableFrmSalesDailyByPrincipal.TaxCurrency_SaleBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public DateTime Date_SaleBill
- {
- get
- {
- try
- {
- return (DateTime)base[tableFrmSalesDailyByPrincipal.Date_SaleBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Date_SaleBill' in table 'FrmSalesDailyByPrincipal' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableFrmSalesDailyByPrincipal.Date_SaleBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- internal FrmSalesDailyByPrincipalRow(DataRowBuilder rb)
- : base(rb)
- {
- tableFrmSalesDailyByPrincipal = (FrmSalesDailyByPrincipalDataTable)base.Table;
- }
- [DebuggerNonUserCode]
- public bool IsPrincipal_SaleBillNull()
- {
- return IsNull(tableFrmSalesDailyByPrincipal.Principal_SaleBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetPrincipal_SaleBillNull()
- {
- base[tableFrmSalesDailyByPrincipal.Principal_SaleBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsTypeNull()
- {
- return IsNull(tableFrmSalesDailyByPrincipal.TypeColumn);
- }
- [DebuggerNonUserCode]
- public void SetTypeNull()
- {
- base[tableFrmSalesDailyByPrincipal.TypeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsNo_SaleBillNull()
- {
- return IsNull(tableFrmSalesDailyByPrincipal.No_SaleBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetNo_SaleBillNull()
- {
- base[tableFrmSalesDailyByPrincipal.No_SaleBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsShortName_CustomerNull()
- {
- return IsNull(tableFrmSalesDailyByPrincipal.ShortName_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetShortName_CustomerNull()
- {
- base[tableFrmSalesDailyByPrincipal.ShortName_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsName_LocationNull()
- {
- return IsNull(tableFrmSalesDailyByPrincipal.Name_LocationColumn);
- }
- [DebuggerNonUserCode]
- public void SetName_LocationNull()
- {
- base[tableFrmSalesDailyByPrincipal.Name_LocationColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsCurrency_SaleBillNull()
- {
- return IsNull(tableFrmSalesDailyByPrincipal.Currency_SaleBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetCurrency_SaleBillNull()
- {
- base[tableFrmSalesDailyByPrincipal.Currency_SaleBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsGoodsAmount_SaleBillNull()
- {
- return IsNull(tableFrmSalesDailyByPrincipal.GoodsAmount_SaleBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetGoodsAmount_SaleBillNull()
- {
- base[tableFrmSalesDailyByPrincipal.GoodsAmount_SaleBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsAmount_SaleBillNull()
- {
- return IsNull(tableFrmSalesDailyByPrincipal.Amount_SaleBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetAmount_SaleBillNull()
- {
- base[tableFrmSalesDailyByPrincipal.Amount_SaleBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsTaxAmount_SaleBillNull()
- {
- return IsNull(tableFrmSalesDailyByPrincipal.TaxAmount_SaleBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetTaxAmount_SaleBillNull()
- {
- base[tableFrmSalesDailyByPrincipal.TaxAmount_SaleBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsTaxCurrency_SaleBillNull()
- {
- return IsNull(tableFrmSalesDailyByPrincipal.TaxCurrency_SaleBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetTaxCurrency_SaleBillNull()
- {
- base[tableFrmSalesDailyByPrincipal.TaxCurrency_SaleBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsDate_SaleBillNull()
- {
- return IsNull(tableFrmSalesDailyByPrincipal.Date_SaleBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetDate_SaleBillNull()
- {
- base[tableFrmSalesDailyByPrincipal.Date_SaleBillColumn] = Convert.DBNull;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class UIRowChangeEvent : EventArgs
- {
- private UIRow eventRow;
- private DataRowAction eventAction;
- [DebuggerNonUserCode]
- public UIRow Row => eventRow;
- [DebuggerNonUserCode]
- public DataRowAction Action => eventAction;
- [DebuggerNonUserCode]
- public UIRowChangeEvent(UIRow row, DataRowAction action)
- {
- eventRow = row;
- eventAction = action;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class FrmSalesDailyByPrincipalRowChangeEvent : EventArgs
- {
- private FrmSalesDailyByPrincipalRow eventRow;
- private DataRowAction eventAction;
- [DebuggerNonUserCode]
- public FrmSalesDailyByPrincipalRow Row => eventRow;
- [DebuggerNonUserCode]
- public DataRowAction Action => eventAction;
- [DebuggerNonUserCode]
- public FrmSalesDailyByPrincipalRowChangeEvent(FrmSalesDailyByPrincipalRow row, DataRowAction action)
- {
- eventRow = row;
- eventAction = action;
- }
- }
- private UIDataTable tableUI;
- private FrmSalesDailyByPrincipalDataTable tableFrmSalesDailyByPrincipal;
- private SchemaSerializationMode _schemaSerializationMode = SchemaSerializationMode.IncludeSchema;
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
- [DebuggerNonUserCode]
- [Browsable(false)]
- public UIDataTable UI => tableUI;
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
- [DebuggerNonUserCode]
- [Browsable(false)]
- public FrmSalesDailyByPrincipalDataTable FrmSalesDailyByPrincipal => tableFrmSalesDailyByPrincipal;
- [DebuggerNonUserCode]
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
- [Browsable(true)]
- 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 dsUIFrmSalesDailyByPrincipal()
- {
- BeginInit();
- InitClass();
- CollectionChangeEventHandler value = SchemaChanged;
- base.Tables.CollectionChanged += value;
- base.Relations.CollectionChanged += value;
- EndInit();
- }
- [DebuggerNonUserCode]
- protected dsUIFrmSalesDailyByPrincipal(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["UI"] != null)
- {
- base.Tables.Add(new UIDataTable(dataSet.Tables["UI"]));
- }
- if (dataSet.Tables["FrmSalesDailyByPrincipal"] != null)
- {
- base.Tables.Add(new FrmSalesDailyByPrincipalDataTable(dataSet.Tables["FrmSalesDailyByPrincipal"]));
- }
- 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()
- {
- dsUIFrmSalesDailyByPrincipal dsUIFrmSalesDailyByPrincipal = (dsUIFrmSalesDailyByPrincipal)base.Clone();
- dsUIFrmSalesDailyByPrincipal.InitVars();
- dsUIFrmSalesDailyByPrincipal.SchemaSerializationMode = SchemaSerializationMode;
- return dsUIFrmSalesDailyByPrincipal;
- }
- [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["UI"] != null)
- {
- base.Tables.Add(new UIDataTable(dataSet.Tables["UI"]));
- }
- if (dataSet.Tables["FrmSalesDailyByPrincipal"] != null)
- {
- base.Tables.Add(new FrmSalesDailyByPrincipalDataTable(dataSet.Tables["FrmSalesDailyByPrincipal"]));
- }
- 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)
- {
- tableUI = (UIDataTable)base.Tables["UI"];
- if (initTable && tableUI != null)
- {
- tableUI.InitVars();
- }
- tableFrmSalesDailyByPrincipal = (FrmSalesDailyByPrincipalDataTable)base.Tables["FrmSalesDailyByPrincipal"];
- if (initTable && tableFrmSalesDailyByPrincipal != null)
- {
- tableFrmSalesDailyByPrincipal.InitVars();
- }
- }
- [DebuggerNonUserCode]
- private void InitClass()
- {
- base.DataSetName = "dsUIFrmSalesDailyByPrincipal";
- base.Prefix = "";
- base.Namespace = "http://tempuri.org/dsUIFrmSalesDailyByPrincipal.xsd";
- base.EnforceConstraints = true;
- SchemaSerializationMode = SchemaSerializationMode.IncludeSchema;
- tableUI = new UIDataTable();
- base.Tables.Add(tableUI);
- tableFrmSalesDailyByPrincipal = new FrmSalesDailyByPrincipalDataTable();
- base.Tables.Add(tableFrmSalesDailyByPrincipal);
- }
- [DebuggerNonUserCode]
- private bool ShouldSerializeUI()
- {
- return false;
- }
- [DebuggerNonUserCode]
- private bool ShouldSerializeFrmSalesDailyByPrincipal()
- {
- return false;
- }
- [DebuggerNonUserCode]
- private void SchemaChanged(object sender, CollectionChangeEventArgs e)
- {
- if (e.Action == CollectionChangeAction.Remove)
- {
- InitVars();
- }
- }
- [DebuggerNonUserCode]
- public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs)
- {
- dsUIFrmSalesDailyByPrincipal dsUIFrmSalesDailyByPrincipal = new dsUIFrmSalesDailyByPrincipal();
- XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
- XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
- xs.Add(dsUIFrmSalesDailyByPrincipal.GetSchemaSerializable());
- XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
- xmlSchemaAny.Namespace = dsUIFrmSalesDailyByPrincipal.Namespace;
- xmlSchemaSequence.Items.Add(xmlSchemaAny);
- xmlSchemaComplexType.Particle = xmlSchemaSequence;
- return xmlSchemaComplexType;
- }
- }
- }
|