3321 lines
		
	
	
		
			176 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			3321 lines
		
	
	
		
			176 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
| //------------------------------------------------------------------------------
 | |
| // <auto-generated>
 | |
| //     이 코드는 도구를 사용하여 생성되었습니다.
 | |
| //     런타임 버전:4.0.30319.42000
 | |
| //
 | |
| //     파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면
 | |
| //     이러한 변경 내용이 손실됩니다.
 | |
| // </auto-generated>
 | |
| //------------------------------------------------------------------------------
 | |
| 
 | |
| #pragma warning disable 1591
 | |
| 
 | |
| namespace FCM0000 {
 | |
|     
 | |
|     
 | |
|     /// <summary>
 | |
|     ///Represents a strongly typed in-memory cache of data.
 | |
|     ///</summary>
 | |
|     [global::System.Serializable()]
 | |
|     [global::System.ComponentModel.DesignerCategoryAttribute("code")]
 | |
|     [global::System.ComponentModel.ToolboxItem(true)]
 | |
|     [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
 | |
|     [global::System.Xml.Serialization.XmlRootAttribute("DSReport")]
 | |
|     [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
 | |
|     public partial class DSReport : global::System.Data.DataSet {
 | |
|         
 | |
|         private PersonInvStockDataTable tablePersonInvStock;
 | |
|         
 | |
|         private jagosummaryDataTable tablejagosummary;
 | |
|         
 | |
|         private jagosummaryPlaceDataTable tablejagosummaryPlace;
 | |
|         
 | |
|         private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         public DSReport() {
 | |
|             this.BeginInit();
 | |
|             this.InitClass();
 | |
|             global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
 | |
|             base.Tables.CollectionChanged += schemaChangedHandler;
 | |
|             base.Relations.CollectionChanged += schemaChangedHandler;
 | |
|             this.EndInit();
 | |
|             this.InitExpressions();
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         protected DSReport(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
 | |
|                 base(info, context, false) {
 | |
|             if ((this.IsBinarySerialized(info, context) == true)) {
 | |
|                 this.InitVars(false);
 | |
|                 global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
 | |
|                 this.Tables.CollectionChanged += schemaChangedHandler1;
 | |
|                 this.Relations.CollectionChanged += schemaChangedHandler1;
 | |
|                 if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.ExcludeSchema)) {
 | |
|                     this.InitExpressions();
 | |
|                 }
 | |
|                 return;
 | |
|             }
 | |
|             string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
 | |
|             if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
 | |
|                 global::System.Data.DataSet ds = new global::System.Data.DataSet();
 | |
|                 ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
 | |
|                 if ((ds.Tables["PersonInvStock"] != null)) {
 | |
|                     base.Tables.Add(new PersonInvStockDataTable(ds.Tables["PersonInvStock"]));
 | |
|                 }
 | |
|                 if ((ds.Tables["jagosummary"] != null)) {
 | |
|                     base.Tables.Add(new jagosummaryDataTable(ds.Tables["jagosummary"]));
 | |
|                 }
 | |
|                 if ((ds.Tables["jagosummaryPlace"] != null)) {
 | |
|                     base.Tables.Add(new jagosummaryPlaceDataTable(ds.Tables["jagosummaryPlace"]));
 | |
|                 }
 | |
|                 this.DataSetName = ds.DataSetName;
 | |
|                 this.Prefix = ds.Prefix;
 | |
|                 this.Namespace = ds.Namespace;
 | |
|                 this.Locale = ds.Locale;
 | |
|                 this.CaseSensitive = ds.CaseSensitive;
 | |
|                 this.EnforceConstraints = ds.EnforceConstraints;
 | |
|                 this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
 | |
|                 this.InitVars();
 | |
|             }
 | |
|             else {
 | |
|                 this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
 | |
|                 this.InitExpressions();
 | |
|             }
 | |
|             this.GetSerializationData(info, context);
 | |
|             global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
 | |
|             base.Tables.CollectionChanged += schemaChangedHandler;
 | |
|             this.Relations.CollectionChanged += schemaChangedHandler;
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         [global::System.ComponentModel.Browsable(false)]
 | |
|         [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
 | |
|         public PersonInvStockDataTable PersonInvStock {
 | |
|             get {
 | |
|                 return this.tablePersonInvStock;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         [global::System.ComponentModel.Browsable(false)]
 | |
|         [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
 | |
|         public jagosummaryDataTable jagosummary {
 | |
|             get {
 | |
|                 return this.tablejagosummary;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         [global::System.ComponentModel.Browsable(false)]
 | |
|         [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
 | |
|         public jagosummaryPlaceDataTable jagosummaryPlace {
 | |
|             get {
 | |
|                 return this.tablejagosummaryPlace;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         [global::System.ComponentModel.BrowsableAttribute(true)]
 | |
|         [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
 | |
|         public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
 | |
|             get {
 | |
|                 return this._schemaSerializationMode;
 | |
|             }
 | |
|             set {
 | |
|                 this._schemaSerializationMode = value;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
 | |
|         public new global::System.Data.DataTableCollection Tables {
 | |
|             get {
 | |
|                 return base.Tables;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
 | |
|         public new global::System.Data.DataRelationCollection Relations {
 | |
|             get {
 | |
|                 return base.Relations;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         protected override void InitializeDerivedDataSet() {
 | |
|             this.BeginInit();
 | |
|             this.InitClass();
 | |
|             this.EndInit();
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         public override global::System.Data.DataSet Clone() {
 | |
|             DSReport cln = ((DSReport)(base.Clone()));
 | |
|             cln.InitVars();
 | |
|             cln.InitExpressions();
 | |
|             cln.SchemaSerializationMode = this.SchemaSerializationMode;
 | |
|             return cln;
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         protected override bool ShouldSerializeTables() {
 | |
|             return false;
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         protected override bool ShouldSerializeRelations() {
 | |
|             return false;
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
 | |
|             if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
 | |
|                 this.Reset();
 | |
|                 global::System.Data.DataSet ds = new global::System.Data.DataSet();
 | |
|                 ds.ReadXml(reader);
 | |
|                 if ((ds.Tables["PersonInvStock"] != null)) {
 | |
|                     base.Tables.Add(new PersonInvStockDataTable(ds.Tables["PersonInvStock"]));
 | |
|                 }
 | |
|                 if ((ds.Tables["jagosummary"] != null)) {
 | |
|                     base.Tables.Add(new jagosummaryDataTable(ds.Tables["jagosummary"]));
 | |
|                 }
 | |
|                 if ((ds.Tables["jagosummaryPlace"] != null)) {
 | |
|                     base.Tables.Add(new jagosummaryPlaceDataTable(ds.Tables["jagosummaryPlace"]));
 | |
|                 }
 | |
|                 this.DataSetName = ds.DataSetName;
 | |
|                 this.Prefix = ds.Prefix;
 | |
|                 this.Namespace = ds.Namespace;
 | |
|                 this.Locale = ds.Locale;
 | |
|                 this.CaseSensitive = ds.CaseSensitive;
 | |
|                 this.EnforceConstraints = ds.EnforceConstraints;
 | |
|                 this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
 | |
|                 this.InitVars();
 | |
|             }
 | |
|             else {
 | |
|                 this.ReadXml(reader);
 | |
|                 this.InitVars();
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
 | |
|             global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream();
 | |
|             this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null));
 | |
|             stream.Position = 0;
 | |
|             return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null);
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         internal void InitVars() {
 | |
|             this.InitVars(true);
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         internal void InitVars(bool initTable) {
 | |
|             this.tablePersonInvStock = ((PersonInvStockDataTable)(base.Tables["PersonInvStock"]));
 | |
|             if ((initTable == true)) {
 | |
|                 if ((this.tablePersonInvStock != null)) {
 | |
|                     this.tablePersonInvStock.InitVars();
 | |
|                 }
 | |
|             }
 | |
|             this.tablejagosummary = ((jagosummaryDataTable)(base.Tables["jagosummary"]));
 | |
|             if ((initTable == true)) {
 | |
|                 if ((this.tablejagosummary != null)) {
 | |
|                     this.tablejagosummary.InitVars();
 | |
|                 }
 | |
|             }
 | |
|             this.tablejagosummaryPlace = ((jagosummaryPlaceDataTable)(base.Tables["jagosummaryPlace"]));
 | |
|             if ((initTable == true)) {
 | |
|                 if ((this.tablejagosummaryPlace != null)) {
 | |
|                     this.tablejagosummaryPlace.InitVars();
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         private void InitClass() {
 | |
|             this.DataSetName = "DSReport";
 | |
|             this.Prefix = "";
 | |
|             this.Namespace = "http://tempuri.org/DSReport.xsd";
 | |
|             this.EnforceConstraints = true;
 | |
|             this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
 | |
|             this.tablePersonInvStock = new PersonInvStockDataTable();
 | |
|             base.Tables.Add(this.tablePersonInvStock);
 | |
|             this.tablejagosummary = new jagosummaryDataTable();
 | |
|             base.Tables.Add(this.tablejagosummary);
 | |
|             this.tablejagosummaryPlace = new jagosummaryPlaceDataTable(false);
 | |
|             base.Tables.Add(this.tablejagosummaryPlace);
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         private bool ShouldSerializePersonInvStock() {
 | |
|             return false;
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         private bool ShouldSerializejagosummary() {
 | |
|             return false;
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         private bool ShouldSerializejagosummaryPlace() {
 | |
|             return false;
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
 | |
|             if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
 | |
|                 this.InitVars();
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
 | |
|             DSReport ds = new DSReport();
 | |
|             global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
 | |
|             global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
 | |
|             global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
 | |
|             any.Namespace = ds.Namespace;
 | |
|             sequence.Items.Add(any);
 | |
|             type.Particle = sequence;
 | |
|             global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
 | |
|             if (xs.Contains(dsSchema.TargetNamespace)) {
 | |
|                 global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
 | |
|                 global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
 | |
|                 try {
 | |
|                     global::System.Xml.Schema.XmlSchema schema = null;
 | |
|                     dsSchema.Write(s1);
 | |
|                     for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
 | |
|                         schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
 | |
|                         s2.SetLength(0);
 | |
|                         schema.Write(s2);
 | |
|                         if ((s1.Length == s2.Length)) {
 | |
|                             s1.Position = 0;
 | |
|                             s2.Position = 0;
 | |
|                             for (; ((s1.Position != s1.Length) 
 | |
|                                         && (s1.ReadByte() == s2.ReadByte())); ) {
 | |
|                                 ;
 | |
|                             }
 | |
|                             if ((s1.Position == s1.Length)) {
 | |
|                                 return type;
 | |
|                             }
 | |
|                         }
 | |
|                     }
 | |
|                 }
 | |
|                 finally {
 | |
|                     if ((s1 != null)) {
 | |
|                         s1.Close();
 | |
|                     }
 | |
|                     if ((s2 != null)) {
 | |
|                         s2.Close();
 | |
|                     }
 | |
|                 }
 | |
|             }
 | |
|             xs.Add(dsSchema);
 | |
|             return type;
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         private void InitExpressions() {
 | |
|             this.jagosummaryPlace.placeboxColumn.Expression = "place + \'_\' + box";
 | |
|         }
 | |
|         
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         public delegate void PersonInvStockRowChangeEventHandler(object sender, PersonInvStockRowChangeEvent e);
 | |
|         
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         public delegate void jagosummaryRowChangeEventHandler(object sender, jagosummaryRowChangeEvent e);
 | |
|         
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         public delegate void jagosummaryPlaceRowChangeEventHandler(object sender, jagosummaryPlaceRowChangeEvent e);
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Represents the strongly named DataTable class.
 | |
|         ///</summary>
 | |
|         [global::System.Serializable()]
 | |
|         [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
 | |
|         public partial class PersonInvStockDataTable : global::System.Data.TypedTableBase<PersonInvStockRow> {
 | |
|             
 | |
|             private global::System.Data.DataColumn columnusername;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnproject;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnpdate;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnItemName;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnstock;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public PersonInvStockDataTable() {
 | |
|                 this.TableName = "PersonInvStock";
 | |
|                 this.BeginInit();
 | |
|                 this.InitClass();
 | |
|                 this.EndInit();
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             internal PersonInvStockDataTable(global::System.Data.DataTable table) {
 | |
|                 this.TableName = table.TableName;
 | |
|                 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
 | |
|                     this.CaseSensitive = table.CaseSensitive;
 | |
|                 }
 | |
|                 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
 | |
|                     this.Locale = table.Locale;
 | |
|                 }
 | |
|                 if ((table.Namespace != table.DataSet.Namespace)) {
 | |
|                     this.Namespace = table.Namespace;
 | |
|                 }
 | |
|                 this.Prefix = table.Prefix;
 | |
|                 this.MinimumCapacity = table.MinimumCapacity;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             protected PersonInvStockDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
 | |
|                     base(info, context) {
 | |
|                 this.InitVars();
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public global::System.Data.DataColumn usernameColumn {
 | |
|                 get {
 | |
|                     return this.columnusername;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public global::System.Data.DataColumn projectColumn {
 | |
|                 get {
 | |
|                     return this.columnproject;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public global::System.Data.DataColumn pdateColumn {
 | |
|                 get {
 | |
|                     return this.columnpdate;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public global::System.Data.DataColumn ItemNameColumn {
 | |
|                 get {
 | |
|                     return this.columnItemName;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public global::System.Data.DataColumn stockColumn {
 | |
|                 get {
 | |
|                     return this.columnstock;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             [global::System.ComponentModel.Browsable(false)]
 | |
|             public int Count {
 | |
|                 get {
 | |
|                     return this.Rows.Count;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public PersonInvStockRow this[int index] {
 | |
|                 get {
 | |
|                     return ((PersonInvStockRow)(this.Rows[index]));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public event PersonInvStockRowChangeEventHandler PersonInvStockRowChanging;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public event PersonInvStockRowChangeEventHandler PersonInvStockRowChanged;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public event PersonInvStockRowChangeEventHandler PersonInvStockRowDeleting;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public event PersonInvStockRowChangeEventHandler PersonInvStockRowDeleted;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public void AddPersonInvStockRow(PersonInvStockRow row) {
 | |
|                 this.Rows.Add(row);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public PersonInvStockRow AddPersonInvStockRow(string username, string project, string pdate, string ItemName, int stock) {
 | |
|                 PersonInvStockRow rowPersonInvStockRow = ((PersonInvStockRow)(this.NewRow()));
 | |
|                 object[] columnValuesArray = new object[] {
 | |
|                         username,
 | |
|                         project,
 | |
|                         pdate,
 | |
|                         ItemName,
 | |
|                         stock};
 | |
|                 rowPersonInvStockRow.ItemArray = columnValuesArray;
 | |
|                 this.Rows.Add(rowPersonInvStockRow);
 | |
|                 return rowPersonInvStockRow;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public override global::System.Data.DataTable Clone() {
 | |
|                 PersonInvStockDataTable cln = ((PersonInvStockDataTable)(base.Clone()));
 | |
|                 cln.InitVars();
 | |
|                 return cln;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             protected override global::System.Data.DataTable CreateInstance() {
 | |
|                 return new PersonInvStockDataTable();
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             internal void InitVars() {
 | |
|                 this.columnusername = base.Columns["username"];
 | |
|                 this.columnproject = base.Columns["project"];
 | |
|                 this.columnpdate = base.Columns["pdate"];
 | |
|                 this.columnItemName = base.Columns["ItemName"];
 | |
|                 this.columnstock = base.Columns["stock"];
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             private void InitClass() {
 | |
|                 this.columnusername = new global::System.Data.DataColumn("username", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnusername);
 | |
|                 this.columnproject = new global::System.Data.DataColumn("project", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnproject);
 | |
|                 this.columnpdate = new global::System.Data.DataColumn("pdate", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnpdate);
 | |
|                 this.columnItemName = new global::System.Data.DataColumn("ItemName", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnItemName);
 | |
|                 this.columnstock = new global::System.Data.DataColumn("stock", typeof(int), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnstock);
 | |
|                 this.columnusername.ReadOnly = true;
 | |
|                 this.columnusername.MaxLength = 200;
 | |
|                 this.columnproject.ReadOnly = true;
 | |
|                 this.columnproject.MaxLength = 200;
 | |
|                 this.columnpdate.ReadOnly = true;
 | |
|                 this.columnpdate.MaxLength = 10;
 | |
|                 this.columnItemName.MaxLength = 200;
 | |
|                 this.columnstock.ReadOnly = true;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public PersonInvStockRow NewPersonInvStockRow() {
 | |
|                 return ((PersonInvStockRow)(this.NewRow()));
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
 | |
|                 return new PersonInvStockRow(builder);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             protected override global::System.Type GetRowType() {
 | |
|                 return typeof(PersonInvStockRow);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
 | |
|                 base.OnRowChanged(e);
 | |
|                 if ((this.PersonInvStockRowChanged != null)) {
 | |
|                     this.PersonInvStockRowChanged(this, new PersonInvStockRowChangeEvent(((PersonInvStockRow)(e.Row)), e.Action));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
 | |
|                 base.OnRowChanging(e);
 | |
|                 if ((this.PersonInvStockRowChanging != null)) {
 | |
|                     this.PersonInvStockRowChanging(this, new PersonInvStockRowChangeEvent(((PersonInvStockRow)(e.Row)), e.Action));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
 | |
|                 base.OnRowDeleted(e);
 | |
|                 if ((this.PersonInvStockRowDeleted != null)) {
 | |
|                     this.PersonInvStockRowDeleted(this, new PersonInvStockRowChangeEvent(((PersonInvStockRow)(e.Row)), e.Action));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
 | |
|                 base.OnRowDeleting(e);
 | |
|                 if ((this.PersonInvStockRowDeleting != null)) {
 | |
|                     this.PersonInvStockRowDeleting(this, new PersonInvStockRowChangeEvent(((PersonInvStockRow)(e.Row)), e.Action));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public void RemovePersonInvStockRow(PersonInvStockRow row) {
 | |
|                 this.Rows.Remove(row);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
 | |
|                 global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
 | |
|                 global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
 | |
|                 DSReport ds = new DSReport();
 | |
|                 global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
 | |
|                 any1.Namespace = "http://www.w3.org/2001/XMLSchema";
 | |
|                 any1.MinOccurs = new decimal(0);
 | |
|                 any1.MaxOccurs = decimal.MaxValue;
 | |
|                 any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
 | |
|                 sequence.Items.Add(any1);
 | |
|                 global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
 | |
|                 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
 | |
|                 any2.MinOccurs = new decimal(1);
 | |
|                 any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
 | |
|                 sequence.Items.Add(any2);
 | |
|                 global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
 | |
|                 attribute1.Name = "namespace";
 | |
|                 attribute1.FixedValue = ds.Namespace;
 | |
|                 type.Attributes.Add(attribute1);
 | |
|                 global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
 | |
|                 attribute2.Name = "tableTypeName";
 | |
|                 attribute2.FixedValue = "PersonInvStockDataTable";
 | |
|                 type.Attributes.Add(attribute2);
 | |
|                 type.Particle = sequence;
 | |
|                 global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
 | |
|                 if (xs.Contains(dsSchema.TargetNamespace)) {
 | |
|                     global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
 | |
|                     global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
 | |
|                     try {
 | |
|                         global::System.Xml.Schema.XmlSchema schema = null;
 | |
|                         dsSchema.Write(s1);
 | |
|                         for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
 | |
|                             schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
 | |
|                             s2.SetLength(0);
 | |
|                             schema.Write(s2);
 | |
|                             if ((s1.Length == s2.Length)) {
 | |
|                                 s1.Position = 0;
 | |
|                                 s2.Position = 0;
 | |
|                                 for (; ((s1.Position != s1.Length) 
 | |
|                                             && (s1.ReadByte() == s2.ReadByte())); ) {
 | |
|                                     ;
 | |
|                                 }
 | |
|                                 if ((s1.Position == s1.Length)) {
 | |
|                                     return type;
 | |
|                                 }
 | |
|                             }
 | |
|                         }
 | |
|                     }
 | |
|                     finally {
 | |
|                         if ((s1 != null)) {
 | |
|                             s1.Close();
 | |
|                         }
 | |
|                         if ((s2 != null)) {
 | |
|                             s2.Close();
 | |
|                         }
 | |
|                     }
 | |
|                 }
 | |
|                 xs.Add(dsSchema);
 | |
|                 return type;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Represents the strongly named DataTable class.
 | |
|         ///</summary>
 | |
|         [global::System.Serializable()]
 | |
|         [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
 | |
|         public partial class jagosummaryDataTable : global::System.Data.TypedTableBase<jagosummaryRow> {
 | |
|             
 | |
|             private global::System.Data.DataColumn columnidx;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnlastDate;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnname;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnsid;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnmodel;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnQty;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnAmt;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnsupply;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public jagosummaryDataTable() {
 | |
|                 this.TableName = "jagosummary";
 | |
|                 this.BeginInit();
 | |
|                 this.InitClass();
 | |
|                 this.EndInit();
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             internal jagosummaryDataTable(global::System.Data.DataTable table) {
 | |
|                 this.TableName = table.TableName;
 | |
|                 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
 | |
|                     this.CaseSensitive = table.CaseSensitive;
 | |
|                 }
 | |
|                 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
 | |
|                     this.Locale = table.Locale;
 | |
|                 }
 | |
|                 if ((table.Namespace != table.DataSet.Namespace)) {
 | |
|                     this.Namespace = table.Namespace;
 | |
|                 }
 | |
|                 this.Prefix = table.Prefix;
 | |
|                 this.MinimumCapacity = table.MinimumCapacity;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             protected jagosummaryDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
 | |
|                     base(info, context) {
 | |
|                 this.InitVars();
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public global::System.Data.DataColumn idxColumn {
 | |
|                 get {
 | |
|                     return this.columnidx;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public global::System.Data.DataColumn lastDateColumn {
 | |
|                 get {
 | |
|                     return this.columnlastDate;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public global::System.Data.DataColumn nameColumn {
 | |
|                 get {
 | |
|                     return this.columnname;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public global::System.Data.DataColumn sidColumn {
 | |
|                 get {
 | |
|                     return this.columnsid;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public global::System.Data.DataColumn modelColumn {
 | |
|                 get {
 | |
|                     return this.columnmodel;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public global::System.Data.DataColumn QtyColumn {
 | |
|                 get {
 | |
|                     return this.columnQty;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public global::System.Data.DataColumn AmtColumn {
 | |
|                 get {
 | |
|                     return this.columnAmt;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public global::System.Data.DataColumn supplyColumn {
 | |
|                 get {
 | |
|                     return this.columnsupply;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             [global::System.ComponentModel.Browsable(false)]
 | |
|             public int Count {
 | |
|                 get {
 | |
|                     return this.Rows.Count;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public jagosummaryRow this[int index] {
 | |
|                 get {
 | |
|                     return ((jagosummaryRow)(this.Rows[index]));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public event jagosummaryRowChangeEventHandler jagosummaryRowChanging;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public event jagosummaryRowChangeEventHandler jagosummaryRowChanged;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public event jagosummaryRowChangeEventHandler jagosummaryRowDeleting;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public event jagosummaryRowChangeEventHandler jagosummaryRowDeleted;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public void AddjagosummaryRow(jagosummaryRow row) {
 | |
|                 this.Rows.Add(row);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public jagosummaryRow AddjagosummaryRow(string lastDate, string name, string sid, string model, int Qty, decimal Amt, string supply) {
 | |
|                 jagosummaryRow rowjagosummaryRow = ((jagosummaryRow)(this.NewRow()));
 | |
|                 object[] columnValuesArray = new object[] {
 | |
|                         null,
 | |
|                         lastDate,
 | |
|                         name,
 | |
|                         sid,
 | |
|                         model,
 | |
|                         Qty,
 | |
|                         Amt,
 | |
|                         supply};
 | |
|                 rowjagosummaryRow.ItemArray = columnValuesArray;
 | |
|                 this.Rows.Add(rowjagosummaryRow);
 | |
|                 return rowjagosummaryRow;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public override global::System.Data.DataTable Clone() {
 | |
|                 jagosummaryDataTable cln = ((jagosummaryDataTable)(base.Clone()));
 | |
|                 cln.InitVars();
 | |
|                 return cln;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             protected override global::System.Data.DataTable CreateInstance() {
 | |
|                 return new jagosummaryDataTable();
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             internal void InitVars() {
 | |
|                 this.columnidx = base.Columns["idx"];
 | |
|                 this.columnlastDate = base.Columns["lastDate"];
 | |
|                 this.columnname = base.Columns["name"];
 | |
|                 this.columnsid = base.Columns["sid"];
 | |
|                 this.columnmodel = base.Columns["model"];
 | |
|                 this.columnQty = base.Columns["Qty"];
 | |
|                 this.columnAmt = base.Columns["Amt"];
 | |
|                 this.columnsupply = base.Columns["supply"];
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             private void InitClass() {
 | |
|                 this.columnidx = new global::System.Data.DataColumn("idx", typeof(int), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnidx);
 | |
|                 this.columnlastDate = new global::System.Data.DataColumn("lastDate", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnlastDate);
 | |
|                 this.columnname = new global::System.Data.DataColumn("name", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnname);
 | |
|                 this.columnsid = new global::System.Data.DataColumn("sid", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnsid);
 | |
|                 this.columnmodel = new global::System.Data.DataColumn("model", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnmodel);
 | |
|                 this.columnQty = new global::System.Data.DataColumn("Qty", typeof(int), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnQty);
 | |
|                 this.columnAmt = new global::System.Data.DataColumn("Amt", typeof(decimal), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnAmt);
 | |
|                 this.columnsupply = new global::System.Data.DataColumn("supply", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnsupply);
 | |
|                 this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
 | |
|                                 this.columnidx}, false));
 | |
|                 this.columnidx.AutoIncrement = true;
 | |
|                 this.columnidx.AutoIncrementSeed = -1;
 | |
|                 this.columnidx.AutoIncrementStep = -1;
 | |
|                 this.columnidx.ReadOnly = true;
 | |
|                 this.columnidx.Unique = true;
 | |
|                 this.columnlastDate.ReadOnly = true;
 | |
|                 this.columnlastDate.MaxLength = 10;
 | |
|                 this.columnname.MaxLength = 200;
 | |
|                 this.columnsid.MaxLength = 50;
 | |
|                 this.columnmodel.MaxLength = 200;
 | |
|                 this.columnQty.ReadOnly = true;
 | |
|                 this.columnAmt.ReadOnly = true;
 | |
|                 this.columnsupply.MaxLength = 100;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public jagosummaryRow NewjagosummaryRow() {
 | |
|                 return ((jagosummaryRow)(this.NewRow()));
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
 | |
|                 return new jagosummaryRow(builder);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             protected override global::System.Type GetRowType() {
 | |
|                 return typeof(jagosummaryRow);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
 | |
|                 base.OnRowChanged(e);
 | |
|                 if ((this.jagosummaryRowChanged != null)) {
 | |
|                     this.jagosummaryRowChanged(this, new jagosummaryRowChangeEvent(((jagosummaryRow)(e.Row)), e.Action));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
 | |
|                 base.OnRowChanging(e);
 | |
|                 if ((this.jagosummaryRowChanging != null)) {
 | |
|                     this.jagosummaryRowChanging(this, new jagosummaryRowChangeEvent(((jagosummaryRow)(e.Row)), e.Action));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
 | |
|                 base.OnRowDeleted(e);
 | |
|                 if ((this.jagosummaryRowDeleted != null)) {
 | |
|                     this.jagosummaryRowDeleted(this, new jagosummaryRowChangeEvent(((jagosummaryRow)(e.Row)), e.Action));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
 | |
|                 base.OnRowDeleting(e);
 | |
|                 if ((this.jagosummaryRowDeleting != null)) {
 | |
|                     this.jagosummaryRowDeleting(this, new jagosummaryRowChangeEvent(((jagosummaryRow)(e.Row)), e.Action));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public void RemovejagosummaryRow(jagosummaryRow row) {
 | |
|                 this.Rows.Remove(row);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
 | |
|                 global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
 | |
|                 global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
 | |
|                 DSReport ds = new DSReport();
 | |
|                 global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
 | |
|                 any1.Namespace = "http://www.w3.org/2001/XMLSchema";
 | |
|                 any1.MinOccurs = new decimal(0);
 | |
|                 any1.MaxOccurs = decimal.MaxValue;
 | |
|                 any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
 | |
|                 sequence.Items.Add(any1);
 | |
|                 global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
 | |
|                 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
 | |
|                 any2.MinOccurs = new decimal(1);
 | |
|                 any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
 | |
|                 sequence.Items.Add(any2);
 | |
|                 global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
 | |
|                 attribute1.Name = "namespace";
 | |
|                 attribute1.FixedValue = ds.Namespace;
 | |
|                 type.Attributes.Add(attribute1);
 | |
|                 global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
 | |
|                 attribute2.Name = "tableTypeName";
 | |
|                 attribute2.FixedValue = "jagosummaryDataTable";
 | |
|                 type.Attributes.Add(attribute2);
 | |
|                 type.Particle = sequence;
 | |
|                 global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
 | |
|                 if (xs.Contains(dsSchema.TargetNamespace)) {
 | |
|                     global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
 | |
|                     global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
 | |
|                     try {
 | |
|                         global::System.Xml.Schema.XmlSchema schema = null;
 | |
|                         dsSchema.Write(s1);
 | |
|                         for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
 | |
|                             schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
 | |
|                             s2.SetLength(0);
 | |
|                             schema.Write(s2);
 | |
|                             if ((s1.Length == s2.Length)) {
 | |
|                                 s1.Position = 0;
 | |
|                                 s2.Position = 0;
 | |
|                                 for (; ((s1.Position != s1.Length) 
 | |
|                                             && (s1.ReadByte() == s2.ReadByte())); ) {
 | |
|                                     ;
 | |
|                                 }
 | |
|                                 if ((s1.Position == s1.Length)) {
 | |
|                                     return type;
 | |
|                                 }
 | |
|                             }
 | |
|                         }
 | |
|                     }
 | |
|                     finally {
 | |
|                         if ((s1 != null)) {
 | |
|                             s1.Close();
 | |
|                         }
 | |
|                         if ((s2 != null)) {
 | |
|                             s2.Close();
 | |
|                         }
 | |
|                     }
 | |
|                 }
 | |
|                 xs.Add(dsSchema);
 | |
|                 return type;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Represents the strongly named DataTable class.
 | |
|         ///</summary>
 | |
|         [global::System.Serializable()]
 | |
|         [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
 | |
|         public partial class jagosummaryPlaceDataTable : global::System.Data.TypedTableBase<jagosummaryPlaceRow> {
 | |
|             
 | |
|             private global::System.Data.DataColumn columnplace;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnlastDate;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnname;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnsid;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnmodel;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnQty;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnAmt;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnsupply;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnitem;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnbox;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnplacebox;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public jagosummaryPlaceDataTable() : 
 | |
|                     this(false) {
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public jagosummaryPlaceDataTable(bool initExpressions) {
 | |
|                 this.TableName = "jagosummaryPlace";
 | |
|                 this.BeginInit();
 | |
|                 this.InitClass();
 | |
|                 if ((initExpressions == true)) {
 | |
|                     this.InitExpressions();
 | |
|                 }
 | |
|                 this.EndInit();
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             internal jagosummaryPlaceDataTable(global::System.Data.DataTable table) {
 | |
|                 this.TableName = table.TableName;
 | |
|                 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
 | |
|                     this.CaseSensitive = table.CaseSensitive;
 | |
|                 }
 | |
|                 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
 | |
|                     this.Locale = table.Locale;
 | |
|                 }
 | |
|                 if ((table.Namespace != table.DataSet.Namespace)) {
 | |
|                     this.Namespace = table.Namespace;
 | |
|                 }
 | |
|                 this.Prefix = table.Prefix;
 | |
|                 this.MinimumCapacity = table.MinimumCapacity;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             protected jagosummaryPlaceDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
 | |
|                     base(info, context) {
 | |
|                 this.InitVars();
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public global::System.Data.DataColumn placeColumn {
 | |
|                 get {
 | |
|                     return this.columnplace;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public global::System.Data.DataColumn lastDateColumn {
 | |
|                 get {
 | |
|                     return this.columnlastDate;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public global::System.Data.DataColumn nameColumn {
 | |
|                 get {
 | |
|                     return this.columnname;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public global::System.Data.DataColumn sidColumn {
 | |
|                 get {
 | |
|                     return this.columnsid;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public global::System.Data.DataColumn modelColumn {
 | |
|                 get {
 | |
|                     return this.columnmodel;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public global::System.Data.DataColumn QtyColumn {
 | |
|                 get {
 | |
|                     return this.columnQty;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public global::System.Data.DataColumn AmtColumn {
 | |
|                 get {
 | |
|                     return this.columnAmt;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public global::System.Data.DataColumn supplyColumn {
 | |
|                 get {
 | |
|                     return this.columnsupply;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public global::System.Data.DataColumn itemColumn {
 | |
|                 get {
 | |
|                     return this.columnitem;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public global::System.Data.DataColumn boxColumn {
 | |
|                 get {
 | |
|                     return this.columnbox;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public global::System.Data.DataColumn placeboxColumn {
 | |
|                 get {
 | |
|                     return this.columnplacebox;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             [global::System.ComponentModel.Browsable(false)]
 | |
|             public int Count {
 | |
|                 get {
 | |
|                     return this.Rows.Count;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public jagosummaryPlaceRow this[int index] {
 | |
|                 get {
 | |
|                     return ((jagosummaryPlaceRow)(this.Rows[index]));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public event jagosummaryPlaceRowChangeEventHandler jagosummaryPlaceRowChanging;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public event jagosummaryPlaceRowChangeEventHandler jagosummaryPlaceRowChanged;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public event jagosummaryPlaceRowChangeEventHandler jagosummaryPlaceRowDeleting;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public event jagosummaryPlaceRowChangeEventHandler jagosummaryPlaceRowDeleted;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public void AddjagosummaryPlaceRow(jagosummaryPlaceRow row) {
 | |
|                 this.Rows.Add(row);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public jagosummaryPlaceRow AddjagosummaryPlaceRow(string place, string lastDate, string name, string sid, string model, int Qty, decimal Amt, string supply, int item, string box, string placebox) {
 | |
|                 jagosummaryPlaceRow rowjagosummaryPlaceRow = ((jagosummaryPlaceRow)(this.NewRow()));
 | |
|                 object[] columnValuesArray = new object[] {
 | |
|                         place,
 | |
|                         lastDate,
 | |
|                         name,
 | |
|                         sid,
 | |
|                         model,
 | |
|                         Qty,
 | |
|                         Amt,
 | |
|                         supply,
 | |
|                         item,
 | |
|                         box,
 | |
|                         placebox};
 | |
|                 rowjagosummaryPlaceRow.ItemArray = columnValuesArray;
 | |
|                 this.Rows.Add(rowjagosummaryPlaceRow);
 | |
|                 return rowjagosummaryPlaceRow;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public jagosummaryPlaceRow AddjagosummaryPlaceRow(string place, string lastDate, string name, string sid, string model, int Qty, decimal Amt, string supply, int item, string box) {
 | |
|                 jagosummaryPlaceRow rowjagosummaryPlaceRow = ((jagosummaryPlaceRow)(this.NewRow()));
 | |
|                 object[] columnValuesArray = new object[] {
 | |
|                         place,
 | |
|                         lastDate,
 | |
|                         name,
 | |
|                         sid,
 | |
|                         model,
 | |
|                         Qty,
 | |
|                         Amt,
 | |
|                         supply,
 | |
|                         item,
 | |
|                         box,
 | |
|                         null};
 | |
|                 rowjagosummaryPlaceRow.ItemArray = columnValuesArray;
 | |
|                 this.Rows.Add(rowjagosummaryPlaceRow);
 | |
|                 return rowjagosummaryPlaceRow;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public override global::System.Data.DataTable Clone() {
 | |
|                 jagosummaryPlaceDataTable cln = ((jagosummaryPlaceDataTable)(base.Clone()));
 | |
|                 cln.InitVars();
 | |
|                 return cln;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             protected override global::System.Data.DataTable CreateInstance() {
 | |
|                 return new jagosummaryPlaceDataTable();
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             internal void InitVars() {
 | |
|                 this.columnplace = base.Columns["place"];
 | |
|                 this.columnlastDate = base.Columns["lastDate"];
 | |
|                 this.columnname = base.Columns["name"];
 | |
|                 this.columnsid = base.Columns["sid"];
 | |
|                 this.columnmodel = base.Columns["model"];
 | |
|                 this.columnQty = base.Columns["Qty"];
 | |
|                 this.columnAmt = base.Columns["Amt"];
 | |
|                 this.columnsupply = base.Columns["supply"];
 | |
|                 this.columnitem = base.Columns["item"];
 | |
|                 this.columnbox = base.Columns["box"];
 | |
|                 this.columnplacebox = base.Columns["placebox"];
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             private void InitClass() {
 | |
|                 this.columnplace = new global::System.Data.DataColumn("place", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnplace);
 | |
|                 this.columnlastDate = new global::System.Data.DataColumn("lastDate", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnlastDate);
 | |
|                 this.columnname = new global::System.Data.DataColumn("name", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnname);
 | |
|                 this.columnsid = new global::System.Data.DataColumn("sid", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnsid);
 | |
|                 this.columnmodel = new global::System.Data.DataColumn("model", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnmodel);
 | |
|                 this.columnQty = new global::System.Data.DataColumn("Qty", typeof(int), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnQty);
 | |
|                 this.columnAmt = new global::System.Data.DataColumn("Amt", typeof(decimal), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnAmt);
 | |
|                 this.columnsupply = new global::System.Data.DataColumn("supply", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnsupply);
 | |
|                 this.columnitem = new global::System.Data.DataColumn("item", typeof(int), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnitem);
 | |
|                 this.columnbox = new global::System.Data.DataColumn("box", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnbox);
 | |
|                 this.columnplacebox = new global::System.Data.DataColumn("placebox", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnplacebox);
 | |
|                 this.columnplace.MaxLength = 100;
 | |
|                 this.columnlastDate.ReadOnly = true;
 | |
|                 this.columnlastDate.MaxLength = 10;
 | |
|                 this.columnname.MaxLength = 200;
 | |
|                 this.columnsid.MaxLength = 50;
 | |
|                 this.columnmodel.MaxLength = 200;
 | |
|                 this.columnQty.ReadOnly = true;
 | |
|                 this.columnAmt.ReadOnly = true;
 | |
|                 this.columnsupply.MaxLength = 100;
 | |
|                 this.columnbox.MaxLength = 100;
 | |
|                 this.columnplacebox.ReadOnly = true;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public jagosummaryPlaceRow NewjagosummaryPlaceRow() {
 | |
|                 return ((jagosummaryPlaceRow)(this.NewRow()));
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
 | |
|                 return new jagosummaryPlaceRow(builder);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             protected override global::System.Type GetRowType() {
 | |
|                 return typeof(jagosummaryPlaceRow);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             private void InitExpressions() {
 | |
|                 this.placeboxColumn.Expression = "place + \'_\' + box";
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
 | |
|                 base.OnRowChanged(e);
 | |
|                 if ((this.jagosummaryPlaceRowChanged != null)) {
 | |
|                     this.jagosummaryPlaceRowChanged(this, new jagosummaryPlaceRowChangeEvent(((jagosummaryPlaceRow)(e.Row)), e.Action));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
 | |
|                 base.OnRowChanging(e);
 | |
|                 if ((this.jagosummaryPlaceRowChanging != null)) {
 | |
|                     this.jagosummaryPlaceRowChanging(this, new jagosummaryPlaceRowChangeEvent(((jagosummaryPlaceRow)(e.Row)), e.Action));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
 | |
|                 base.OnRowDeleted(e);
 | |
|                 if ((this.jagosummaryPlaceRowDeleted != null)) {
 | |
|                     this.jagosummaryPlaceRowDeleted(this, new jagosummaryPlaceRowChangeEvent(((jagosummaryPlaceRow)(e.Row)), e.Action));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
 | |
|                 base.OnRowDeleting(e);
 | |
|                 if ((this.jagosummaryPlaceRowDeleting != null)) {
 | |
|                     this.jagosummaryPlaceRowDeleting(this, new jagosummaryPlaceRowChangeEvent(((jagosummaryPlaceRow)(e.Row)), e.Action));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public void RemovejagosummaryPlaceRow(jagosummaryPlaceRow row) {
 | |
|                 this.Rows.Remove(row);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
 | |
|                 global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
 | |
|                 global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
 | |
|                 DSReport ds = new DSReport();
 | |
|                 global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
 | |
|                 any1.Namespace = "http://www.w3.org/2001/XMLSchema";
 | |
|                 any1.MinOccurs = new decimal(0);
 | |
|                 any1.MaxOccurs = decimal.MaxValue;
 | |
|                 any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
 | |
|                 sequence.Items.Add(any1);
 | |
|                 global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
 | |
|                 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
 | |
|                 any2.MinOccurs = new decimal(1);
 | |
|                 any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
 | |
|                 sequence.Items.Add(any2);
 | |
|                 global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
 | |
|                 attribute1.Name = "namespace";
 | |
|                 attribute1.FixedValue = ds.Namespace;
 | |
|                 type.Attributes.Add(attribute1);
 | |
|                 global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
 | |
|                 attribute2.Name = "tableTypeName";
 | |
|                 attribute2.FixedValue = "jagosummaryPlaceDataTable";
 | |
|                 type.Attributes.Add(attribute2);
 | |
|                 type.Particle = sequence;
 | |
|                 global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
 | |
|                 if (xs.Contains(dsSchema.TargetNamespace)) {
 | |
|                     global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
 | |
|                     global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
 | |
|                     try {
 | |
|                         global::System.Xml.Schema.XmlSchema schema = null;
 | |
|                         dsSchema.Write(s1);
 | |
|                         for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
 | |
|                             schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
 | |
|                             s2.SetLength(0);
 | |
|                             schema.Write(s2);
 | |
|                             if ((s1.Length == s2.Length)) {
 | |
|                                 s1.Position = 0;
 | |
|                                 s2.Position = 0;
 | |
|                                 for (; ((s1.Position != s1.Length) 
 | |
|                                             && (s1.ReadByte() == s2.ReadByte())); ) {
 | |
|                                     ;
 | |
|                                 }
 | |
|                                 if ((s1.Position == s1.Length)) {
 | |
|                                     return type;
 | |
|                                 }
 | |
|                             }
 | |
|                         }
 | |
|                     }
 | |
|                     finally {
 | |
|                         if ((s1 != null)) {
 | |
|                             s1.Close();
 | |
|                         }
 | |
|                         if ((s2 != null)) {
 | |
|                             s2.Close();
 | |
|                         }
 | |
|                     }
 | |
|                 }
 | |
|                 xs.Add(dsSchema);
 | |
|                 return type;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Represents strongly named DataRow class.
 | |
|         ///</summary>
 | |
|         public partial class PersonInvStockRow : global::System.Data.DataRow {
 | |
|             
 | |
|             private PersonInvStockDataTable tablePersonInvStock;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             internal PersonInvStockRow(global::System.Data.DataRowBuilder rb) : 
 | |
|                     base(rb) {
 | |
|                 this.tablePersonInvStock = ((PersonInvStockDataTable)(this.Table));
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public string username {
 | |
|                 get {
 | |
|                     if (this.IsusernameNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tablePersonInvStock.usernameColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablePersonInvStock.usernameColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public string project {
 | |
|                 get {
 | |
|                     if (this.IsprojectNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tablePersonInvStock.projectColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablePersonInvStock.projectColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public string pdate {
 | |
|                 get {
 | |
|                     if (this.IspdateNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tablePersonInvStock.pdateColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablePersonInvStock.pdateColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public string ItemName {
 | |
|                 get {
 | |
|                     if (this.IsItemNameNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tablePersonInvStock.ItemNameColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablePersonInvStock.ItemNameColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public int stock {
 | |
|                 get {
 | |
|                     if (this.IsstockNull()) {
 | |
|                         return 0;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((int)(this[this.tablePersonInvStock.stockColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablePersonInvStock.stockColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public bool IsusernameNull() {
 | |
|                 return this.IsNull(this.tablePersonInvStock.usernameColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public void SetusernameNull() {
 | |
|                 this[this.tablePersonInvStock.usernameColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public bool IsprojectNull() {
 | |
|                 return this.IsNull(this.tablePersonInvStock.projectColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public void SetprojectNull() {
 | |
|                 this[this.tablePersonInvStock.projectColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public bool IspdateNull() {
 | |
|                 return this.IsNull(this.tablePersonInvStock.pdateColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public void SetpdateNull() {
 | |
|                 this[this.tablePersonInvStock.pdateColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public bool IsItemNameNull() {
 | |
|                 return this.IsNull(this.tablePersonInvStock.ItemNameColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public void SetItemNameNull() {
 | |
|                 this[this.tablePersonInvStock.ItemNameColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public bool IsstockNull() {
 | |
|                 return this.IsNull(this.tablePersonInvStock.stockColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public void SetstockNull() {
 | |
|                 this[this.tablePersonInvStock.stockColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Represents strongly named DataRow class.
 | |
|         ///</summary>
 | |
|         public partial class jagosummaryRow : global::System.Data.DataRow {
 | |
|             
 | |
|             private jagosummaryDataTable tablejagosummary;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             internal jagosummaryRow(global::System.Data.DataRowBuilder rb) : 
 | |
|                     base(rb) {
 | |
|                 this.tablejagosummary = ((jagosummaryDataTable)(this.Table));
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public int idx {
 | |
|                 get {
 | |
|                     try {
 | |
|                         return ((int)(this[this.tablejagosummary.idxColumn]));
 | |
|                     }
 | |
|                     catch (global::System.InvalidCastException e) {
 | |
|                         throw new global::System.Data.StrongTypingException("\'jagosummary\' 테이블의 \'idx\' 열의 값이 DBNull입니다.", e);
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablejagosummary.idxColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public string lastDate {
 | |
|                 get {
 | |
|                     if (this.IslastDateNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tablejagosummary.lastDateColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablejagosummary.lastDateColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public string name {
 | |
|                 get {
 | |
|                     if (this.IsnameNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tablejagosummary.nameColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablejagosummary.nameColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public string sid {
 | |
|                 get {
 | |
|                     if (this.IssidNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tablejagosummary.sidColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablejagosummary.sidColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public string model {
 | |
|                 get {
 | |
|                     if (this.IsmodelNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tablejagosummary.modelColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablejagosummary.modelColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public int Qty {
 | |
|                 get {
 | |
|                     if (this.IsQtyNull()) {
 | |
|                         return 0;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((int)(this[this.tablejagosummary.QtyColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablejagosummary.QtyColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public decimal Amt {
 | |
|                 get {
 | |
|                     if (this.IsAmtNull()) {
 | |
|                         return 0m;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((decimal)(this[this.tablejagosummary.AmtColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablejagosummary.AmtColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public string supply {
 | |
|                 get {
 | |
|                     if (this.IssupplyNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tablejagosummary.supplyColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablejagosummary.supplyColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public bool IsidxNull() {
 | |
|                 return this.IsNull(this.tablejagosummary.idxColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public void SetidxNull() {
 | |
|                 this[this.tablejagosummary.idxColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public bool IslastDateNull() {
 | |
|                 return this.IsNull(this.tablejagosummary.lastDateColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public void SetlastDateNull() {
 | |
|                 this[this.tablejagosummary.lastDateColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public bool IsnameNull() {
 | |
|                 return this.IsNull(this.tablejagosummary.nameColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public void SetnameNull() {
 | |
|                 this[this.tablejagosummary.nameColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public bool IssidNull() {
 | |
|                 return this.IsNull(this.tablejagosummary.sidColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public void SetsidNull() {
 | |
|                 this[this.tablejagosummary.sidColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public bool IsmodelNull() {
 | |
|                 return this.IsNull(this.tablejagosummary.modelColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public void SetmodelNull() {
 | |
|                 this[this.tablejagosummary.modelColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public bool IsQtyNull() {
 | |
|                 return this.IsNull(this.tablejagosummary.QtyColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public void SetQtyNull() {
 | |
|                 this[this.tablejagosummary.QtyColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public bool IsAmtNull() {
 | |
|                 return this.IsNull(this.tablejagosummary.AmtColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public void SetAmtNull() {
 | |
|                 this[this.tablejagosummary.AmtColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public bool IssupplyNull() {
 | |
|                 return this.IsNull(this.tablejagosummary.supplyColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public void SetsupplyNull() {
 | |
|                 this[this.tablejagosummary.supplyColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Represents strongly named DataRow class.
 | |
|         ///</summary>
 | |
|         public partial class jagosummaryPlaceRow : global::System.Data.DataRow {
 | |
|             
 | |
|             private jagosummaryPlaceDataTable tablejagosummaryPlace;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             internal jagosummaryPlaceRow(global::System.Data.DataRowBuilder rb) : 
 | |
|                     base(rb) {
 | |
|                 this.tablejagosummaryPlace = ((jagosummaryPlaceDataTable)(this.Table));
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public string place {
 | |
|                 get {
 | |
|                     if (this.IsplaceNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tablejagosummaryPlace.placeColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablejagosummaryPlace.placeColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public string lastDate {
 | |
|                 get {
 | |
|                     if (this.IslastDateNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tablejagosummaryPlace.lastDateColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablejagosummaryPlace.lastDateColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public string name {
 | |
|                 get {
 | |
|                     if (this.IsnameNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tablejagosummaryPlace.nameColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablejagosummaryPlace.nameColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public string sid {
 | |
|                 get {
 | |
|                     if (this.IssidNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tablejagosummaryPlace.sidColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablejagosummaryPlace.sidColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public string model {
 | |
|                 get {
 | |
|                     if (this.IsmodelNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tablejagosummaryPlace.modelColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablejagosummaryPlace.modelColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public int Qty {
 | |
|                 get {
 | |
|                     if (this.IsQtyNull()) {
 | |
|                         return 0;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((int)(this[this.tablejagosummaryPlace.QtyColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablejagosummaryPlace.QtyColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public decimal Amt {
 | |
|                 get {
 | |
|                     if (this.IsAmtNull()) {
 | |
|                         return 0m;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((decimal)(this[this.tablejagosummaryPlace.AmtColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablejagosummaryPlace.AmtColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public string supply {
 | |
|                 get {
 | |
|                     if (this.IssupplyNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tablejagosummaryPlace.supplyColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablejagosummaryPlace.supplyColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public int item {
 | |
|                 get {
 | |
|                     if (this.IsitemNull()) {
 | |
|                         return -1;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((int)(this[this.tablejagosummaryPlace.itemColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablejagosummaryPlace.itemColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public string box {
 | |
|                 get {
 | |
|                     if (this.IsboxNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tablejagosummaryPlace.boxColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablejagosummaryPlace.boxColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public string placebox {
 | |
|                 get {
 | |
|                     try {
 | |
|                         return ((string)(this[this.tablejagosummaryPlace.placeboxColumn]));
 | |
|                     }
 | |
|                     catch (global::System.InvalidCastException e) {
 | |
|                         throw new global::System.Data.StrongTypingException("\'jagosummaryPlace\' 테이블의 \'placebox\' 열의 값이 DBNull입니다.", e);
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablejagosummaryPlace.placeboxColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public bool IsplaceNull() {
 | |
|                 return this.IsNull(this.tablejagosummaryPlace.placeColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public void SetplaceNull() {
 | |
|                 this[this.tablejagosummaryPlace.placeColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public bool IslastDateNull() {
 | |
|                 return this.IsNull(this.tablejagosummaryPlace.lastDateColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public void SetlastDateNull() {
 | |
|                 this[this.tablejagosummaryPlace.lastDateColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public bool IsnameNull() {
 | |
|                 return this.IsNull(this.tablejagosummaryPlace.nameColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public void SetnameNull() {
 | |
|                 this[this.tablejagosummaryPlace.nameColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public bool IssidNull() {
 | |
|                 return this.IsNull(this.tablejagosummaryPlace.sidColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public void SetsidNull() {
 | |
|                 this[this.tablejagosummaryPlace.sidColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public bool IsmodelNull() {
 | |
|                 return this.IsNull(this.tablejagosummaryPlace.modelColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public void SetmodelNull() {
 | |
|                 this[this.tablejagosummaryPlace.modelColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public bool IsQtyNull() {
 | |
|                 return this.IsNull(this.tablejagosummaryPlace.QtyColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public void SetQtyNull() {
 | |
|                 this[this.tablejagosummaryPlace.QtyColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public bool IsAmtNull() {
 | |
|                 return this.IsNull(this.tablejagosummaryPlace.AmtColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public void SetAmtNull() {
 | |
|                 this[this.tablejagosummaryPlace.AmtColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public bool IssupplyNull() {
 | |
|                 return this.IsNull(this.tablejagosummaryPlace.supplyColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public void SetsupplyNull() {
 | |
|                 this[this.tablejagosummaryPlace.supplyColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public bool IsitemNull() {
 | |
|                 return this.IsNull(this.tablejagosummaryPlace.itemColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public void SetitemNull() {
 | |
|                 this[this.tablejagosummaryPlace.itemColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public bool IsboxNull() {
 | |
|                 return this.IsNull(this.tablejagosummaryPlace.boxColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public void SetboxNull() {
 | |
|                 this[this.tablejagosummaryPlace.boxColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public bool IsplaceboxNull() {
 | |
|                 return this.IsNull(this.tablejagosummaryPlace.placeboxColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public void SetplaceboxNull() {
 | |
|                 this[this.tablejagosummaryPlace.placeboxColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Row event argument class
 | |
|         ///</summary>
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         public class PersonInvStockRowChangeEvent : global::System.EventArgs {
 | |
|             
 | |
|             private PersonInvStockRow eventRow;
 | |
|             
 | |
|             private global::System.Data.DataRowAction eventAction;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public PersonInvStockRowChangeEvent(PersonInvStockRow row, global::System.Data.DataRowAction action) {
 | |
|                 this.eventRow = row;
 | |
|                 this.eventAction = action;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public PersonInvStockRow Row {
 | |
|                 get {
 | |
|                     return this.eventRow;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public global::System.Data.DataRowAction Action {
 | |
|                 get {
 | |
|                     return this.eventAction;
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Row event argument class
 | |
|         ///</summary>
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         public class jagosummaryRowChangeEvent : global::System.EventArgs {
 | |
|             
 | |
|             private jagosummaryRow eventRow;
 | |
|             
 | |
|             private global::System.Data.DataRowAction eventAction;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public jagosummaryRowChangeEvent(jagosummaryRow row, global::System.Data.DataRowAction action) {
 | |
|                 this.eventRow = row;
 | |
|                 this.eventAction = action;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public jagosummaryRow Row {
 | |
|                 get {
 | |
|                     return this.eventRow;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public global::System.Data.DataRowAction Action {
 | |
|                 get {
 | |
|                     return this.eventAction;
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Row event argument class
 | |
|         ///</summary>
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         public class jagosummaryPlaceRowChangeEvent : global::System.EventArgs {
 | |
|             
 | |
|             private jagosummaryPlaceRow eventRow;
 | |
|             
 | |
|             private global::System.Data.DataRowAction eventAction;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public jagosummaryPlaceRowChangeEvent(jagosummaryPlaceRow row, global::System.Data.DataRowAction action) {
 | |
|                 this.eventRow = row;
 | |
|                 this.eventAction = action;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public jagosummaryPlaceRow Row {
 | |
|                 get {
 | |
|                     return this.eventRow;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public global::System.Data.DataRowAction Action {
 | |
|                 get {
 | |
|                     return this.eventAction;
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|     }
 | |
| }
 | |
| namespace FCM0000.DSReportTableAdapters {
 | |
|     
 | |
|     
 | |
|     /// <summary>
 | |
|     ///Represents the connection and commands used to retrieve and save data.
 | |
|     ///</summary>
 | |
|     [global::System.ComponentModel.DesignerCategoryAttribute("code")]
 | |
|     [global::System.ComponentModel.ToolboxItem(true)]
 | |
|     [global::System.ComponentModel.DataObjectAttribute(true)]
 | |
|     [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
 | |
|         ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
 | |
|     [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
 | |
|     public partial class PersonInvStockTableAdapter : global::System.ComponentModel.Component {
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlDataAdapter _adapter;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlConnection _connection;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlTransaction _transaction;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
 | |
|         
 | |
|         private bool _clearBeforeFill;
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         public PersonInvStockTableAdapter() {
 | |
|             this.ClearBeforeFill = true;
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
 | |
|             get {
 | |
|                 if ((this._adapter == null)) {
 | |
|                     this.InitAdapter();
 | |
|                 }
 | |
|                 return this._adapter;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         internal global::System.Data.SqlClient.SqlConnection Connection {
 | |
|             get {
 | |
|                 if ((this._connection == null)) {
 | |
|                     this.InitConnection();
 | |
|                 }
 | |
|                 return this._connection;
 | |
|             }
 | |
|             set {
 | |
|                 this._connection = value;
 | |
|                 if ((this.Adapter.InsertCommand != null)) {
 | |
|                     this.Adapter.InsertCommand.Connection = value;
 | |
|                 }
 | |
|                 if ((this.Adapter.DeleteCommand != null)) {
 | |
|                     this.Adapter.DeleteCommand.Connection = value;
 | |
|                 }
 | |
|                 if ((this.Adapter.UpdateCommand != null)) {
 | |
|                     this.Adapter.UpdateCommand.Connection = value;
 | |
|                 }
 | |
|                 for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
 | |
|                     if ((this.CommandCollection[i] != null)) {
 | |
|                         ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
 | |
|                     }
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         internal global::System.Data.SqlClient.SqlTransaction Transaction {
 | |
|             get {
 | |
|                 return this._transaction;
 | |
|             }
 | |
|             set {
 | |
|                 this._transaction = value;
 | |
|                 for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
 | |
|                     this.CommandCollection[i].Transaction = this._transaction;
 | |
|                 }
 | |
|                 if (((this.Adapter != null) 
 | |
|                             && (this.Adapter.DeleteCommand != null))) {
 | |
|                     this.Adapter.DeleteCommand.Transaction = this._transaction;
 | |
|                 }
 | |
|                 if (((this.Adapter != null) 
 | |
|                             && (this.Adapter.InsertCommand != null))) {
 | |
|                     this.Adapter.InsertCommand.Transaction = this._transaction;
 | |
|                 }
 | |
|                 if (((this.Adapter != null) 
 | |
|                             && (this.Adapter.UpdateCommand != null))) {
 | |
|                     this.Adapter.UpdateCommand.Transaction = this._transaction;
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
 | |
|             get {
 | |
|                 if ((this._commandCollection == null)) {
 | |
|                     this.InitCommandCollection();
 | |
|                 }
 | |
|                 return this._commandCollection;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         public bool ClearBeforeFill {
 | |
|             get {
 | |
|                 return this._clearBeforeFill;
 | |
|             }
 | |
|             set {
 | |
|                 this._clearBeforeFill = value;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         private void InitAdapter() {
 | |
|             this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
 | |
|             global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
 | |
|             tableMapping.SourceTable = "Table";
 | |
|             tableMapping.DataSetTable = "PersonInvStock";
 | |
|             tableMapping.ColumnMappings.Add("username", "username");
 | |
|             tableMapping.ColumnMappings.Add("project", "project");
 | |
|             tableMapping.ColumnMappings.Add("pdate", "pdate");
 | |
|             tableMapping.ColumnMappings.Add("ItemName", "ItemName");
 | |
|             tableMapping.ColumnMappings.Add("stock", "stock");
 | |
|             this._adapter.TableMappings.Add(tableMapping);
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         private void InitConnection() {
 | |
|             this._connection = new global::System.Data.SqlClient.SqlConnection();
 | |
|             this._connection.ConnectionString = global::FCM0000.Properties.Settings.Default.gwcs;
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         private void InitCommandCollection() {
 | |
|             this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
 | |
|             this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._commandCollection[0].Connection = this.Connection;
 | |
|             this._commandCollection[0].CommandText = @"SELECT  dbo.getUserName(uid) AS username, ISNULL(dbo.getProjectName(project), '--') AS project, MAX(pdate) AS pdate, ItemName, SUM(dr_qty) AS stock
 | |
| FROM     Inventory
 | |
| WHERE  (dbo.getUserName(uid) LIKE @uid)
 | |
| GROUP BY dbo.getUserName(uid), dbo.getProjectName(project), ItemName
 | |
| HAVING  (SUM(dr_qty) <> 0)
 | |
| ORDER BY username, project, ItemName";
 | |
|             this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
 | |
|             this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uid", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
 | |
|         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
 | |
|         public virtual int Fill(DSReport.PersonInvStockDataTable dataTable, string uid) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[0];
 | |
|             if ((uid == null)) {
 | |
|                 throw new global::System.ArgumentNullException("uid");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(uid));
 | |
|             }
 | |
|             if ((this.ClearBeforeFill == true)) {
 | |
|                 dataTable.Clear();
 | |
|             }
 | |
|             int returnValue = this.Adapter.Fill(dataTable);
 | |
|             return returnValue;
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
 | |
|         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
 | |
|         public virtual DSReport.PersonInvStockDataTable GetData(string uid) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[0];
 | |
|             if ((uid == null)) {
 | |
|                 throw new global::System.ArgumentNullException("uid");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(uid));
 | |
|             }
 | |
|             DSReport.PersonInvStockDataTable dataTable = new DSReport.PersonInvStockDataTable();
 | |
|             this.Adapter.Fill(dataTable);
 | |
|             return dataTable;
 | |
|         }
 | |
|     }
 | |
|     
 | |
|     /// <summary>
 | |
|     ///Represents the connection and commands used to retrieve and save data.
 | |
|     ///</summary>
 | |
|     [global::System.ComponentModel.DesignerCategoryAttribute("code")]
 | |
|     [global::System.ComponentModel.ToolboxItem(true)]
 | |
|     [global::System.ComponentModel.DataObjectAttribute(true)]
 | |
|     [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
 | |
|         ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
 | |
|     [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
 | |
|     public partial class jagosummaryTableAdapter : global::System.ComponentModel.Component {
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlDataAdapter _adapter;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlConnection _connection;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlTransaction _transaction;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
 | |
|         
 | |
|         private bool _clearBeforeFill;
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         public jagosummaryTableAdapter() {
 | |
|             this.ClearBeforeFill = true;
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
 | |
|             get {
 | |
|                 if ((this._adapter == null)) {
 | |
|                     this.InitAdapter();
 | |
|                 }
 | |
|                 return this._adapter;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         internal global::System.Data.SqlClient.SqlConnection Connection {
 | |
|             get {
 | |
|                 if ((this._connection == null)) {
 | |
|                     this.InitConnection();
 | |
|                 }
 | |
|                 return this._connection;
 | |
|             }
 | |
|             set {
 | |
|                 this._connection = value;
 | |
|                 if ((this.Adapter.InsertCommand != null)) {
 | |
|                     this.Adapter.InsertCommand.Connection = value;
 | |
|                 }
 | |
|                 if ((this.Adapter.DeleteCommand != null)) {
 | |
|                     this.Adapter.DeleteCommand.Connection = value;
 | |
|                 }
 | |
|                 if ((this.Adapter.UpdateCommand != null)) {
 | |
|                     this.Adapter.UpdateCommand.Connection = value;
 | |
|                 }
 | |
|                 for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
 | |
|                     if ((this.CommandCollection[i] != null)) {
 | |
|                         ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
 | |
|                     }
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         internal global::System.Data.SqlClient.SqlTransaction Transaction {
 | |
|             get {
 | |
|                 return this._transaction;
 | |
|             }
 | |
|             set {
 | |
|                 this._transaction = value;
 | |
|                 for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
 | |
|                     this.CommandCollection[i].Transaction = this._transaction;
 | |
|                 }
 | |
|                 if (((this.Adapter != null) 
 | |
|                             && (this.Adapter.DeleteCommand != null))) {
 | |
|                     this.Adapter.DeleteCommand.Transaction = this._transaction;
 | |
|                 }
 | |
|                 if (((this.Adapter != null) 
 | |
|                             && (this.Adapter.InsertCommand != null))) {
 | |
|                     this.Adapter.InsertCommand.Transaction = this._transaction;
 | |
|                 }
 | |
|                 if (((this.Adapter != null) 
 | |
|                             && (this.Adapter.UpdateCommand != null))) {
 | |
|                     this.Adapter.UpdateCommand.Transaction = this._transaction;
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
 | |
|             get {
 | |
|                 if ((this._commandCollection == null)) {
 | |
|                     this.InitCommandCollection();
 | |
|                 }
 | |
|                 return this._commandCollection;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         public bool ClearBeforeFill {
 | |
|             get {
 | |
|                 return this._clearBeforeFill;
 | |
|             }
 | |
|             set {
 | |
|                 this._clearBeforeFill = value;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         private void InitAdapter() {
 | |
|             this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
 | |
|             global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
 | |
|             tableMapping.SourceTable = "Table";
 | |
|             tableMapping.DataSetTable = "jagosummary";
 | |
|             tableMapping.ColumnMappings.Add("idx", "idx");
 | |
|             tableMapping.ColumnMappings.Add("lastDate", "lastDate");
 | |
|             tableMapping.ColumnMappings.Add("name", "name");
 | |
|             tableMapping.ColumnMappings.Add("sid", "sid");
 | |
|             tableMapping.ColumnMappings.Add("model", "model");
 | |
|             tableMapping.ColumnMappings.Add("Qty", "Qty");
 | |
|             tableMapping.ColumnMappings.Add("Amt", "Amt");
 | |
|             tableMapping.ColumnMappings.Add("supply", "supply");
 | |
|             this._adapter.TableMappings.Add(tableMapping);
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         private void InitConnection() {
 | |
|             this._connection = new global::System.Data.SqlClient.SqlConnection();
 | |
|             this._connection.ConnectionString = global::FCM0000.Properties.Settings.Default.gwcs;
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         private void InitCommandCollection() {
 | |
|             this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
 | |
|             this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._commandCollection[0].Connection = this.Connection;
 | |
|             this._commandCollection[0].CommandText = @"SELECT  Items.idx, MAX(Inventory.pdate) AS lastDate, Items.name, Items.sid, Items.model, SUM(Inventory.dr_qty) AS Qty, SUM(Inventory.dr_amt) AS Amt, Items.supply
 | |
| FROM     Inventory LEFT OUTER JOIN
 | |
|                Items ON Inventory.gcode = Items.gcode AND Inventory.item = Items.idx
 | |
| WHERE  (Inventory.gcode = @gcode) AND (Inventory.pdate <= @baseDate)
 | |
| GROUP BY Items.idx, Items.name, Items.sid, Items.model, Items.supply";
 | |
|             this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
 | |
|             this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@baseDate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
 | |
|         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
 | |
|         public virtual int Fill(DSReport.jagosummaryDataTable dataTable, string gcode, string baseDate) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[0];
 | |
|             if ((gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode));
 | |
|             }
 | |
|             if ((baseDate == null)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = ((string)(baseDate));
 | |
|             }
 | |
|             if ((this.ClearBeforeFill == true)) {
 | |
|                 dataTable.Clear();
 | |
|             }
 | |
|             int returnValue = this.Adapter.Fill(dataTable);
 | |
|             return returnValue;
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
 | |
|         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
 | |
|         public virtual DSReport.jagosummaryDataTable GetData(string gcode, string baseDate) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[0];
 | |
|             if ((gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode));
 | |
|             }
 | |
|             if ((baseDate == null)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = ((string)(baseDate));
 | |
|             }
 | |
|             DSReport.jagosummaryDataTable dataTable = new DSReport.jagosummaryDataTable();
 | |
|             this.Adapter.Fill(dataTable);
 | |
|             return dataTable;
 | |
|         }
 | |
|     }
 | |
|     
 | |
|     /// <summary>
 | |
|     ///Represents the connection and commands used to retrieve and save data.
 | |
|     ///</summary>
 | |
|     [global::System.ComponentModel.DesignerCategoryAttribute("code")]
 | |
|     [global::System.ComponentModel.ToolboxItem(true)]
 | |
|     [global::System.ComponentModel.DataObjectAttribute(true)]
 | |
|     [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
 | |
|         ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
 | |
|     [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
 | |
|     public partial class jagosummaryPlaceTableAdapter : global::System.ComponentModel.Component {
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlDataAdapter _adapter;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlConnection _connection;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlTransaction _transaction;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
 | |
|         
 | |
|         private bool _clearBeforeFill;
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         public jagosummaryPlaceTableAdapter() {
 | |
|             this.ClearBeforeFill = true;
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
 | |
|             get {
 | |
|                 if ((this._adapter == null)) {
 | |
|                     this.InitAdapter();
 | |
|                 }
 | |
|                 return this._adapter;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         internal global::System.Data.SqlClient.SqlConnection Connection {
 | |
|             get {
 | |
|                 if ((this._connection == null)) {
 | |
|                     this.InitConnection();
 | |
|                 }
 | |
|                 return this._connection;
 | |
|             }
 | |
|             set {
 | |
|                 this._connection = value;
 | |
|                 if ((this.Adapter.InsertCommand != null)) {
 | |
|                     this.Adapter.InsertCommand.Connection = value;
 | |
|                 }
 | |
|                 if ((this.Adapter.DeleteCommand != null)) {
 | |
|                     this.Adapter.DeleteCommand.Connection = value;
 | |
|                 }
 | |
|                 if ((this.Adapter.UpdateCommand != null)) {
 | |
|                     this.Adapter.UpdateCommand.Connection = value;
 | |
|                 }
 | |
|                 for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
 | |
|                     if ((this.CommandCollection[i] != null)) {
 | |
|                         ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
 | |
|                     }
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         internal global::System.Data.SqlClient.SqlTransaction Transaction {
 | |
|             get {
 | |
|                 return this._transaction;
 | |
|             }
 | |
|             set {
 | |
|                 this._transaction = value;
 | |
|                 for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
 | |
|                     this.CommandCollection[i].Transaction = this._transaction;
 | |
|                 }
 | |
|                 if (((this.Adapter != null) 
 | |
|                             && (this.Adapter.DeleteCommand != null))) {
 | |
|                     this.Adapter.DeleteCommand.Transaction = this._transaction;
 | |
|                 }
 | |
|                 if (((this.Adapter != null) 
 | |
|                             && (this.Adapter.InsertCommand != null))) {
 | |
|                     this.Adapter.InsertCommand.Transaction = this._transaction;
 | |
|                 }
 | |
|                 if (((this.Adapter != null) 
 | |
|                             && (this.Adapter.UpdateCommand != null))) {
 | |
|                     this.Adapter.UpdateCommand.Transaction = this._transaction;
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
 | |
|             get {
 | |
|                 if ((this._commandCollection == null)) {
 | |
|                     this.InitCommandCollection();
 | |
|                 }
 | |
|                 return this._commandCollection;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         public bool ClearBeforeFill {
 | |
|             get {
 | |
|                 return this._clearBeforeFill;
 | |
|             }
 | |
|             set {
 | |
|                 this._clearBeforeFill = value;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         private void InitAdapter() {
 | |
|             this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
 | |
|             global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
 | |
|             tableMapping.SourceTable = "Table";
 | |
|             tableMapping.DataSetTable = "jagosummaryPlace";
 | |
|             tableMapping.ColumnMappings.Add("place", "place");
 | |
|             tableMapping.ColumnMappings.Add("lastDate", "lastDate");
 | |
|             tableMapping.ColumnMappings.Add("name", "name");
 | |
|             tableMapping.ColumnMappings.Add("sid", "sid");
 | |
|             tableMapping.ColumnMappings.Add("model", "model");
 | |
|             tableMapping.ColumnMappings.Add("Qty", "Qty");
 | |
|             tableMapping.ColumnMappings.Add("Amt", "Amt");
 | |
|             tableMapping.ColumnMappings.Add("supply", "supply");
 | |
|             tableMapping.ColumnMappings.Add("item", "item");
 | |
|             tableMapping.ColumnMappings.Add("box", "box");
 | |
|             this._adapter.TableMappings.Add(tableMapping);
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         private void InitConnection() {
 | |
|             this._connection = new global::System.Data.SqlClient.SqlConnection();
 | |
|             this._connection.ConnectionString = global::FCM0000.Properties.Settings.Default.gwcs;
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         private void InitCommandCollection() {
 | |
|             this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
 | |
|             this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._commandCollection[0].Connection = this.Connection;
 | |
|             this._commandCollection[0].CommandText = @"SELECT  Inventory.place, MAX(Inventory.pdate) AS lastDate, Items.name, Items.sid, Items.model, SUM(Inventory.dr_qty) AS Qty, SUM(Inventory.dr_amt) AS Amt, Items.supply, Inventory.item, 
 | |
|                Inventory.box
 | |
| FROM     Inventory LEFT OUTER JOIN
 | |
|                Items ON Inventory.gcode = Items.gcode AND Inventory.item = Items.idx
 | |
| WHERE  (Inventory.gcode = @gcode) AND (Inventory.pdate <= @baseDate) AND (ISNULL(Inventory.place, N'') LIKE @place)
 | |
| GROUP BY Items.name, Items.sid, Items.model, Items.supply, Inventory.place, Inventory.item, Inventory.box";
 | |
|             this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
 | |
|             this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@baseDate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@place", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._commandCollection[1].Connection = this.Connection;
 | |
|             this._commandCollection[1].CommandText = @"SELECT  Inventory.place, MAX(Inventory.pdate) AS lastDate, Items.name, Items.sid, Items.model, SUM(Inventory.dr_qty) AS Qty, SUM(Inventory.dr_amt) AS Amt, Items.supply, Inventory.item, 
 | |
|                Inventory.box
 | |
| FROM     Inventory LEFT OUTER JOIN
 | |
|                Items ON Inventory.gcode = Items.gcode AND Inventory.item = Items.idx
 | |
| WHERE  (Inventory.gcode = @gcode) AND (Inventory.pdate <= @baseDate) AND (Items.idx = @item)
 | |
| GROUP BY Items.name, Items.sid, Items.model, Items.supply, Inventory.place, Inventory.item, Inventory.box";
 | |
|             this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
 | |
|             this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@baseDate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@item", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
 | |
|         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
 | |
|         public virtual int Fill(DSReport.jagosummaryPlaceDataTable dataTable, string gcode, string baseDate, string place) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[0];
 | |
|             if ((gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode));
 | |
|             }
 | |
|             if ((baseDate == null)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = ((string)(baseDate));
 | |
|             }
 | |
|             if ((place == null)) {
 | |
|                 throw new global::System.ArgumentNullException("place");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[2].Value = ((string)(place));
 | |
|             }
 | |
|             if ((this.ClearBeforeFill == true)) {
 | |
|                 dataTable.Clear();
 | |
|             }
 | |
|             int returnValue = this.Adapter.Fill(dataTable);
 | |
|             return returnValue;
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
 | |
|         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
 | |
|         public virtual DSReport.jagosummaryPlaceDataTable GetData(string gcode, string baseDate, string place) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[0];
 | |
|             if ((gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode));
 | |
|             }
 | |
|             if ((baseDate == null)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = ((string)(baseDate));
 | |
|             }
 | |
|             if ((place == null)) {
 | |
|                 throw new global::System.ArgumentNullException("place");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[2].Value = ((string)(place));
 | |
|             }
 | |
|             DSReport.jagosummaryPlaceDataTable dataTable = new DSReport.jagosummaryPlaceDataTable(true);
 | |
|             this.Adapter.Fill(dataTable);
 | |
|             return dataTable;
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
 | |
|         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
 | |
|         public virtual int FillByItemIdx(DSReport.jagosummaryPlaceDataTable dataTable, string gcode, string baseDate, int item) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[1];
 | |
|             if ((gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode));
 | |
|             }
 | |
|             if ((baseDate == null)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = ((string)(baseDate));
 | |
|             }
 | |
|             this.Adapter.SelectCommand.Parameters[2].Value = ((int)(item));
 | |
|             if ((this.ClearBeforeFill == true)) {
 | |
|                 dataTable.Clear();
 | |
|             }
 | |
|             int returnValue = this.Adapter.Fill(dataTable);
 | |
|             return returnValue;
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
 | |
|         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
 | |
|         public virtual DSReport.jagosummaryPlaceDataTable GetbyItemIdx(string gcode, string baseDate, int item) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[1];
 | |
|             if ((gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode));
 | |
|             }
 | |
|             if ((baseDate == null)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = ((string)(baseDate));
 | |
|             }
 | |
|             this.Adapter.SelectCommand.Parameters[2].Value = ((int)(item));
 | |
|             DSReport.jagosummaryPlaceDataTable dataTable = new DSReport.jagosummaryPlaceDataTable(true);
 | |
|             this.Adapter.Fill(dataTable);
 | |
|             return dataTable;
 | |
|         }
 | |
|     }
 | |
|     
 | |
|     /// <summary>
 | |
|     ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
 | |
|     ///</summary>
 | |
|     [global::System.ComponentModel.DesignerCategoryAttribute("code")]
 | |
|     [global::System.ComponentModel.ToolboxItem(true)]
 | |
|     [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" +
 | |
|         "esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
 | |
|     [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")]
 | |
|     public partial class TableAdapterManager : global::System.ComponentModel.Component {
 | |
|         
 | |
|         private UpdateOrderOption _updateOrder;
 | |
|         
 | |
|         private bool _backupDataSetBeforeUpdate;
 | |
|         
 | |
|         private global::System.Data.IDbConnection _connection;
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         public UpdateOrderOption UpdateOrder {
 | |
|             get {
 | |
|                 return this._updateOrder;
 | |
|             }
 | |
|             set {
 | |
|                 this._updateOrder = value;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         public bool BackupDataSetBeforeUpdate {
 | |
|             get {
 | |
|                 return this._backupDataSetBeforeUpdate;
 | |
|             }
 | |
|             set {
 | |
|                 this._backupDataSetBeforeUpdate = value;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         [global::System.ComponentModel.Browsable(false)]
 | |
|         public global::System.Data.IDbConnection Connection {
 | |
|             get {
 | |
|                 if ((this._connection != null)) {
 | |
|                     return this._connection;
 | |
|                 }
 | |
|                 return null;
 | |
|             }
 | |
|             set {
 | |
|                 this._connection = value;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         [global::System.ComponentModel.Browsable(false)]
 | |
|         public int TableAdapterInstanceCount {
 | |
|             get {
 | |
|                 int count = 0;
 | |
|                 return count;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Update rows in top-down order.
 | |
|         ///</summary>
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         private int UpdateUpdatedRows(DSReport dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
 | |
|             int result = 0;
 | |
|             return result;
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Insert rows in top-down order.
 | |
|         ///</summary>
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         private int UpdateInsertedRows(DSReport dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
 | |
|             int result = 0;
 | |
|             return result;
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Delete rows in bottom-up order.
 | |
|         ///</summary>
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         private int UpdateDeletedRows(DSReport dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows) {
 | |
|             int result = 0;
 | |
|             return result;
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first
 | |
|         ///</summary>
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
 | |
|             if (((updatedRows == null) 
 | |
|                         || (updatedRows.Length < 1))) {
 | |
|                 return updatedRows;
 | |
|             }
 | |
|             if (((allAddedRows == null) 
 | |
|                         || (allAddedRows.Count < 1))) {
 | |
|                 return updatedRows;
 | |
|             }
 | |
|             global::System.Collections.Generic.List<global::System.Data.DataRow> realUpdatedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
 | |
|             for (int i = 0; (i < updatedRows.Length); i = (i + 1)) {
 | |
|                 global::System.Data.DataRow row = updatedRows[i];
 | |
|                 if ((allAddedRows.Contains(row) == false)) {
 | |
|                     realUpdatedRows.Add(row);
 | |
|                 }
 | |
|             }
 | |
|             return realUpdatedRows.ToArray();
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Update all changes to the dataset.
 | |
|         ///</summary>
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         public virtual int UpdateAll(DSReport dataSet) {
 | |
|             if ((dataSet == null)) {
 | |
|                 throw new global::System.ArgumentNullException("dataSet");
 | |
|             }
 | |
|             if ((dataSet.HasChanges() == false)) {
 | |
|                 return 0;
 | |
|             }
 | |
|             global::System.Data.IDbConnection workConnection = this.Connection;
 | |
|             if ((workConnection == null)) {
 | |
|                 throw new global::System.ApplicationException("TableAdapterManager에 연결 정보가 없습니다. 각 TableAdapterManager TableAdapter 속성을 올바른 Tabl" +
 | |
|                         "eAdapter 인스턴스로 설정하십시오.");
 | |
|             }
 | |
|             bool workConnOpened = false;
 | |
|             if (((workConnection.State & global::System.Data.ConnectionState.Broken) 
 | |
|                         == global::System.Data.ConnectionState.Broken)) {
 | |
|                 workConnection.Close();
 | |
|             }
 | |
|             if ((workConnection.State == global::System.Data.ConnectionState.Closed)) {
 | |
|                 workConnection.Open();
 | |
|                 workConnOpened = true;
 | |
|             }
 | |
|             global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction();
 | |
|             if ((workTransaction == null)) {
 | |
|                 throw new global::System.ApplicationException("트랜잭션을 시작할 수 없습니다. 현재 데이터 연결에서 트랜잭션이 지원되지 않거나 현재 상태에서 트랜잭션을 시작할 수 없습니다.");
 | |
|             }
 | |
|             global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
 | |
|             global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
 | |
|             global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter> adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter>();
 | |
|             global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection> revertConnections = new global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection>();
 | |
|             int result = 0;
 | |
|             global::System.Data.DataSet backupDataSet = null;
 | |
|             if (this.BackupDataSetBeforeUpdate) {
 | |
|                 backupDataSet = new global::System.Data.DataSet();
 | |
|                 backupDataSet.Merge(dataSet);
 | |
|             }
 | |
|             try {
 | |
|                 // ---- Prepare for update -----------
 | |
|                 //
 | |
|                 // 
 | |
|                 //---- Perform updates -----------
 | |
|                 //
 | |
|                 if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) {
 | |
|                     result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
 | |
|                     result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
 | |
|                 }
 | |
|                 else {
 | |
|                     result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
 | |
|                     result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
 | |
|                 }
 | |
|                 result = (result + this.UpdateDeletedRows(dataSet, allChangedRows));
 | |
|                 // 
 | |
|                 //---- Commit updates -----------
 | |
|                 //
 | |
|                 workTransaction.Commit();
 | |
|                 if ((0 < allAddedRows.Count)) {
 | |
|                     global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
 | |
|                     allAddedRows.CopyTo(rows);
 | |
|                     for (int i = 0; (i < rows.Length); i = (i + 1)) {
 | |
|                         global::System.Data.DataRow row = rows[i];
 | |
|                         row.AcceptChanges();
 | |
|                     }
 | |
|                 }
 | |
|                 if ((0 < allChangedRows.Count)) {
 | |
|                     global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count];
 | |
|                     allChangedRows.CopyTo(rows);
 | |
|                     for (int i = 0; (i < rows.Length); i = (i + 1)) {
 | |
|                         global::System.Data.DataRow row = rows[i];
 | |
|                         row.AcceptChanges();
 | |
|                     }
 | |
|                 }
 | |
|             }
 | |
|             catch (global::System.Exception ex) {
 | |
|                 workTransaction.Rollback();
 | |
|                 // ---- Restore the dataset -----------
 | |
|                 if (this.BackupDataSetBeforeUpdate) {
 | |
|                     global::System.Diagnostics.Debug.Assert((backupDataSet != null));
 | |
|                     dataSet.Clear();
 | |
|                     dataSet.Merge(backupDataSet);
 | |
|                 }
 | |
|                 else {
 | |
|                     if ((0 < allAddedRows.Count)) {
 | |
|                         global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
 | |
|                         allAddedRows.CopyTo(rows);
 | |
|                         for (int i = 0; (i < rows.Length); i = (i + 1)) {
 | |
|                             global::System.Data.DataRow row = rows[i];
 | |
|                             row.AcceptChanges();
 | |
|                             row.SetAdded();
 | |
|                         }
 | |
|                     }
 | |
|                 }
 | |
|                 throw ex;
 | |
|             }
 | |
|             finally {
 | |
|                 if (workConnOpened) {
 | |
|                     workConnection.Close();
 | |
|                 }
 | |
|                 if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) {
 | |
|                     global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count];
 | |
|                     adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters);
 | |
|                     for (int i = 0; (i < adapters.Length); i = (i + 1)) {
 | |
|                         global::System.Data.Common.DataAdapter adapter = adapters[i];
 | |
|                         adapter.AcceptChangesDuringUpdate = true;
 | |
|                     }
 | |
|                 }
 | |
|             }
 | |
|             return result;
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) {
 | |
|             global::System.Array.Sort<global::System.Data.DataRow>(rows, new SelfReferenceComparer(relation, childFirst));
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) {
 | |
|             if ((this._connection != null)) {
 | |
|                 return true;
 | |
|             }
 | |
|             if (((this.Connection == null) 
 | |
|                         || (inputConnection == null))) {
 | |
|                 return true;
 | |
|             }
 | |
|             if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) {
 | |
|                 return true;
 | |
|             }
 | |
|             return false;
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Update Order Option
 | |
|         ///</summary>
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         public enum UpdateOrderOption {
 | |
|             
 | |
|             InsertUpdateDelete = 0,
 | |
|             
 | |
|             UpdateInsertDelete = 1,
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Used to sort self-referenced table's rows
 | |
|         ///</summary>
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|         private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer<global::System.Data.DataRow> {
 | |
|             
 | |
|             private global::System.Data.DataRelation _relation;
 | |
|             
 | |
|             private int _childFirst;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) {
 | |
|                 this._relation = relation;
 | |
|                 if (childFirst) {
 | |
|                     this._childFirst = -1;
 | |
|                 }
 | |
|                 else {
 | |
|                     this._childFirst = 1;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) {
 | |
|                 global::System.Diagnostics.Debug.Assert((row != null));
 | |
|                 global::System.Data.DataRow root = row;
 | |
|                 distance = 0;
 | |
| 
 | |
|                 global::System.Collections.Generic.IDictionary<global::System.Data.DataRow, global::System.Data.DataRow> traversedRows = new global::System.Collections.Generic.Dictionary<global::System.Data.DataRow, global::System.Data.DataRow>();
 | |
|                 traversedRows[row] = row;
 | |
| 
 | |
|                 global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
 | |
|                 for (
 | |
|                 ; ((parent != null) 
 | |
|                             && (traversedRows.ContainsKey(parent) == false)); 
 | |
|                 ) {
 | |
|                     distance = (distance + 1);
 | |
|                     root = parent;
 | |
|                     traversedRows[parent] = parent;
 | |
|                     parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
 | |
|                 }
 | |
| 
 | |
|                 if ((distance == 0)) {
 | |
|                     traversedRows.Clear();
 | |
|                     traversedRows[row] = row;
 | |
|                     parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
 | |
|                     for (
 | |
|                     ; ((parent != null) 
 | |
|                                 && (traversedRows.ContainsKey(parent) == false)); 
 | |
|                     ) {
 | |
|                         distance = (distance + 1);
 | |
|                         root = parent;
 | |
|                         traversedRows[parent] = parent;
 | |
|                         parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
 | |
|                     }
 | |
|                 }
 | |
| 
 | |
|                 return root;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
 | |
|             public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) {
 | |
|                 if (object.ReferenceEquals(row1, row2)) {
 | |
|                     return 0;
 | |
|                 }
 | |
|                 if ((row1 == null)) {
 | |
|                     return -1;
 | |
|                 }
 | |
|                 if ((row2 == null)) {
 | |
|                     return 1;
 | |
|                 }
 | |
| 
 | |
|                 int distance1 = 0;
 | |
|                 global::System.Data.DataRow root1 = this.GetRoot(row1, out distance1);
 | |
| 
 | |
|                 int distance2 = 0;
 | |
|                 global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2);
 | |
| 
 | |
|                 if (object.ReferenceEquals(root1, root2)) {
 | |
|                     return (this._childFirst * distance1.CompareTo(distance2));
 | |
|                 }
 | |
|                 else {
 | |
|                     global::System.Diagnostics.Debug.Assert(((root1.Table != null) 
 | |
|                                     && (root2.Table != null)));
 | |
|                     if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) {
 | |
|                         return -1;
 | |
|                     }
 | |
|                     else {
 | |
|                         return 1;
 | |
|                     }
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|     }
 | |
| }
 | |
| 
 | |
| #pragma warning restore 1591 | 
