Aggiunta pagina elenco visite

Bozza gestione navigazione visite
Pagine (vuote) gestioen visite (prime 3)
This commit is contained in:
Samuele E. Locatelli
2014-04-24 10:07:33 +02:00
parent b767d8dbc8
commit 6d2f10aa3d
20 changed files with 2604 additions and 24 deletions
+3
View File
@@ -18,6 +18,9 @@ namespace MedPred
memLayer.ML.emptySessionVal("Paziente");
}
}
/// <summary>
/// ultimo comando letto da link button
/// </summary>
public string lastCmd { get; set; }
/// <summary>
/// gestione evento novo record
+32
View File
@@ -320,6 +320,10 @@
<SubType>Designer</SubType>
</Content>
<Content Include="Unauth.aspx" />
<Content Include="VCiclo.aspx" />
<Content Include="VEco.aspx" />
<Content Include="VGen.aspx" />
<Content Include="WebUserControls\mod_ElencoVisitePaziente.ascx" />
<Content Include="WebUserControls\mod_footer.ascx" />
<Content Include="WebUserControls\mod_header.ascx" />
<None Include="NLog.xsd">
@@ -395,6 +399,27 @@
<Compile Include="Unauth.aspx.designer.cs">
<DependentUpon>Unauth.aspx</DependentUpon>
</Compile>
<Compile Include="VCiclo.aspx.cs">
<DependentUpon>VCiclo.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="VCiclo.aspx.designer.cs">
<DependentUpon>VCiclo.aspx</DependentUpon>
</Compile>
<Compile Include="VEco.aspx.cs">
<DependentUpon>VEco.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="VEco.aspx.designer.cs">
<DependentUpon>VEco.aspx</DependentUpon>
</Compile>
<Compile Include="VGen.aspx.cs">
<DependentUpon>VGen.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="VGen.aspx.designer.cs">
<DependentUpon>VGen.aspx</DependentUpon>
</Compile>
<Compile Include="Visite.aspx.cs">
<DependentUpon>Visite.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -402,6 +427,13 @@
<Compile Include="Visite.aspx.designer.cs">
<DependentUpon>Visite.aspx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_ElencoVisitePaziente.ascx.cs">
<DependentUpon>mod_ElencoVisitePaziente.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\mod_ElencoVisitePaziente.ascx.designer.cs">
<DependentUpon>mod_ElencoVisitePaziente.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_footer.ascx.cs">
<DependentUpon>mod_footer.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
+6
View File
@@ -0,0 +1,6 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/JQMob.Master" AutoEventWireup="true" CodeBehind="VCiclo.aspx.cs" Inherits="MedPred.VCiclo" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
Cicloergometro
</asp:Content>
+17
View File
@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace MedPred
{
public partial class VCiclo : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}
+17
View File
@@ -0,0 +1,17 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace MedPred
{
public partial class VCiclo
{
}
}
+6
View File
@@ -0,0 +1,6 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/JQMob.Master" AutoEventWireup="true" CodeBehind="VEco.aspx.cs" Inherits="MedPred.VEco" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
EcoCardio
</asp:Content>
+17
View File
@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace MedPred
{
public partial class VEco : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}
+17
View File
@@ -0,0 +1,17 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace MedPred
{
public partial class VEco
{
}
}
+6
View File
@@ -0,0 +1,6 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/JQMob.Master" AutoEventWireup="true" CodeBehind="VGen.aspx.cs" Inherits="MedPred.VGen" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
Visita Generale
</asp:Content>
+17
View File
@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace MedPred
{
public partial class VGen : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}
+17
View File
@@ -0,0 +1,17 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace MedPred
{
public partial class VGen
{
}
}
+10 -12
View File
@@ -1,22 +1,20 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/JQMob.Master" AutoEventWireup="true" CodeBehind="Visite.aspx.cs" Inherits="MedPred.Visite" %>
<%@ Register Src="~/WebUserControls/mod_ElencoVisitePaziente.ascx" TagPrefix="uc1" TagName="mod_ElencoVisitePaziente" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
Elenco Visite:
<br />
<br />
<uc1:mod_ElencoVisitePaziente runat="server" ID="ElencoVisite" />
Data | VG | VCiclo | VEco | VBMecc | VLab | VPsi
<br />
<br />
Navigazione dettagli
<div data-role="navbar">
<ul>
<li><a href="#">Generale</a></li>
<li><a href="#">CicloErgom</a></li>
<li><a href="#">Cardio</a></li>
<li><a class="ui-btn ui-shadow ui-corner-all ui-icon-gear ui-btn-icon-left" href="VGen">Generale</a></li>
<li><a class="ui-btn ui-shadow ui-corner-all ui-icon-gear ui-btn-icon-left" href="VCiclo">CicloErgom</a></li>
<li><a class="ui-btn ui-shadow ui-corner-all ui-icon-gear ui-btn-icon-left" href="VEco">Cardio</a></li>
<%--<li><a href="#">BioMecc</a></li>
<li><a href="#">Laboratorio</a></li>
<li><a href="#">Psico</a></li>--%>
@@ -27,9 +25,9 @@
<%--<li><a href="#">Generale</a></li>
<li><a href="#">CicloErgom</a></li>
<li><a href="#">Cardio</a></li>--%>
<li><a href="#">BioMecc</a></li>
<li><a href="#">Laboratorio</a></li>
<li><a href="#">Psico</a></li>
<li><a class="ui-btn ui-shadow ui-corner-all ui-icon-gear ui-btn-icon-left" href="VBMec">BioMecc</a></li>
<li><a class="ui-btn ui-shadow ui-corner-all ui-icon-gear ui-btn-icon-left" href="VLab">Laboratorio</a></li>
<li><a class="ui-btn ui-shadow ui-corner-all ui-icon-gear ui-btn-icon-left" href="VPsi">Psico</a></li>
</ul>
</div>
+14 -7
View File
@@ -3,15 +3,22 @@
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace MedPred
{
public partial class Visite
{
namespace MedPred {
public partial class Visite {
/// <summary>
/// ElencoVisite control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::MedPred.WebUserControls.mod_ElencoVisitePaziente ElencoVisite;
}
}
@@ -0,0 +1,64 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_ElencoVisitePaziente.ascx.cs" Inherits="MedPred.WebUserControls.mod_ElencoVisitePaziente" %>
<h3>Elenco Visite</h3>
<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" CellPadding="4" DataKeyNames="DataVisita" DataSourceID="ods" ForeColor="#333333" GridLines="None" AllowPaging="false" Width="100%" OnRowCommand="grView_RowCommand" OnSelectedIndexChanged="grView_SelectedIndexChanged">
<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
<EditRowStyle BackColor="#999999" />
<FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
<RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
<SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
<SortedAscendingCellStyle BackColor="#E9E7E2" />
<SortedAscendingHeaderStyle BackColor="#506C8C" />
<SortedDescendingCellStyle BackColor="#FFFDF8" />
<SortedDescendingHeaderStyle BackColor="#6F8DAE" />
<Columns>
<asp:TemplateField HeaderText="DataVisita" SortExpression="DataVisita" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Eval("DataVisita", "{0:ddd dd/MM/yy}") %>' />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="VGen" SortExpression="VGen" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:LinkButton CssClass="ui-btn ui-shadow ui-corner-all ui-icon-search ui-btn-icon-notext ui-btn-inline" ID="lbSelVGen" data-icon="star" runat="server" CausesValidation="False" CommandArgument="SelVGen" CommandName="Select" Visible='<%# Convert.ToBoolean(Eval("VGen")) %>'></asp:LinkButton>
<asp:LinkButton ID="lbNewVGen" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-plus ui-btn-icon-notext ui-btn-inline" runat="server" CausesValidation="False" CommandArgument="NewVGen" CommandName="Select" Visible='<%# !Convert.ToBoolean(Eval("VGen")) %>'></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="VCiclo" SortExpression="VCiclo" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:LinkButton CssClass="ui-btn ui-shadow ui-corner-all ui-icon-search ui-btn-icon-notext ui-btn-inline" ID="lbSelVCiclo" data-icon="star" runat="server" CausesValidation="False" CommandArgument="SelVCiclo" CommandName="Select" Visible='<%# Convert.ToBoolean(Eval("VCiclo")) %>'></asp:LinkButton>
<asp:LinkButton ID="lbNewVCiclo" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-plus ui-btn-icon-notext ui-btn-inline" runat="server" CausesValidation="False" CommandArgument="NewVCiclo" CommandName="Select" Visible='<%# !Convert.ToBoolean(Eval("VCiclo")) %>'></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="VEco" SortExpression="VEco" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:LinkButton CssClass="ui-btn ui-shadow ui-corner-all ui-icon-search ui-btn-icon-notext ui-btn-inline" ID="lbSelVEco" data-icon="star" runat="server" CausesValidation="False" CommandArgument="SelVEco" CommandName="Select" Visible='<%# Convert.ToBoolean(Eval("VEco")) %>'></asp:LinkButton>
<asp:LinkButton ID="lbNewVEco" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-plus ui-btn-icon-notext ui-btn-inline" runat="server" CausesValidation="False" CommandArgument="NewVEco" CommandName="Select" Visible='<%# !Convert.ToBoolean(Eval("VEco")) %>'></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="VBMec" SortExpression="VBMec" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:LinkButton CssClass="ui-btn ui-shadow ui-corner-all ui-icon-search ui-btn-icon-notext ui-btn-inline" ID="lbSelVBMec" data-icon="star" runat="server" CausesValidation="False" CommandArgument="SelVBMec" CommandName="Select" Visible='<%# Convert.ToBoolean(Eval("VBMec")) %>'></asp:LinkButton>
<asp:LinkButton ID="lbNewVBMec" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-plus ui-btn-icon-notext ui-btn-inline" runat="server" CausesValidation="False" CommandArgument="NewVBMec" CommandName="Select" Visible='<%# !Convert.ToBoolean(Eval("VBMec")) %>'></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="VLab" SortExpression="VLab" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:LinkButton CssClass="ui-btn ui-shadow ui-corner-all ui-icon-search ui-btn-icon-notext ui-btn-inline" ID="lbSelVLab" data-icon="star" runat="server" CausesValidation="False" CommandArgument="SelVLab" CommandName="Select" Visible='<%# Convert.ToBoolean(Eval("VLab")) %>'></asp:LinkButton>
<asp:LinkButton ID="lbNewVLab" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-plus ui-btn-icon-notext ui-btn-inline" runat="server" CausesValidation="False" CommandArgument="NewVLab" CommandName="Select" Visible='<%# !Convert.ToBoolean(Eval("VLab")) %>'></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="VPsi" SortExpression="VPsi" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:LinkButton CssClass="ui-btn ui-shadow ui-corner-all ui-icon-search ui-btn-icon-notext ui-btn-inline" ID="lbSelVPsi" data-icon="star" runat="server" CausesValidation="False" CommandArgument="SelVPsi" CommandName="Select" Visible='<%# Convert.ToBoolean(Eval("VPsi")) %>'></asp:LinkButton>
<asp:LinkButton ID="lbNewVPsi" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-plus ui-btn-icon-notext ui-btn-inline" runat="server" CausesValidation="False" CommandArgument="NewVPsi" CommandName="Select" Visible='<%# !Convert.ToBoolean(Eval("VPsi")) %>'></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="MedPred_Data.DS_ApplicazioneTableAdapters.ElencoVisiteTableAdapter">
<SelectParameters>
<asp:SessionParameter DefaultValue="0" Name="IdxPaziente" SessionField="IdxPaziente" Type="Int32" />
</SelectParameters>
</asp:ObjectDataSource>
@@ -0,0 +1,78 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SteamWare;
namespace MedPred.WebUserControls
{
public partial class mod_ElencoVisitePaziente : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
}
/// <summary>
/// ultimo comando letto da link button
/// </summary>
public string lastCmd { get; set; }
protected void grView_RowCommand(object sender, GridViewCommandEventArgs e)
{
// salvo il command argument...
lastCmd = e.CommandArgument.ToString();
}
protected int IdxPaziente
{
get
{
return memLayer.ML.IntSessionObj("IdxPaziente");
}
}
/// <summary>
/// ricevuto comando di select
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void grView_SelectedIndexChanged(object sender, EventArgs e)
{
// recupero dati visita...
DateTime dataVisita = DateTime.Now;
try
{
dataVisita = Convert.ToDateTime(grView.SelectedDataKey["DataVisita"]);
memLayer.ML.setSessionVal("DataVisita", dataVisita);
//DS_Applicazione.AnagPazientiRow riga = DtProxy.man.taAP.getByKey(IdxPaziente)[0];
//memLayer.ML.setSessionVal("Paziente", string.Format("{0} {1} ({2:dd/MM/yyyy})", riga.Cognome, riga.Nome, riga.DataNasc));
}
catch
{ }
switch (lastCmd)
{
case "SelVGen":
Response.Redirect("VGen?cmd=sel");
break;
case "NewVGen":
Response.Redirect("VGen?cmd=new");
break;
case "SelVCiclo":
Response.Redirect("VCiclo?cmd=sel");
break;
case "NewVCiclo":
Response.Redirect("VCiclo?cmd=new");
break;
default:
break;
}
if (lastCmd == "edit")
{
// richiamo pagina con edit del record richiesto
Response.Redirect(string.Format("AccettazioneEdit?IdxPaziente={0}", grView.SelectedDataKey["IdxPaziente"]));
}
}
}
}
@@ -0,0 +1,33 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace MedPred.WebUserControls {
public partial class mod_ElencoVisitePaziente {
/// <summary>
/// grView control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.GridView grView;
/// <summary>
/// ods control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
}
}
File diff suppressed because it is too large Load Diff
+167 -3
View File
@@ -68,7 +68,7 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, CodF FROM AnagPazienti WHERE (IdxPa
<Mapping SourceColumn="CodF" DataSetColumn="CodF" />
</Mappings>
<Sources>
<DbSource ConnectionRef="MedPredConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="deleteQuery" Modifier="Public" Name="deleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="deleteQuery">
<DbSource ConnectionRef="MedPredConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="deleteQuery" Modifier="Public" Name="deleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="deleteQuery">
<DeleteCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_AP_deleteQuery</CommandText>
@@ -90,7 +90,7 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, CodF FROM AnagPazienti WHERE (IdxPa
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MedPredConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="insertQuery" Modifier="Public" Name="insertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="insertQuery">
<DbSource ConnectionRef="MedPredConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="insertQuery" Modifier="Public" Name="insertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="insertQuery">
<InsertCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_AP_insertQuery</CommandText>
@@ -121,6 +121,124 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, CodF FROM AnagPazienti WHERE (IdxPa
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="VisGenTableAdapter" GeneratorDataComponentClassName="VisGenTableAdapter" Name="VisGen" UserDataComponentName="VisGenTableAdapter">
<MainSource>
<DbSource ConnectionRef="MedPredConnectionString (Settings)" DbObjectName="MedPred.dbo.VisGen" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[VisGen] WHERE (([IdxPaziente] = @Original_IdxPaziente) AND ([DataVisita] = @Original_DataVisita) AND ([Peso] = @Original_Peso) AND ([Altezza] = @Original_Altezza) AND ([BMI] = @Original_BMI) AND ([CirconfVita] = @Original_CirconfVita) AND ([GrassoTotPerc] = @Original_GrassoTotPerc) AND ([GrassoTot] = @Original_GrassoTot) AND ([GrassoViscPerc] = @Original_GrassoViscPerc) AND ([GrassoVisc] = @Original_GrassoVisc) AND ([GrassoViscTot] = @Original_GrassoViscTot) AND ([MassaMagraTotPerc] = @Original_MassaMagraTotPerc) AND ([MassaMagraTot] = @Original_MassaMagraTot))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxPaziente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxPaziente" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DataVisita" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataVisita" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_Peso" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Peso" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_Altezza" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Altezza" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_BMI" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="BMI" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_CirconfVita" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="CirconfVita" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_GrassoTotPerc" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="GrassoTotPerc" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_GrassoTot" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="GrassoTot" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_GrassoViscPerc" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="GrassoViscPerc" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_GrassoVisc" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="GrassoVisc" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_GrassoViscTot" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="GrassoViscTot" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_MassaMagraTotPerc" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="MassaMagraTotPerc" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_MassaMagraTot" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="MassaMagraTot" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[VisGen] ([IdxPaziente], [DataVisita], [Peso], [Altezza], [CirconfVita], [GrassoTotPerc], [GrassoViscPerc], [MassaMagraTotPerc]) VALUES (@IdxPaziente, @DataVisita, @Peso, @Altezza, @CirconfVita, @GrassoTotPerc, @GrassoViscPerc, @MassaMagraTotPerc);
SELECT IdxPaziente, DataVisita, Peso, Altezza, BMI, CirconfVita, GrassoTotPerc, GrassoTot, GrassoViscPerc, GrassoVisc, GrassoViscTot, MassaMagraTotPerc, MassaMagraTot FROM VisGen WHERE (DataVisita = @DataVisita) AND (IdxPaziente = @IdxPaziente)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdxPaziente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxPaziente" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DataVisita" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataVisita" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Peso" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Peso" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Altezza" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Altezza" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@CirconfVita" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="CirconfVita" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@GrassoTotPerc" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="GrassoTotPerc" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@GrassoViscPerc" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="GrassoViscPerc" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@MassaMagraTotPerc" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="MassaMagraTotPerc" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT IdxPaziente, DataVisita, Peso, Altezza, BMI, CirconfVita, GrassoTotPerc, GrassoTot, GrassoViscPerc, GrassoVisc, GrassoViscTot, MassaMagraTotPerc, MassaMagraTot FROM dbo.VisGen</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[VisGen] SET [IdxPaziente] = @IdxPaziente, [DataVisita] = @DataVisita, [Peso] = @Peso, [Altezza] = @Altezza, [CirconfVita] = @CirconfVita, [GrassoTotPerc] = @GrassoTotPerc, [GrassoViscPerc] = @GrassoViscPerc, [MassaMagraTotPerc] = @MassaMagraTotPerc WHERE (([IdxPaziente] = @Original_IdxPaziente) AND ([DataVisita] = @Original_DataVisita) AND ([Peso] = @Original_Peso) AND ([Altezza] = @Original_Altezza) AND ([BMI] = @Original_BMI) AND ([CirconfVita] = @Original_CirconfVita) AND ([GrassoTotPerc] = @Original_GrassoTotPerc) AND ([GrassoTot] = @Original_GrassoTot) AND ([GrassoViscPerc] = @Original_GrassoViscPerc) AND ([GrassoVisc] = @Original_GrassoVisc) AND ([GrassoViscTot] = @Original_GrassoViscTot) AND ([MassaMagraTotPerc] = @Original_MassaMagraTotPerc) AND ([MassaMagraTot] = @Original_MassaMagraTot));
SELECT IdxPaziente, DataVisita, Peso, Altezza, BMI, CirconfVita, GrassoTotPerc, GrassoTot, GrassoViscPerc, GrassoVisc, GrassoViscTot, MassaMagraTotPerc, MassaMagraTot FROM VisGen WHERE (DataVisita = @DataVisita) AND (IdxPaziente = @IdxPaziente)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdxPaziente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxPaziente" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DataVisita" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataVisita" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Peso" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Peso" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Altezza" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Altezza" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@CirconfVita" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="CirconfVita" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@GrassoTotPerc" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="GrassoTotPerc" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@GrassoViscPerc" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="GrassoViscPerc" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@MassaMagraTotPerc" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="MassaMagraTotPerc" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxPaziente" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxPaziente" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DataVisita" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DataVisita" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_Peso" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Peso" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_Altezza" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Altezza" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_BMI" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="BMI" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_CirconfVita" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="CirconfVita" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_GrassoTotPerc" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="GrassoTotPerc" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_GrassoTot" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="GrassoTot" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_GrassoViscPerc" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="GrassoViscPerc" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_GrassoVisc" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="GrassoVisc" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_GrassoViscTot" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="GrassoViscTot" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_MassaMagraTotPerc" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="MassaMagraTotPerc" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_MassaMagraTot" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="MassaMagraTot" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="IdxPaziente" DataSetColumn="IdxPaziente" />
<Mapping SourceColumn="DataVisita" DataSetColumn="DataVisita" />
<Mapping SourceColumn="Peso" DataSetColumn="Peso" />
<Mapping SourceColumn="Altezza" DataSetColumn="Altezza" />
<Mapping SourceColumn="BMI" DataSetColumn="BMI" />
<Mapping SourceColumn="CirconfVita" DataSetColumn="CirconfVita" />
<Mapping SourceColumn="GrassoTotPerc" DataSetColumn="GrassoTotPerc" />
<Mapping SourceColumn="GrassoTot" DataSetColumn="GrassoTot" />
<Mapping SourceColumn="GrassoViscPerc" DataSetColumn="GrassoViscPerc" />
<Mapping SourceColumn="GrassoVisc" DataSetColumn="GrassoVisc" />
<Mapping SourceColumn="GrassoViscTot" DataSetColumn="GrassoViscTot" />
<Mapping SourceColumn="MassaMagraTotPerc" DataSetColumn="MassaMagraTotPerc" />
<Mapping SourceColumn="MassaMagraTot" DataSetColumn="MassaMagraTot" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ElencoVisiteTableAdapter" GeneratorDataComponentClassName="ElencoVisiteTableAdapter" Name="ElencoVisite" UserDataComponentName="ElencoVisiteTableAdapter">
<MainSource>
<DbSource ConnectionRef="MedPredConnectionString (Settings)" DbObjectName="MedPred.dbo.stp_EV_getByIdxPaz" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_EV_getByIdxPaz</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdxPaziente" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="DataVisita" DataSetColumn="DataVisita" />
<Mapping SourceColumn="VGen" DataSetColumn="VGen" />
<Mapping SourceColumn="VCiclo" DataSetColumn="VCiclo" />
<Mapping SourceColumn="VEco" DataSetColumn="VEco" />
<Mapping SourceColumn="VBMec" DataSetColumn="VBMec" />
<Mapping SourceColumn="VLab" DataSetColumn="VLab" />
<Mapping SourceColumn="VPsi" DataSetColumn="VPsi" />
</Mappings>
<Sources />
</TableAdapter>
</Tables>
<Sources />
</DataSource>
@@ -129,7 +247,7 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, CodF FROM AnagPazienti WHERE (IdxPa
<xs:element name="DS_Applicazione" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_Applicazione" msprop:Generator_UserDSName="DS_Applicazione">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="AnagPazienti" msprop:Generator_TableClassName="AnagPazientiDataTable" msprop:Generator_TableVarName="tableAnagPazienti" msprop:Generator_TablePropName="AnagPazienti" msprop:Generator_RowDeletingName="AnagPazientiRowDeleting" msprop:Generator_RowChangingName="AnagPazientiRowChanging" msprop:Generator_RowEvHandlerName="AnagPazientiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagPazientiRowDeleted" msprop:Generator_UserTableName="AnagPazienti" msprop:Generator_RowChangedName="AnagPazientiRowChanged" msprop:Generator_RowEvArgName="AnagPazientiRowChangeEvent" msprop:Generator_RowClassName="AnagPazientiRow">
<xs:element name="AnagPazienti" msprop:Generator_TableClassName="AnagPazientiDataTable" msprop:Generator_TableVarName="tableAnagPazienti" msprop:Generator_RowChangedName="AnagPazientiRowChanged" msprop:Generator_TablePropName="AnagPazienti" msprop:Generator_RowDeletingName="AnagPazientiRowDeleting" msprop:Generator_RowChangingName="AnagPazientiRowChanging" msprop:Generator_RowEvHandlerName="AnagPazientiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagPazientiRowDeleted" msprop:Generator_RowClassName="AnagPazientiRow" msprop:Generator_UserTableName="AnagPazienti" msprop:Generator_RowEvArgName="AnagPazientiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxPaziente" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIdxPaziente" msprop:Generator_ColumnPropNameInRow="IdxPaziente" msprop:Generator_ColumnPropNameInTable="IdxPazienteColumn" msprop:Generator_UserColumnName="IdxPaziente" type="xs:int" />
@@ -158,11 +276,57 @@ SELECT IdxPaziente, Cognome, Nome, DataNasc, CodF FROM AnagPazienti WHERE (IdxPa
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="VisGen" msprop:Generator_TableClassName="VisGenDataTable" msprop:Generator_TableVarName="tableVisGen" msprop:Generator_TablePropName="VisGen" msprop:Generator_RowDeletingName="VisGenRowDeleting" msprop:Generator_RowChangingName="VisGenRowChanging" msprop:Generator_RowEvHandlerName="VisGenRowChangeEventHandler" msprop:Generator_RowDeletedName="VisGenRowDeleted" msprop:Generator_UserTableName="VisGen" msprop:Generator_RowChangedName="VisGenRowChanged" msprop:Generator_RowEvArgName="VisGenRowChangeEvent" msprop:Generator_RowClassName="VisGenRow">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxPaziente" msprop:Generator_ColumnVarNameInTable="columnIdxPaziente" msprop:Generator_ColumnPropNameInRow="IdxPaziente" msprop:Generator_ColumnPropNameInTable="IdxPazienteColumn" msprop:Generator_UserColumnName="IdxPaziente" type="xs:int" />
<xs:element name="DataVisita" msprop:Generator_ColumnVarNameInTable="columnDataVisita" msprop:Generator_ColumnPropNameInRow="DataVisita" msprop:Generator_ColumnPropNameInTable="DataVisitaColumn" msprop:Generator_UserColumnName="DataVisita" type="xs:dateTime" />
<xs:element name="Peso" msprop:Generator_ColumnVarNameInTable="columnPeso" msprop:Generator_ColumnPropNameInRow="Peso" msprop:Generator_ColumnPropNameInTable="PesoColumn" msprop:Generator_UserColumnName="Peso" type="xs:double" />
<xs:element name="Altezza" msprop:Generator_ColumnVarNameInTable="columnAltezza" msprop:Generator_ColumnPropNameInRow="Altezza" msprop:Generator_ColumnPropNameInTable="AltezzaColumn" msprop:Generator_UserColumnName="Altezza" type="xs:double" />
<xs:element name="BMI" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnBMI" msprop:Generator_ColumnPropNameInRow="BMI" msprop:Generator_ColumnPropNameInTable="BMIColumn" msprop:Generator_UserColumnName="BMI" type="xs:double" minOccurs="0" />
<xs:element name="CirconfVita" msprop:Generator_ColumnVarNameInTable="columnCirconfVita" msprop:Generator_ColumnPropNameInRow="CirconfVita" msprop:Generator_ColumnPropNameInTable="CirconfVitaColumn" msprop:Generator_UserColumnName="CirconfVita" type="xs:double" />
<xs:element name="GrassoTotPerc" msprop:Generator_ColumnVarNameInTable="columnGrassoTotPerc" msprop:Generator_ColumnPropNameInRow="GrassoTotPerc" msprop:Generator_ColumnPropNameInTable="GrassoTotPercColumn" msprop:Generator_UserColumnName="GrassoTotPerc" type="xs:double" />
<xs:element name="GrassoTot" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnGrassoTot" msprop:Generator_ColumnPropNameInRow="GrassoTot" msprop:Generator_ColumnPropNameInTable="GrassoTotColumn" msprop:Generator_UserColumnName="GrassoTot" type="xs:double" minOccurs="0" />
<xs:element name="GrassoViscPerc" msprop:Generator_ColumnVarNameInTable="columnGrassoViscPerc" msprop:Generator_ColumnPropNameInRow="GrassoViscPerc" msprop:Generator_ColumnPropNameInTable="GrassoViscPercColumn" msprop:Generator_UserColumnName="GrassoViscPerc" type="xs:double" />
<xs:element name="GrassoVisc" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnGrassoVisc" msprop:Generator_ColumnPropNameInRow="GrassoVisc" msprop:Generator_ColumnPropNameInTable="GrassoViscColumn" msprop:Generator_UserColumnName="GrassoVisc" type="xs:double" minOccurs="0" />
<xs:element name="GrassoViscTot" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnGrassoViscTot" msprop:Generator_ColumnPropNameInRow="GrassoViscTot" msprop:Generator_ColumnPropNameInTable="GrassoViscTotColumn" msprop:Generator_UserColumnName="GrassoViscTot" type="xs:double" minOccurs="0" />
<xs:element name="MassaMagraTotPerc" msprop:Generator_ColumnVarNameInTable="columnMassaMagraTotPerc" msprop:Generator_ColumnPropNameInRow="MassaMagraTotPerc" msprop:Generator_ColumnPropNameInTable="MassaMagraTotPercColumn" msprop:Generator_UserColumnName="MassaMagraTotPerc" type="xs:double" />
<xs:element name="MassaMagraTot" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnMassaMagraTot" msprop:Generator_ColumnPropNameInRow="MassaMagraTot" msprop:Generator_ColumnPropNameInTable="MassaMagraTotColumn" msprop:Generator_UserColumnName="MassaMagraTot" type="xs:double" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ElencoVisite" msprop:Generator_TableClassName="ElencoVisiteDataTable" msprop:Generator_TableVarName="tableElencoVisite" msprop:Generator_TablePropName="ElencoVisite" msprop:Generator_RowDeletingName="ElencoVisiteRowDeleting" msprop:Generator_RowChangingName="ElencoVisiteRowChanging" msprop:Generator_RowEvHandlerName="ElencoVisiteRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoVisiteRowDeleted" msprop:Generator_UserTableName="ElencoVisite" msprop:Generator_RowChangedName="ElencoVisiteRowChanged" msprop:Generator_RowEvArgName="ElencoVisiteRowChangeEvent" msprop:Generator_RowClassName="ElencoVisiteRow">
<xs:complexType>
<xs:sequence>
<xs:element name="DataVisita" msprop:Generator_ColumnVarNameInTable="columnDataVisita" msprop:Generator_ColumnPropNameInRow="DataVisita" msprop:Generator_ColumnPropNameInTable="DataVisitaColumn" msprop:Generator_UserColumnName="DataVisita" type="xs:dateTime" />
<xs:element name="VGen" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnVGen" msprop:Generator_ColumnPropNameInRow="VGen" msprop:Generator_ColumnPropNameInTable="VGenColumn" msprop:Generator_UserColumnName="VGen" type="xs:int" minOccurs="0" />
<xs:element name="VCiclo" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnVCiclo" msprop:Generator_ColumnPropNameInRow="VCiclo" msprop:Generator_ColumnPropNameInTable="VCicloColumn" msprop:Generator_UserColumnName="VCiclo" type="xs:int" minOccurs="0" />
<xs:element name="VEco" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnVEco" msprop:Generator_ColumnPropNameInRow="VEco" msprop:Generator_ColumnPropNameInTable="VEcoColumn" msprop:Generator_UserColumnName="VEco" type="xs:int" minOccurs="0" />
<xs:element name="VBMec" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnVBMec" msprop:Generator_ColumnPropNameInRow="VBMec" msprop:Generator_ColumnPropNameInTable="VBMecColumn" msprop:Generator_UserColumnName="VBMec" type="xs:int" minOccurs="0" />
<xs:element name="VLab" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnVLab" msprop:Generator_ColumnPropNameInRow="VLab" msprop:Generator_ColumnPropNameInTable="VLabColumn" msprop:Generator_UserColumnName="VLab" type="xs:int" minOccurs="0" />
<xs:element name="VPsi" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnVPsi" msprop:Generator_ColumnPropNameInRow="VPsi" msprop:Generator_ColumnPropNameInTable="VPsiColumn" msprop:Generator_UserColumnName="VPsi" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:AnagPazienti" />
<xs:field xpath="mstns:IdxPaziente" />
</xs:unique>
<xs:unique name="VisGen_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:VisGen" />
<xs:field xpath="mstns:IdxPaziente" />
<xs:field xpath="mstns:DataVisita" />
</xs:unique>
<xs:unique name="ElencoVisite_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:ElencoVisite" />
<xs:field xpath="mstns:DataVisita" />
</xs:unique>
</xs:element>
<xs:annotation>
<xs:appinfo>
<msdata:Relationship name="FK_VisGen_AnagPazienti" msdata:parent="AnagPazienti" msdata:child="VisGen" msdata:parentkey="IdxPaziente" msdata:childkey="IdxPaziente" msprop:Generator_UserChildTable="VisGen" msprop:Generator_ChildPropName="GetVisGenRows" msprop:Generator_UserRelationName="FK_VisGen_AnagPazienti" msprop:Generator_ParentPropName="AnagPazientiRow" msprop:Generator_RelationVarName="relationFK_VisGen_AnagPazienti" msprop:Generator_UserParentTable="AnagPazienti" />
</xs:appinfo>
</xs:annotation>
</xs:schema>
+17 -2
View File
@@ -6,7 +6,22 @@
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="0" ViewPortY="0" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:AnagPazienti" ZOrder="1" X="165" Y="140" Height="248" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:AnagPazienti" ZOrder="4" X="698" Y="94" Height="248" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:VisGen" ZOrder="3" X="1060" Y="56" Height="305" Width="184" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:ElencoVisite" ZOrder="1" X="67" Y="40" Height="210" Width="260" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
</Shapes>
<Connectors />
<Connectors>
<Connector ID="DesignRelation:FK_VisGen_AnagPazienti" ZOrder="2" LineWidth="11">
<RoutePoints>
<Point>
<X>998</X>
<Y>206</Y>
</Point>
<Point>
<X>1060</X>
<Y>206</Y>
</Point>
</RoutePoints>
</Connector>
</Connectors>
</DiagramLayout>
Binary file not shown.