From e833618d2769b5f28c2a7e220d3490c2cdb545b6 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Mon, 24 Aug 2020 17:35:26 +0200 Subject: [PATCH] Fix gestione report e chiavi relative --- AppData/DS_Report.Designer.cs | 41 ++--------------------------------- AppData/DS_Report.xsd | 33 ++++++++++------------------ AppData/DS_Report.xss | 6 ++--- 3 files changed, 17 insertions(+), 63 deletions(-) diff --git a/AppData/DS_Report.Designer.cs b/AppData/DS_Report.Designer.cs index 4776b84..636e9ad 100644 --- a/AppData/DS_Report.Designer.cs +++ b/AppData/DS_Report.Designer.cs @@ -3721,14 +3721,6 @@ namespace AppData { return rowstp_prt_IRKRow; } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] - public stp_prt_IRKRow FindByOrderExtCodeCartDtmx(string OrderExtCode, string CartDtmx) { - return ((stp_prt_IRKRow)(this.Rows.Find(new object[] { - OrderExtCode, - CartDtmx}))); - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public override global::System.Data.DataTable Clone() { @@ -3793,9 +3785,6 @@ namespace AppData { base.Columns.Add(this.columnOnCartDate); this.columnQRCodeBaseUrl = new global::System.Data.DataColumn("QRCodeBaseUrl", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnQRCodeBaseUrl); - this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { - this.columnOrderExtCode, - this.columnCartDtmx}, true)); this.columnOrderExtCode.AllowDBNull = false; this.columnOrderExtCode.MaxLength = 250; this.columnCartDtmx.AllowDBNull = false; @@ -3803,6 +3792,7 @@ namespace AppData { this.columnKitExtCode.MaxLength = 250; this.columnStatusDesc.AllowDBNull = false; this.columnStatusDesc.MaxLength = 50; + this.columnItemDtmx.AllowDBNull = false; this.columnItemDtmx.MaxLength = 50; this.columnItemExtCode.AllowDBNull = false; this.columnItemExtCode.MaxLength = 250; @@ -4138,13 +4128,6 @@ namespace AppData { return rowstp_prt_IRK_SumRow; } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] - public stp_prt_IRK_SumRow FindByOrderExtCode(string OrderExtCode) { - return ((stp_prt_IRK_SumRow)(this.Rows.Find(new object[] { - OrderExtCode}))); - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public override global::System.Data.DataTable Clone() { @@ -4197,10 +4180,7 @@ namespace AppData { base.Columns.Add(this.columnMatDesc); this.columnQRCodeBaseUrl = new global::System.Data.DataColumn("QRCodeBaseUrl", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnQRCodeBaseUrl); - this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { - this.columnOrderExtCode}, true)); this.columnOrderExtCode.AllowDBNull = false; - this.columnOrderExtCode.Unique = true; this.columnOrderExtCode.MaxLength = 250; this.columnCartDtmx.MaxLength = 10; this.columnItemExtCode.AllowDBNull = false; @@ -5845,12 +5825,7 @@ namespace AppData { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public string ItemDtmx { get { - try { - return ((string)(this[this.tablestp_prt_IRK.ItemDtmxColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'ItemDtmx\' nella tabella \'stp_prt_IRK\' รจ DBNull.", e); - } + return ((string)(this[this.tablestp_prt_IRK.ItemDtmxColumn])); } set { this[this.tablestp_prt_IRK.ItemDtmxColumn] = value; @@ -5978,18 +5953,6 @@ namespace AppData { this[this.tablestp_prt_IRK.KitExtCodeColumn] = global::System.Convert.DBNull; } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] - public bool IsItemDtmxNull() { - return this.IsNull(this.tablestp_prt_IRK.ItemDtmxColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] - public void SetItemDtmxNull() { - this[this.tablestp_prt_IRK.ItemDtmxColumn] = global::System.Convert.DBNull; - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public bool IsOnCartDateNull() { diff --git a/AppData/DS_Report.xsd b/AppData/DS_Report.xsd index 7bd6e48..e475933 100644 --- a/AppData/DS_Report.xsd +++ b/AppData/DS_Report.xsd @@ -495,7 +495,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + @@ -527,7 +527,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + @@ -559,7 +559,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + @@ -586,7 +586,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + @@ -653,7 +653,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + @@ -681,7 +681,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + @@ -720,7 +720,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + @@ -766,7 +766,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + @@ -815,7 +815,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + @@ -846,7 +846,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + @@ -895,10 +895,10 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + - + @@ -979,14 +979,5 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - - - - - - - - - \ No newline at end of file diff --git a/AppData/DS_Report.xss b/AppData/DS_Report.xss index 688b968..2536959 100644 --- a/AppData/DS_Report.xss +++ b/AppData/DS_Report.xss @@ -4,7 +4,7 @@ Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. --> - + @@ -14,8 +14,8 @@ - - + + \ No newline at end of file