diff --git a/MedPred/Accettazione.aspx.cs b/MedPred/Accettazione.aspx.cs
index ee97091..230f014 100644
--- a/MedPred/Accettazione.aspx.cs
+++ b/MedPred/Accettazione.aspx.cs
@@ -18,6 +18,9 @@ namespace MedPred
memLayer.ML.emptySessionVal("Paziente");
}
}
+ ///
+ /// ultimo comando letto da link button
+ ///
public string lastCmd { get; set; }
///
/// gestione evento novo record
diff --git a/MedPred/MedPred.csproj b/MedPred/MedPred.csproj
index 9e69bc9..c007bf4 100644
--- a/MedPred/MedPred.csproj
+++ b/MedPred/MedPred.csproj
@@ -320,6 +320,10 @@
Designer
+
+
+
+
@@ -395,6 +399,27 @@
Unauth.aspx
+
+ VCiclo.aspx
+ ASPXCodeBehind
+
+
+ VCiclo.aspx
+
+
+ VEco.aspx
+ ASPXCodeBehind
+
+
+ VEco.aspx
+
+
+ VGen.aspx
+ ASPXCodeBehind
+
+
+ VGen.aspx
+
Visite.aspx
ASPXCodeBehind
@@ -402,6 +427,13 @@
Visite.aspx
+
+ mod_ElencoVisitePaziente.ascx
+ ASPXCodeBehind
+
+
+ mod_ElencoVisitePaziente.ascx
+
mod_footer.ascx
ASPXCodeBehind
diff --git a/MedPred/VCiclo.aspx b/MedPred/VCiclo.aspx
new file mode 100644
index 0000000..372d003
--- /dev/null
+++ b/MedPred/VCiclo.aspx
@@ -0,0 +1,6 @@
+<%@ Page Title="" Language="C#" MasterPageFile="~/JQMob.Master" AutoEventWireup="true" CodeBehind="VCiclo.aspx.cs" Inherits="MedPred.VCiclo" %>
+
+
+
+ Cicloergometro
+
diff --git a/MedPred/VCiclo.aspx.cs b/MedPred/VCiclo.aspx.cs
new file mode 100644
index 0000000..0daf916
--- /dev/null
+++ b/MedPred/VCiclo.aspx.cs
@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace MedPred
+{
+ public partial class VCiclo : System.Web.UI.Page
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+
+ }
+ }
+}
\ No newline at end of file
diff --git a/MedPred/VCiclo.aspx.designer.cs b/MedPred/VCiclo.aspx.designer.cs
new file mode 100644
index 0000000..8cd9b76
--- /dev/null
+++ b/MedPred/VCiclo.aspx.designer.cs
@@ -0,0 +1,17 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace MedPred
+{
+
+
+ public partial class VCiclo
+ {
+ }
+}
diff --git a/MedPred/VEco.aspx b/MedPred/VEco.aspx
new file mode 100644
index 0000000..ffb2aa1
--- /dev/null
+++ b/MedPred/VEco.aspx
@@ -0,0 +1,6 @@
+<%@ Page Title="" Language="C#" MasterPageFile="~/JQMob.Master" AutoEventWireup="true" CodeBehind="VEco.aspx.cs" Inherits="MedPred.VEco" %>
+
+
+
+EcoCardio
+
diff --git a/MedPred/VEco.aspx.cs b/MedPred/VEco.aspx.cs
new file mode 100644
index 0000000..9926b81
--- /dev/null
+++ b/MedPred/VEco.aspx.cs
@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace MedPred
+{
+ public partial class VEco : System.Web.UI.Page
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+
+ }
+ }
+}
\ No newline at end of file
diff --git a/MedPred/VEco.aspx.designer.cs b/MedPred/VEco.aspx.designer.cs
new file mode 100644
index 0000000..8d3538a
--- /dev/null
+++ b/MedPred/VEco.aspx.designer.cs
@@ -0,0 +1,17 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace MedPred
+{
+
+
+ public partial class VEco
+ {
+ }
+}
diff --git a/MedPred/VGen.aspx b/MedPred/VGen.aspx
new file mode 100644
index 0000000..9c8af82
--- /dev/null
+++ b/MedPred/VGen.aspx
@@ -0,0 +1,6 @@
+<%@ Page Title="" Language="C#" MasterPageFile="~/JQMob.Master" AutoEventWireup="true" CodeBehind="VGen.aspx.cs" Inherits="MedPred.VGen" %>
+
+
+
+ Visita Generale
+
diff --git a/MedPred/VGen.aspx.cs b/MedPred/VGen.aspx.cs
new file mode 100644
index 0000000..3f49a17
--- /dev/null
+++ b/MedPred/VGen.aspx.cs
@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace MedPred
+{
+ public partial class VGen : System.Web.UI.Page
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+
+ }
+ }
+}
\ No newline at end of file
diff --git a/MedPred/VGen.aspx.designer.cs b/MedPred/VGen.aspx.designer.cs
new file mode 100644
index 0000000..c568da1
--- /dev/null
+++ b/MedPred/VGen.aspx.designer.cs
@@ -0,0 +1,17 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace MedPred
+{
+
+
+ public partial class VGen
+ {
+ }
+}
diff --git a/MedPred/Visite.aspx b/MedPred/Visite.aspx
index d955e6c..4d4876c 100644
--- a/MedPred/Visite.aspx
+++ b/MedPred/Visite.aspx
@@ -1,22 +1,20 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/JQMob.Master" AutoEventWireup="true" CodeBehind="Visite.aspx.cs" Inherits="MedPred.Visite" %>
+<%@ Register Src="~/WebUserControls/mod_ElencoVisitePaziente.ascx" TagPrefix="uc1" TagName="mod_ElencoVisitePaziente" %>
+
+
- Elenco Visite:
-
-
+
- Data | VG | VCiclo | VEco | VBMecc | VLab | VPsi
-
-
Navigazione dettagli
diff --git a/MedPred/Visite.aspx.designer.cs b/MedPred/Visite.aspx.designer.cs
index ebe99d8..7ae7f0b 100644
--- a/MedPred/Visite.aspx.designer.cs
+++ b/MedPred/Visite.aspx.designer.cs
@@ -3,15 +3,22 @@
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
+// the code is regenerated.
//
//------------------------------------------------------------------------------
-namespace MedPred
-{
-
-
- public partial class Visite
- {
+namespace MedPred {
+
+
+ public partial class Visite {
+
+ ///
+ /// ElencoVisite control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::MedPred.WebUserControls.mod_ElencoVisitePaziente ElencoVisite;
}
}
diff --git a/MedPred/WebUserControls/mod_ElencoVisitePaziente.ascx b/MedPred/WebUserControls/mod_ElencoVisitePaziente.ascx
new file mode 100644
index 0000000..84b0ccf
--- /dev/null
+++ b/MedPred/WebUserControls/mod_ElencoVisitePaziente.ascx
@@ -0,0 +1,64 @@
+<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_ElencoVisitePaziente.ascx.cs" Inherits="MedPred.WebUserControls.mod_ElencoVisitePaziente" %>
+
+Elenco Visite
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/MedPred/WebUserControls/mod_ElencoVisitePaziente.ascx.cs b/MedPred/WebUserControls/mod_ElencoVisitePaziente.ascx.cs
new file mode 100644
index 0000000..9e49f3e
--- /dev/null
+++ b/MedPred/WebUserControls/mod_ElencoVisitePaziente.ascx.cs
@@ -0,0 +1,78 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using SteamWare;
+
+namespace MedPred.WebUserControls
+{
+ public partial class mod_ElencoVisitePaziente : System.Web.UI.UserControl
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+
+ }
+ ///
+ /// ultimo comando letto da link button
+ ///
+ public string lastCmd { get; set; }
+
+ protected void grView_RowCommand(object sender, GridViewCommandEventArgs e)
+ {
+ // salvo il command argument...
+ lastCmd = e.CommandArgument.ToString();
+ }
+ protected int IdxPaziente
+ {
+ get
+ {
+ return memLayer.ML.IntSessionObj("IdxPaziente");
+ }
+ }
+ ///
+ /// ricevuto comando di select
+ ///
+ ///
+ ///
+ protected void grView_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ // recupero dati visita...
+ DateTime dataVisita = DateTime.Now;
+ try
+ {
+ dataVisita = Convert.ToDateTime(grView.SelectedDataKey["DataVisita"]);
+ memLayer.ML.setSessionVal("DataVisita", dataVisita);
+ //DS_Applicazione.AnagPazientiRow riga = DtProxy.man.taAP.getByKey(IdxPaziente)[0];
+ //memLayer.ML.setSessionVal("Paziente", string.Format("{0} {1} ({2:dd/MM/yyyy})", riga.Cognome, riga.Nome, riga.DataNasc));
+ }
+ catch
+ { }
+
+ switch (lastCmd)
+ {
+ case "SelVGen":
+ Response.Redirect("VGen?cmd=sel");
+ break;
+ case "NewVGen":
+ Response.Redirect("VGen?cmd=new");
+ break;
+ case "SelVCiclo":
+ Response.Redirect("VCiclo?cmd=sel");
+ break;
+ case "NewVCiclo":
+ Response.Redirect("VCiclo?cmd=new");
+ break;
+ default:
+ break;
+ }
+
+ if (lastCmd == "edit")
+ {
+ // richiamo pagina con edit del record richiesto
+ Response.Redirect(string.Format("AccettazioneEdit?IdxPaziente={0}", grView.SelectedDataKey["IdxPaziente"]));
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/MedPred/WebUserControls/mod_ElencoVisitePaziente.ascx.designer.cs b/MedPred/WebUserControls/mod_ElencoVisitePaziente.ascx.designer.cs
new file mode 100644
index 0000000..48cad44
--- /dev/null
+++ b/MedPred/WebUserControls/mod_ElencoVisitePaziente.ascx.designer.cs
@@ -0,0 +1,33 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace MedPred.WebUserControls {
+
+
+ public partial class mod_ElencoVisitePaziente {
+
+ ///
+ /// grView control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.GridView grView;
+
+ ///
+ /// ods control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ObjectDataSource ods;
+ }
+}
diff --git a/MedPred_Data/DS_Applicazione.Designer.cs b/MedPred_Data/DS_Applicazione.Designer.cs
index 2ce0d18..e73ee90 100644
--- a/MedPred_Data/DS_Applicazione.Designer.cs
+++ b/MedPred_Data/DS_Applicazione.Designer.cs
@@ -26,6 +26,12 @@ namespace MedPred_Data {
private AnagPazientiDataTable tableAnagPazienti;
+ private VisGenDataTable tableVisGen;
+
+ private ElencoVisiteDataTable tableElencoVisite;
+
+ private global::System.Data.DataRelation relationFK_VisGen_AnagPazienti;
+
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -57,6 +63,12 @@ namespace MedPred_Data {
if ((ds.Tables["AnagPazienti"] != null)) {
base.Tables.Add(new AnagPazientiDataTable(ds.Tables["AnagPazienti"]));
}
+ if ((ds.Tables["VisGen"] != null)) {
+ base.Tables.Add(new VisGenDataTable(ds.Tables["VisGen"]));
+ }
+ if ((ds.Tables["ElencoVisite"] != null)) {
+ base.Tables.Add(new ElencoVisiteDataTable(ds.Tables["ElencoVisite"]));
+ }
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -85,6 +97,26 @@ namespace MedPred_Data {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public VisGenDataTable VisGen {
+ get {
+ return this.tableVisGen;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public ElencoVisiteDataTable ElencoVisite {
+ get {
+ return this.tableElencoVisite;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.BrowsableAttribute(true)]
@@ -155,6 +187,12 @@ namespace MedPred_Data {
if ((ds.Tables["AnagPazienti"] != null)) {
base.Tables.Add(new AnagPazientiDataTable(ds.Tables["AnagPazienti"]));
}
+ if ((ds.Tables["VisGen"] != null)) {
+ base.Tables.Add(new VisGenDataTable(ds.Tables["VisGen"]));
+ }
+ if ((ds.Tables["ElencoVisite"] != null)) {
+ base.Tables.Add(new ElencoVisiteDataTable(ds.Tables["ElencoVisite"]));
+ }
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -194,6 +232,19 @@ namespace MedPred_Data {
this.tableAnagPazienti.InitVars();
}
}
+ this.tableVisGen = ((VisGenDataTable)(base.Tables["VisGen"]));
+ if ((initTable == true)) {
+ if ((this.tableVisGen != null)) {
+ this.tableVisGen.InitVars();
+ }
+ }
+ this.tableElencoVisite = ((ElencoVisiteDataTable)(base.Tables["ElencoVisite"]));
+ if ((initTable == true)) {
+ if ((this.tableElencoVisite != null)) {
+ this.tableElencoVisite.InitVars();
+ }
+ }
+ this.relationFK_VisGen_AnagPazienti = this.Relations["FK_VisGen_AnagPazienti"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -206,6 +257,14 @@ namespace MedPred_Data {
this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
this.tableAnagPazienti = new AnagPazientiDataTable();
base.Tables.Add(this.tableAnagPazienti);
+ this.tableVisGen = new VisGenDataTable();
+ base.Tables.Add(this.tableVisGen);
+ this.tableElencoVisite = new ElencoVisiteDataTable();
+ base.Tables.Add(this.tableElencoVisite);
+ this.relationFK_VisGen_AnagPazienti = new global::System.Data.DataRelation("FK_VisGen_AnagPazienti", new global::System.Data.DataColumn[] {
+ this.tableAnagPazienti.IdxPazienteColumn}, new global::System.Data.DataColumn[] {
+ this.tableVisGen.IdxPazienteColumn}, false);
+ this.Relations.Add(this.relationFK_VisGen_AnagPazienti);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -214,6 +273,18 @@ namespace MedPred_Data {
return false;
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializeVisGen() {
+ return false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializeElencoVisite() {
+ return false;
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
@@ -272,6 +343,12 @@ namespace MedPred_Data {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void AnagPazientiRowChangeEventHandler(object sender, AnagPazientiRowChangeEvent e);
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void VisGenRowChangeEventHandler(object sender, VisGenRowChangeEvent e);
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void ElencoVisiteRowChangeEventHandler(object sender, ElencoVisiteRowChangeEvent e);
+
///
///Represents the strongly named DataTable class.
///
@@ -597,6 +674,796 @@ namespace MedPred_Data {
}
}
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class VisGenDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnIdxPaziente;
+
+ private global::System.Data.DataColumn columnDataVisita;
+
+ private global::System.Data.DataColumn columnPeso;
+
+ private global::System.Data.DataColumn columnAltezza;
+
+ private global::System.Data.DataColumn columnBMI;
+
+ private global::System.Data.DataColumn columnCirconfVita;
+
+ private global::System.Data.DataColumn columnGrassoTotPerc;
+
+ private global::System.Data.DataColumn columnGrassoTot;
+
+ private global::System.Data.DataColumn columnGrassoViscPerc;
+
+ private global::System.Data.DataColumn columnGrassoVisc;
+
+ private global::System.Data.DataColumn columnGrassoViscTot;
+
+ private global::System.Data.DataColumn columnMassaMagraTotPerc;
+
+ private global::System.Data.DataColumn columnMassaMagraTot;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public VisGenDataTable() {
+ this.TableName = "VisGen";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal VisGenDataTable(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", "4.0.0.0")]
+ protected VisGenDataTable(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", "4.0.0.0")]
+ public global::System.Data.DataColumn IdxPazienteColumn {
+ get {
+ return this.columnIdxPaziente;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn DataVisitaColumn {
+ get {
+ return this.columnDataVisita;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn PesoColumn {
+ get {
+ return this.columnPeso;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn AltezzaColumn {
+ get {
+ return this.columnAltezza;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn BMIColumn {
+ get {
+ return this.columnBMI;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn CirconfVitaColumn {
+ get {
+ return this.columnCirconfVita;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn GrassoTotPercColumn {
+ get {
+ return this.columnGrassoTotPerc;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn GrassoTotColumn {
+ get {
+ return this.columnGrassoTot;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn GrassoViscPercColumn {
+ get {
+ return this.columnGrassoViscPerc;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn GrassoViscColumn {
+ get {
+ return this.columnGrassoVisc;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn GrassoViscTotColumn {
+ get {
+ return this.columnGrassoViscTot;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn MassaMagraTotPercColumn {
+ get {
+ return this.columnMassaMagraTotPerc;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn MassaMagraTotColumn {
+ get {
+ return this.columnMassaMagraTot;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")]
+ public VisGenRow this[int index] {
+ get {
+ return ((VisGenRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event VisGenRowChangeEventHandler VisGenRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event VisGenRowChangeEventHandler VisGenRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event VisGenRowChangeEventHandler VisGenRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event VisGenRowChangeEventHandler VisGenRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void AddVisGenRow(VisGenRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public VisGenRow AddVisGenRow(AnagPazientiRow parentAnagPazientiRowByFK_VisGen_AnagPazienti, System.DateTime DataVisita, double Peso, double Altezza, double BMI, double CirconfVita, double GrassoTotPerc, double GrassoTot, double GrassoViscPerc, double GrassoVisc, double GrassoViscTot, double MassaMagraTotPerc, double MassaMagraTot) {
+ VisGenRow rowVisGenRow = ((VisGenRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ null,
+ DataVisita,
+ Peso,
+ Altezza,
+ BMI,
+ CirconfVita,
+ GrassoTotPerc,
+ GrassoTot,
+ GrassoViscPerc,
+ GrassoVisc,
+ GrassoViscTot,
+ MassaMagraTotPerc,
+ MassaMagraTot};
+ if ((parentAnagPazientiRowByFK_VisGen_AnagPazienti != null)) {
+ columnValuesArray[0] = parentAnagPazientiRowByFK_VisGen_AnagPazienti[0];
+ }
+ rowVisGenRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowVisGenRow);
+ return rowVisGenRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public VisGenRow FindByIdxPazienteDataVisita(int IdxPaziente, System.DateTime DataVisita) {
+ return ((VisGenRow)(this.Rows.Find(new object[] {
+ IdxPaziente,
+ DataVisita})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ VisGenDataTable cln = ((VisGenDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new VisGenDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars() {
+ this.columnIdxPaziente = base.Columns["IdxPaziente"];
+ this.columnDataVisita = base.Columns["DataVisita"];
+ this.columnPeso = base.Columns["Peso"];
+ this.columnAltezza = base.Columns["Altezza"];
+ this.columnBMI = base.Columns["BMI"];
+ this.columnCirconfVita = base.Columns["CirconfVita"];
+ this.columnGrassoTotPerc = base.Columns["GrassoTotPerc"];
+ this.columnGrassoTot = base.Columns["GrassoTot"];
+ this.columnGrassoViscPerc = base.Columns["GrassoViscPerc"];
+ this.columnGrassoVisc = base.Columns["GrassoVisc"];
+ this.columnGrassoViscTot = base.Columns["GrassoViscTot"];
+ this.columnMassaMagraTotPerc = base.Columns["MassaMagraTotPerc"];
+ this.columnMassaMagraTot = base.Columns["MassaMagraTot"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitClass() {
+ this.columnIdxPaziente = new global::System.Data.DataColumn("IdxPaziente", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnIdxPaziente);
+ this.columnDataVisita = new global::System.Data.DataColumn("DataVisita", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnDataVisita);
+ this.columnPeso = new global::System.Data.DataColumn("Peso", typeof(double), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPeso);
+ this.columnAltezza = new global::System.Data.DataColumn("Altezza", typeof(double), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnAltezza);
+ this.columnBMI = new global::System.Data.DataColumn("BMI", typeof(double), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnBMI);
+ this.columnCirconfVita = new global::System.Data.DataColumn("CirconfVita", typeof(double), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCirconfVita);
+ this.columnGrassoTotPerc = new global::System.Data.DataColumn("GrassoTotPerc", typeof(double), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnGrassoTotPerc);
+ this.columnGrassoTot = new global::System.Data.DataColumn("GrassoTot", typeof(double), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnGrassoTot);
+ this.columnGrassoViscPerc = new global::System.Data.DataColumn("GrassoViscPerc", typeof(double), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnGrassoViscPerc);
+ this.columnGrassoVisc = new global::System.Data.DataColumn("GrassoVisc", typeof(double), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnGrassoVisc);
+ this.columnGrassoViscTot = new global::System.Data.DataColumn("GrassoViscTot", typeof(double), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnGrassoViscTot);
+ this.columnMassaMagraTotPerc = new global::System.Data.DataColumn("MassaMagraTotPerc", typeof(double), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnMassaMagraTotPerc);
+ this.columnMassaMagraTot = new global::System.Data.DataColumn("MassaMagraTot", typeof(double), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnMassaMagraTot);
+ this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
+ this.columnIdxPaziente,
+ this.columnDataVisita}, true));
+ this.columnIdxPaziente.AllowDBNull = false;
+ this.columnDataVisita.AllowDBNull = false;
+ this.columnPeso.AllowDBNull = false;
+ this.columnAltezza.AllowDBNull = false;
+ this.columnBMI.ReadOnly = true;
+ this.columnCirconfVita.AllowDBNull = false;
+ this.columnGrassoTotPerc.AllowDBNull = false;
+ this.columnGrassoTot.ReadOnly = true;
+ this.columnGrassoViscPerc.AllowDBNull = false;
+ this.columnGrassoVisc.ReadOnly = true;
+ this.columnGrassoViscTot.ReadOnly = true;
+ this.columnMassaMagraTotPerc.AllowDBNull = false;
+ this.columnMassaMagraTot.ReadOnly = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public VisGenRow NewVisGenRow() {
+ return ((VisGenRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new VisGenRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(VisGenRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.VisGenRowChanged != null)) {
+ this.VisGenRowChanged(this, new VisGenRowChangeEvent(((VisGenRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.VisGenRowChanging != null)) {
+ this.VisGenRowChanging(this, new VisGenRowChangeEvent(((VisGenRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.VisGenRowDeleted != null)) {
+ this.VisGenRowDeleted(this, new VisGenRowChangeEvent(((VisGenRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.VisGenRowDeleting != null)) {
+ this.VisGenRowDeleting(this, new VisGenRowChangeEvent(((VisGenRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void RemoveVisGenRow(VisGenRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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();
+ DS_Applicazione ds = new DS_Applicazione();
+ 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 = "VisGenDataTable";
+ 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;
+ }
+ }
+
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class ElencoVisiteDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnDataVisita;
+
+ private global::System.Data.DataColumn columnVGen;
+
+ private global::System.Data.DataColumn columnVCiclo;
+
+ private global::System.Data.DataColumn columnVEco;
+
+ private global::System.Data.DataColumn columnVBMec;
+
+ private global::System.Data.DataColumn columnVLab;
+
+ private global::System.Data.DataColumn columnVPsi;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ElencoVisiteDataTable() {
+ this.TableName = "ElencoVisite";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal ElencoVisiteDataTable(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", "4.0.0.0")]
+ protected ElencoVisiteDataTable(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", "4.0.0.0")]
+ public global::System.Data.DataColumn DataVisitaColumn {
+ get {
+ return this.columnDataVisita;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn VGenColumn {
+ get {
+ return this.columnVGen;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn VCicloColumn {
+ get {
+ return this.columnVCiclo;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn VEcoColumn {
+ get {
+ return this.columnVEco;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn VBMecColumn {
+ get {
+ return this.columnVBMec;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn VLabColumn {
+ get {
+ return this.columnVLab;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn VPsiColumn {
+ get {
+ return this.columnVPsi;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")]
+ public ElencoVisiteRow this[int index] {
+ get {
+ return ((ElencoVisiteRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event ElencoVisiteRowChangeEventHandler ElencoVisiteRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event ElencoVisiteRowChangeEventHandler ElencoVisiteRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event ElencoVisiteRowChangeEventHandler ElencoVisiteRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event ElencoVisiteRowChangeEventHandler ElencoVisiteRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void AddElencoVisiteRow(ElencoVisiteRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ElencoVisiteRow AddElencoVisiteRow(System.DateTime DataVisita, int VGen, int VCiclo, int VEco, int VBMec, int VLab, int VPsi) {
+ ElencoVisiteRow rowElencoVisiteRow = ((ElencoVisiteRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ DataVisita,
+ VGen,
+ VCiclo,
+ VEco,
+ VBMec,
+ VLab,
+ VPsi};
+ rowElencoVisiteRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowElencoVisiteRow);
+ return rowElencoVisiteRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ElencoVisiteRow FindByDataVisita(System.DateTime DataVisita) {
+ return ((ElencoVisiteRow)(this.Rows.Find(new object[] {
+ DataVisita})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ ElencoVisiteDataTable cln = ((ElencoVisiteDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new ElencoVisiteDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal void InitVars() {
+ this.columnDataVisita = base.Columns["DataVisita"];
+ this.columnVGen = base.Columns["VGen"];
+ this.columnVCiclo = base.Columns["VCiclo"];
+ this.columnVEco = base.Columns["VEco"];
+ this.columnVBMec = base.Columns["VBMec"];
+ this.columnVLab = base.Columns["VLab"];
+ this.columnVPsi = base.Columns["VPsi"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitClass() {
+ this.columnDataVisita = new global::System.Data.DataColumn("DataVisita", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnDataVisita);
+ this.columnVGen = new global::System.Data.DataColumn("VGen", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnVGen);
+ this.columnVCiclo = new global::System.Data.DataColumn("VCiclo", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnVCiclo);
+ this.columnVEco = new global::System.Data.DataColumn("VEco", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnVEco);
+ this.columnVBMec = new global::System.Data.DataColumn("VBMec", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnVBMec);
+ this.columnVLab = new global::System.Data.DataColumn("VLab", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnVLab);
+ this.columnVPsi = new global::System.Data.DataColumn("VPsi", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnVPsi);
+ this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
+ this.columnDataVisita}, true));
+ this.columnDataVisita.AllowDBNull = false;
+ this.columnDataVisita.Unique = true;
+ this.columnVGen.ReadOnly = true;
+ this.columnVCiclo.ReadOnly = true;
+ this.columnVEco.ReadOnly = true;
+ this.columnVBMec.ReadOnly = true;
+ this.columnVLab.ReadOnly = true;
+ this.columnVPsi.ReadOnly = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ElencoVisiteRow NewElencoVisiteRow() {
+ return ((ElencoVisiteRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new ElencoVisiteRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(ElencoVisiteRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.ElencoVisiteRowChanged != null)) {
+ this.ElencoVisiteRowChanged(this, new ElencoVisiteRowChangeEvent(((ElencoVisiteRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.ElencoVisiteRowChanging != null)) {
+ this.ElencoVisiteRowChanging(this, new ElencoVisiteRowChangeEvent(((ElencoVisiteRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.ElencoVisiteRowDeleted != null)) {
+ this.ElencoVisiteRowDeleted(this, new ElencoVisiteRowChangeEvent(((ElencoVisiteRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.ElencoVisiteRowDeleting != null)) {
+ this.ElencoVisiteRowDeleting(this, new ElencoVisiteRowChangeEvent(((ElencoVisiteRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void RemoveElencoVisiteRow(ElencoVisiteRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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();
+ DS_Applicazione ds = new DS_Applicazione();
+ 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 = "ElencoVisiteDataTable";
+ 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;
+ }
+ }
+
///
///Represents strongly named DataRow class.
///
@@ -665,6 +1532,465 @@ namespace MedPred_Data {
this[this.tableAnagPazienti.CodFColumn] = value;
}
}
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public VisGenRow[] GetVisGenRows() {
+ if ((this.Table.ChildRelations["FK_VisGen_AnagPazienti"] == null)) {
+ return new VisGenRow[0];
+ }
+ else {
+ return ((VisGenRow[])(base.GetChildRows(this.Table.ChildRelations["FK_VisGen_AnagPazienti"])));
+ }
+ }
+ }
+
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class VisGenRow : global::System.Data.DataRow {
+
+ private VisGenDataTable tableVisGen;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal VisGenRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tableVisGen = ((VisGenDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int IdxPaziente {
+ get {
+ return ((int)(this[this.tableVisGen.IdxPazienteColumn]));
+ }
+ set {
+ this[this.tableVisGen.IdxPazienteColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public System.DateTime DataVisita {
+ get {
+ return ((global::System.DateTime)(this[this.tableVisGen.DataVisitaColumn]));
+ }
+ set {
+ this[this.tableVisGen.DataVisitaColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public double Peso {
+ get {
+ return ((double)(this[this.tableVisGen.PesoColumn]));
+ }
+ set {
+ this[this.tableVisGen.PesoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public double Altezza {
+ get {
+ return ((double)(this[this.tableVisGen.AltezzaColumn]));
+ }
+ set {
+ this[this.tableVisGen.AltezzaColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public double BMI {
+ get {
+ try {
+ return ((double)(this[this.tableVisGen.BMIColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'BMI\' in table \'VisGen\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableVisGen.BMIColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public double CirconfVita {
+ get {
+ return ((double)(this[this.tableVisGen.CirconfVitaColumn]));
+ }
+ set {
+ this[this.tableVisGen.CirconfVitaColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public double GrassoTotPerc {
+ get {
+ return ((double)(this[this.tableVisGen.GrassoTotPercColumn]));
+ }
+ set {
+ this[this.tableVisGen.GrassoTotPercColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public double GrassoTot {
+ get {
+ try {
+ return ((double)(this[this.tableVisGen.GrassoTotColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'GrassoTot\' in table \'VisGen\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableVisGen.GrassoTotColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public double GrassoViscPerc {
+ get {
+ return ((double)(this[this.tableVisGen.GrassoViscPercColumn]));
+ }
+ set {
+ this[this.tableVisGen.GrassoViscPercColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public double GrassoVisc {
+ get {
+ try {
+ return ((double)(this[this.tableVisGen.GrassoViscColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'GrassoVisc\' in table \'VisGen\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableVisGen.GrassoViscColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public double GrassoViscTot {
+ get {
+ try {
+ return ((double)(this[this.tableVisGen.GrassoViscTotColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'GrassoViscTot\' in table \'VisGen\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableVisGen.GrassoViscTotColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public double MassaMagraTotPerc {
+ get {
+ return ((double)(this[this.tableVisGen.MassaMagraTotPercColumn]));
+ }
+ set {
+ this[this.tableVisGen.MassaMagraTotPercColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public double MassaMagraTot {
+ get {
+ try {
+ return ((double)(this[this.tableVisGen.MassaMagraTotColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'MassaMagraTot\' in table \'VisGen\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableVisGen.MassaMagraTotColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public AnagPazientiRow AnagPazientiRow {
+ get {
+ return ((AnagPazientiRow)(this.GetParentRow(this.Table.ParentRelations["FK_VisGen_AnagPazienti"])));
+ }
+ set {
+ this.SetParentRow(value, this.Table.ParentRelations["FK_VisGen_AnagPazienti"]);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsBMINull() {
+ return this.IsNull(this.tableVisGen.BMIColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetBMINull() {
+ this[this.tableVisGen.BMIColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsGrassoTotNull() {
+ return this.IsNull(this.tableVisGen.GrassoTotColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetGrassoTotNull() {
+ this[this.tableVisGen.GrassoTotColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsGrassoViscNull() {
+ return this.IsNull(this.tableVisGen.GrassoViscColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetGrassoViscNull() {
+ this[this.tableVisGen.GrassoViscColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsGrassoViscTotNull() {
+ return this.IsNull(this.tableVisGen.GrassoViscTotColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetGrassoViscTotNull() {
+ this[this.tableVisGen.GrassoViscTotColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsMassaMagraTotNull() {
+ return this.IsNull(this.tableVisGen.MassaMagraTotColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetMassaMagraTotNull() {
+ this[this.tableVisGen.MassaMagraTotColumn] = global::System.Convert.DBNull;
+ }
+ }
+
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class ElencoVisiteRow : global::System.Data.DataRow {
+
+ private ElencoVisiteDataTable tableElencoVisite;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal ElencoVisiteRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tableElencoVisite = ((ElencoVisiteDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public System.DateTime DataVisita {
+ get {
+ return ((global::System.DateTime)(this[this.tableElencoVisite.DataVisitaColumn]));
+ }
+ set {
+ this[this.tableElencoVisite.DataVisitaColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int VGen {
+ get {
+ try {
+ return ((int)(this[this.tableElencoVisite.VGenColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'VGen\' in table \'ElencoVisite\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableElencoVisite.VGenColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int VCiclo {
+ get {
+ try {
+ return ((int)(this[this.tableElencoVisite.VCicloColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'VCiclo\' in table \'ElencoVisite\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableElencoVisite.VCicloColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int VEco {
+ get {
+ try {
+ return ((int)(this[this.tableElencoVisite.VEcoColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'VEco\' in table \'ElencoVisite\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableElencoVisite.VEcoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int VBMec {
+ get {
+ try {
+ return ((int)(this[this.tableElencoVisite.VBMecColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'VBMec\' in table \'ElencoVisite\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableElencoVisite.VBMecColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int VLab {
+ get {
+ try {
+ return ((int)(this[this.tableElencoVisite.VLabColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'VLab\' in table \'ElencoVisite\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableElencoVisite.VLabColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int VPsi {
+ get {
+ try {
+ return ((int)(this[this.tableElencoVisite.VPsiColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'VPsi\' in table \'ElencoVisite\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableElencoVisite.VPsiColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsVGenNull() {
+ return this.IsNull(this.tableElencoVisite.VGenColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetVGenNull() {
+ this[this.tableElencoVisite.VGenColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsVCicloNull() {
+ return this.IsNull(this.tableElencoVisite.VCicloColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetVCicloNull() {
+ this[this.tableElencoVisite.VCicloColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsVEcoNull() {
+ return this.IsNull(this.tableElencoVisite.VEcoColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetVEcoNull() {
+ this[this.tableElencoVisite.VEcoColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsVBMecNull() {
+ return this.IsNull(this.tableElencoVisite.VBMecColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetVBMecNull() {
+ this[this.tableElencoVisite.VBMecColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsVLabNull() {
+ return this.IsNull(this.tableElencoVisite.VLabColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetVLabNull() {
+ this[this.tableElencoVisite.VLabColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsVPsiNull() {
+ return this.IsNull(this.tableElencoVisite.VPsiColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetVPsiNull() {
+ this[this.tableElencoVisite.VPsiColumn] = global::System.Convert.DBNull;
+ }
}
///
@@ -700,6 +2026,74 @@ namespace MedPred_Data {
}
}
}
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public class VisGenRowChangeEvent : global::System.EventArgs {
+
+ private VisGenRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public VisGenRowChangeEvent(VisGenRow 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", "4.0.0.0")]
+ public VisGenRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public class ElencoVisiteRowChangeEvent : global::System.EventArgs {
+
+ private ElencoVisiteRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public ElencoVisiteRowChangeEvent(ElencoVisiteRow 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", "4.0.0.0")]
+ public ElencoVisiteRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
}
}
namespace MedPred_Data.DS_ApplicazioneTableAdapters {
@@ -1268,6 +2662,612 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, CodF FROM AnagPazienti WHERE (IdxPa
}
}
+ ///
+ ///Represents the connection and commands used to retrieve and save data.
+ ///
+ [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 VisGenTableAdapter : 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", "4.0.0.0")]
+ public VisGenTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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 = "VisGen";
+ tableMapping.ColumnMappings.Add("IdxPaziente", "IdxPaziente");
+ tableMapping.ColumnMappings.Add("DataVisita", "DataVisita");
+ tableMapping.ColumnMappings.Add("Peso", "Peso");
+ tableMapping.ColumnMappings.Add("Altezza", "Altezza");
+ tableMapping.ColumnMappings.Add("BMI", "BMI");
+ tableMapping.ColumnMappings.Add("CirconfVita", "CirconfVita");
+ tableMapping.ColumnMappings.Add("GrassoTotPerc", "GrassoTotPerc");
+ tableMapping.ColumnMappings.Add("GrassoTot", "GrassoTot");
+ tableMapping.ColumnMappings.Add("GrassoViscPerc", "GrassoViscPerc");
+ tableMapping.ColumnMappings.Add("GrassoVisc", "GrassoVisc");
+ tableMapping.ColumnMappings.Add("GrassoViscTot", "GrassoViscTot");
+ tableMapping.ColumnMappings.Add("MassaMagraTotPerc", "MassaMagraTotPerc");
+ tableMapping.ColumnMappings.Add("MassaMagraTot", "MassaMagraTot");
+ this._adapter.TableMappings.Add(tableMapping);
+ this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.DeleteCommand.Connection = this.Connection;
+ this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[VisGen] WHERE (([IdxPaziente] = @Original_IdxPaziente) AND ([DataVisita] = @Original_DataVisita) AND ([Peso] = @Original_Peso) AND ([Altezza] = @Original_Altezza) AND ([BMI] = @Original_BMI) AND ([CirconfVita] = @Original_CirconfVita) AND ([GrassoTotPerc] = @Original_GrassoTotPerc) AND ([GrassoTot] = @Original_GrassoTot) AND ([GrassoViscPerc] = @Original_GrassoViscPerc) AND ([GrassoVisc] = @Original_GrassoVisc) AND ([GrassoViscTot] = @Original_GrassoViscTot) AND ([MassaMagraTotPerc] = @Original_MassaMagraTotPerc) AND ([MassaMagraTot] = @Original_MassaMagraTot))";
+ this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxPaziente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPaziente", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataVisita", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataVisita", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Peso", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Peso", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Altezza", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Altezza", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_BMI", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BMI", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CirconfVita", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CirconfVita", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_GrassoTotPerc", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "GrassoTotPerc", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_GrassoTot", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "GrassoTot", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_GrassoViscPerc", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "GrassoViscPerc", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_GrassoVisc", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "GrassoVisc", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_GrassoViscTot", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "GrassoViscTot", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MassaMagraTotPerc", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MassaMagraTotPerc", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MassaMagraTot", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MassaMagraTot", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.InsertCommand.Connection = this.Connection;
+ this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[VisGen] ([IdxPaziente], [DataVisita], [Peso], [Altezza], [CirconfVita], [GrassoTotPerc], [GrassoViscPerc], [MassaMagraTotPerc]) VALUES (@IdxPaziente, @DataVisita, @Peso, @Altezza, @CirconfVita, @GrassoTotPerc, @GrassoViscPerc, @MassaMagraTotPerc);
+SELECT IdxPaziente, DataVisita, Peso, Altezza, BMI, CirconfVita, GrassoTotPerc, GrassoTot, GrassoViscPerc, GrassoVisc, GrassoViscTot, MassaMagraTotPerc, MassaMagraTot FROM VisGen WHERE (DataVisita = @DataVisita) AND (IdxPaziente = @IdxPaziente)";
+ this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPaziente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPaziente", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataVisita", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataVisita", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Peso", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Peso", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Altezza", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Altezza", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CirconfVita", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CirconfVita", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@GrassoTotPerc", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "GrassoTotPerc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@GrassoViscPerc", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "GrassoViscPerc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MassaMagraTotPerc", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MassaMagraTotPerc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.UpdateCommand.Connection = this.Connection;
+ this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[VisGen] SET [IdxPaziente] = @IdxPaziente, [DataVisita] = @DataVisita, [Peso] = @Peso, [Altezza] = @Altezza, [CirconfVita] = @CirconfVita, [GrassoTotPerc] = @GrassoTotPerc, [GrassoViscPerc] = @GrassoViscPerc, [MassaMagraTotPerc] = @MassaMagraTotPerc WHERE (([IdxPaziente] = @Original_IdxPaziente) AND ([DataVisita] = @Original_DataVisita) AND ([Peso] = @Original_Peso) AND ([Altezza] = @Original_Altezza) AND ([BMI] = @Original_BMI) AND ([CirconfVita] = @Original_CirconfVita) AND ([GrassoTotPerc] = @Original_GrassoTotPerc) AND ([GrassoTot] = @Original_GrassoTot) AND ([GrassoViscPerc] = @Original_GrassoViscPerc) AND ([GrassoVisc] = @Original_GrassoVisc) AND ([GrassoViscTot] = @Original_GrassoViscTot) AND ([MassaMagraTotPerc] = @Original_MassaMagraTotPerc) AND ([MassaMagraTot] = @Original_MassaMagraTot));
+SELECT IdxPaziente, DataVisita, Peso, Altezza, BMI, CirconfVita, GrassoTotPerc, GrassoTot, GrassoViscPerc, GrassoVisc, GrassoViscTot, MassaMagraTotPerc, MassaMagraTot FROM VisGen WHERE (DataVisita = @DataVisita) AND (IdxPaziente = @IdxPaziente)";
+ this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPaziente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPaziente", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataVisita", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataVisita", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Peso", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Peso", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Altezza", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Altezza", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CirconfVita", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CirconfVita", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@GrassoTotPerc", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "GrassoTotPerc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@GrassoViscPerc", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "GrassoViscPerc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MassaMagraTotPerc", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MassaMagraTotPerc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxPaziente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPaziente", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataVisita", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataVisita", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Peso", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Peso", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Altezza", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Altezza", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_BMI", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BMI", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CirconfVita", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CirconfVita", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_GrassoTotPerc", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "GrassoTotPerc", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_GrassoTot", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "GrassoTot", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_GrassoViscPerc", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "GrassoViscPerc", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_GrassoVisc", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "GrassoVisc", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_GrassoViscTot", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "GrassoViscTot", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MassaMagraTotPerc", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MassaMagraTotPerc", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_MassaMagraTot", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MassaMagraTot", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = global::MedPred_Data.Properties.Settings.Default.MedPredConnectionString;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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 IdxPaziente, DataVisita, Peso, Altezza, BMI, CirconfVita, GrassoTotPerc, G" +
+ "rassoTot, GrassoViscPerc, GrassoVisc, GrassoViscTot, MassaMagraTotPerc, MassaMag" +
+ "raTot FROM dbo.VisGen";
+ this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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(DS_Applicazione.VisGenDataTable dataTable) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ 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", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual DS_Applicazione.VisGenDataTable GetData() {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ DS_Applicazione.VisGenDataTable dataTable = new DS_Applicazione.VisGenDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(DS_Applicazione.VisGenDataTable dataTable) {
+ return this.Adapter.Update(dataTable);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(DS_Applicazione dataSet) {
+ return this.Adapter.Update(dataSet, "VisGen");
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow dataRow) {
+ return this.Adapter.Update(new global::System.Data.DataRow[] {
+ dataRow});
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow[] dataRows) {
+ return this.Adapter.Update(dataRows);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
+ public virtual int Delete(int Original_IdxPaziente, System.DateTime Original_DataVisita, double Original_Peso, double Original_Altezza, double Original_BMI, double Original_CirconfVita, double Original_GrassoTotPerc, double Original_GrassoTot, double Original_GrassoViscPerc, double Original_GrassoVisc, double Original_GrassoViscTot, double Original_MassaMagraTotPerc, double Original_MassaMagraTot) {
+ this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_IdxPaziente));
+ this.Adapter.DeleteCommand.Parameters[1].Value = ((System.DateTime)(Original_DataVisita));
+ this.Adapter.DeleteCommand.Parameters[2].Value = ((double)(Original_Peso));
+ this.Adapter.DeleteCommand.Parameters[3].Value = ((double)(Original_Altezza));
+ this.Adapter.DeleteCommand.Parameters[4].Value = ((double)(Original_BMI));
+ this.Adapter.DeleteCommand.Parameters[5].Value = ((double)(Original_CirconfVita));
+ this.Adapter.DeleteCommand.Parameters[6].Value = ((double)(Original_GrassoTotPerc));
+ this.Adapter.DeleteCommand.Parameters[7].Value = ((double)(Original_GrassoTot));
+ this.Adapter.DeleteCommand.Parameters[8].Value = ((double)(Original_GrassoViscPerc));
+ this.Adapter.DeleteCommand.Parameters[9].Value = ((double)(Original_GrassoVisc));
+ this.Adapter.DeleteCommand.Parameters[10].Value = ((double)(Original_GrassoViscTot));
+ this.Adapter.DeleteCommand.Parameters[11].Value = ((double)(Original_MassaMagraTotPerc));
+ this.Adapter.DeleteCommand.Parameters[12].Value = ((double)(Original_MassaMagraTot));
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
+ if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.DeleteCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.DeleteCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
+ public virtual int Insert(int IdxPaziente, System.DateTime DataVisita, double Peso, double Altezza, double CirconfVita, double GrassoTotPerc, double GrassoViscPerc, double MassaMagraTotPerc) {
+ this.Adapter.InsertCommand.Parameters[0].Value = ((int)(IdxPaziente));
+ this.Adapter.InsertCommand.Parameters[1].Value = ((System.DateTime)(DataVisita));
+ this.Adapter.InsertCommand.Parameters[2].Value = ((double)(Peso));
+ this.Adapter.InsertCommand.Parameters[3].Value = ((double)(Altezza));
+ this.Adapter.InsertCommand.Parameters[4].Value = ((double)(CirconfVita));
+ this.Adapter.InsertCommand.Parameters[5].Value = ((double)(GrassoTotPerc));
+ this.Adapter.InsertCommand.Parameters[6].Value = ((double)(GrassoViscPerc));
+ this.Adapter.InsertCommand.Parameters[7].Value = ((double)(MassaMagraTotPerc));
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
+ if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.InsertCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.InsertCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(
+ int IdxPaziente,
+ System.DateTime DataVisita,
+ double Peso,
+ double Altezza,
+ double CirconfVita,
+ double GrassoTotPerc,
+ double GrassoViscPerc,
+ double MassaMagraTotPerc,
+ int Original_IdxPaziente,
+ System.DateTime Original_DataVisita,
+ double Original_Peso,
+ double Original_Altezza,
+ double Original_BMI,
+ double Original_CirconfVita,
+ double Original_GrassoTotPerc,
+ double Original_GrassoTot,
+ double Original_GrassoViscPerc,
+ double Original_GrassoVisc,
+ double Original_GrassoViscTot,
+ double Original_MassaMagraTotPerc,
+ double Original_MassaMagraTot) {
+ this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(IdxPaziente));
+ this.Adapter.UpdateCommand.Parameters[1].Value = ((System.DateTime)(DataVisita));
+ this.Adapter.UpdateCommand.Parameters[2].Value = ((double)(Peso));
+ this.Adapter.UpdateCommand.Parameters[3].Value = ((double)(Altezza));
+ this.Adapter.UpdateCommand.Parameters[4].Value = ((double)(CirconfVita));
+ this.Adapter.UpdateCommand.Parameters[5].Value = ((double)(GrassoTotPerc));
+ this.Adapter.UpdateCommand.Parameters[6].Value = ((double)(GrassoViscPerc));
+ this.Adapter.UpdateCommand.Parameters[7].Value = ((double)(MassaMagraTotPerc));
+ this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(Original_IdxPaziente));
+ this.Adapter.UpdateCommand.Parameters[9].Value = ((System.DateTime)(Original_DataVisita));
+ this.Adapter.UpdateCommand.Parameters[10].Value = ((double)(Original_Peso));
+ this.Adapter.UpdateCommand.Parameters[11].Value = ((double)(Original_Altezza));
+ this.Adapter.UpdateCommand.Parameters[12].Value = ((double)(Original_BMI));
+ this.Adapter.UpdateCommand.Parameters[13].Value = ((double)(Original_CirconfVita));
+ this.Adapter.UpdateCommand.Parameters[14].Value = ((double)(Original_GrassoTotPerc));
+ this.Adapter.UpdateCommand.Parameters[15].Value = ((double)(Original_GrassoTot));
+ this.Adapter.UpdateCommand.Parameters[16].Value = ((double)(Original_GrassoViscPerc));
+ this.Adapter.UpdateCommand.Parameters[17].Value = ((double)(Original_GrassoVisc));
+ this.Adapter.UpdateCommand.Parameters[18].Value = ((double)(Original_GrassoViscTot));
+ this.Adapter.UpdateCommand.Parameters[19].Value = ((double)(Original_MassaMagraTotPerc));
+ this.Adapter.UpdateCommand.Parameters[20].Value = ((double)(Original_MassaMagraTot));
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
+ if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.UpdateCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.UpdateCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(
+ double Peso,
+ double Altezza,
+ double CirconfVita,
+ double GrassoTotPerc,
+ double GrassoViscPerc,
+ double MassaMagraTotPerc,
+ int Original_IdxPaziente,
+ System.DateTime Original_DataVisita,
+ double Original_Peso,
+ double Original_Altezza,
+ double Original_BMI,
+ double Original_CirconfVita,
+ double Original_GrassoTotPerc,
+ double Original_GrassoTot,
+ double Original_GrassoViscPerc,
+ double Original_GrassoVisc,
+ double Original_GrassoViscTot,
+ double Original_MassaMagraTotPerc,
+ double Original_MassaMagraTot) {
+ return this.Update(Original_IdxPaziente, Original_DataVisita, Peso, Altezza, CirconfVita, GrassoTotPerc, GrassoViscPerc, MassaMagraTotPerc, Original_IdxPaziente, Original_DataVisita, Original_Peso, Original_Altezza, Original_BMI, Original_CirconfVita, Original_GrassoTotPerc, Original_GrassoTot, Original_GrassoViscPerc, Original_GrassoVisc, Original_GrassoViscTot, Original_MassaMagraTotPerc, Original_MassaMagraTot);
+ }
+ }
+
+ ///
+ ///Represents the connection and commands used to retrieve and save data.
+ ///
+ [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 ElencoVisiteTableAdapter : 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", "4.0.0.0")]
+ public ElencoVisiteTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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 = "ElencoVisite";
+ tableMapping.ColumnMappings.Add("DataVisita", "DataVisita");
+ tableMapping.ColumnMappings.Add("VGen", "VGen");
+ tableMapping.ColumnMappings.Add("VCiclo", "VCiclo");
+ tableMapping.ColumnMappings.Add("VEco", "VEco");
+ tableMapping.ColumnMappings.Add("VBMec", "VBMec");
+ tableMapping.ColumnMappings.Add("VLab", "VLab");
+ tableMapping.ColumnMappings.Add("VPsi", "VPsi");
+ this._adapter.TableMappings.Add(tableMapping);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = global::MedPred_Data.Properties.Settings.Default.MedPredConnectionString;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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 = "dbo.stp_EV_getByIdxPaz";
+ this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPaziente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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(DS_Applicazione.ElencoVisiteDataTable dataTable, global::System.Nullable IdxPaziente) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((IdxPaziente.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxPaziente.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ 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", "4.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual DS_Applicazione.ElencoVisiteDataTable GetData(global::System.Nullable IdxPaziente) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((IdxPaziente.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxPaziente.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ DS_Applicazione.ElencoVisiteDataTable dataTable = new DS_Applicazione.ElencoVisiteDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+ }
+
///
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
///
@@ -1282,6 +3282,8 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, CodF FROM AnagPazienti WHERE (IdxPa
private AnagPazientiTableAdapter _anagPazientiTableAdapter;
+ private VisGenTableAdapter _visGenTableAdapter;
+
private bool _backupDataSetBeforeUpdate;
private global::System.Data.IDbConnection _connection;
@@ -1311,6 +3313,20 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, CodF FROM AnagPazienti WHERE (IdxPa
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
+ "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
+ "a", "System.Drawing.Design.UITypeEditor")]
+ public VisGenTableAdapter VisGenTableAdapter {
+ get {
+ return this._visGenTableAdapter;
+ }
+ set {
+ this._visGenTableAdapter = value;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool BackupDataSetBeforeUpdate {
@@ -1334,6 +3350,10 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, CodF FROM AnagPazienti WHERE (IdxPa
&& (this._anagPazientiTableAdapter.Connection != null))) {
return this._anagPazientiTableAdapter.Connection;
}
+ if (((this._visGenTableAdapter != null)
+ && (this._visGenTableAdapter.Connection != null))) {
+ return this._visGenTableAdapter.Connection;
+ }
return null;
}
set {
@@ -1350,6 +3370,9 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, CodF FROM AnagPazienti WHERE (IdxPa
if ((this._anagPazientiTableAdapter != null)) {
count = (count + 1);
}
+ if ((this._visGenTableAdapter != null)) {
+ count = (count + 1);
+ }
return count;
}
}
@@ -1370,6 +3393,15 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, CodF FROM AnagPazienti WHERE (IdxPa
allChangedRows.AddRange(updatedRows);
}
}
+ if ((this._visGenTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.VisGen.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
+ result = (result + this._visGenTableAdapter.Update(updatedRows));
+ allChangedRows.AddRange(updatedRows);
+ }
+ }
return result;
}
@@ -1388,6 +3420,14 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, CodF FROM AnagPazienti WHERE (IdxPa
allAddedRows.AddRange(addedRows);
}
}
+ if ((this._visGenTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.VisGen.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
+ result = (result + this._visGenTableAdapter.Update(addedRows));
+ allAddedRows.AddRange(addedRows);
+ }
+ }
return result;
}
@@ -1398,6 +3438,14 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, CodF FROM AnagPazienti WHERE (IdxPa
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private int UpdateDeletedRows(DS_Applicazione dataSet, global::System.Collections.Generic.List allChangedRows) {
int result = 0;
+ if ((this._visGenTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.VisGen.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
+ result = (result + this._visGenTableAdapter.Update(deletedRows));
+ allChangedRows.AddRange(deletedRows);
+ }
+ }
if ((this._anagPazientiTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.AnagPazienti.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
@@ -1450,6 +3498,11 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, CodF FROM AnagPazienti WHERE (IdxPa
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
+ if (((this._visGenTableAdapter != null)
+ && (this.MatchTableAdapterConnection(this._visGenTableAdapter.Connection) == false))) {
+ throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
+ "tring.");
+ }
global::System.Data.IDbConnection workConnection = this.Connection;
if ((workConnection == null)) {
throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" +
@@ -1491,6 +3544,15 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, CodF FROM AnagPazienti WHERE (IdxPa
adaptersWithAcceptChangesDuringUpdate.Add(this._anagPazientiTableAdapter.Adapter);
}
}
+ if ((this._visGenTableAdapter != null)) {
+ revertConnections.Add(this._visGenTableAdapter, this._visGenTableAdapter.Connection);
+ this._visGenTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
+ this._visGenTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
+ if (this._visGenTableAdapter.Adapter.AcceptChangesDuringUpdate) {
+ this._visGenTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
+ adaptersWithAcceptChangesDuringUpdate.Add(this._visGenTableAdapter.Adapter);
+ }
+ }
//
//---- Perform updates -----------
//
@@ -1553,6 +3615,10 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, CodF FROM AnagPazienti WHERE (IdxPa
this._anagPazientiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagPazientiTableAdapter]));
this._anagPazientiTableAdapter.Transaction = null;
}
+ if ((this._visGenTableAdapter != null)) {
+ this._visGenTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._visGenTableAdapter]));
+ this._visGenTableAdapter.Transaction = null;
+ }
if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) {
global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count];
adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters);
diff --git a/MedPred_Data/DS_Applicazione.xsd b/MedPred_Data/DS_Applicazione.xsd
index 45982ea..2f77512 100644
--- a/MedPred_Data/DS_Applicazione.xsd
+++ b/MedPred_Data/DS_Applicazione.xsd
@@ -68,7 +68,7 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, CodF FROM AnagPazienti WHERE (IdxPa
-
+
dbo.stp_AP_deleteQuery
@@ -90,7 +90,7 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, CodF FROM AnagPazienti WHERE (IdxPa
-
+
dbo.stp_AP_insertQuery
@@ -121,6 +121,124 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, CodF FROM AnagPazienti WHERE (IdxPa
+
+
+
+
+
+ DELETE FROM [dbo].[VisGen] WHERE (([IdxPaziente] = @Original_IdxPaziente) AND ([DataVisita] = @Original_DataVisita) AND ([Peso] = @Original_Peso) AND ([Altezza] = @Original_Altezza) AND ([BMI] = @Original_BMI) AND ([CirconfVita] = @Original_CirconfVita) AND ([GrassoTotPerc] = @Original_GrassoTotPerc) AND ([GrassoTot] = @Original_GrassoTot) AND ([GrassoViscPerc] = @Original_GrassoViscPerc) AND ([GrassoVisc] = @Original_GrassoVisc) AND ([GrassoViscTot] = @Original_GrassoViscTot) AND ([MassaMagraTotPerc] = @Original_MassaMagraTotPerc) AND ([MassaMagraTot] = @Original_MassaMagraTot))
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ INSERT INTO [dbo].[VisGen] ([IdxPaziente], [DataVisita], [Peso], [Altezza], [CirconfVita], [GrassoTotPerc], [GrassoViscPerc], [MassaMagraTotPerc]) VALUES (@IdxPaziente, @DataVisita, @Peso, @Altezza, @CirconfVita, @GrassoTotPerc, @GrassoViscPerc, @MassaMagraTotPerc);
+SELECT IdxPaziente, DataVisita, Peso, Altezza, BMI, CirconfVita, GrassoTotPerc, GrassoTot, GrassoViscPerc, GrassoVisc, GrassoViscTot, MassaMagraTotPerc, MassaMagraTot FROM VisGen WHERE (DataVisita = @DataVisita) AND (IdxPaziente = @IdxPaziente)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SELECT IdxPaziente, DataVisita, Peso, Altezza, BMI, CirconfVita, GrassoTotPerc, GrassoTot, GrassoViscPerc, GrassoVisc, GrassoViscTot, MassaMagraTotPerc, MassaMagraTot FROM dbo.VisGen
+
+
+
+
+
+ UPDATE [dbo].[VisGen] SET [IdxPaziente] = @IdxPaziente, [DataVisita] = @DataVisita, [Peso] = @Peso, [Altezza] = @Altezza, [CirconfVita] = @CirconfVita, [GrassoTotPerc] = @GrassoTotPerc, [GrassoViscPerc] = @GrassoViscPerc, [MassaMagraTotPerc] = @MassaMagraTotPerc WHERE (([IdxPaziente] = @Original_IdxPaziente) AND ([DataVisita] = @Original_DataVisita) AND ([Peso] = @Original_Peso) AND ([Altezza] = @Original_Altezza) AND ([BMI] = @Original_BMI) AND ([CirconfVita] = @Original_CirconfVita) AND ([GrassoTotPerc] = @Original_GrassoTotPerc) AND ([GrassoTot] = @Original_GrassoTot) AND ([GrassoViscPerc] = @Original_GrassoViscPerc) AND ([GrassoVisc] = @Original_GrassoVisc) AND ([GrassoViscTot] = @Original_GrassoViscTot) AND ([MassaMagraTotPerc] = @Original_MassaMagraTotPerc) AND ([MassaMagraTot] = @Original_MassaMagraTot));
+SELECT IdxPaziente, DataVisita, Peso, Altezza, BMI, CirconfVita, GrassoTotPerc, GrassoTot, GrassoViscPerc, GrassoVisc, GrassoViscTot, MassaMagraTotPerc, MassaMagraTot FROM VisGen WHERE (DataVisita = @DataVisita) AND (IdxPaziente = @IdxPaziente)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_EV_getByIdxPaz
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -129,7 +247,7 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, CodF FROM AnagPazienti WHERE (IdxPa
-
+
@@ -158,11 +276,57 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, CodF FROM AnagPazienti WHERE (IdxPa
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/MedPred_Data/DS_Applicazione.xss b/MedPred_Data/DS_Applicazione.xss
index 544990d..e407435 100644
--- a/MedPred_Data/DS_Applicazione.xss
+++ b/MedPred_Data/DS_Applicazione.xss
@@ -6,7 +6,22 @@
-->
-
+
+
+
-
+
+
+
+
+ 998
+ 206
+
+
+ 1060
+ 206
+
+
+
+
\ No newline at end of file
diff --git a/MedPred_Data/bin/Release/MedPred_Data.dll b/MedPred_Data/bin/Release/MedPred_Data.dll
index f51f021..14a5eda 100644
Binary files a/MedPred_Data/bin/Release/MedPred_Data.dll and b/MedPred_Data/bin/Release/MedPred_Data.dll differ