From 3b0b69518ee22a2df75c56b3cff0ab724e132ede Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Mon, 23 Jan 2017 16:22:17 +0100 Subject: [PATCH] update x gestione nuovi valori in elenco visite --- ScheMe_Data/DS_Applicazione.Designer.cs | 92 ++++++++++++++++++++++++- ScheMe_Data/DS_Applicazione.xsd | 40 ++++++----- ScheMe_Data/DS_Applicazione.xss | 4 +- 3 files changed, 114 insertions(+), 22 deletions(-) diff --git a/ScheMe_Data/DS_Applicazione.Designer.cs b/ScheMe_Data/DS_Applicazione.Designer.cs index 489e299..0024ee7 100644 --- a/ScheMe_Data/DS_Applicazione.Designer.cs +++ b/ScheMe_Data/DS_Applicazione.Designer.cs @@ -1111,6 +1111,10 @@ namespace ScheMe_Data { private global::System.Data.DataColumn columnVRF; + private global::System.Data.DataColumn columnVVF; + + private global::System.Data.DataColumn columnVSA; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public ElencoVisiteDataTable() { @@ -1208,6 +1212,22 @@ namespace ScheMe_Data { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn VVFColumn { + get { + return this.columnVVF; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn VSAColumn { + get { + return this.columnVSA; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Browsable(false)] @@ -1245,7 +1265,7 @@ namespace ScheMe_Data { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public ElencoVisiteRow AddElencoVisiteRow(System.DateTime DataVisita, int VAC, int VBMA, int VCP, int VL, int VP, int VSV, int VRF) { + public ElencoVisiteRow AddElencoVisiteRow(System.DateTime DataVisita, int VAC, int VBMA, int VCP, int VL, int VP, int VSV, int VRF, int VVF, int VSA) { ElencoVisiteRow rowElencoVisiteRow = ((ElencoVisiteRow)(this.NewRow())); object[] columnValuesArray = new object[] { DataVisita, @@ -1255,7 +1275,9 @@ namespace ScheMe_Data { VL, VP, VSV, - VRF}; + VRF, + VVF, + VSA}; rowElencoVisiteRow.ItemArray = columnValuesArray; this.Rows.Add(rowElencoVisiteRow); return rowElencoVisiteRow; @@ -1293,6 +1315,8 @@ namespace ScheMe_Data { this.columnVP = base.Columns["VP"]; this.columnVSV = base.Columns["VSV"]; this.columnVRF = base.Columns["VRF"]; + this.columnVVF = base.Columns["VVF"]; + this.columnVSA = base.Columns["VSA"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -1314,6 +1338,10 @@ namespace ScheMe_Data { base.Columns.Add(this.columnVSV); this.columnVRF = new global::System.Data.DataColumn("VRF", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnVRF); + this.columnVVF = new global::System.Data.DataColumn("VVF", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnVVF); + this.columnVSA = new global::System.Data.DataColumn("VSA", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnVSA); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnDataVisita}, true)); this.columnDataVisita.AllowDBNull = false; @@ -1325,6 +1353,8 @@ namespace ScheMe_Data { this.columnVP.ReadOnly = true; this.columnVSV.ReadOnly = true; this.columnVRF.ReadOnly = true; + this.columnVVF.ReadOnly = true; + this.columnVSA.ReadOnly = true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -8438,6 +8468,38 @@ namespace ScheMe_Data { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int VVF { + get { + try { + return ((int)(this[this.tableElencoVisite.VVFColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'VVF\' in table \'ElencoVisite\' is DBNull.", e); + } + } + set { + this[this.tableElencoVisite.VVFColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int VSA { + get { + try { + return ((int)(this[this.tableElencoVisite.VSAColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'VSA\' in table \'ElencoVisite\' is DBNull.", e); + } + } + set { + this[this.tableElencoVisite.VSAColumn] = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsVACNull() { @@ -8521,6 +8583,30 @@ namespace ScheMe_Data { public void SetVRFNull() { this[this.tableElencoVisite.VRFColumn] = global::System.Convert.DBNull; } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsVVFNull() { + return this.IsNull(this.tableElencoVisite.VVFColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetVVFNull() { + this[this.tableElencoVisite.VVFColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsVSANull() { + return this.IsNull(this.tableElencoVisite.VSAColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetVSANull() { + this[this.tableElencoVisite.VSAColumn] = global::System.Convert.DBNull; + } } /// @@ -16502,6 +16588,8 @@ SELECT IdxPaziente, Gruppo, Cognome, Nome, DataNasc, LuogoNascita, Sesso, CodF, tableMapping.ColumnMappings.Add("VP", "VP"); tableMapping.ColumnMappings.Add("VSV", "VSV"); tableMapping.ColumnMappings.Add("VRF", "VRF"); + tableMapping.ColumnMappings.Add("VVF", "VVF"); + tableMapping.ColumnMappings.Add("VSA", "VSA"); this._adapter.TableMappings.Add(tableMapping); } diff --git a/ScheMe_Data/DS_Applicazione.xsd b/ScheMe_Data/DS_Applicazione.xsd index d2a5c67..3d11a62 100644 --- a/ScheMe_Data/DS_Applicazione.xsd +++ b/ScheMe_Data/DS_Applicazione.xsd @@ -214,6 +214,8 @@ SELECT IdxPaziente, Gruppo, Cognome, Nome, DataNasc, LuogoNascita, Sesso, CodF, + + @@ -1547,7 +1549,7 @@ SELECT IdxPaziente, DataVisita, Note, Score1, Score2 FROM VisRelazFin WHERE (Dat - + @@ -1626,10 +1628,10 @@ SELECT IdxPaziente, DataVisita, Note, Score1, Score2 FROM VisRelazFin WHERE (Dat - + - + @@ -1637,10 +1639,12 @@ SELECT IdxPaziente, DataVisita, Note, Score1, Score2 FROM VisRelazFin WHERE (Dat + + - + @@ -1663,7 +1667,7 @@ SELECT IdxPaziente, DataVisita, Note, Score1, Score2 FROM VisRelazFin WHERE (Dat - + @@ -1686,7 +1690,7 @@ SELECT IdxPaziente, DataVisita, Note, Score1, Score2 FROM VisRelazFin WHERE (Dat - + @@ -1714,7 +1718,7 @@ SELECT IdxPaziente, DataVisita, Note, Score1, Score2 FROM VisRelazFin WHERE (Dat - + @@ -1728,7 +1732,7 @@ SELECT IdxPaziente, DataVisita, Note, Score1, Score2 FROM VisRelazFin WHERE (Dat - + @@ -1780,7 +1784,7 @@ SELECT IdxPaziente, DataVisita, Note, Score1, Score2 FROM VisRelazFin WHERE (Dat - + @@ -1797,7 +1801,7 @@ SELECT IdxPaziente, DataVisita, Note, Score1, Score2 FROM VisRelazFin WHERE (Dat - + @@ -2286,7 +2290,7 @@ SELECT IdxPaziente, DataVisita, Note, Score1, Score2 FROM VisRelazFin WHERE (Dat - + @@ -2386,13 +2390,13 @@ SELECT IdxPaziente, DataVisita, Note, Score1, Score2 FROM VisRelazFin WHERE (Dat - - - - - - - + + + + + + + \ No newline at end of file diff --git a/ScheMe_Data/DS_Applicazione.xss b/ScheMe_Data/DS_Applicazione.xss index 1d18111..bdc6a41 100644 --- a/ScheMe_Data/DS_Applicazione.xss +++ b/ScheMe_Data/DS_Applicazione.xss @@ -4,10 +4,10 @@ Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. --> - + - +