aggiunta (in maschera squadre) gest squadre... ma nascosta (data ad admin)

This commit is contained in:
unknown
2015-09-02 11:06:43 +02:00
parent ac3abbd550
commit a39c225312
26 changed files with 2194 additions and 56 deletions
Binary file not shown.
+4 -1
View File
@@ -1,16 +1,19 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/JQMob.Master" AutoEventWireup="true" CodeBehind="Menu.aspx.cs" Inherits="WebSCR.Menu" %>
<%@ Register Src="~/WebUserControls/mod_squadre.ascx" TagPrefix="uc1" TagName="mod_squadre" %>
<%@ Register Src="~/WebUserControls/mod_AssSquadra.ascx" TagPrefix="uc1" TagName="mod_AssSquadra" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="ui-mini">
<uc1:mod_squadre runat="server" ID="mod_squadre" />
<uc1:mod_AssSquadra runat="server" id="mod_AssSquadra" />
<div style="text-align: center; margin: auto;">
<asp:LinkButton ID="lbSetSquadra" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-edit ui-btn-icon-right ui-btn-inline" runat="server" CausesValidation="False" Text="Scegli Squadra" Width="75%" OnClick="lbSetSquadra_Click" />
<asp:LinkButton ID="lbResetSquadra" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-recycle ui-btn-icon-right ui-btn-inline" runat="server" CausesValidation="False" Text="Reset Squadra" Width="75%" OnClick="lbResetSquadra_Click" />
<asp:LinkButton ID="lbComponiSquadra" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-edit ui-btn-icon-right ui-btn-inline" runat="server" CausesValidation="False" Text="Componi Squadra" Width="75%" OnClick="lbComponiSquadra_Click" />
<asp:LinkButton ID="lbComponiSquadra" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-edit ui-btn-icon-right ui-btn-inline" runat="server" CausesValidation="False" Text="Componi Squadra" Width="75%" OnClick="lbComponiSquadra_Click" Visible="false" />
</div>
</div>
</asp:Content>
+2 -1
View File
@@ -15,6 +15,7 @@ namespace WebSCR
if (!Page.IsPostBack)
{
mod_squadre.Visible = false;
mod_AssSquadra.Visible = false;
}
}
@@ -42,7 +43,7 @@ namespace WebSCR
protected void lbComponiSquadra_Click(object sender, EventArgs e)
{
mod_AssSquadra.Visible = true;
}
}
}
+9
View File
@@ -21,6 +21,15 @@ namespace WebSCR {
/// </remarks>
protected global::WebSCR.WebUserControls.mod_squadre mod_squadre;
/// <summary>
/// mod_AssSquadra control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::WebSCR.WebUserControls.mod_AssSquadra mod_AssSquadra;
/// <summary>
/// lbSetSquadra control.
/// </summary>
+1 -1
View File
@@ -39,7 +39,7 @@
<!--file allegati documenti-->
<add key="fileUploadFolder" value="~/DocUploader"/>
<!--gestione squadre-->
<add key="NumGg" value="2" />
<add key="NumGg" value="5" />
<!--gestione sw uploader locale-->
<add key="localUplURL" value="http://IIS02" />
<!--stringhe connessione-->
+8
View File
@@ -370,6 +370,7 @@
<Content Include="Upload\Document.aspx" />
<Content Include="Upload\PingPage.aspx" />
<Content Include="UserAdmin.aspx" />
<Content Include="WebUserControls\mod_AssSquadra.ascx" />
<Content Include="WebUserControls\mod_consegne.ascx" />
<Content Include="WebUserControls\mod_dettInt.ascx" />
<Content Include="WebUserControls\mod_dispPeriodo.ascx" />
@@ -535,6 +536,13 @@
<Compile Include="ViewSwitcher.ascx.designer.cs">
<DependentUpon>ViewSwitcher.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_AssSquadra.ascx.cs">
<DependentUpon>mod_AssSquadra.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\mod_AssSquadra.ascx.designer.cs">
<DependentUpon>mod_AssSquadra.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_consegne.ascx.cs">
<DependentUpon>mod_consegne.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -0,0 +1,60 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_AssSquadra.ascx.cs" Inherits="WebSCR.WebUserControls.mod_AssSquadra" %>
<%@ Register Src="~/WebUserControls/mod_selData.ascx" TagPrefix="uc1" TagName="mod_selData" %>
<div class="ui-mini">
<div class="ui-grid-b" style="padding: 2px;">
<div class="ui-block-a ui-shadow ui-corner-all">
<asp:DropDownList ID="ddlSquadre" runat="server" DataSourceID="odsSquadre" DataTextField="DescrSquadra" DataValueField="CodSquadra" AutoPostBack="True" OnSelectedIndexChanged="ddlSquadre_SelectedIndexChanged"></asp:DropDownList>
<asp:ObjectDataSource ID="odsSquadre" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="WebSCR_data.DS_ApplicazioneTableAdapters.AnagSquadreTableAdapter"></asp:ObjectDataSource>
</div>
<div class="ui-block-b ui-shadow ui-corner-all">
<uc1:mod_selData runat="server" ID="mod_selData" />
</div>
<div class="ui-block-c ui-shadow ui-corner-all">
<div class="ui-grid-a">
<div class="ui-block-a">
<asp:DropDownList ID="ddlDip" runat="server" DataSourceID="odsDip" DataTextField="CognomeNome" DataValueField="Matr" AutoPostBack="True" OnSelectedIndexChanged="ddlDip_SelectedIndexChanged"></asp:DropDownList>
<asp:ObjectDataSource ID="odsDip" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="WebSCR_data.DS_ApplicazioneTableAdapters.DipendentiTableAdapter"></asp:ObjectDataSource>
</div>
<div class="ui-block-b">
<asp:LinkButton ID="btnDoInsert" runat="server" CssClass="ui-btn ui-input-btn ui-corner-all ui-shadow" OnClick="btnDoInsert_Click" Width="80%"> <i class="fa fa-plus"></i>Aggiungi </asp:LinkButton>
</div>
</div>
</div>
</div>
<div class="ui-grid-solo" style="padding: 2px;">
<div class="ui-block-a ui-shadow ui-corner-all">
<asp:GridView ID="grView" runat="server" DataSourceID="ods" Width="100%" AutoGenerateColumns="False" DataKeyNames="DataFrom,CodSquadra,Matr">
<AlternatingRowStyle BackColor="White" />
<EditRowStyle BackColor="#2461BF" />
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<RowStyle BackColor="#EFF3FB" HorizontalAlign="Left" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<SortedAscendingCellStyle BackColor="#F5F7FB" />
<SortedAscendingHeaderStyle BackColor="#6D95E1" />
<SortedDescendingCellStyle BackColor="#E9EBEF" />
<SortedDescendingHeaderStyle BackColor="#4870BE" />
<EmptyDataTemplate>
Nessun record
</EmptyDataTemplate>
<Columns>
<asp:BoundField DataField="CodSquadra" HeaderText="CodSquadra" ReadOnly="True" SortExpression="CodSquadra" />
<asp:BoundField DataField="Matr" HeaderText="Matr" ReadOnly="True" SortExpression="Matr" />
<asp:BoundField DataField="CognomeNome" HeaderText="Cognome Nome" ReadOnly="True" SortExpression="Matr" />
<asp:BoundField DataField="DataFrom" HeaderText="Inizio" ReadOnly="True" SortExpression="DataFrom" DataFormatString="{0:dddd dd/MM/yyyy}" HtmlEncode="false" />
<asp:BoundField DataField="DataTo" HeaderText="Fine" SortExpression="DataTo" DataFormatString="{0:dddd dd/MM/yyyy}" HtmlEncode="false" />
</Columns>
</asp:GridView>
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetByCodSqData" TypeName="WebSCR_data.DS_ApplicazioneTableAdapters.AssegnSquadreTableAdapter">
<SelectParameters>
<asp:ControlParameter ControlID="ddlSquadre" DefaultValue="" Name="CodSquadra" PropertyName="SelectedValue" Type="String" />
<asp:CookieParameter CookieName="DataRif" Name="Data" Type="DateTime" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
</div>
</div>
@@ -0,0 +1,37 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using WebSCR_data;
namespace WebSCR.WebUserControls
{
public partial class mod_AssSquadra : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
}
/// <summary>
/// inserimento associazione user/squadra
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnDoInsert_Click(object sender, EventArgs e)
{
DtProxy.man.taAsSq.insertQuery(ddlSquadre.SelectedValue, mod_selData.dateSel, ddlDip.SelectedValue);
grView.DataBind();
}
protected void ddlSquadre_SelectedIndexChanged(object sender, EventArgs e)
{
grView.DataBind();
}
protected void ddlDip_SelectedIndexChanged(object sender, EventArgs e)
{
}
}
}
+87
View File
@@ -0,0 +1,87 @@
//------------------------------------------------------------------------------
// <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 WebSCR.WebUserControls {
public partial class mod_AssSquadra {
/// <summary>
/// ddlSquadre 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.DropDownList ddlSquadre;
/// <summary>
/// odsSquadre 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 odsSquadre;
/// <summary>
/// mod_selData control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::WebSCR.WebUserControls.mod_selData mod_selData;
/// <summary>
/// ddlDip 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.DropDownList ddlDip;
/// <summary>
/// odsDip 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 odsDip;
/// <summary>
/// btnDoInsert 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.LinkButton btnDoInsert;
/// <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;
}
}
@@ -73,12 +73,16 @@ namespace WebSCR.WebUserControls
mod_giornata.Visible = false;
mod_dettInt.Visible = false;
mod_impegno.Visible = false;
mod_fileImpegno.Visible = false;
mod_fileUpload.Visible = false;
if (qsVal("Data") != "")
{
if (qsVal("IdxImpegno") != "")
{
mod_impegno.Visible = true;
mod_dettInt.Visible = true;
mod_fileImpegno.Visible = true;
mod_fileUpload.Visible = true;
}
else
{
@@ -39,5 +39,13 @@ namespace WebSCR.WebUserControls
// ricarico!
Response.Redirect(devicesAuthProxy.pagCorrente);
}
public DateTime dateSel
{
get
{
return Convert.ToDateTime(memLayer.ML.getCookieVal("DataRif"));
}
}
}
}
+1 -1
View File
@@ -47,7 +47,7 @@ namespace WebSCR.WebUserControls
memLayer.ML.setCookieVal("CodSquadra", riga.CodSquadra, DateTime.Now.AddMinutes(memLayer.ML.confReadInt("minCookieSquadra")));
memLayer.ML.setCookieVal("SquadraCurr", riga.DescrSquadra, DateTime.Now.AddMinutes(memLayer.ML.confReadInt("minCookieSquadra")));
memLayer.ML.setCookieVal("DataRif", DateTime.Now.ToString("yyyy-MM-dd"), DateTime.Now.AddMinutes(memLayer.ML.confReadInt("minCookieSquadra")));
memLayer.ML.setCookieVal("NumGg", memLayer.ML.CRI("NumGg"), DateTime.Now.AddMinutes(memLayer.ML.confReadInt("minCookieSquadra")));
memLayer.ML.setCookieVal("NumGg", memLayer.ML.CRS("NumGg"), DateTime.Now.AddMinutes(memLayer.ML.confReadInt("minCookieSquadra")));
memLayer.ML.setCookieVal("RecAgeDd", "1000", DateTime.Now.AddMinutes(memLayer.ML.confReadInt("minCookieSquadra")));
// ricarico!
Response.Redirect(devicesAuthProxy.pagCorrente);
Binary file not shown.
Binary file not shown.
Binary file not shown.
+2
View File
@@ -38,6 +38,8 @@
<add key="PageNoIndex" value="UserAdmin#Test" />
<!--file allegati documenti-->
<add key="fileUploadFolder" value="~/DocUploader"/>
<!--gestione squadre-->
<add key="NumGg" value="5" />
<!--gestione sw uploader locale-->
<add key="localUplURL" value="http://IIS02" />
<!--stringhe connessione-->
Binary file not shown.
+1737 -25
View File
File diff suppressed because it is too large Load Diff
+191 -13
View File
@@ -1146,6 +1146,109 @@ FROM raw.DB2_DOCS</CommandText>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="AssegnSquadreTableAdapter" GeneratorDataComponentClassName="AssegnSquadreTableAdapter" Name="AssegnSquadre" UserDataComponentName="AssegnSquadreTableAdapter">
<MainSource>
<DbSource ConnectionRef="WebSCRConnectionString (Settings)" DbObjectName="WebSCR.dbo.v_AssSqDip" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" 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="Text" ModifiedByUser="true">
<CommandText>SELECT DataFrom, CodSquadra, Matr, DataTo, CognomeNome
FROM v_AssSqDip</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="DataFrom" DataSetColumn="DataFrom" />
<Mapping SourceColumn="CodSquadra" DataSetColumn="CodSquadra" />
<Mapping SourceColumn="Matr" DataSetColumn="Matr" />
<Mapping SourceColumn="DataTo" DataSetColumn="DataTo" />
<Mapping SourceColumn="CognomeNome" DataSetColumn="CognomeNome" />
</Mappings>
<Sources>
<DbSource ConnectionRef="WebSCRConnectionString (Settings)" DbObjectName="WebSCR.dbo.stp_AsSq_GetByCodSqData" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="GetByCodSqData" GetMethodModifier="Public" GetMethodName="GetByCodSqData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetByCodSqData" UserSourceName="GetByCodSqData">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_AsSq_GetByCodSqData</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="nvarchar" DbType="String" Direction="Input" ParameterName="@CodSquadra" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@Data" Precision="16" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="WebSCRConnectionString (Settings)" DbObjectName="WebSCR.dbo.stp_AsSq_insert" DbObjectType="StoredProcedure" 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="GetDataBy" UserSourceName="insertQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_AsSq_insert</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="nvarchar" DbType="String" Direction="Input" ParameterName="@CodSquadra" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@Data" Precision="16" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Matr" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="DipendentiTableAdapter" GeneratorDataComponentClassName="DipendentiTableAdapter" Name="Dipendenti" UserDataComponentName="DipendentiTableAdapter">
<MainSource>
<DbSource ConnectionRef="WebSCRConnectionString (Settings)" DbObjectName="WebSCR.dbo.Dipendenti" 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].[Dipendenti] WHERE (([Matr] = @Original_Matr) AND ([Cognome] = @Original_Cognome) AND ([Nome] = @Original_Nome) AND ([CognomeNome] = @Original_CognomeNome))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Matr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Matr" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Cognome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Cognome" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Nome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nome" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CognomeNome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CognomeNome" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[Dipendenti] ([Matr], [Cognome], [Nome]) VALUES (@Matr, @Cognome, @Nome);
SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Matr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Matr" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Cognome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Cognome" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Nome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nome" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT * FROM dbo.Dipendenti</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[Dipendenti] SET [Matr] = @Matr, [Cognome] = @Cognome, [Nome] = @Nome WHERE (([Matr] = @Original_Matr) AND ([Cognome] = @Original_Cognome) AND ([Nome] = @Original_Nome) AND ([CognomeNome] = @Original_CognomeNome));
SELECT Matr, Cognome, Nome, CognomeNome FROM Dipendenti WHERE (Matr = @Matr)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Matr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Matr" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Cognome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Cognome" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Nome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nome" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Matr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Matr" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Cognome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Cognome" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Nome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nome" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CognomeNome" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CognomeNome" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="Matr" DataSetColumn="Matr" />
<Mapping SourceColumn="Cognome" DataSetColumn="Cognome" />
<Mapping SourceColumn="Nome" DataSetColumn="Nome" />
<Mapping SourceColumn="CognomeNome" DataSetColumn="CognomeNome" />
</Mappings>
<Sources />
</TableAdapter>
</Tables>
<Sources />
</DataSource>
@@ -1154,7 +1257,7 @@ FROM raw.DB2_DOCS</CommandText>
<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="AnagSquadre" msprop:Generator_TableClassName="AnagSquadreDataTable" msprop:Generator_TableVarName="tableAnagSquadre" msprop:Generator_RowChangedName="AnagSquadreRowChanged" msprop:Generator_TablePropName="AnagSquadre" msprop:Generator_RowDeletingName="AnagSquadreRowDeleting" msprop:Generator_RowChangingName="AnagSquadreRowChanging" msprop:Generator_RowEvHandlerName="AnagSquadreRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagSquadreRowDeleted" msprop:Generator_RowClassName="AnagSquadreRow" msprop:Generator_UserTableName="AnagSquadre" msprop:Generator_RowEvArgName="AnagSquadreRowChangeEvent">
<xs:element name="AnagSquadre" msprop:Generator_TableClassName="AnagSquadreDataTable" msprop:Generator_TableVarName="tableAnagSquadre" msprop:Generator_TablePropName="AnagSquadre" msprop:Generator_RowDeletingName="AnagSquadreRowDeleting" msprop:Generator_RowChangingName="AnagSquadreRowChanging" msprop:Generator_RowEvHandlerName="AnagSquadreRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagSquadreRowDeleted" msprop:Generator_UserTableName="AnagSquadre" msprop:Generator_RowChangedName="AnagSquadreRowChanged" msprop:Generator_RowEvArgName="AnagSquadreRowChangeEvent" msprop:Generator_RowClassName="AnagSquadreRow">
<xs:complexType>
<xs:sequence>
<xs:element name="CodSquadra" msprop:Generator_ColumnVarNameInTable="columnCodSquadra" msprop:Generator_ColumnPropNameInRow="CodSquadra" msprop:Generator_ColumnPropNameInTable="CodSquadraColumn" msprop:Generator_UserColumnName="CodSquadra">
@@ -1186,7 +1289,7 @@ FROM raw.DB2_DOCS</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagZone" msprop:Generator_TableClassName="AnagZoneDataTable" msprop:Generator_TableVarName="tableAnagZone" msprop:Generator_RowChangedName="AnagZoneRowChanged" msprop:Generator_TablePropName="AnagZone" msprop:Generator_RowDeletingName="AnagZoneRowDeleting" msprop:Generator_RowChangingName="AnagZoneRowChanging" msprop:Generator_RowEvHandlerName="AnagZoneRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagZoneRowDeleted" msprop:Generator_RowClassName="AnagZoneRow" msprop:Generator_UserTableName="AnagZone" msprop:Generator_RowEvArgName="AnagZoneRowChangeEvent">
<xs:element name="AnagZone" msprop:Generator_TableClassName="AnagZoneDataTable" msprop:Generator_TableVarName="tableAnagZone" msprop:Generator_TablePropName="AnagZone" msprop:Generator_RowDeletingName="AnagZoneRowDeleting" msprop:Generator_RowChangingName="AnagZoneRowChanging" msprop:Generator_RowEvHandlerName="AnagZoneRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagZoneRowDeleted" msprop:Generator_UserTableName="AnagZone" msprop:Generator_RowChangedName="AnagZoneRowChanged" msprop:Generator_RowEvArgName="AnagZoneRowChangeEvent" msprop:Generator_RowClassName="AnagZoneRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxZona" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxZona" msprop:Generator_ColumnPropNameInRow="idxZona" msprop:Generator_ColumnPropNameInTable="idxZonaColumn" msprop:Generator_UserColumnName="idxZona" type="xs:int" />
@@ -1222,7 +1325,7 @@ FROM raw.DB2_DOCS</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagTipoConsegne" msprop:Generator_TableClassName="AnagTipoConsegneDataTable" msprop:Generator_TableVarName="tableAnagTipoConsegne" msprop:Generator_RowChangedName="AnagTipoConsegneRowChanged" msprop:Generator_TablePropName="AnagTipoConsegne" msprop:Generator_RowDeletingName="AnagTipoConsegneRowDeleting" msprop:Generator_RowChangingName="AnagTipoConsegneRowChanging" msprop:Generator_RowEvHandlerName="AnagTipoConsegneRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagTipoConsegneRowDeleted" msprop:Generator_RowClassName="AnagTipoConsegneRow" msprop:Generator_UserTableName="AnagTipoConsegne" msprop:Generator_RowEvArgName="AnagTipoConsegneRowChangeEvent">
<xs:element name="AnagTipoConsegne" msprop:Generator_TableClassName="AnagTipoConsegneDataTable" msprop:Generator_TableVarName="tableAnagTipoConsegne" msprop:Generator_TablePropName="AnagTipoConsegne" msprop:Generator_RowDeletingName="AnagTipoConsegneRowDeleting" msprop:Generator_RowChangingName="AnagTipoConsegneRowChanging" msprop:Generator_RowEvHandlerName="AnagTipoConsegneRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagTipoConsegneRowDeleted" msprop:Generator_UserTableName="AnagTipoConsegne" msprop:Generator_RowChangedName="AnagTipoConsegneRowChanged" msprop:Generator_RowEvArgName="AnagTipoConsegneRowChangeEvent" msprop:Generator_RowClassName="AnagTipoConsegneRow">
<xs:complexType>
<xs:sequence>
<xs:element name="CodConsegna" msprop:Generator_ColumnVarNameInTable="columnCodConsegna" msprop:Generator_ColumnPropNameInRow="CodConsegna" msprop:Generator_ColumnPropNameInTable="CodConsegnaColumn" msprop:Generator_UserColumnName="CodConsegna">
@@ -1247,7 +1350,7 @@ FROM raw.DB2_DOCS</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagClienti" msprop:Generator_TableClassName="AnagClientiDataTable" msprop:Generator_TableVarName="tableAnagClienti" msprop:Generator_TablePropName="AnagClienti" msprop:Generator_RowDeletingName="AnagClientiRowDeleting" msprop:Generator_RowChangingName="AnagClientiRowChanging" msprop:Generator_RowEvHandlerName="AnagClientiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagClientiRowDeleted" msprop:Generator_UserTableName="AnagClienti" msprop:Generator_RowChangedName="AnagClientiRowChanged" msprop:Generator_RowEvArgName="AnagClientiRowChangeEvent" msprop:Generator_RowClassName="AnagClientiRow">
<xs:element name="AnagClienti" msprop:Generator_TableClassName="AnagClientiDataTable" msprop:Generator_TableVarName="tableAnagClienti" msprop:Generator_RowChangedName="AnagClientiRowChanged" msprop:Generator_TablePropName="AnagClienti" msprop:Generator_RowDeletingName="AnagClientiRowDeleting" msprop:Generator_RowChangingName="AnagClientiRowChanging" msprop:Generator_RowEvHandlerName="AnagClientiRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagClientiRowDeleted" msprop:Generator_RowClassName="AnagClientiRow" msprop:Generator_UserTableName="AnagClienti" msprop:Generator_RowEvArgName="AnagClientiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="CodCliente" msprop:Generator_ColumnVarNameInTable="columnCodCliente" msprop:Generator_ColumnPropNameInRow="CodCliente" msprop:Generator_ColumnPropNameInTable="CodClienteColumn" msprop:Generator_UserColumnName="CodCliente">
@@ -1331,7 +1434,7 @@ FROM raw.DB2_DOCS</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Impegni" msprop:Generator_TableClassName="ImpegniDataTable" msprop:Generator_TableVarName="tableImpegni" msprop:Generator_TablePropName="Impegni" msprop:Generator_RowDeletingName="ImpegniRowDeleting" msprop:Generator_RowChangingName="ImpegniRowChanging" msprop:Generator_RowEvHandlerName="ImpegniRowChangeEventHandler" msprop:Generator_RowDeletedName="ImpegniRowDeleted" msprop:Generator_UserTableName="Impegni" msprop:Generator_RowChangedName="ImpegniRowChanged" msprop:Generator_RowEvArgName="ImpegniRowChangeEvent" msprop:Generator_RowClassName="ImpegniRow">
<xs:element name="Impegni" msprop:Generator_TableClassName="ImpegniDataTable" msprop:Generator_TableVarName="tableImpegni" msprop:Generator_RowChangedName="ImpegniRowChanged" msprop:Generator_TablePropName="Impegni" msprop:Generator_RowDeletingName="ImpegniRowDeleting" msprop:Generator_RowChangingName="ImpegniRowChanging" msprop:Generator_RowEvHandlerName="ImpegniRowChangeEventHandler" msprop:Generator_RowDeletedName="ImpegniRowDeleted" msprop:Generator_RowClassName="ImpegniRow" msprop:Generator_UserTableName="Impegni" msprop:Generator_RowEvArgName="ImpegniRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxImpegno" msprop:Generator_ColumnVarNameInTable="columnIdxImpegno" msprop:Generator_ColumnPropNameInRow="IdxImpegno" msprop:Generator_ColumnPropNameInTable="IdxImpegnoColumn" msprop:Generator_UserColumnName="IdxImpegno" type="xs:int" />
@@ -1469,7 +1572,7 @@ FROM raw.DB2_DOCS</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DispImpTot" msprop:Generator_TableClassName="DispImpTotDataTable" msprop:Generator_TableVarName="tableDispImpTot" msprop:Generator_RowChangedName="DispImpTotRowChanged" msprop:Generator_TablePropName="DispImpTot" msprop:Generator_RowDeletingName="DispImpTotRowDeleting" msprop:Generator_RowChangingName="DispImpTotRowChanging" msprop:Generator_RowEvHandlerName="DispImpTotRowChangeEventHandler" msprop:Generator_RowDeletedName="DispImpTotRowDeleted" msprop:Generator_RowClassName="DispImpTotRow" msprop:Generator_UserTableName="DispImpTot" msprop:Generator_RowEvArgName="DispImpTotRowChangeEvent">
<xs:element name="DispImpTot" msprop:Generator_TableClassName="DispImpTotDataTable" msprop:Generator_TableVarName="tableDispImpTot" msprop:Generator_TablePropName="DispImpTot" msprop:Generator_RowDeletingName="DispImpTotRowDeleting" msprop:Generator_RowChangingName="DispImpTotRowChanging" msprop:Generator_RowEvHandlerName="DispImpTotRowChangeEventHandler" msprop:Generator_RowDeletedName="DispImpTotRowDeleted" msprop:Generator_UserTableName="DispImpTot" msprop:Generator_RowChangedName="DispImpTotRowChanged" msprop:Generator_RowEvArgName="DispImpTotRowChangeEvent" msprop:Generator_RowClassName="DispImpTotRow">
<xs:complexType>
<xs:sequence>
<xs:element name="Data" msprop:Generator_ColumnVarNameInTable="columnData" msprop:Generator_ColumnPropNameInRow="Data" msprop:Generator_ColumnPropNameInTable="DataColumn" msprop:Generator_UserColumnName="Data" type="xs:dateTime" />
@@ -1479,7 +1582,7 @@ FROM raw.DB2_DOCS</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DispImpSquadre" msprop:Generator_TableClassName="DispImpSquadreDataTable" msprop:Generator_TableVarName="tableDispImpSquadre" msprop:Generator_RowChangedName="DispImpSquadreRowChanged" msprop:Generator_TablePropName="DispImpSquadre" msprop:Generator_RowDeletingName="DispImpSquadreRowDeleting" msprop:Generator_RowChangingName="DispImpSquadreRowChanging" msprop:Generator_RowEvHandlerName="DispImpSquadreRowChangeEventHandler" msprop:Generator_RowDeletedName="DispImpSquadreRowDeleted" msprop:Generator_RowClassName="DispImpSquadreRow" msprop:Generator_UserTableName="DispImpSquadre" msprop:Generator_RowEvArgName="DispImpSquadreRowChangeEvent">
<xs:element name="DispImpSquadre" msprop:Generator_TableClassName="DispImpSquadreDataTable" msprop:Generator_TableVarName="tableDispImpSquadre" msprop:Generator_TablePropName="DispImpSquadre" msprop:Generator_RowDeletingName="DispImpSquadreRowDeleting" msprop:Generator_RowChangingName="DispImpSquadreRowChanging" msprop:Generator_RowEvHandlerName="DispImpSquadreRowChangeEventHandler" msprop:Generator_RowDeletedName="DispImpSquadreRowDeleted" msprop:Generator_UserTableName="DispImpSquadre" msprop:Generator_RowChangedName="DispImpSquadreRowChanged" msprop:Generator_RowEvArgName="DispImpSquadreRowChangeEvent" msprop:Generator_RowClassName="DispImpSquadreRow">
<xs:complexType>
<xs:sequence>
<xs:element name="Data" msprop:Generator_ColumnVarNameInTable="columnData" msprop:Generator_ColumnPropNameInRow="Data" msprop:Generator_ColumnPropNameInTable="DataColumn" msprop:Generator_UserColumnName="Data" type="xs:dateTime" />
@@ -1495,7 +1598,7 @@ FROM raw.DB2_DOCS</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_ImpegniCal" msprop:Generator_TableClassName="v_ImpegniCalDataTable" msprop:Generator_TableVarName="tablev_ImpegniCal" msprop:Generator_TablePropName="v_ImpegniCal" msprop:Generator_RowDeletingName="v_ImpegniCalRowDeleting" msprop:Generator_RowChangingName="v_ImpegniCalRowChanging" msprop:Generator_RowEvHandlerName="v_ImpegniCalRowChangeEventHandler" msprop:Generator_RowDeletedName="v_ImpegniCalRowDeleted" msprop:Generator_UserTableName="v_ImpegniCal" msprop:Generator_RowChangedName="v_ImpegniCalRowChanged" msprop:Generator_RowEvArgName="v_ImpegniCalRowChangeEvent" msprop:Generator_RowClassName="v_ImpegniCalRow">
<xs:element name="v_ImpegniCal" msprop:Generator_TableClassName="v_ImpegniCalDataTable" msprop:Generator_TableVarName="tablev_ImpegniCal" msprop:Generator_RowChangedName="v_ImpegniCalRowChanged" msprop:Generator_TablePropName="v_ImpegniCal" msprop:Generator_RowDeletingName="v_ImpegniCalRowDeleting" msprop:Generator_RowChangingName="v_ImpegniCalRowChanging" msprop:Generator_RowEvHandlerName="v_ImpegniCalRowChangeEventHandler" msprop:Generator_RowDeletedName="v_ImpegniCalRowDeleted" msprop:Generator_RowClassName="v_ImpegniCalRow" msprop:Generator_UserTableName="v_ImpegniCal" msprop:Generator_RowEvArgName="v_ImpegniCalRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxImpegno" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIdxImpegno" msprop:Generator_ColumnPropNameInRow="IdxImpegno" msprop:Generator_ColumnPropNameInTable="IdxImpegnoColumn" msprop:Generator_UserColumnName="IdxImpegno" type="xs:int" />
@@ -1525,7 +1628,7 @@ FROM raw.DB2_DOCS</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Disponibilita" msprop:Generator_TableClassName="DisponibilitaDataTable" msprop:Generator_TableVarName="tableDisponibilita" msprop:Generator_TablePropName="Disponibilita" msprop:Generator_RowDeletingName="DisponibilitaRowDeleting" msprop:Generator_RowChangingName="DisponibilitaRowChanging" msprop:Generator_RowEvHandlerName="DisponibilitaRowChangeEventHandler" msprop:Generator_RowDeletedName="DisponibilitaRowDeleted" msprop:Generator_UserTableName="Disponibilita" msprop:Generator_RowChangedName="DisponibilitaRowChanged" msprop:Generator_RowEvArgName="DisponibilitaRowChangeEvent" msprop:Generator_RowClassName="DisponibilitaRow">
<xs:element name="Disponibilita" msprop:Generator_TableClassName="DisponibilitaDataTable" msprop:Generator_TableVarName="tableDisponibilita" msprop:Generator_RowChangedName="DisponibilitaRowChanged" msprop:Generator_TablePropName="Disponibilita" msprop:Generator_RowDeletingName="DisponibilitaRowDeleting" msprop:Generator_RowChangingName="DisponibilitaRowChanging" msprop:Generator_RowEvHandlerName="DisponibilitaRowChangeEventHandler" msprop:Generator_RowDeletedName="DisponibilitaRowDeleted" msprop:Generator_RowClassName="DisponibilitaRow" msprop:Generator_UserTableName="Disponibilita" msprop:Generator_RowEvArgName="DisponibilitaRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="Data" msprop:Generator_ColumnVarNameInTable="columnData" msprop:Generator_ColumnPropNameInRow="Data" msprop:Generator_ColumnPropNameInTable="DataColumn" msprop:Generator_UserColumnName="Data" type="xs:dateTime" />
@@ -1542,7 +1645,7 @@ FROM raw.DB2_DOCS</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DettImpegno" msprop:Generator_TableClassName="DettImpegnoDataTable" msprop:Generator_TableVarName="tableDettImpegno" msprop:Generator_RowChangedName="DettImpegnoRowChanged" msprop:Generator_TablePropName="DettImpegno" msprop:Generator_RowDeletingName="DettImpegnoRowDeleting" msprop:Generator_RowChangingName="DettImpegnoRowChanging" msprop:Generator_RowEvHandlerName="DettImpegnoRowChangeEventHandler" msprop:Generator_RowDeletedName="DettImpegnoRowDeleted" msprop:Generator_RowClassName="DettImpegnoRow" msprop:Generator_UserTableName="DettImpegno" msprop:Generator_RowEvArgName="DettImpegnoRowChangeEvent">
<xs:element name="DettImpegno" msprop:Generator_TableClassName="DettImpegnoDataTable" msprop:Generator_TableVarName="tableDettImpegno" msprop:Generator_TablePropName="DettImpegno" msprop:Generator_RowDeletingName="DettImpegnoRowDeleting" msprop:Generator_RowChangingName="DettImpegnoRowChanging" msprop:Generator_RowEvHandlerName="DettImpegnoRowChangeEventHandler" msprop:Generator_RowDeletedName="DettImpegnoRowDeleted" msprop:Generator_UserTableName="DettImpegno" msprop:Generator_RowChangedName="DettImpegnoRowChanged" msprop:Generator_RowEvArgName="DettImpegnoRowChangeEvent" msprop:Generator_RowClassName="DettImpegnoRow">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxImpegno" msprop:Generator_ColumnVarNameInTable="columnIdxImpegno" msprop:Generator_ColumnPropNameInRow="IdxImpegno" msprop:Generator_ColumnPropNameInTable="IdxImpegnoColumn" msprop:Generator_UserColumnName="IdxImpegno" type="xs:int" />
@@ -1577,7 +1680,7 @@ FROM raw.DB2_DOCS</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_clientiZone" msprop:Generator_TableClassName="v_clientiZoneDataTable" msprop:Generator_TableVarName="tablev_clientiZone" msprop:Generator_TablePropName="v_clientiZone" msprop:Generator_RowDeletingName="v_clientiZoneRowDeleting" msprop:Generator_RowChangingName="v_clientiZoneRowChanging" msprop:Generator_RowEvHandlerName="v_clientiZoneRowChangeEventHandler" msprop:Generator_RowDeletedName="v_clientiZoneRowDeleted" msprop:Generator_UserTableName="v_clientiZone" msprop:Generator_RowChangedName="v_clientiZoneRowChanged" msprop:Generator_RowEvArgName="v_clientiZoneRowChangeEvent" msprop:Generator_RowClassName="v_clientiZoneRow">
<xs:element name="v_clientiZone" msprop:Generator_TableClassName="v_clientiZoneDataTable" msprop:Generator_TableVarName="tablev_clientiZone" msprop:Generator_RowChangedName="v_clientiZoneRowChanged" msprop:Generator_TablePropName="v_clientiZone" msprop:Generator_RowDeletingName="v_clientiZoneRowDeleting" msprop:Generator_RowChangingName="v_clientiZoneRowChanging" msprop:Generator_RowEvHandlerName="v_clientiZoneRowChangeEventHandler" msprop:Generator_RowDeletedName="v_clientiZoneRowDeleted" msprop:Generator_RowClassName="v_clientiZoneRow" msprop:Generator_UserTableName="v_clientiZone" msprop:Generator_RowEvArgName="v_clientiZoneRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="CodCliente" msprop:Generator_ColumnVarNameInTable="columnCodCliente" msprop:Generator_ColumnPropNameInRow="CodCliente" msprop:Generator_ColumnPropNameInTable="CodClienteColumn" msprop:Generator_UserColumnName="CodCliente">
@@ -1632,7 +1735,7 @@ FROM raw.DB2_DOCS</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DB2_DOCS" msprop:Generator_TableClassName="DB2_DOCSDataTable" msprop:Generator_TableVarName="tableDB2_DOCS" msprop:Generator_RowChangedName="DB2_DOCSRowChanged" msprop:Generator_TablePropName="DB2_DOCS" msprop:Generator_RowDeletingName="DB2_DOCSRowDeleting" msprop:Generator_RowChangingName="DB2_DOCSRowChanging" msprop:Generator_RowEvHandlerName="DB2_DOCSRowChangeEventHandler" msprop:Generator_RowDeletedName="DB2_DOCSRowDeleted" msprop:Generator_RowClassName="DB2_DOCSRow" msprop:Generator_UserTableName="DB2_DOCS" msprop:Generator_RowEvArgName="DB2_DOCSRowChangeEvent">
<xs:element name="DB2_DOCS" msprop:Generator_TableClassName="DB2_DOCSDataTable" msprop:Generator_TableVarName="tableDB2_DOCS" msprop:Generator_TablePropName="DB2_DOCS" msprop:Generator_RowDeletingName="DB2_DOCSRowDeleting" msprop:Generator_RowChangingName="DB2_DOCSRowChanging" msprop:Generator_RowEvHandlerName="DB2_DOCSRowChangeEventHandler" msprop:Generator_RowDeletedName="DB2_DOCSRowDeleted" msprop:Generator_UserTableName="DB2_DOCS" msprop:Generator_RowChangedName="DB2_DOCSRowChanged" msprop:Generator_RowEvArgName="DB2_DOCSRowChangeEvent" msprop:Generator_RowClassName="DB2_DOCSRow">
<xs:complexType>
<xs:sequence>
<xs:element name="TIPOPROTOC" msprop:Generator_ColumnVarNameInTable="columnTIPOPROTOC" msprop:Generator_ColumnPropNameInRow="TIPOPROTOC" msprop:Generator_ColumnPropNameInTable="TIPOPROTOCColumn" msprop:Generator_UserColumnName="TIPOPROTOC" minOccurs="0">
@@ -1778,6 +1881,69 @@ FROM raw.DB2_DOCS</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AssegnSquadre" msprop:Generator_TableClassName="AssegnSquadreDataTable" msprop:Generator_TableVarName="tableAssegnSquadre" msprop:Generator_TablePropName="AssegnSquadre" msprop:Generator_RowDeletingName="AssegnSquadreRowDeleting" msprop:Generator_RowChangingName="AssegnSquadreRowChanging" msprop:Generator_RowEvHandlerName="AssegnSquadreRowChangeEventHandler" msprop:Generator_RowDeletedName="AssegnSquadreRowDeleted" msprop:Generator_UserTableName="AssegnSquadre" msprop:Generator_RowChangedName="AssegnSquadreRowChanged" msprop:Generator_RowEvArgName="AssegnSquadreRowChangeEvent" msprop:Generator_RowClassName="AssegnSquadreRow">
<xs:complexType>
<xs:sequence>
<xs:element name="DataFrom" msprop:Generator_ColumnVarNameInTable="columnDataFrom" msprop:Generator_ColumnPropNameInRow="DataFrom" msprop:Generator_ColumnPropNameInTable="DataFromColumn" msprop:Generator_UserColumnName="DataFrom" type="xs:dateTime" />
<xs:element name="CodSquadra" msprop:Generator_ColumnVarNameInTable="columnCodSquadra" msprop:Generator_ColumnPropNameInRow="CodSquadra" msprop:Generator_ColumnPropNameInTable="CodSquadraColumn" msprop:Generator_UserColumnName="CodSquadra">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Matr" msprop:Generator_ColumnVarNameInTable="columnMatr" msprop:Generator_ColumnPropNameInRow="Matr" msprop:Generator_ColumnPropNameInTable="MatrColumn" msprop:Generator_UserColumnName="Matr">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DataTo" msprop:Generator_ColumnVarNameInTable="columnDataTo" msprop:Generator_ColumnPropNameInRow="DataTo" msprop:Generator_ColumnPropNameInTable="DataToColumn" msprop:Generator_UserColumnName="DataTo" type="xs:dateTime" minOccurs="0" />
<xs:element name="CognomeNome" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnCognomeNome" msprop:Generator_ColumnPropNameInRow="CognomeNome" msprop:Generator_ColumnPropNameInTable="CognomeNomeColumn" msprop:Generator_UserColumnName="CognomeNome" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="101" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Dipendenti" msprop:Generator_TableClassName="DipendentiDataTable" msprop:Generator_TableVarName="tableDipendenti" msprop:Generator_TablePropName="Dipendenti" msprop:Generator_RowDeletingName="DipendentiRowDeleting" msprop:Generator_RowChangingName="DipendentiRowChanging" msprop:Generator_RowEvHandlerName="DipendentiRowChangeEventHandler" msprop:Generator_RowDeletedName="DipendentiRowDeleted" msprop:Generator_UserTableName="Dipendenti" msprop:Generator_RowChangedName="DipendentiRowChanged" msprop:Generator_RowEvArgName="DipendentiRowChangeEvent" msprop:Generator_RowClassName="DipendentiRow">
<xs:complexType>
<xs:sequence>
<xs:element name="Matr" msprop:Generator_ColumnVarNameInTable="columnMatr" msprop:Generator_ColumnPropNameInRow="Matr" msprop:Generator_ColumnPropNameInTable="MatrColumn" msprop:Generator_UserColumnName="Matr">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Cognome" msprop:Generator_ColumnVarNameInTable="columnCognome" msprop:Generator_ColumnPropNameInRow="Cognome" msprop:Generator_ColumnPropNameInTable="CognomeColumn" msprop:Generator_UserColumnName="Cognome">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Nome" msprop:Generator_ColumnVarNameInTable="columnNome" msprop:Generator_ColumnPropNameInRow="Nome" msprop:Generator_ColumnPropNameInTable="NomeColumn" msprop:Generator_UserColumnName="Nome">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CognomeNome" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnCognomeNome" msprop:Generator_ColumnPropNameInRow="CognomeNome" msprop:Generator_ColumnPropNameInTable="CognomeNomeColumn" msprop:Generator_UserColumnName="CognomeNome" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="101" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
@@ -1827,10 +1993,22 @@ FROM raw.DB2_DOCS</CommandText>
<xs:selector xpath=".//mstns:DB2_DOCS" />
<xs:field xpath="mstns:NUMERO" />
</xs:unique>
<xs:unique name="AssegnSquadre_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:AssegnSquadre" />
<xs:field xpath="mstns:DataFrom" />
<xs:field xpath="mstns:CodSquadra" />
<xs:field xpath="mstns:Matr" />
</xs:unique>
<xs:unique name="Dipendenti_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Dipendenti" />
<xs:field xpath="mstns:Matr" />
</xs:unique>
</xs:element>
<xs:annotation>
<xs:appinfo>
<msdata:Relationship name="FK_Disponibilita_AnagSquadre" msdata:parent="AnagSquadre" msdata:child="Disponibilita" msdata:parentkey="CodSquadra" msdata:childkey="CodSquadra" msprop:Generator_UserChildTable="Disponibilita" msprop:Generator_ChildPropName="GetDisponibilitaRows" msprop:Generator_UserRelationName="FK_Disponibilita_AnagSquadre" msprop:Generator_ParentPropName="AnagSquadreRow" msprop:Generator_RelationVarName="relationFK_Disponibilita_AnagSquadre" msprop:Generator_UserParentTable="AnagSquadre" />
<msdata:Relationship name="FK_Disponibilita_AnagSquadre" msdata:parent="AnagSquadre" msdata:child="Disponibilita" msdata:parentkey="CodSquadra" msdata:childkey="CodSquadra" msprop:Generator_UserChildTable="Disponibilita" msprop:Generator_ChildPropName="GetDisponibilitaRows" msprop:Generator_UserRelationName="FK_Disponibilita_AnagSquadre" msprop:Generator_RelationVarName="relationFK_Disponibilita_AnagSquadre" msprop:Generator_UserParentTable="AnagSquadre" msprop:Generator_ParentPropName="AnagSquadreRow" />
<msdata:Relationship name="FK_AssegnSquadre_Disponibilita" msdata:parent="Disponibilita" msdata:child="AssegnSquadre" msdata:parentkey="Data CodSquadra" msdata:childkey="DataFrom CodSquadra" msprop:Generator_UserChildTable="AssegnSquadre" msprop:Generator_ChildPropName="GetAssegnSquadreRows" msprop:Generator_UserRelationName="FK_AssegnSquadre_Disponibilita" msprop:Generator_ParentPropName="DisponibilitaRowParent" msprop:Generator_RelationVarName="relationFK_AssegnSquadre_Disponibilita" msprop:Generator_UserParentTable="Disponibilita" />
<msdata:Relationship name="FK_AssegnSquadre_Dipendenti" msdata:parent="Dipendenti" msdata:child="AssegnSquadre" msdata:parentkey="Matr" msdata:childkey="Matr" msprop:Generator_UserChildTable="AssegnSquadre" msprop:Generator_ChildPropName="GetAssegnSquadreRows" msprop:Generator_UserRelationName="FK_AssegnSquadre_Dipendenti" msprop:Generator_RelationVarName="relationFK_AssegnSquadre_Dipendenti" msprop:Generator_UserParentTable="Dipendenti" msprop:Generator_ParentPropName="DipendentiRow" />
</xs:appinfo>
</xs:annotation>
</xs:schema>
+40 -14
View File
@@ -4,23 +4,25 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="3" ViewPortY="134" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="3" ViewPortY="155" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:AnagSquadre" ZOrder="4" X="579" Y="415" Height="305" Width="261" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
<Shape ID="DesignTable:AnagZone" ZOrder="13" X="556" Y="160" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:AnagTipoConsegne" ZOrder="12" X="919" Y="164" Height="267" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:AnagClienti" ZOrder="6" X="334" Y="159" Height="324" Width="212" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:Impegni" ZOrder="1" X="13" Y="159" Height="514" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="292" />
<Shape ID="DesignTable:DispImpTot" ZOrder="10" X="890" Y="469" Height="172" Width="293" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:DispImpSquadre" ZOrder="11" X="931" Y="666" Height="153" Width="241" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:v_ImpegniCal" ZOrder="8" X="450" Y="797" Height="191" Width="222" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:Disponibilita" ZOrder="3" X="707" Y="839" Height="248" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:DettImpegno" ZOrder="7" X="44" Y="721" Height="362" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
<Shape ID="DesignTable:v_clientiZone" ZOrder="5" X="1049" Y="877" Height="229" Width="221" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:DB2_DOCS" ZOrder="2" X="1244" Y="171" Height="516" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="408" />
<Shape ID="DesignTable:AnagSquadre" ZOrder="9" X="579" Y="415" Height="305" Width="261" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
<Shape ID="DesignTable:AnagZone" ZOrder="17" X="556" Y="160" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:AnagTipoConsegne" ZOrder="16" X="919" Y="164" Height="267" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:AnagClienti" ZOrder="11" X="334" Y="159" Height="324" Width="212" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:Impegni" ZOrder="6" X="13" Y="159" Height="514" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="292" />
<Shape ID="DesignTable:DispImpTot" ZOrder="14" X="890" Y="469" Height="172" Width="293" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:DispImpSquadre" ZOrder="15" X="931" Y="666" Height="153" Width="241" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:v_ImpegniCal" ZOrder="4" X="393" Y="937" Height="191" Width="222" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:Disponibilita" ZOrder="8" X="707" Y="839" Height="248" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:DettImpegno" ZOrder="12" X="16" Y="684" Height="362" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
<Shape ID="DesignTable:v_clientiZone" ZOrder="10" X="1049" Y="877" Height="229" Width="221" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:DB2_DOCS" ZOrder="7" X="1244" Y="171" Height="516" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="408" />
<Shape ID="DesignTable:AssegnSquadre" ZOrder="3" X="333" Y="730" Height="191" Width="276" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:Dipendenti" ZOrder="2" X="339" Y="514" Height="153" Width="209" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
</Shapes>
<Connectors>
<Connector ID="DesignRelation:FK_Disponibilita_AnagSquadre" ZOrder="9" LineWidth="11">
<Connector ID="DesignRelation:FK_Disponibilita_AnagSquadre" ZOrder="13" LineWidth="11">
<RoutePoints>
<Point>
<X>765</X>
@@ -32,5 +34,29 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_AssegnSquadre_Disponibilita" ZOrder="5" LineWidth="11">
<RoutePoints>
<Point>
<X>707</X>
<Y>868</Y>
</Point>
<Point>
<X>609</X>
<Y>868</Y>
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_AssegnSquadre_Dipendenti" ZOrder="1" LineWidth="11">
<RoutePoints>
<Point>
<X>422</X>
<Y>667</Y>
</Point>
<Point>
<X>422</X>
<Y>730</Y>
</Point>
</RoutePoints>
</Connector>
</Connectors>
</DiagramLayout>
+3
View File
@@ -25,6 +25,7 @@ namespace WebSCR_data
taATC = new DS_ApplicazioneTableAdapters.AnagTipoConsegneTableAdapter();
taAC = new DS_ApplicazioneTableAdapters.AnagClientiTableAdapter();
taAS = new DS_ApplicazioneTableAdapters.AnagSquadreTableAdapter();
taAsSq = new DS_ApplicazioneTableAdapters.AssegnSquadreTableAdapter();
taAZ = new DS_ApplicazioneTableAdapters.AnagZoneTableAdapter();
taImp = new DS_ApplicazioneTableAdapters.ImpegniTableAdapter();
taDetImp = new DS_ApplicazioneTableAdapters.DettImpegnoTableAdapter();
@@ -45,6 +46,7 @@ namespace WebSCR_data
taATC.Connection.ConnectionString = connStr;
taAC.Connection.ConnectionString = connStr;
taAS.Connection.ConnectionString = connStr;
taAsSq.Connection.ConnectionString = connStr;
taAZ.Connection.ConnectionString = connStr;
taImp.Connection.ConnectionString = connStr;
taDetImp.Connection.ConnectionString = connStr;
@@ -63,6 +65,7 @@ namespace WebSCR_data
public DS_ApplicazioneTableAdapters.AnagClientiTableAdapter taAC;
public DS_ApplicazioneTableAdapters.AnagSquadreTableAdapter taAS;
public DS_ApplicazioneTableAdapters.AnagZoneTableAdapter taAZ;
public DS_ApplicazioneTableAdapters.AssegnSquadreTableAdapter taAsSq;
public DS_ApplicazioneTableAdapters.ImpegniTableAdapter taImp;
public DS_ApplicazioneTableAdapters.DettImpegnoTableAdapter taDetImp;
public DS_ApplicazioneTableAdapters.v_clientiZoneTableAdapter taVcz;
Binary file not shown.
Binary file not shown.
Binary file not shown.