diff --git a/MedPred/WebUserControls/mod_ElencoVisitePaziente.ascx b/MedPred/WebUserControls/mod_ElencoVisitePaziente.ascx
index a03df20..dcf1431 100644
--- a/MedPred/WebUserControls/mod_ElencoVisitePaziente.ascx
+++ b/MedPred/WebUserControls/mod_ElencoVisitePaziente.ascx
@@ -18,7 +18,7 @@
@@ -28,40 +28,46 @@
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
+
+
+
+
+
+
diff --git a/MedPred/WebUserControls/mod_ElencoVisitePaziente.ascx.cs b/MedPred/WebUserControls/mod_ElencoVisitePaziente.ascx.cs
index 7f6817c..cd8066f 100644
--- a/MedPred/WebUserControls/mod_ElencoVisitePaziente.ascx.cs
+++ b/MedPred/WebUserControls/mod_ElencoVisitePaziente.ascx.cs
@@ -52,41 +52,47 @@ namespace MedPred.WebUserControls
switch (lastCmd)
{
- case "SelVGen":
- Response.Redirect("VGen?cmd=sel");
+ case "SelVAC":
+ Response.Redirect("VAC?cmd=sel");
break;
- case "NewVGen":
- Response.Redirect("VGen?cmd=new");
+ case "NewVAC":
+ Response.Redirect("VAC?cmd=new");
break;
- case "SelVCiclo":
- Response.Redirect("VCiclo?cmd=sel");
+ case "SelVBMA":
+ Response.Redirect("VBMA?cmd=sel");
break;
- case "NewVCiclo":
- Response.Redirect("VCiclo?cmd=new");
+ case "NewVBMA":
+ Response.Redirect("VBMA?cmd=new");
break;
- case "SelVEco":
- Response.Redirect("VEco?cmd=sel");
+ case "SelVCP":
+ Response.Redirect("VCP?cmd=sel");
break;
- case "NewVEco":
- Response.Redirect("VEco?cmd=new");
+ case "NewVCP":
+ Response.Redirect("VCP?cmd=new");
break;
- case "SelVBMec":
- Response.Redirect("VBMec?cmd=sel");
+ case "SelVL":
+ Response.Redirect("VL?cmd=sel");
break;
- case "NewVBMec":
- Response.Redirect("VBMec?cmd=new");
+ case "NewVL":
+ Response.Redirect("VL?cmd=new");
break;
- case "SelVLab":
- Response.Redirect("VLab?cmd=sel");
+ case "SelVP":
+ Response.Redirect("VP?cmd=sel");
break;
- case "NewVLab":
- Response.Redirect("VLab?cmd=new");
+ case "NewVP":
+ Response.Redirect("VP?cmd=new");
break;
- case "SelVPsi":
- Response.Redirect("VPsi?cmd=sel");
+ case "SelVSV":
+ Response.Redirect("VSV?cmd=sel");
break;
- case "NewVPsi":
- Response.Redirect("VPsi?cmd=new");
+ case "NewVSV":
+ Response.Redirect("VSV?cmd=new");
+ break;
+ case "SelVRF":
+ Response.Redirect("VRF?cmd=sel");
+ break;
+ case "NewVRF":
+ Response.Redirect("VRF?cmd=new");
break;
default:
break;
diff --git a/MedPred_Data/DS_Applicazione.Designer.cs b/MedPred_Data/DS_Applicazione.Designer.cs
index 5efdd27..639603c 100644
--- a/MedPred_Data/DS_Applicazione.Designer.cs
+++ b/MedPred_Data/DS_Applicazione.Designer.cs
@@ -36,6 +36,8 @@ namespace MedPred_Data {
private VisCicloDataTable tableVisCiclo;
+ private VisAnamCliDataTable tableVisAnamCli;
+
private global::System.Data.DataRelation relationFK_VisGen_AnagPazienti;
private global::System.Data.DataRelation relationFK_VisCardio_AnagPazienti;
@@ -44,6 +46,8 @@ namespace MedPred_Data {
private global::System.Data.DataRelation relationFK_VisCiclo_AnagPazienti;
+ private global::System.Data.DataRelation relationFK_VisAnamCli_AnagPazienti;
+
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -90,6 +94,9 @@ namespace MedPred_Data {
if ((ds.Tables["VisCiclo"] != null)) {
base.Tables.Add(new VisCicloDataTable(ds.Tables["VisCiclo"]));
}
+ if ((ds.Tables["VisAnamCli"] != null)) {
+ base.Tables.Add(new VisAnamCliDataTable(ds.Tables["VisAnamCli"]));
+ }
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -168,6 +175,16 @@ 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 VisAnamCliDataTable VisAnamCli {
+ get {
+ return this.tableVisAnamCli;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.BrowsableAttribute(true)]
@@ -253,6 +270,9 @@ namespace MedPred_Data {
if ((ds.Tables["VisCiclo"] != null)) {
base.Tables.Add(new VisCicloDataTable(ds.Tables["VisCiclo"]));
}
+ if ((ds.Tables["VisAnamCli"] != null)) {
+ base.Tables.Add(new VisAnamCliDataTable(ds.Tables["VisAnamCli"]));
+ }
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -322,10 +342,17 @@ namespace MedPred_Data {
this.tableVisCiclo.InitVars();
}
}
+ this.tableVisAnamCli = ((VisAnamCliDataTable)(base.Tables["VisAnamCli"]));
+ if ((initTable == true)) {
+ if ((this.tableVisAnamCli != null)) {
+ this.tableVisAnamCli.InitVars();
+ }
+ }
this.relationFK_VisGen_AnagPazienti = this.Relations["FK_VisGen_AnagPazienti"];
this.relationFK_VisCardio_AnagPazienti = this.Relations["FK_VisCardio_AnagPazienti"];
this.relationFK_VisClinGen_AnagPazienti = this.Relations["FK_VisClinGen_AnagPazienti"];
this.relationFK_VisCiclo_AnagPazienti = this.Relations["FK_VisCiclo_AnagPazienti"];
+ this.relationFK_VisAnamCli_AnagPazienti = this.Relations["FK_VisAnamCli_AnagPazienti"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -348,6 +375,8 @@ namespace MedPred_Data {
base.Tables.Add(this.tableVisLab);
this.tableVisCiclo = new VisCicloDataTable();
base.Tables.Add(this.tableVisCiclo);
+ this.tableVisAnamCli = new VisAnamCliDataTable();
+ base.Tables.Add(this.tableVisAnamCli);
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);
@@ -364,6 +393,10 @@ namespace MedPred_Data {
this.tableAnagPazienti.IdxPazienteColumn}, new global::System.Data.DataColumn[] {
this.tableVisCiclo.IdxPazienteColumn}, false);
this.Relations.Add(this.relationFK_VisCiclo_AnagPazienti);
+ this.relationFK_VisAnamCli_AnagPazienti = new global::System.Data.DataRelation("FK_VisAnamCli_AnagPazienti", new global::System.Data.DataColumn[] {
+ this.tableAnagPazienti.IdxPazienteColumn}, new global::System.Data.DataColumn[] {
+ this.tableVisAnamCli.IdxPazienteColumn}, false);
+ this.Relations.Add(this.relationFK_VisAnamCli_AnagPazienti);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -402,6 +435,12 @@ namespace MedPred_Data {
return false;
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ private bool ShouldSerializeVisAnamCli() {
+ 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) {
@@ -475,6 +514,9 @@ namespace MedPred_Data {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void VisCicloRowChangeEventHandler(object sender, VisCicloRowChangeEvent e);
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public delegate void VisAnamCliRowChangeEventHandler(object sender, VisAnamCliRowChangeEvent e);
+
///
///Represents the strongly named DataTable class.
///
@@ -1314,17 +1356,19 @@ namespace MedPred_Data {
private global::System.Data.DataColumn columnDataVisita;
- private global::System.Data.DataColumn columnVGen;
+ private global::System.Data.DataColumn columnVAC;
- private global::System.Data.DataColumn columnVCiclo;
+ private global::System.Data.DataColumn columnVBMA;
- private global::System.Data.DataColumn columnVEco;
+ private global::System.Data.DataColumn columnVCP;
- private global::System.Data.DataColumn columnVBMec;
+ private global::System.Data.DataColumn columnVL;
- private global::System.Data.DataColumn columnVLab;
+ private global::System.Data.DataColumn columnVP;
- private global::System.Data.DataColumn columnVPsi;
+ private global::System.Data.DataColumn columnVSV;
+
+ private global::System.Data.DataColumn columnVRF;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
@@ -1369,49 +1413,57 @@ namespace MedPred_Data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn VGenColumn {
+ public global::System.Data.DataColumn VACColumn {
get {
- return this.columnVGen;
+ return this.columnVAC;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn VCicloColumn {
+ public global::System.Data.DataColumn VBMAColumn {
get {
- return this.columnVCiclo;
+ return this.columnVBMA;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn VEcoColumn {
+ public global::System.Data.DataColumn VCPColumn {
get {
- return this.columnVEco;
+ return this.columnVCP;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn VBMecColumn {
+ public global::System.Data.DataColumn VLColumn {
get {
- return this.columnVBMec;
+ return this.columnVL;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn VLabColumn {
+ public global::System.Data.DataColumn VPColumn {
get {
- return this.columnVLab;
+ return this.columnVP;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn VPsiColumn {
+ public global::System.Data.DataColumn VSVColumn {
get {
- return this.columnVPsi;
+ return this.columnVSV;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn VRFColumn {
+ get {
+ return this.columnVRF;
}
}
@@ -1452,16 +1504,17 @@ namespace MedPred_Data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public ElencoVisiteRow AddElencoVisiteRow(System.DateTime DataVisita, int VGen, int VCiclo, int VEco, int VBMec, int VLab, int VPsi) {
+ public ElencoVisiteRow AddElencoVisiteRow(System.DateTime DataVisita, int VAC, int VBMA, int VCP, int VL, int VP, int VSV, int VRF) {
ElencoVisiteRow rowElencoVisiteRow = ((ElencoVisiteRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
DataVisita,
- VGen,
- VCiclo,
- VEco,
- VBMec,
- VLab,
- VPsi};
+ VAC,
+ VBMA,
+ VCP,
+ VL,
+ VP,
+ VSV,
+ VRF};
rowElencoVisiteRow.ItemArray = columnValuesArray;
this.Rows.Add(rowElencoVisiteRow);
return rowElencoVisiteRow;
@@ -1492,12 +1545,13 @@ namespace MedPred_Data {
[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"];
+ this.columnVAC = base.Columns["VAC"];
+ this.columnVBMA = base.Columns["VBMA"];
+ this.columnVCP = base.Columns["VCP"];
+ this.columnVL = base.Columns["VL"];
+ this.columnVP = base.Columns["VP"];
+ this.columnVSV = base.Columns["VSV"];
+ this.columnVRF = base.Columns["VRF"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -1505,28 +1559,31 @@ namespace MedPred_Data {
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.columnVAC = new global::System.Data.DataColumn("VAC", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnVAC);
+ this.columnVBMA = new global::System.Data.DataColumn("VBMA", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnVBMA);
+ this.columnVCP = new global::System.Data.DataColumn("VCP", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnVCP);
+ this.columnVL = new global::System.Data.DataColumn("VL", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnVL);
+ this.columnVP = new global::System.Data.DataColumn("VP", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnVP);
+ this.columnVSV = new global::System.Data.DataColumn("VSV", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnVSV);
+ this.columnVRF = new global::System.Data.DataColumn("VRF", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnVRF);
this.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;
+ this.columnVAC.ReadOnly = true;
+ this.columnVBMA.ReadOnly = true;
+ this.columnVCP.ReadOnly = true;
+ this.columnVL.ReadOnly = true;
+ this.columnVP.ReadOnly = true;
+ this.columnVSV.ReadOnly = true;
+ this.columnVRF.ReadOnly = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -2952,6 +3009,525 @@ namespace MedPred_Data {
}
}
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class VisAnamCliDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnIdxPaziente;
+
+ private global::System.Data.DataColumn columnDataVisita;
+
+ private global::System.Data.DataColumn columnFamMCCV;
+
+ private global::System.Data.DataColumn columnIpertens;
+
+ private global::System.Data.DataColumn columnIpertensYtd;
+
+ private global::System.Data.DataColumn columnDiabete;
+
+ private global::System.Data.DataColumn columnDiabeteYtd;
+
+ private global::System.Data.DataColumn columnIpercolest;
+
+ private global::System.Data.DataColumn columnIpercolestYtd;
+
+ private global::System.Data.DataColumn columnFumo;
+
+ private global::System.Data.DataColumn columnFumoYtd;
+
+ private global::System.Data.DataColumn columnAlcool;
+
+ private global::System.Data.DataColumn columnAlcoolYtd;
+
+ private global::System.Data.DataColumn columnSovrapp;
+
+ private global::System.Data.DataColumn columnSovrappYtd;
+
+ private global::System.Data.DataColumn columnSedent;
+
+ private global::System.Data.DataColumn columnAdesTerap;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public VisAnamCliDataTable() {
+ this.TableName = "VisAnamCli";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal VisAnamCliDataTable(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 VisAnamCliDataTable(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 FamMCCVColumn {
+ get {
+ return this.columnFamMCCV;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn IpertensColumn {
+ get {
+ return this.columnIpertens;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn IpertensYtdColumn {
+ get {
+ return this.columnIpertensYtd;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn DiabeteColumn {
+ get {
+ return this.columnDiabete;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn DiabeteYtdColumn {
+ get {
+ return this.columnDiabeteYtd;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn IpercolestColumn {
+ get {
+ return this.columnIpercolest;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn IpercolestYtdColumn {
+ get {
+ return this.columnIpercolestYtd;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn FumoColumn {
+ get {
+ return this.columnFumo;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn FumoYtdColumn {
+ get {
+ return this.columnFumoYtd;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn AlcoolColumn {
+ get {
+ return this.columnAlcool;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn AlcoolYtdColumn {
+ get {
+ return this.columnAlcoolYtd;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn SovrappColumn {
+ get {
+ return this.columnSovrapp;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn SovrappYtdColumn {
+ get {
+ return this.columnSovrappYtd;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn SedentColumn {
+ get {
+ return this.columnSedent;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public global::System.Data.DataColumn AdesTerapColumn {
+ get {
+ return this.columnAdesTerap;
+ }
+ }
+
+ [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 VisAnamCliRow this[int index] {
+ get {
+ return ((VisAnamCliRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event VisAnamCliRowChangeEventHandler VisAnamCliRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event VisAnamCliRowChangeEventHandler VisAnamCliRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event VisAnamCliRowChangeEventHandler VisAnamCliRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public event VisAnamCliRowChangeEventHandler VisAnamCliRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void AddVisAnamCliRow(VisAnamCliRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public VisAnamCliRow AddVisAnamCliRow(
+ AnagPazientiRow parentAnagPazientiRowByFK_VisAnamCli_AnagPazienti,
+ System.DateTime DataVisita,
+ int FamMCCV,
+ int Ipertens,
+ int IpertensYtd,
+ int Diabete,
+ int DiabeteYtd,
+ int Ipercolest,
+ int IpercolestYtd,
+ int Fumo,
+ int FumoYtd,
+ int Alcool,
+ int AlcoolYtd,
+ int Sovrapp,
+ int SovrappYtd,
+ int Sedent,
+ int AdesTerap) {
+ VisAnamCliRow rowVisAnamCliRow = ((VisAnamCliRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ null,
+ DataVisita,
+ FamMCCV,
+ Ipertens,
+ IpertensYtd,
+ Diabete,
+ DiabeteYtd,
+ Ipercolest,
+ IpercolestYtd,
+ Fumo,
+ FumoYtd,
+ Alcool,
+ AlcoolYtd,
+ Sovrapp,
+ SovrappYtd,
+ Sedent,
+ AdesTerap};
+ if ((parentAnagPazientiRowByFK_VisAnamCli_AnagPazienti != null)) {
+ columnValuesArray[0] = parentAnagPazientiRowByFK_VisAnamCli_AnagPazienti[0];
+ }
+ rowVisAnamCliRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowVisAnamCliRow);
+ return rowVisAnamCliRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public VisAnamCliRow FindByIdxPazienteDataVisita(int IdxPaziente, System.DateTime DataVisita) {
+ return ((VisAnamCliRow)(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() {
+ VisAnamCliDataTable cln = ((VisAnamCliDataTable)(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 VisAnamCliDataTable();
+ }
+
+ [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.columnFamMCCV = base.Columns["FamMCCV"];
+ this.columnIpertens = base.Columns["Ipertens"];
+ this.columnIpertensYtd = base.Columns["IpertensYtd"];
+ this.columnDiabete = base.Columns["Diabete"];
+ this.columnDiabeteYtd = base.Columns["DiabeteYtd"];
+ this.columnIpercolest = base.Columns["Ipercolest"];
+ this.columnIpercolestYtd = base.Columns["IpercolestYtd"];
+ this.columnFumo = base.Columns["Fumo"];
+ this.columnFumoYtd = base.Columns["FumoYtd"];
+ this.columnAlcool = base.Columns["Alcool"];
+ this.columnAlcoolYtd = base.Columns["AlcoolYtd"];
+ this.columnSovrapp = base.Columns["Sovrapp"];
+ this.columnSovrappYtd = base.Columns["SovrappYtd"];
+ this.columnSedent = base.Columns["Sedent"];
+ this.columnAdesTerap = base.Columns["AdesTerap"];
+ }
+
+ [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.columnFamMCCV = new global::System.Data.DataColumn("FamMCCV", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnFamMCCV);
+ this.columnIpertens = new global::System.Data.DataColumn("Ipertens", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnIpertens);
+ this.columnIpertensYtd = new global::System.Data.DataColumn("IpertensYtd", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnIpertensYtd);
+ this.columnDiabete = new global::System.Data.DataColumn("Diabete", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnDiabete);
+ this.columnDiabeteYtd = new global::System.Data.DataColumn("DiabeteYtd", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnDiabeteYtd);
+ this.columnIpercolest = new global::System.Data.DataColumn("Ipercolest", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnIpercolest);
+ this.columnIpercolestYtd = new global::System.Data.DataColumn("IpercolestYtd", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnIpercolestYtd);
+ this.columnFumo = new global::System.Data.DataColumn("Fumo", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnFumo);
+ this.columnFumoYtd = new global::System.Data.DataColumn("FumoYtd", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnFumoYtd);
+ this.columnAlcool = new global::System.Data.DataColumn("Alcool", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnAlcool);
+ this.columnAlcoolYtd = new global::System.Data.DataColumn("AlcoolYtd", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnAlcoolYtd);
+ this.columnSovrapp = new global::System.Data.DataColumn("Sovrapp", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnSovrapp);
+ this.columnSovrappYtd = new global::System.Data.DataColumn("SovrappYtd", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnSovrappYtd);
+ this.columnSedent = new global::System.Data.DataColumn("Sedent", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnSedent);
+ this.columnAdesTerap = new global::System.Data.DataColumn("AdesTerap", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnAdesTerap);
+ 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.columnFamMCCV.AllowDBNull = false;
+ this.columnIpertens.AllowDBNull = false;
+ this.columnIpertensYtd.AllowDBNull = false;
+ this.columnDiabete.AllowDBNull = false;
+ this.columnDiabeteYtd.AllowDBNull = false;
+ this.columnIpercolest.AllowDBNull = false;
+ this.columnIpercolestYtd.AllowDBNull = false;
+ this.columnFumo.AllowDBNull = false;
+ this.columnFumoYtd.AllowDBNull = false;
+ this.columnAlcool.AllowDBNull = false;
+ this.columnAlcoolYtd.AllowDBNull = false;
+ this.columnSovrapp.AllowDBNull = false;
+ this.columnSovrappYtd.AllowDBNull = false;
+ this.columnSedent.AllowDBNull = false;
+ this.columnAdesTerap.AllowDBNull = false;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public VisAnamCliRow NewVisAnamCliRow() {
+ return ((VisAnamCliRow)(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 VisAnamCliRow(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(VisAnamCliRow);
+ }
+
+ [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.VisAnamCliRowChanged != null)) {
+ this.VisAnamCliRowChanged(this, new VisAnamCliRowChangeEvent(((VisAnamCliRow)(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.VisAnamCliRowChanging != null)) {
+ this.VisAnamCliRowChanging(this, new VisAnamCliRowChangeEvent(((VisAnamCliRow)(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.VisAnamCliRowDeleted != null)) {
+ this.VisAnamCliRowDeleted(this, new VisAnamCliRowChangeEvent(((VisAnamCliRow)(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.VisAnamCliRowDeleting != null)) {
+ this.VisAnamCliRowDeleting(this, new VisAnamCliRowChangeEvent(((VisAnamCliRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void RemoveVisAnamCliRow(VisAnamCliRow 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 = "VisAnamCliDataTable";
+ 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.
///
@@ -3125,6 +3701,17 @@ namespace MedPred_Data {
return ((VisCicloRow[])(base.GetChildRows(this.Table.ChildRelations["FK_VisCiclo_AnagPazienti"])));
}
}
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public VisAnamCliRow[] GetVisAnamCliRows() {
+ if ((this.Table.ChildRelations["FK_VisAnamCli_AnagPazienti"] == null)) {
+ return new VisAnamCliRow[0];
+ }
+ else {
+ return ((VisAnamCliRow[])(base.GetChildRows(this.Table.ChildRelations["FK_VisAnamCli_AnagPazienti"])));
+ }
+ }
}
///
@@ -3408,170 +3995,198 @@ namespace MedPred_Data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public int VGen {
+ public int VAC {
get {
try {
- return ((int)(this[this.tableElencoVisite.VGenColumn]));
+ return ((int)(this[this.tableElencoVisite.VACColumn]));
}
catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'VGen\' in table \'ElencoVisite\' is DBNull.", e);
+ throw new global::System.Data.StrongTypingException("The value for column \'VAC\' in table \'ElencoVisite\' is DBNull.", e);
}
}
set {
- this[this.tableElencoVisite.VGenColumn] = value;
+ this[this.tableElencoVisite.VACColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public int VCiclo {
+ public int VBMA {
get {
try {
- return ((int)(this[this.tableElencoVisite.VCicloColumn]));
+ return ((int)(this[this.tableElencoVisite.VBMAColumn]));
}
catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'VCiclo\' in table \'ElencoVisite\' is DBNull.", e);
+ throw new global::System.Data.StrongTypingException("The value for column \'VBMA\' in table \'ElencoVisite\' is DBNull.", e);
}
}
set {
- this[this.tableElencoVisite.VCicloColumn] = value;
+ this[this.tableElencoVisite.VBMAColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public int VEco {
+ public int VCP {
get {
try {
- return ((int)(this[this.tableElencoVisite.VEcoColumn]));
+ return ((int)(this[this.tableElencoVisite.VCPColumn]));
}
catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'VEco\' in table \'ElencoVisite\' is DBNull.", e);
+ throw new global::System.Data.StrongTypingException("The value for column \'VCP\' in table \'ElencoVisite\' is DBNull.", e);
}
}
set {
- this[this.tableElencoVisite.VEcoColumn] = value;
+ this[this.tableElencoVisite.VCPColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public int VBMec {
+ public int VL {
get {
try {
- return ((int)(this[this.tableElencoVisite.VBMecColumn]));
+ return ((int)(this[this.tableElencoVisite.VLColumn]));
}
catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'VBMec\' in table \'ElencoVisite\' is DBNull.", e);
+ throw new global::System.Data.StrongTypingException("The value for column \'VL\' in table \'ElencoVisite\' is DBNull.", e);
}
}
set {
- this[this.tableElencoVisite.VBMecColumn] = value;
+ this[this.tableElencoVisite.VLColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public int VLab {
+ public int VP {
get {
try {
- return ((int)(this[this.tableElencoVisite.VLabColumn]));
+ return ((int)(this[this.tableElencoVisite.VPColumn]));
}
catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'VLab\' in table \'ElencoVisite\' is DBNull.", e);
+ throw new global::System.Data.StrongTypingException("The value for column \'VP\' in table \'ElencoVisite\' is DBNull.", e);
}
}
set {
- this[this.tableElencoVisite.VLabColumn] = value;
+ this[this.tableElencoVisite.VPColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public int VPsi {
+ public int VSV {
get {
try {
- return ((int)(this[this.tableElencoVisite.VPsiColumn]));
+ return ((int)(this[this.tableElencoVisite.VSVColumn]));
}
catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'VPsi\' in table \'ElencoVisite\' is DBNull.", e);
+ throw new global::System.Data.StrongTypingException("The value for column \'VSV\' in table \'ElencoVisite\' is DBNull.", e);
}
}
set {
- this[this.tableElencoVisite.VPsiColumn] = value;
+ this[this.tableElencoVisite.VSVColumn] = 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);
+ public int VRF {
+ get {
+ try {
+ return ((int)(this[this.tableElencoVisite.VRFColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("The value for column \'VRF\' in table \'ElencoVisite\' is DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableElencoVisite.VRFColumn] = value;
+ }
}
[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;
+ public bool IsVACNull() {
+ return this.IsNull(this.tableElencoVisite.VACColumn);
}
[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);
+ public void SetVACNull() {
+ this[this.tableElencoVisite.VACColumn] = global::System.Convert.DBNull;
}
[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;
+ public bool IsVBMANull() {
+ return this.IsNull(this.tableElencoVisite.VBMAColumn);
}
[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);
+ public void SetVBMANull() {
+ this[this.tableElencoVisite.VBMAColumn] = global::System.Convert.DBNull;
}
[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;
+ public bool IsVCPNull() {
+ return this.IsNull(this.tableElencoVisite.VCPColumn);
}
[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);
+ public void SetVCPNull() {
+ this[this.tableElencoVisite.VCPColumn] = global::System.Convert.DBNull;
}
[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;
+ public bool IsVLNull() {
+ return this.IsNull(this.tableElencoVisite.VLColumn);
}
[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);
+ public void SetVLNull() {
+ this[this.tableElencoVisite.VLColumn] = global::System.Convert.DBNull;
}
[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;
+ public bool IsVPNull() {
+ return this.IsNull(this.tableElencoVisite.VPColumn);
}
[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);
+ public void SetVPNull() {
+ this[this.tableElencoVisite.VPColumn] = global::System.Convert.DBNull;
}
[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;
+ public bool IsVSVNull() {
+ return this.IsNull(this.tableElencoVisite.VSVColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetVSVNull() {
+ this[this.tableElencoVisite.VSVColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public bool IsVRFNull() {
+ return this.IsNull(this.tableElencoVisite.VRFColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public void SetVRFNull() {
+ this[this.tableElencoVisite.VRFColumn] = global::System.Convert.DBNull;
}
}
@@ -4117,6 +4732,219 @@ namespace MedPred_Data {
}
}
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class VisAnamCliRow : global::System.Data.DataRow {
+
+ private VisAnamCliDataTable tableVisAnamCli;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ internal VisAnamCliRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tableVisAnamCli = ((VisAnamCliDataTable)(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.tableVisAnamCli.IdxPazienteColumn]));
+ }
+ set {
+ this[this.tableVisAnamCli.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.tableVisAnamCli.DataVisitaColumn]));
+ }
+ set {
+ this[this.tableVisAnamCli.DataVisitaColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int FamMCCV {
+ get {
+ return ((int)(this[this.tableVisAnamCli.FamMCCVColumn]));
+ }
+ set {
+ this[this.tableVisAnamCli.FamMCCVColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int Ipertens {
+ get {
+ return ((int)(this[this.tableVisAnamCli.IpertensColumn]));
+ }
+ set {
+ this[this.tableVisAnamCli.IpertensColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int IpertensYtd {
+ get {
+ return ((int)(this[this.tableVisAnamCli.IpertensYtdColumn]));
+ }
+ set {
+ this[this.tableVisAnamCli.IpertensYtdColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int Diabete {
+ get {
+ return ((int)(this[this.tableVisAnamCli.DiabeteColumn]));
+ }
+ set {
+ this[this.tableVisAnamCli.DiabeteColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int DiabeteYtd {
+ get {
+ return ((int)(this[this.tableVisAnamCli.DiabeteYtdColumn]));
+ }
+ set {
+ this[this.tableVisAnamCli.DiabeteYtdColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int Ipercolest {
+ get {
+ return ((int)(this[this.tableVisAnamCli.IpercolestColumn]));
+ }
+ set {
+ this[this.tableVisAnamCli.IpercolestColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int IpercolestYtd {
+ get {
+ return ((int)(this[this.tableVisAnamCli.IpercolestYtdColumn]));
+ }
+ set {
+ this[this.tableVisAnamCli.IpercolestYtdColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int Fumo {
+ get {
+ return ((int)(this[this.tableVisAnamCli.FumoColumn]));
+ }
+ set {
+ this[this.tableVisAnamCli.FumoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int FumoYtd {
+ get {
+ return ((int)(this[this.tableVisAnamCli.FumoYtdColumn]));
+ }
+ set {
+ this[this.tableVisAnamCli.FumoYtdColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int Alcool {
+ get {
+ return ((int)(this[this.tableVisAnamCli.AlcoolColumn]));
+ }
+ set {
+ this[this.tableVisAnamCli.AlcoolColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int AlcoolYtd {
+ get {
+ return ((int)(this[this.tableVisAnamCli.AlcoolYtdColumn]));
+ }
+ set {
+ this[this.tableVisAnamCli.AlcoolYtdColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int Sovrapp {
+ get {
+ return ((int)(this[this.tableVisAnamCli.SovrappColumn]));
+ }
+ set {
+ this[this.tableVisAnamCli.SovrappColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int SovrappYtd {
+ get {
+ return ((int)(this[this.tableVisAnamCli.SovrappYtdColumn]));
+ }
+ set {
+ this[this.tableVisAnamCli.SovrappYtdColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int Sedent {
+ get {
+ return ((int)(this[this.tableVisAnamCli.SedentColumn]));
+ }
+ set {
+ this[this.tableVisAnamCli.SedentColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public int AdesTerap {
+ get {
+ return ((int)(this[this.tableVisAnamCli.AdesTerapColumn]));
+ }
+ set {
+ this[this.tableVisAnamCli.AdesTerapColumn] = 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_VisAnamCli_AnagPazienti"])));
+ }
+ set {
+ this.SetParentRow(value, this.Table.ParentRelations["FK_VisAnamCli_AnagPazienti"]);
+ }
+ }
+ }
+
///
///Row event argument class
///
@@ -4320,6 +5148,40 @@ namespace MedPred_Data {
}
}
}
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
+ public class VisAnamCliRowChangeEvent : global::System.EventArgs {
+
+ private VisAnamCliRow 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 VisAnamCliRowChangeEvent(VisAnamCliRow 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 VisAnamCliRow 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 {
@@ -5850,12 +6712,19 @@ SELECT IdxPaziente, DataVisita, Peso, Altezza, BMI, CirconfVita, GrassoTotPerc,
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");
+ tableMapping.ColumnMappings.Add("VGen", "VAC");
+ tableMapping.ColumnMappings.Add("VCiclo", "VBMA");
+ tableMapping.ColumnMappings.Add("VEco", "VCP");
+ tableMapping.ColumnMappings.Add("VBMec", "VL");
+ tableMapping.ColumnMappings.Add("VLab", "VP");
+ tableMapping.ColumnMappings.Add("VPsi", "VSV");
+ tableMapping.ColumnMappings.Add("VAC", "VAC");
+ tableMapping.ColumnMappings.Add("VBMA", "VBMA");
+ tableMapping.ColumnMappings.Add("VCP", "VCP");
+ tableMapping.ColumnMappings.Add("VL", "VL");
+ tableMapping.ColumnMappings.Add("VP", "VP");
+ tableMapping.ColumnMappings.Add("VSV", "VSV");
+ tableMapping.ColumnMappings.Add("VRF", "VRF");
this._adapter.TableMappings.Add(tableMapping);
}
@@ -8030,6 +8899,541 @@ SELECT IdxPaziente, DataVisita, PaSis, PaDia, QR1, QR1_Mas, VO2, VO2_a, FC_QR1,
}
}
+ ///
+ ///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 VisAnamCliTableAdapter : 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 VisAnamCliTableAdapter() {
+ 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 = "VisAnamCli";
+ tableMapping.ColumnMappings.Add("IdxPaziente", "IdxPaziente");
+ tableMapping.ColumnMappings.Add("DataVisita", "DataVisita");
+ tableMapping.ColumnMappings.Add("FamMCCV", "FamMCCV");
+ tableMapping.ColumnMappings.Add("Ipertens", "Ipertens");
+ tableMapping.ColumnMappings.Add("IpertensYtd", "IpertensYtd");
+ tableMapping.ColumnMappings.Add("Diabete", "Diabete");
+ tableMapping.ColumnMappings.Add("DiabeteYtd", "DiabeteYtd");
+ tableMapping.ColumnMappings.Add("Ipercolest", "Ipercolest");
+ tableMapping.ColumnMappings.Add("IpercolestYtd", "IpercolestYtd");
+ tableMapping.ColumnMappings.Add("Fumo", "Fumo");
+ tableMapping.ColumnMappings.Add("FumoYtd", "FumoYtd");
+ tableMapping.ColumnMappings.Add("Alcool", "Alcool");
+ tableMapping.ColumnMappings.Add("AlcoolYtd", "AlcoolYtd");
+ tableMapping.ColumnMappings.Add("Sovrapp", "Sovrapp");
+ tableMapping.ColumnMappings.Add("SovrappYtd", "SovrappYtd");
+ tableMapping.ColumnMappings.Add("Sedent", "Sedent");
+ tableMapping.ColumnMappings.Add("AdesTerap", "AdesTerap");
+ 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].[VisAnamCli] WHERE (([IdxPaziente] = @Original_IdxPaziente) AND ([DataVisita] = @Original_DataVisita) AND ([FamMCCV] = @Original_FamMCCV) AND ([Ipertens] = @Original_Ipertens) AND ([IpertensYtd] = @Original_IpertensYtd) AND ([Diabete] = @Original_Diabete) AND ([DiabeteYtd] = @Original_DiabeteYtd) AND ([Ipercolest] = @Original_Ipercolest) AND ([IpercolestYtd] = @Original_IpercolestYtd) AND ([Fumo] = @Original_Fumo) AND ([FumoYtd] = @Original_FumoYtd) AND ([Alcool] = @Original_Alcool) AND ([AlcoolYtd] = @Original_AlcoolYtd) AND ([Sovrapp] = @Original_Sovrapp) AND ([SovrappYtd] = @Original_SovrappYtd) AND ([Sedent] = @Original_Sedent) AND ([AdesTerap] = @Original_AdesTerap))";
+ 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_FamMCCV", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FamMCCV", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Ipertens", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Ipertens", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IpertensYtd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IpertensYtd", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Diabete", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Diabete", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DiabeteYtd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DiabeteYtd", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Ipercolest", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Ipercolest", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IpercolestYtd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IpercolestYtd", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Fumo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Fumo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FumoYtd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FumoYtd", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Alcool", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Alcool", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_AlcoolYtd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AlcoolYtd", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Sovrapp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Sovrapp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SovrappYtd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SovrappYtd", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Sedent", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Sedent", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_AdesTerap", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AdesTerap", 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].[VisAnamCli] ([IdxPaziente], [DataVisita], [FamMCCV], [Ipertens], [IpertensYtd], [Diabete], [DiabeteYtd], [Ipercolest], [IpercolestYtd], [Fumo], [FumoYtd], [Alcool], [AlcoolYtd], [Sovrapp], [SovrappYtd], [Sedent], [AdesTerap]) VALUES (@IdxPaziente, @DataVisita, @FamMCCV, @Ipertens, @IpertensYtd, @Diabete, @DiabeteYtd, @Ipercolest, @IpercolestYtd, @Fumo, @FumoYtd, @Alcool, @AlcoolYtd, @Sovrapp, @SovrappYtd, @Sedent, @AdesTerap);
+SELECT IdxPaziente, DataVisita, FamMCCV, Ipertens, IpertensYtd, Diabete, DiabeteYtd, Ipercolest, IpercolestYtd, Fumo, FumoYtd, Alcool, AlcoolYtd, Sovrapp, SovrappYtd, Sedent, AdesTerap FROM VisAnamCli 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("@FamMCCV", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FamMCCV", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Ipertens", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Ipertens", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IpertensYtd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IpertensYtd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Diabete", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Diabete", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DiabeteYtd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DiabeteYtd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Ipercolest", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Ipercolest", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IpercolestYtd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IpercolestYtd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Fumo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Fumo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FumoYtd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FumoYtd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Alcool", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Alcool", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AlcoolYtd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AlcoolYtd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Sovrapp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Sovrapp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SovrappYtd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SovrappYtd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Sedent", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Sedent", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AdesTerap", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AdesTerap", 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].[VisAnamCli] SET [IdxPaziente] = @IdxPaziente, [DataVisita] = @DataVisita, [FamMCCV] = @FamMCCV, [Ipertens] = @Ipertens, [IpertensYtd] = @IpertensYtd, [Diabete] = @Diabete, [DiabeteYtd] = @DiabeteYtd, [Ipercolest] = @Ipercolest, [IpercolestYtd] = @IpercolestYtd, [Fumo] = @Fumo, [FumoYtd] = @FumoYtd, [Alcool] = @Alcool, [AlcoolYtd] = @AlcoolYtd, [Sovrapp] = @Sovrapp, [SovrappYtd] = @SovrappYtd, [Sedent] = @Sedent, [AdesTerap] = @AdesTerap WHERE (([IdxPaziente] = @Original_IdxPaziente) AND ([DataVisita] = @Original_DataVisita) AND ([FamMCCV] = @Original_FamMCCV) AND ([Ipertens] = @Original_Ipertens) AND ([IpertensYtd] = @Original_IpertensYtd) AND ([Diabete] = @Original_Diabete) AND ([DiabeteYtd] = @Original_DiabeteYtd) AND ([Ipercolest] = @Original_Ipercolest) AND ([IpercolestYtd] = @Original_IpercolestYtd) AND ([Fumo] = @Original_Fumo) AND ([FumoYtd] = @Original_FumoYtd) AND ([Alcool] = @Original_Alcool) AND ([AlcoolYtd] = @Original_AlcoolYtd) AND ([Sovrapp] = @Original_Sovrapp) AND ([SovrappYtd] = @Original_SovrappYtd) AND ([Sedent] = @Original_Sedent) AND ([AdesTerap] = @Original_AdesTerap));
+SELECT IdxPaziente, DataVisita, FamMCCV, Ipertens, IpertensYtd, Diabete, DiabeteYtd, Ipercolest, IpercolestYtd, Fumo, FumoYtd, Alcool, AlcoolYtd, Sovrapp, SovrappYtd, Sedent, AdesTerap FROM VisAnamCli 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("@FamMCCV", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FamMCCV", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Ipertens", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Ipertens", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IpertensYtd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IpertensYtd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Diabete", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Diabete", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DiabeteYtd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DiabeteYtd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Ipercolest", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Ipercolest", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IpercolestYtd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IpercolestYtd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Fumo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Fumo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FumoYtd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FumoYtd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Alcool", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Alcool", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AlcoolYtd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AlcoolYtd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Sovrapp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Sovrapp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SovrappYtd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SovrappYtd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Sedent", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Sedent", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AdesTerap", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AdesTerap", 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_FamMCCV", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FamMCCV", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Ipertens", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Ipertens", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IpertensYtd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IpertensYtd", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Diabete", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Diabete", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DiabeteYtd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DiabeteYtd", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Ipercolest", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Ipercolest", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IpercolestYtd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IpercolestYtd", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Fumo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Fumo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FumoYtd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FumoYtd", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Alcool", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Alcool", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_AlcoolYtd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AlcoolYtd", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Sovrapp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Sovrapp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SovrappYtd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SovrappYtd", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Sedent", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Sedent", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_AdesTerap", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AdesTerap", 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, FamMCCV, Ipertens, IpertensYtd, Diabete, DiabeteY" +
+ "td, Ipercolest, IpercolestYtd, Fumo, FumoYtd, Alcool, AlcoolYtd, Sovrapp, Sovrap" +
+ "pYtd, Sedent, AdesTerap FROM dbo.VisAnamCli";
+ 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.VisAnamCliDataTable 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.VisAnamCliDataTable GetData() {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ DS_Applicazione.VisAnamCliDataTable dataTable = new DS_Applicazione.VisAnamCliDataTable();
+ 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.VisAnamCliDataTable 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, "VisAnamCli");
+ }
+
+ [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,
+ int Original_FamMCCV,
+ int Original_Ipertens,
+ int Original_IpertensYtd,
+ int Original_Diabete,
+ int Original_DiabeteYtd,
+ int Original_Ipercolest,
+ int Original_IpercolestYtd,
+ int Original_Fumo,
+ int Original_FumoYtd,
+ int Original_Alcool,
+ int Original_AlcoolYtd,
+ int Original_Sovrapp,
+ int Original_SovrappYtd,
+ int Original_Sedent,
+ int Original_AdesTerap) {
+ 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 = ((int)(Original_FamMCCV));
+ this.Adapter.DeleteCommand.Parameters[3].Value = ((int)(Original_Ipertens));
+ this.Adapter.DeleteCommand.Parameters[4].Value = ((int)(Original_IpertensYtd));
+ this.Adapter.DeleteCommand.Parameters[5].Value = ((int)(Original_Diabete));
+ this.Adapter.DeleteCommand.Parameters[6].Value = ((int)(Original_DiabeteYtd));
+ this.Adapter.DeleteCommand.Parameters[7].Value = ((int)(Original_Ipercolest));
+ this.Adapter.DeleteCommand.Parameters[8].Value = ((int)(Original_IpercolestYtd));
+ this.Adapter.DeleteCommand.Parameters[9].Value = ((int)(Original_Fumo));
+ this.Adapter.DeleteCommand.Parameters[10].Value = ((int)(Original_FumoYtd));
+ this.Adapter.DeleteCommand.Parameters[11].Value = ((int)(Original_Alcool));
+ this.Adapter.DeleteCommand.Parameters[12].Value = ((int)(Original_AlcoolYtd));
+ this.Adapter.DeleteCommand.Parameters[13].Value = ((int)(Original_Sovrapp));
+ this.Adapter.DeleteCommand.Parameters[14].Value = ((int)(Original_SovrappYtd));
+ this.Adapter.DeleteCommand.Parameters[15].Value = ((int)(Original_Sedent));
+ this.Adapter.DeleteCommand.Parameters[16].Value = ((int)(Original_AdesTerap));
+ 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,
+ int FamMCCV,
+ int Ipertens,
+ int IpertensYtd,
+ int Diabete,
+ int DiabeteYtd,
+ int Ipercolest,
+ int IpercolestYtd,
+ int Fumo,
+ int FumoYtd,
+ int Alcool,
+ int AlcoolYtd,
+ int Sovrapp,
+ int SovrappYtd,
+ int Sedent,
+ int AdesTerap) {
+ this.Adapter.InsertCommand.Parameters[0].Value = ((int)(IdxPaziente));
+ this.Adapter.InsertCommand.Parameters[1].Value = ((System.DateTime)(DataVisita));
+ this.Adapter.InsertCommand.Parameters[2].Value = ((int)(FamMCCV));
+ this.Adapter.InsertCommand.Parameters[3].Value = ((int)(Ipertens));
+ this.Adapter.InsertCommand.Parameters[4].Value = ((int)(IpertensYtd));
+ this.Adapter.InsertCommand.Parameters[5].Value = ((int)(Diabete));
+ this.Adapter.InsertCommand.Parameters[6].Value = ((int)(DiabeteYtd));
+ this.Adapter.InsertCommand.Parameters[7].Value = ((int)(Ipercolest));
+ this.Adapter.InsertCommand.Parameters[8].Value = ((int)(IpercolestYtd));
+ this.Adapter.InsertCommand.Parameters[9].Value = ((int)(Fumo));
+ this.Adapter.InsertCommand.Parameters[10].Value = ((int)(FumoYtd));
+ this.Adapter.InsertCommand.Parameters[11].Value = ((int)(Alcool));
+ this.Adapter.InsertCommand.Parameters[12].Value = ((int)(AlcoolYtd));
+ this.Adapter.InsertCommand.Parameters[13].Value = ((int)(Sovrapp));
+ this.Adapter.InsertCommand.Parameters[14].Value = ((int)(SovrappYtd));
+ this.Adapter.InsertCommand.Parameters[15].Value = ((int)(Sedent));
+ this.Adapter.InsertCommand.Parameters[16].Value = ((int)(AdesTerap));
+ 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,
+ int FamMCCV,
+ int Ipertens,
+ int IpertensYtd,
+ int Diabete,
+ int DiabeteYtd,
+ int Ipercolest,
+ int IpercolestYtd,
+ int Fumo,
+ int FumoYtd,
+ int Alcool,
+ int AlcoolYtd,
+ int Sovrapp,
+ int SovrappYtd,
+ int Sedent,
+ int AdesTerap,
+ int Original_IdxPaziente,
+ System.DateTime Original_DataVisita,
+ int Original_FamMCCV,
+ int Original_Ipertens,
+ int Original_IpertensYtd,
+ int Original_Diabete,
+ int Original_DiabeteYtd,
+ int Original_Ipercolest,
+ int Original_IpercolestYtd,
+ int Original_Fumo,
+ int Original_FumoYtd,
+ int Original_Alcool,
+ int Original_AlcoolYtd,
+ int Original_Sovrapp,
+ int Original_SovrappYtd,
+ int Original_Sedent,
+ int Original_AdesTerap) {
+ this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(IdxPaziente));
+ this.Adapter.UpdateCommand.Parameters[1].Value = ((System.DateTime)(DataVisita));
+ this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(FamMCCV));
+ this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(Ipertens));
+ this.Adapter.UpdateCommand.Parameters[4].Value = ((int)(IpertensYtd));
+ this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(Diabete));
+ this.Adapter.UpdateCommand.Parameters[6].Value = ((int)(DiabeteYtd));
+ this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(Ipercolest));
+ this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(IpercolestYtd));
+ this.Adapter.UpdateCommand.Parameters[9].Value = ((int)(Fumo));
+ this.Adapter.UpdateCommand.Parameters[10].Value = ((int)(FumoYtd));
+ this.Adapter.UpdateCommand.Parameters[11].Value = ((int)(Alcool));
+ this.Adapter.UpdateCommand.Parameters[12].Value = ((int)(AlcoolYtd));
+ this.Adapter.UpdateCommand.Parameters[13].Value = ((int)(Sovrapp));
+ this.Adapter.UpdateCommand.Parameters[14].Value = ((int)(SovrappYtd));
+ this.Adapter.UpdateCommand.Parameters[15].Value = ((int)(Sedent));
+ this.Adapter.UpdateCommand.Parameters[16].Value = ((int)(AdesTerap));
+ this.Adapter.UpdateCommand.Parameters[17].Value = ((int)(Original_IdxPaziente));
+ this.Adapter.UpdateCommand.Parameters[18].Value = ((System.DateTime)(Original_DataVisita));
+ this.Adapter.UpdateCommand.Parameters[19].Value = ((int)(Original_FamMCCV));
+ this.Adapter.UpdateCommand.Parameters[20].Value = ((int)(Original_Ipertens));
+ this.Adapter.UpdateCommand.Parameters[21].Value = ((int)(Original_IpertensYtd));
+ this.Adapter.UpdateCommand.Parameters[22].Value = ((int)(Original_Diabete));
+ this.Adapter.UpdateCommand.Parameters[23].Value = ((int)(Original_DiabeteYtd));
+ this.Adapter.UpdateCommand.Parameters[24].Value = ((int)(Original_Ipercolest));
+ this.Adapter.UpdateCommand.Parameters[25].Value = ((int)(Original_IpercolestYtd));
+ this.Adapter.UpdateCommand.Parameters[26].Value = ((int)(Original_Fumo));
+ this.Adapter.UpdateCommand.Parameters[27].Value = ((int)(Original_FumoYtd));
+ this.Adapter.UpdateCommand.Parameters[28].Value = ((int)(Original_Alcool));
+ this.Adapter.UpdateCommand.Parameters[29].Value = ((int)(Original_AlcoolYtd));
+ this.Adapter.UpdateCommand.Parameters[30].Value = ((int)(Original_Sovrapp));
+ this.Adapter.UpdateCommand.Parameters[31].Value = ((int)(Original_SovrappYtd));
+ this.Adapter.UpdateCommand.Parameters[32].Value = ((int)(Original_Sedent));
+ this.Adapter.UpdateCommand.Parameters[33].Value = ((int)(Original_AdesTerap));
+ 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(
+ int FamMCCV,
+ int Ipertens,
+ int IpertensYtd,
+ int Diabete,
+ int DiabeteYtd,
+ int Ipercolest,
+ int IpercolestYtd,
+ int Fumo,
+ int FumoYtd,
+ int Alcool,
+ int AlcoolYtd,
+ int Sovrapp,
+ int SovrappYtd,
+ int Sedent,
+ int AdesTerap,
+ int Original_IdxPaziente,
+ System.DateTime Original_DataVisita,
+ int Original_FamMCCV,
+ int Original_Ipertens,
+ int Original_IpertensYtd,
+ int Original_Diabete,
+ int Original_DiabeteYtd,
+ int Original_Ipercolest,
+ int Original_IpercolestYtd,
+ int Original_Fumo,
+ int Original_FumoYtd,
+ int Original_Alcool,
+ int Original_AlcoolYtd,
+ int Original_Sovrapp,
+ int Original_SovrappYtd,
+ int Original_Sedent,
+ int Original_AdesTerap) {
+ return this.Update(Original_IdxPaziente, Original_DataVisita, FamMCCV, Ipertens, IpertensYtd, Diabete, DiabeteYtd, Ipercolest, IpercolestYtd, Fumo, FumoYtd, Alcool, AlcoolYtd, Sovrapp, SovrappYtd, Sedent, AdesTerap, Original_IdxPaziente, Original_DataVisita, Original_FamMCCV, Original_Ipertens, Original_IpertensYtd, Original_Diabete, Original_DiabeteYtd, Original_Ipercolest, Original_IpercolestYtd, Original_Fumo, Original_FumoYtd, Original_Alcool, Original_AlcoolYtd, Original_Sovrapp, Original_SovrappYtd, Original_Sedent, Original_AdesTerap);
+ }
+ }
+
///
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
///
@@ -8052,6 +9456,8 @@ SELECT IdxPaziente, DataVisita, PaSis, PaDia, QR1, QR1_Mas, VO2, VO2_a, FC_QR1,
private VisCicloTableAdapter _visCicloTableAdapter;
+ private VisAnamCliTableAdapter _visAnamCliTableAdapter;
+
private bool _backupDataSetBeforeUpdate;
private global::System.Data.IDbConnection _connection;
@@ -8137,6 +9543,20 @@ SELECT IdxPaziente, DataVisita, PaSis, PaDia, QR1, QR1_Mas, VO2, VO2_a, FC_QR1,
}
}
+ [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 VisAnamCliTableAdapter VisAnamCliTableAdapter {
+ get {
+ return this._visAnamCliTableAdapter;
+ }
+ set {
+ this._visAnamCliTableAdapter = value;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool BackupDataSetBeforeUpdate {
@@ -8176,6 +9596,10 @@ SELECT IdxPaziente, DataVisita, PaSis, PaDia, QR1, QR1_Mas, VO2, VO2_a, FC_QR1,
&& (this._visCicloTableAdapter.Connection != null))) {
return this._visCicloTableAdapter.Connection;
}
+ if (((this._visAnamCliTableAdapter != null)
+ && (this._visAnamCliTableAdapter.Connection != null))) {
+ return this._visAnamCliTableAdapter.Connection;
+ }
return null;
}
set {
@@ -8204,6 +9628,9 @@ SELECT IdxPaziente, DataVisita, PaSis, PaDia, QR1, QR1_Mas, VO2, VO2_a, FC_QR1,
if ((this._visCicloTableAdapter != null)) {
count = (count + 1);
}
+ if ((this._visAnamCliTableAdapter != null)) {
+ count = (count + 1);
+ }
return count;
}
}
@@ -8260,6 +9687,15 @@ SELECT IdxPaziente, DataVisita, PaSis, PaDia, QR1, QR1_Mas, VO2, VO2_a, FC_QR1,
allChangedRows.AddRange(updatedRows);
}
}
+ if ((this._visAnamCliTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.VisAnamCli.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
+ result = (result + this._visAnamCliTableAdapter.Update(updatedRows));
+ allChangedRows.AddRange(updatedRows);
+ }
+ }
return result;
}
@@ -8310,6 +9746,14 @@ SELECT IdxPaziente, DataVisita, PaSis, PaDia, QR1, QR1_Mas, VO2, VO2_a, FC_QR1,
allAddedRows.AddRange(addedRows);
}
}
+ if ((this._visAnamCliTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.VisAnamCli.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
+ result = (result + this._visAnamCliTableAdapter.Update(addedRows));
+ allAddedRows.AddRange(addedRows);
+ }
+ }
return result;
}
@@ -8320,6 +9764,14 @@ SELECT IdxPaziente, DataVisita, PaSis, PaDia, QR1, QR1_Mas, VO2, VO2_a, FC_QR1,
[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._visAnamCliTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.VisAnamCli.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
+ result = (result + this._visAnamCliTableAdapter.Update(deletedRows));
+ allChangedRows.AddRange(deletedRows);
+ }
+ }
if ((this._visCicloTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.VisCiclo.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
@@ -8424,6 +9876,11 @@ SELECT IdxPaziente, DataVisita, PaSis, PaDia, QR1, QR1_Mas, VO2, VO2_a, FC_QR1,
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
+ if (((this._visAnamCliTableAdapter != null)
+ && (this.MatchTableAdapterConnection(this._visAnamCliTableAdapter.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" +
@@ -8501,6 +9958,15 @@ SELECT IdxPaziente, DataVisita, PaSis, PaDia, QR1, QR1_Mas, VO2, VO2_a, FC_QR1,
adaptersWithAcceptChangesDuringUpdate.Add(this._visCicloTableAdapter.Adapter);
}
}
+ if ((this._visAnamCliTableAdapter != null)) {
+ revertConnections.Add(this._visAnamCliTableAdapter, this._visAnamCliTableAdapter.Connection);
+ this._visAnamCliTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
+ this._visAnamCliTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
+ if (this._visAnamCliTableAdapter.Adapter.AcceptChangesDuringUpdate) {
+ this._visAnamCliTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
+ adaptersWithAcceptChangesDuringUpdate.Add(this._visAnamCliTableAdapter.Adapter);
+ }
+ }
//
//---- Perform updates -----------
//
@@ -8579,6 +10045,10 @@ SELECT IdxPaziente, DataVisita, PaSis, PaDia, QR1, QR1_Mas, VO2, VO2_a, FC_QR1,
this._visCicloTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._visCicloTableAdapter]));
this._visCicloTableAdapter.Transaction = null;
}
+ if ((this._visAnamCliTableAdapter != null)) {
+ this._visAnamCliTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._visAnamCliTableAdapter]));
+ this._visAnamCliTableAdapter.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 b2e2006..6c7b7f4 100644
--- a/MedPred_Data/DS_Applicazione.xsd
+++ b/MedPred_Data/DS_Applicazione.xsd
@@ -304,7 +304,7 @@ SELECT IdxPaziente, DataVisita, Peso, Altezza, BMI, CirconfVita, GrassoTotPerc,
-
+
dbo.stp_EV_getByIdxPaz
@@ -318,12 +318,19 @@ SELECT IdxPaziente, DataVisita, Peso, Altezza, BMI, CirconfVita, GrassoTotPerc,
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -818,6 +825,129 @@ SELECT IdxPaziente, DataVisita, PaSis, PaDia, QR1, QR1_Mas, VO2, VO2_a, FC_QR1,
+
+
+
+
+
+ DELETE FROM [dbo].[VisAnamCli] WHERE (([IdxPaziente] = @Original_IdxPaziente) AND ([DataVisita] = @Original_DataVisita) AND ([FamMCCV] = @Original_FamMCCV) AND ([Ipertens] = @Original_Ipertens) AND ([IpertensYtd] = @Original_IpertensYtd) AND ([Diabete] = @Original_Diabete) AND ([DiabeteYtd] = @Original_DiabeteYtd) AND ([Ipercolest] = @Original_Ipercolest) AND ([IpercolestYtd] = @Original_IpercolestYtd) AND ([Fumo] = @Original_Fumo) AND ([FumoYtd] = @Original_FumoYtd) AND ([Alcool] = @Original_Alcool) AND ([AlcoolYtd] = @Original_AlcoolYtd) AND ([Sovrapp] = @Original_Sovrapp) AND ([SovrappYtd] = @Original_SovrappYtd) AND ([Sedent] = @Original_Sedent) AND ([AdesTerap] = @Original_AdesTerap))
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ INSERT INTO [dbo].[VisAnamCli] ([IdxPaziente], [DataVisita], [FamMCCV], [Ipertens], [IpertensYtd], [Diabete], [DiabeteYtd], [Ipercolest], [IpercolestYtd], [Fumo], [FumoYtd], [Alcool], [AlcoolYtd], [Sovrapp], [SovrappYtd], [Sedent], [AdesTerap]) VALUES (@IdxPaziente, @DataVisita, @FamMCCV, @Ipertens, @IpertensYtd, @Diabete, @DiabeteYtd, @Ipercolest, @IpercolestYtd, @Fumo, @FumoYtd, @Alcool, @AlcoolYtd, @Sovrapp, @SovrappYtd, @Sedent, @AdesTerap);
+SELECT IdxPaziente, DataVisita, FamMCCV, Ipertens, IpertensYtd, Diabete, DiabeteYtd, Ipercolest, IpercolestYtd, Fumo, FumoYtd, Alcool, AlcoolYtd, Sovrapp, SovrappYtd, Sedent, AdesTerap FROM VisAnamCli WHERE (DataVisita = @DataVisita) AND (IdxPaziente = @IdxPaziente)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SELECT IdxPaziente, DataVisita, FamMCCV, Ipertens, IpertensYtd, Diabete, DiabeteYtd, Ipercolest, IpercolestYtd, Fumo, FumoYtd, Alcool, AlcoolYtd, Sovrapp, SovrappYtd, Sedent, AdesTerap FROM dbo.VisAnamCli
+
+
+
+
+
+ UPDATE [dbo].[VisAnamCli] SET [IdxPaziente] = @IdxPaziente, [DataVisita] = @DataVisita, [FamMCCV] = @FamMCCV, [Ipertens] = @Ipertens, [IpertensYtd] = @IpertensYtd, [Diabete] = @Diabete, [DiabeteYtd] = @DiabeteYtd, [Ipercolest] = @Ipercolest, [IpercolestYtd] = @IpercolestYtd, [Fumo] = @Fumo, [FumoYtd] = @FumoYtd, [Alcool] = @Alcool, [AlcoolYtd] = @AlcoolYtd, [Sovrapp] = @Sovrapp, [SovrappYtd] = @SovrappYtd, [Sedent] = @Sedent, [AdesTerap] = @AdesTerap WHERE (([IdxPaziente] = @Original_IdxPaziente) AND ([DataVisita] = @Original_DataVisita) AND ([FamMCCV] = @Original_FamMCCV) AND ([Ipertens] = @Original_Ipertens) AND ([IpertensYtd] = @Original_IpertensYtd) AND ([Diabete] = @Original_Diabete) AND ([DiabeteYtd] = @Original_DiabeteYtd) AND ([Ipercolest] = @Original_Ipercolest) AND ([IpercolestYtd] = @Original_IpercolestYtd) AND ([Fumo] = @Original_Fumo) AND ([FumoYtd] = @Original_FumoYtd) AND ([Alcool] = @Original_Alcool) AND ([AlcoolYtd] = @Original_AlcoolYtd) AND ([Sovrapp] = @Original_Sovrapp) AND ([SovrappYtd] = @Original_SovrappYtd) AND ([Sedent] = @Original_Sedent) AND ([AdesTerap] = @Original_AdesTerap));
+SELECT IdxPaziente, DataVisita, FamMCCV, Ipertens, IpertensYtd, Diabete, DiabeteYtd, Ipercolest, IpercolestYtd, Fumo, FumoYtd, Alcool, AlcoolYtd, Sovrapp, SovrappYtd, Sedent, AdesTerap FROM VisAnamCli WHERE (DataVisita = @DataVisita) AND (IdxPaziente = @IdxPaziente)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -826,7 +956,7 @@ SELECT IdxPaziente, DataVisita, PaSis, PaDia, QR1, QR1_Mas, VO2, VO2_a, FC_QR1,
-
+
@@ -877,7 +1007,7 @@ SELECT IdxPaziente, DataVisita, PaSis, PaDia, QR1, QR1_Mas, VO2, VO2_a, FC_QR1,
-
+
@@ -896,20 +1026,21 @@ SELECT IdxPaziente, DataVisita, PaSis, PaDia, QR1, QR1_Mas, VO2, VO2_a, FC_QR1,
-
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
+
@@ -920,7 +1051,7 @@ SELECT IdxPaziente, DataVisita, PaSis, PaDia, QR1, QR1_Mas, VO2, VO2_a, FC_QR1,
-
+
@@ -939,7 +1070,7 @@ SELECT IdxPaziente, DataVisita, PaSis, PaDia, QR1, QR1_Mas, VO2, VO2_a, FC_QR1,
-
+
@@ -963,6 +1094,29 @@ SELECT IdxPaziente, DataVisita, PaSis, PaDia, QR1, QR1_Mas, VO2, VO2_a, FC_QR1,
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -993,13 +1147,19 @@ SELECT IdxPaziente, DataVisita, PaSis, PaDia, QR1, QR1_Mas, VO2, VO2_a, FC_QR1,
+
+
+
+
+
-
-
-
-
+
+
+
+
+
\ 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 603df70..7d61155 100644
Binary files a/MedPred_Data/bin/Release/MedPred_Data.dll and b/MedPred_Data/bin/Release/MedPred_Data.dll differ
diff --git a/MedPred_Data/bin/Release/SteamWare.dll b/MedPred_Data/bin/Release/SteamWare.dll
index fa262ef..5ef3b71 100644
Binary files a/MedPred_Data/bin/Release/SteamWare.dll and b/MedPred_Data/bin/Release/SteamWare.dll differ