Aggiunto clona progetto, con stored

This commit is contained in:
Samuele Locatelli
2023-01-02 10:50:01 +01:00
parent 75c227e4b7
commit e62f599c68
5 changed files with 134 additions and 90 deletions
@@ -2,7 +2,6 @@
<asp:FormView ID="fmView" runat="server" DataSourceID="ods" Width="100%">
<ItemTemplate>
<div class="card border border-info">
<div class="card-header bg-info text-light">
<h5>Resoconto progetto</h5>
@@ -92,12 +91,9 @@
</div>
</div>
</div>
<%--<div class="row">
<div class="col-12">
<asp:Button runat="server" ID="btnFasi" Text="Dettaglio Fasi" OnClick="btnFasi_Click" CssClass="btn btn-sm btn-success btn-block" />
</div>
</div>--%>
</div>
<div class="card-footer">
<asp:LinkButton runat="server" ID="btnDuplica" CssClass="btn btn-block btn-primary" OnClick="btnDuplica_Click" ToolTip="Duplica struttura progetto e budget fasi"><i class="fa fa-clone" aria-hidden="true"></i> Duplica</asp:LinkButton>
</div>
</div>
</ItemTemplate>
@@ -42,13 +42,16 @@ namespace GPW_Admin.WebUserControls
#region Protected Methods
/// <summary>
/// rimanda a pagina fasi!
/// Chiama stored x duplicare progetto + sottofasi e aggiorna
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnFasi_Click(object sender, EventArgs e)
protected void btnDuplica_Click(object sender, EventArgs e)
{
Response.Redirect("fasi");
DataProxy.DP.taAP.duplicateProj(IdxProgetto);
// rileggo...
Response.Redirect("progetti");
}
/// <summary>
+1 -1
View File
@@ -61,7 +61,7 @@ namespace GPW_Admin
#region Protected Methods
/// <summary>
/// clona la macrofase (e le sottofasi) dal primo progetot al secondo
/// clona la macrofase (e le sottofasi) dal primo progetto al secondo
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
+88 -54
View File
@@ -26958,7 +26958,7 @@ SELECT idxCliente, RagSociale, indirizzo, CAP, citta, prov, tel, url, email, pIv
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[12];
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[13];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "dbo.stp_AP_Expl_getData";
@@ -26989,42 +26989,38 @@ SELECT idxCliente, RagSociale, indirizzo, CAP, citta, prov, tel, url, email, pIv
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PrjArch", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[3].Connection = this.Connection;
this._commandCollection[3].CommandText = "dbo.stp_AP_getByIdxCli";
this._commandCollection[3].CommandText = "dbo.stp_AP_duplicateProj";
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxCliente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@showPrjArch", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@showPrjStar", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxProgetto", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[4].Connection = this.Connection;
this._commandCollection[4].CommandText = "dbo.stp_AP_getByIdxPrj";
this._commandCollection[4].CommandText = "dbo.stp_AP_getByIdxCli";
this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxProgetto", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxCliente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@showPrjArch", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@showPrjStar", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[5].Connection = this.Connection;
this._commandCollection[5].CommandText = "dbo.stp_AP_getByIdxPrj_smart";
this._commandCollection[5].CommandText = "dbo.stp_AP_getByIdxPrj";
this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxProgetto", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[6].Connection = this.Connection;
this._commandCollection[6].CommandText = "dbo.stp_AP_Expl_getDataTot";
this._commandCollection[6].CommandText = "dbo.stp_AP_getByIdxPrj_smart";
this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataTo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gruppo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxCliente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@showPrjArch", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@showPrjZeroH", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@showPrjStar", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxProgetto", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[7].Connection = this.Connection;
this._commandCollection[7].CommandText = "dbo.stp_AP_Expl_getData";
this._commandCollection[7].CommandText = "dbo.stp_AP_Expl_getDataTot";
this._commandCollection[7].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataFrom", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataTo", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gruppo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxCliente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@showPrjArch", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -27032,35 +27028,45 @@ SELECT idxCliente, RagSociale, indirizzo, CAP, citta, prov, tel, url, email, pIv
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@showPrjStar", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[8].Connection = this.Connection;
this._commandCollection[8].CommandText = "dbo.stp_AP_insertQuery";
this._commandCollection[8].CommandText = "dbo.stp_AP_Expl_getData";
this._commandCollection[8].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gruppo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxCliente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nomeProj", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrProj", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@showPrjArch", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@showPrjZeroH", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@showPrjStar", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[9] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[9].Connection = this.Connection;
this._commandCollection[9].CommandText = "dbo.stp_AP_updateAttivo";
this._commandCollection[9].CommandText = "dbo.stp_AP_insertQuery";
this._commandCollection[9].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Attivo", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxProgetto", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxCliente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nomeProj", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrProj", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[10].Connection = this.Connection;
this._commandCollection[10].CommandText = "dbo.stp_AP_update";
this._commandCollection[10].CommandText = "dbo.stp_AP_updateAttivo";
this._commandCollection[10].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxCliente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nomeProj", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrProj", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Attivo", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxProgetto", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[11].Connection = this.Connection;
this._commandCollection[11].CommandText = "dbo.stp_AP_updateStarred";
this._commandCollection[11].CommandText = "dbo.stp_AP_update";
this._commandCollection[11].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@starred", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxCliente", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nomeProj", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@descrProj", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxProgetto", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[12] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[12].Connection = this.Connection;
this._commandCollection[12].CommandText = "dbo.stp_AP_updateStarred";
this._commandCollection[12].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@starred", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxProgetto", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -27188,7 +27194,7 @@ SELECT idxCliente, RagSociale, indirizzo, CAP, citta, prov, tel, url, email, pIv
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_Applicazione.AnagProgettiDataTable getByIdxCli(global::System.Nullable<int> idxCliente, global::System.Nullable<bool> showPrjArch, global::System.Nullable<bool> showPrjStar) {
this.Adapter.SelectCommand = this.CommandCollection[3];
this.Adapter.SelectCommand = this.CommandCollection[4];
if ((idxCliente.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxCliente.Value));
}
@@ -27217,23 +27223,6 @@ SELECT idxCliente, RagSociale, indirizzo, CAP, citta, prov, tel, url, email, pIv
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_Applicazione.AnagProgettiDataTable getByIdxPrj(global::System.Nullable<int> idxProgetto) {
this.Adapter.SelectCommand = this.CommandCollection[4];
if ((idxProgetto.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxProgetto.Value));
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
DS_Applicazione.AnagProgettiDataTable dataTable = new DS_Applicazione.AnagProgettiDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_Applicazione.AnagProgettiDataTable getByIdxProjSmart(global::System.Nullable<int> idxProgetto) {
this.Adapter.SelectCommand = this.CommandCollection[5];
if ((idxProgetto.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxProgetto.Value));
@@ -27246,12 +27235,29 @@ SELECT idxCliente, RagSociale, indirizzo, CAP, citta, prov, tel, url, email, pIv
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_Applicazione.AnagProgettiDataTable getByIdxProjSmart(global::System.Nullable<int> idxProgetto) {
this.Adapter.SelectCommand = this.CommandCollection[6];
if ((idxProgetto.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxProgetto.Value));
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
DS_Applicazione.AnagProgettiDataTable dataTable = new DS_Applicazione.AnagProgettiDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_Applicazione.AnagProgettiDataTable getDataFilt(string gruppo, global::System.Nullable<int> idxCliente, global::System.Nullable<bool> showPrjArch, global::System.Nullable<bool> showPrjZeroH, global::System.Nullable<bool> showPrjStar) {
this.Adapter.SelectCommand = this.CommandCollection[7];
this.Adapter.SelectCommand = this.CommandCollection[8];
if ((gruppo == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -27514,11 +27520,39 @@ SELECT idxCliente, RagSociale, indirizzo, CAP, citta, prov, tel, url, email, pIv
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int duplicateProj(global::System.Nullable<int> idxProgetto) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
if ((idxProgetto.HasValue == true)) {
command.Parameters[1].Value = ((int)(idxProgetto.Value));
}
else {
command.Parameters[1].Value = global::System.DBNull.Value;
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
try {
returnValue = command.ExecuteNonQuery();
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
command.Connection.Close();
}
}
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual object getDataCount(global::System.Nullable<int> idxDipendente, global::System.Nullable<global::System.DateTime> dataFrom, global::System.Nullable<global::System.DateTime> dataTo, string gruppo, global::System.Nullable<int> idxCliente, global::System.Nullable<bool> showPrjArch, global::System.Nullable<bool> showPrjZeroH, global::System.Nullable<bool> showPrjStar) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6];
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[7];
if ((idxDipendente.HasValue == true)) {
command.Parameters[1].Value = ((int)(idxDipendente.Value));
}
@@ -27595,7 +27629,7 @@ SELECT idxCliente, RagSociale, indirizzo, CAP, citta, prov, tel, url, email, pIv
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, false)]
public virtual int insertQuery(global::System.Nullable<int> idxCliente, string nomeProj, string descrProj) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[8];
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[9];
if ((idxCliente.HasValue == true)) {
command.Parameters[1].Value = ((int)(idxCliente.Value));
}
@@ -27635,7 +27669,7 @@ SELECT idxCliente, RagSociale, indirizzo, CAP, citta, prov, tel, url, email, pIv
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int updateAttivo(global::System.Nullable<bool> Attivo, global::System.Nullable<int> Original_idxProgetto) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[9];
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[10];
if ((Attivo.HasValue == true)) {
command.Parameters[1].Value = ((bool)(Attivo.Value));
}
@@ -27670,7 +27704,7 @@ SELECT idxCliente, RagSociale, indirizzo, CAP, citta, prov, tel, url, email, pIv
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, false)]
public virtual int updateQuery(global::System.Nullable<int> idxCliente, string nomeProj, string descrProj, global::System.Nullable<int> Original_idxProgetto) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[10];
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[11];
if ((idxCliente.HasValue == true)) {
command.Parameters[1].Value = ((int)(idxCliente.Value));
}
@@ -27716,7 +27750,7 @@ SELECT idxCliente, RagSociale, indirizzo, CAP, citta, prov, tel, url, email, pIv
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int updateStarred(global::System.Nullable<bool> starred, global::System.Nullable<int> Original_idxProgetto) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[11];
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[12];
if ((starred.HasValue == true)) {
command.Parameters[1].Value = ((bool)(starred.Value));
}
+36 -25
View File
@@ -1428,6 +1428,17 @@ SELECT idxCliente, RagSociale, indirizzo, CAP, citta, prov, tel, url, email, pIv
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GPWConnectionString (Settings)" DbObjectName="GPW.dbo.stp_AP_duplicateProj" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="duplicateProj" Modifier="Public" Name="duplicateProj" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy7" UserSourceName="duplicateProj">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_AP_duplicateProj</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="@idxProgetto" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GPWConnectionString (Settings)" DbObjectName="GPW.dbo.stp_AP_getByIdxCli" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByIdxCli" GetMethodModifier="Public" GetMethodName="getByIdxCli" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByIdxCli" UserSourceName="getByIdxCli">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
@@ -4004,7 +4015,7 @@ SELECT IdxTagDD, DtRif, IsActive FROM ListTagDD WHERE (IdxTagDD = @IdxTagDD)</Co
<xs:element name="TE_RA_Expl" msprop:Generator_RowEvHandlerName="TE_RA_ExplRowChangeEventHandler" msprop:Generator_RowDeletedName="TE_RA_ExplRowDeleted" msprop:Generator_RowDeletingName="TE_RA_ExplRowDeleting" msprop:Generator_RowEvArgName="TE_RA_ExplRowChangeEvent" msprop:Generator_TablePropName="TE_RA_Expl" msprop:Generator_RowChangedName="TE_RA_ExplRowChanged" msprop:Generator_UserTableName="TE_RA_Expl" msprop:Generator_RowChangingName="TE_RA_ExplRowChanging" msprop:Generator_RowClassName="TE_RA_ExplRow" msprop:Generator_TableClassName="TE_RA_ExplDataTable" msprop:Generator_TableVarName="tableTE_RA_Expl">
<xs:complexType>
<xs:sequence>
<xs:element name="dataLav" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="dataLavColumn" msprop:Generator_ColumnPropNameInRow="dataLav" msprop:Generator_UserColumnName="dataLav" msprop:Generator_ColumnVarNameInTable="columndataLav" type="xs:dateTime" minOccurs="0" />
<xs:element name="dataLav" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="dataLavColumn" msprop:Generator_ColumnPropNameInRow="dataLav" msprop:Generator_UserColumnName="dataLav" msprop:Generator_ColumnVarNameInTable="columndataLav" type="xs:dateTime" />
<xs:element name="idxDipendente" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_ColumnPropNameInTable="idxDipendenteColumn" msprop:Generator_ColumnPropNameInRow="idxDipendente" msprop:Generator_UserColumnName="idxDipendente" msprop:Generator_ColumnVarNameInTable="columnidxDipendente" type="xs:int" />
<xs:element name="CognomeNome" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="CognomeNomeColumn" msprop:Generator_ColumnPropNameInRow="CognomeNome" msprop:Generator_UserColumnName="CognomeNome" msprop:Generator_ColumnVarNameInTable="columnCognomeNome" minOccurs="0">
<xs:simpleType>
@@ -4064,8 +4075,8 @@ SELECT IdxTagDD, DtRif, IsActive FROM ListTagDD WHERE (IdxTagDD = @IdxTagDD)</Co
<xs:element name="minCassa" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="minCassaColumn" msprop:Generator_ColumnPropNameInRow="minCassa" msprop:Generator_UserColumnName="minCassa" msprop:Generator_ColumnVarNameInTable="columnminCassa" type="xs:int" minOccurs="0" />
<xs:element name="min104" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="min104Column" msprop:Generator_ColumnPropNameInRow="min104" msprop:Generator_UserColumnName="min104" msprop:Generator_ColumnVarNameInTable="columnmin104" type="xs:int" minOccurs="0" />
<xs:element name="tempRil" msprop:Generator_ColumnPropNameInTable="tempRilColumn" msprop:Generator_ColumnPropNameInRow="tempRil" msprop:Generator_UserColumnName="tempRil" msprop:Generator_ColumnVarNameInTable="columntempRil" type="xs:decimal" minOccurs="0" />
<xs:element name="TagIsActive" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="TagIsActive" msprop:Generator_ColumnPropNameInTable="TagIsActiveColumn" msprop:Generator_ColumnVarNameInTable="columnTagIsActive" msprop:Generator_UserColumnName="TagIsActive" type="xs:boolean" minOccurs="0" />
<xs:element name="CodTag" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="CodTag" msprop:Generator_ColumnPropNameInTable="CodTagColumn" msprop:Generator_ColumnVarNameInTable="columnCodTag" msprop:Generator_UserColumnName="CodTag" minOccurs="0">
<xs:element name="TagIsActive" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TagIsActive" msprop:Generator_ColumnPropNameInTable="TagIsActiveColumn" msprop:Generator_ColumnPropNameInRow="TagIsActive" msprop:Generator_ColumnVarNameInTable="columnTagIsActive" type="xs:boolean" minOccurs="0" />
<xs:element name="CodTag" msdata:ReadOnly="true" msprop:Generator_UserColumnName="CodTag" msprop:Generator_ColumnPropNameInTable="CodTagColumn" msprop:Generator_ColumnPropNameInRow="CodTag" msprop:Generator_ColumnVarNameInTable="columnCodTag" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -4295,45 +4306,45 @@ SELECT IdxTagDD, DtRif, IsActive FROM ListTagDD WHERE (IdxTagDD = @IdxTagDD)</Co
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TagMese" msprop:Generator_RowEvHandlerName="TagMeseRowChangeEventHandler" msprop:Generator_RowDeletedName="TagMeseRowDeleted" msprop:Generator_RowDeletingName="TagMeseRowDeleting" msprop:Generator_RowEvArgName="TagMeseRowChangeEvent" msprop:Generator_TablePropName="TagMese" msprop:Generator_RowChangedName="TagMeseRowChanged" msprop:Generator_RowChangingName="TagMeseRowChanging" msprop:Generator_TableClassName="TagMeseDataTable" msprop:Generator_RowClassName="TagMeseRow" msprop:Generator_TableVarName="tableTagMese" msprop:Generator_UserTableName="TagMese">
<xs:element name="TagMese" msprop:Generator_RowClassName="TagMeseRow" msprop:Generator_RowEvHandlerName="TagMeseRowChangeEventHandler" msprop:Generator_RowDeletedName="TagMeseRowDeleted" msprop:Generator_RowDeletingName="TagMeseRowDeleting" msprop:Generator_RowEvArgName="TagMeseRowChangeEvent" msprop:Generator_TablePropName="TagMese" msprop:Generator_RowChangedName="TagMeseRowChanged" msprop:Generator_UserTableName="TagMese" msprop:Generator_RowChangingName="TagMeseRowChanging" msprop:Generator_TableClassName="TagMeseDataTable" msprop:Generator_TableVarName="tableTagMese">
<xs:complexType>
<xs:sequence>
<xs:element name="anno" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="anno" msprop:Generator_ColumnPropNameInTable="annoColumn" msprop:Generator_ColumnVarNameInTable="columnanno" msprop:Generator_UserColumnName="anno" type="xs:int" minOccurs="0" />
<xs:element name="mese" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="mese" msprop:Generator_ColumnPropNameInTable="meseColumn" msprop:Generator_ColumnVarNameInTable="columnmese" msprop:Generator_UserColumnName="mese" type="xs:int" minOccurs="0" />
<xs:element name="idxDipendente" msprop:Generator_ColumnPropNameInRow="idxDipendente" msprop:Generator_ColumnPropNameInTable="idxDipendenteColumn" msprop:Generator_ColumnVarNameInTable="columnidxDipendente" msprop:Generator_UserColumnName="idxDipendente" type="xs:int" />
<xs:element name="CognomeNome" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="CognomeNome" msprop:Generator_ColumnPropNameInTable="CognomeNomeColumn" msprop:Generator_ColumnVarNameInTable="columnCognomeNome" msprop:Generator_UserColumnName="CognomeNome" minOccurs="0">
<xs:element name="anno" msdata:ReadOnly="true" msprop:Generator_UserColumnName="anno" msprop:Generator_ColumnPropNameInTable="annoColumn" msprop:Generator_ColumnPropNameInRow="anno" msprop:Generator_ColumnVarNameInTable="columnanno" type="xs:int" />
<xs:element name="mese" msdata:ReadOnly="true" msprop:Generator_UserColumnName="mese" msprop:Generator_ColumnPropNameInTable="meseColumn" msprop:Generator_ColumnPropNameInRow="mese" msprop:Generator_ColumnVarNameInTable="columnmese" type="xs:int" />
<xs:element name="idxDipendente" msprop:Generator_UserColumnName="idxDipendente" msprop:Generator_ColumnPropNameInTable="idxDipendenteColumn" msprop:Generator_ColumnPropNameInRow="idxDipendente" msprop:Generator_ColumnVarNameInTable="columnidxDipendente" type="xs:int" />
<xs:element name="CognomeNome" msdata:ReadOnly="true" msprop:Generator_UserColumnName="CognomeNome" msprop:Generator_ColumnPropNameInTable="CognomeNomeColumn" msprop:Generator_ColumnPropNameInRow="CognomeNome" msprop:Generator_ColumnVarNameInTable="columnCognomeNome" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="101" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodTag" msprop:Generator_ColumnPropNameInRow="CodTag" msprop:Generator_ColumnPropNameInTable="CodTagColumn" msprop:Generator_ColumnVarNameInTable="columnCodTag" msprop:Generator_UserColumnName="CodTag">
<xs:element name="CodTag" msprop:Generator_UserColumnName="CodTag" msprop:Generator_ColumnPropNameInTable="CodTagColumn" msprop:Generator_ColumnPropNameInRow="CodTag" msprop:Generator_ColumnVarNameInTable="columnCodTag">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="NumTag" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="NumTag" msprop:Generator_ColumnPropNameInTable="NumTagColumn" msprop:Generator_ColumnVarNameInTable="columnNumTag" msprop:Generator_UserColumnName="NumTag" type="xs:int" minOccurs="0" />
<xs:element name="NumDis" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="NumDis" msprop:Generator_ColumnPropNameInTable="NumDisColumn" msprop:Generator_ColumnVarNameInTable="columnNumDis" msprop:Generator_UserColumnName="NumDis" type="xs:int" minOccurs="0" />
<xs:element name="NumTag" msdata:ReadOnly="true" msprop:Generator_UserColumnName="NumTag" msprop:Generator_ColumnPropNameInTable="NumTagColumn" msprop:Generator_ColumnPropNameInRow="NumTag" msprop:Generator_ColumnVarNameInTable="columnNumTag" type="xs:int" minOccurs="0" />
<xs:element name="NumDis" msdata:ReadOnly="true" msprop:Generator_UserColumnName="NumDis" msprop:Generator_ColumnPropNameInTable="NumDisColumn" msprop:Generator_ColumnPropNameInRow="NumDis" msprop:Generator_ColumnVarNameInTable="columnNumDis" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ListTagDD" msprop:Generator_RowEvHandlerName="ListTagDDRowChangeEventHandler" msprop:Generator_RowDeletedName="ListTagDDRowDeleted" msprop:Generator_RowDeletingName="ListTagDDRowDeleting" msprop:Generator_RowEvArgName="ListTagDDRowChangeEvent" msprop:Generator_TablePropName="ListTagDD" msprop:Generator_RowChangedName="ListTagDDRowChanged" msprop:Generator_RowChangingName="ListTagDDRowChanging" msprop:Generator_TableClassName="ListTagDDDataTable" msprop:Generator_RowClassName="ListTagDDRow" msprop:Generator_TableVarName="tableListTagDD" msprop:Generator_UserTableName="ListTagDD">
<xs:element name="ListTagDD" msprop:Generator_RowClassName="ListTagDDRow" msprop:Generator_RowEvHandlerName="ListTagDDRowChangeEventHandler" msprop:Generator_RowDeletedName="ListTagDDRowDeleted" msprop:Generator_RowDeletingName="ListTagDDRowDeleting" msprop:Generator_RowEvArgName="ListTagDDRowChangeEvent" msprop:Generator_TablePropName="ListTagDD" msprop:Generator_RowChangedName="ListTagDDRowChanged" msprop:Generator_UserTableName="ListTagDD" msprop:Generator_RowChangingName="ListTagDDRowChanging" msprop:Generator_TableClassName="ListTagDDDataTable" msprop:Generator_TableVarName="tableListTagDD">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxTagDD" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInRow="IdxTagDD" msprop:Generator_ColumnPropNameInTable="IdxTagDDColumn" msprop:Generator_ColumnVarNameInTable="columnIdxTagDD" msprop:Generator_UserColumnName="IdxTagDD" type="xs:int" />
<xs:element name="idxDipendente" msprop:Generator_ColumnPropNameInRow="idxDipendente" msprop:Generator_ColumnPropNameInTable="idxDipendenteColumn" msprop:Generator_ColumnVarNameInTable="columnidxDipendente" msprop:Generator_UserColumnName="idxDipendente" type="xs:int" />
<xs:element name="DtRif" msprop:Generator_ColumnPropNameInRow="DtRif" msprop:Generator_ColumnPropNameInTable="DtRifColumn" msprop:Generator_ColumnVarNameInTable="columnDtRif" msprop:Generator_UserColumnName="DtRif" type="xs:dateTime" />
<xs:element name="CodTag" msprop:Generator_ColumnPropNameInRow="CodTag" msprop:Generator_ColumnPropNameInTable="CodTagColumn" msprop:Generator_ColumnVarNameInTable="columnCodTag" msprop:Generator_UserColumnName="CodTag">
<xs:element name="IdxTagDD" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="IdxTagDD" msprop:Generator_ColumnPropNameInTable="IdxTagDDColumn" msprop:Generator_ColumnPropNameInRow="IdxTagDD" msprop:Generator_ColumnVarNameInTable="columnIdxTagDD" type="xs:int" />
<xs:element name="idxDipendente" msprop:Generator_UserColumnName="idxDipendente" msprop:Generator_ColumnPropNameInTable="idxDipendenteColumn" msprop:Generator_ColumnPropNameInRow="idxDipendente" msprop:Generator_ColumnVarNameInTable="columnidxDipendente" type="xs:int" />
<xs:element name="DtRif" msprop:Generator_UserColumnName="DtRif" msprop:Generator_ColumnPropNameInTable="DtRifColumn" msprop:Generator_ColumnPropNameInRow="DtRif" msprop:Generator_ColumnVarNameInTable="columnDtRif" type="xs:dateTime" />
<xs:element name="CodTag" msprop:Generator_UserColumnName="CodTag" msprop:Generator_ColumnPropNameInTable="CodTagColumn" msprop:Generator_ColumnPropNameInRow="CodTag" msprop:Generator_ColumnVarNameInTable="columnCodTag">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="IsActive" msprop:Generator_ColumnPropNameInRow="IsActive" msprop:Generator_ColumnPropNameInTable="IsActiveColumn" msprop:Generator_ColumnVarNameInTable="columnIsActive" msprop:Generator_UserColumnName="IsActive" type="xs:boolean" />
<xs:element name="IsActive" msprop:Generator_UserColumnName="IsActive" msprop:Generator_ColumnPropNameInTable="IsActiveColumn" msprop:Generator_ColumnPropNameInRow="IsActive" msprop:Generator_ColumnVarNameInTable="columnIsActive" type="xs:boolean" />
</xs:sequence>
</xs:complexType>
</xs:element>
@@ -4456,14 +4467,14 @@ SELECT IdxTagDD, DtRif, IsActive FROM ListTagDD WHERE (IdxTagDD = @IdxTagDD)</Co
</xs:element>
<xs:annotation>
<xs:appinfo>
<msdata:Relationship name="FK_Timbrature_Dipendenti" msdata:parent="Dipendenti" msdata:child="Timbrature" msdata:parentkey="idxDipendente" msdata:childkey="idxDipendente" msprop:Generator_UserParentTable="Dipendenti" msprop:Generator_UserChildTable="Timbrature" msprop:Generator_RelationVarName="relationFK_Timbrature_Dipendenti" msprop:Generator_ChildPropName="GetTimbratureRows" msprop:Generator_ParentPropName="DipendentiRow" msprop:Generator_UserRelationName="FK_Timbrature_Dipendenti" />
<msdata:Relationship name="FK_AnagFasi_AnagProgetti" msdata:parent="AnagProgetti" msdata:child="AnagFasi" msdata:parentkey="idxProgetto" msdata:childkey="idxProgetto" msprop:Generator_UserParentTable="AnagProgetti" msprop:Generator_UserChildTable="AnagFasi" msprop:Generator_RelationVarName="relationFK_AnagFasi_AnagProgetti" msprop:Generator_ChildPropName="GetAnagFasiRows" msprop:Generator_ParentPropName="AnagProgettiRow" msprop:Generator_UserRelationName="FK_AnagFasi_AnagProgetti" />
<msdata:Relationship name="FK_RegAttivita_AnagFasi" msdata:parent="AnagFasi" msdata:child="RegAttivita" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserParentTable="AnagFasi" msprop:Generator_UserChildTable="RegAttivita" msprop:Generator_RelationVarName="relationFK_RegAttivita_AnagFasi" msprop:Generator_ChildPropName="GetRegAttivitaRows" msprop:Generator_ParentPropName="AnagFasiRow" msprop:Generator_UserRelationName="FK_RegAttivita_AnagFasi" />
<msdata:Relationship name="FK_RegAttivita_Dipendenti" msdata:parent="Dipendenti" msdata:child="RegAttivita" msdata:parentkey="idxDipendente" msdata:childkey="idxDipendente" msprop:Generator_UserParentTable="Dipendenti" msprop:Generator_UserChildTable="RegAttivita" msprop:Generator_RelationVarName="relationFK_RegAttivita_Dipendenti" msprop:Generator_ChildPropName="GetRegAttivitaRows" msprop:Generator_ParentPropName="DipendentiRow" msprop:Generator_UserRelationName="FK_RegAttivita_Dipendenti" />
<msdata:Relationship name="FK_Dipendenti_AnagOrari" msdata:parent="AnagOrari" msdata:child="Dipendenti" msdata:parentkey="codOrario" msdata:childkey="codOrario" msprop:Generator_UserParentTable="AnagOrari" msprop:Generator_UserChildTable="Dipendenti" msprop:Generator_RelationVarName="relationFK_Dipendenti_AnagOrari" msprop:Generator_ChildPropName="GetDipendentiRows" msprop:Generator_UserRelationName="FK_Dipendenti_AnagOrari" msprop:Generator_ParentPropName="AnagOrariRow" />
<msdata:Relationship name="FK_RilievoTemp_Dipendenti" msdata:parent="Dipendenti" msdata:child="RilievoTemp" msdata:parentkey="idxDipendente" msdata:childkey="idxDipendente" msprop:Generator_UserParentTable="Dipendenti" msprop:Generator_UserChildTable="RilievoTemp" msprop:Generator_RelationVarName="relationFK_RilievoTemp_Dipendenti" msprop:Generator_ChildPropName="GetRilievoTempRows" msprop:Generator_UserRelationName="FK_RilievoTemp_Dipendenti" msprop:Generator_ParentPropName="DipendentiRow" />
<msdata:Relationship name="FK_Dipendenti_AnagGruppi" msdata:parent="AnagGruppi" msdata:child="Dipendenti" msdata:parentkey="gruppo" msdata:childkey="gruppo" msprop:Generator_UserParentTable="AnagGruppi" msprop:Generator_UserChildTable="Dipendenti" msprop:Generator_RelationVarName="relationFK_Dipendenti_AnagGruppi" msprop:Generator_ChildPropName="GetDipendentiRows" msprop:Generator_ParentPropName="AnagGruppiRow" msprop:Generator_UserRelationName="FK_Dipendenti_AnagGruppi" />
<msdata:Relationship name="FK_Dipendenti_AnagGruppi1" msdata:parent="Dipendenti2Gruppi" msdata:child="Dipendenti" msdata:parentkey="gruppo" msdata:childkey="gruppo" msprop:Generator_UserParentTable="Dipendenti2Gruppi" msprop:Generator_UserChildTable="Dipendenti" msprop:Generator_RelationVarName="relationFK_Dipendenti_AnagGruppi1" msprop:Generator_ChildPropName="GetDipendentiRows" msprop:Generator_ParentPropName="Dipendenti2GruppiRow" msprop:Generator_UserRelationName="FK_Dipendenti_AnagGruppi1" />
<msdata:Relationship name="FK_Timbrature_Dipendenti" msdata:parent="Dipendenti" msdata:child="Timbrature" msdata:parentkey="idxDipendente" msdata:childkey="idxDipendente" msprop:Generator_UserParentTable="Dipendenti" msprop:Generator_UserChildTable="Timbrature" msprop:Generator_RelationVarName="relationFK_Timbrature_Dipendenti" msprop:Generator_ChildPropName="GetTimbratureRows" msprop:Generator_UserRelationName="FK_Timbrature_Dipendenti" msprop:Generator_ParentPropName="DipendentiRow" />
<msdata:Relationship name="FK_AnagFasi_AnagProgetti" msdata:parent="AnagProgetti" msdata:child="AnagFasi" msdata:parentkey="idxProgetto" msdata:childkey="idxProgetto" msprop:Generator_UserParentTable="AnagProgetti" msprop:Generator_UserChildTable="AnagFasi" msprop:Generator_RelationVarName="relationFK_AnagFasi_AnagProgetti" msprop:Generator_ChildPropName="GetAnagFasiRows" msprop:Generator_UserRelationName="FK_AnagFasi_AnagProgetti" msprop:Generator_ParentPropName="AnagProgettiRow" />
<msdata:Relationship name="FK_RegAttivita_AnagFasi" msdata:parent="AnagFasi" msdata:child="RegAttivita" msdata:parentkey="idxFase" msdata:childkey="idxFase" msprop:Generator_UserParentTable="AnagFasi" msprop:Generator_UserChildTable="RegAttivita" msprop:Generator_RelationVarName="relationFK_RegAttivita_AnagFasi" msprop:Generator_ChildPropName="GetRegAttivitaRows" msprop:Generator_UserRelationName="FK_RegAttivita_AnagFasi" msprop:Generator_ParentPropName="AnagFasiRow" />
<msdata:Relationship name="FK_RegAttivita_Dipendenti" msdata:parent="Dipendenti" msdata:child="RegAttivita" msdata:parentkey="idxDipendente" msdata:childkey="idxDipendente" msprop:Generator_UserParentTable="Dipendenti" msprop:Generator_UserChildTable="RegAttivita" msprop:Generator_RelationVarName="relationFK_RegAttivita_Dipendenti" msprop:Generator_ChildPropName="GetRegAttivitaRows" msprop:Generator_UserRelationName="FK_RegAttivita_Dipendenti" msprop:Generator_ParentPropName="DipendentiRow" />
<msdata:Relationship name="FK_Dipendenti_AnagOrari" msdata:parent="AnagOrari" msdata:child="Dipendenti" msdata:parentkey="codOrario" msdata:childkey="codOrario" msprop:Generator_UserParentTable="AnagOrari" msprop:Generator_UserChildTable="Dipendenti" msprop:Generator_RelationVarName="relationFK_Dipendenti_AnagOrari" msprop:Generator_ChildPropName="GetDipendentiRows" msprop:Generator_ParentPropName="AnagOrariRow" msprop:Generator_UserRelationName="FK_Dipendenti_AnagOrari" />
<msdata:Relationship name="FK_RilievoTemp_Dipendenti" msdata:parent="Dipendenti" msdata:child="RilievoTemp" msdata:parentkey="idxDipendente" msdata:childkey="idxDipendente" msprop:Generator_UserParentTable="Dipendenti" msprop:Generator_UserChildTable="RilievoTemp" msprop:Generator_RelationVarName="relationFK_RilievoTemp_Dipendenti" msprop:Generator_ChildPropName="GetRilievoTempRows" msprop:Generator_ParentPropName="DipendentiRow" msprop:Generator_UserRelationName="FK_RilievoTemp_Dipendenti" />
<msdata:Relationship name="FK_Dipendenti_AnagGruppi" msdata:parent="AnagGruppi" msdata:child="Dipendenti" msdata:parentkey="gruppo" msdata:childkey="gruppo" msprop:Generator_UserParentTable="AnagGruppi" msprop:Generator_UserChildTable="Dipendenti" msprop:Generator_RelationVarName="relationFK_Dipendenti_AnagGruppi" msprop:Generator_ChildPropName="GetDipendentiRows" msprop:Generator_UserRelationName="FK_Dipendenti_AnagGruppi" msprop:Generator_ParentPropName="AnagGruppiRow" />
<msdata:Relationship name="FK_Dipendenti_AnagGruppi1" msdata:parent="Dipendenti2Gruppi" msdata:child="Dipendenti" msdata:parentkey="gruppo" msdata:childkey="gruppo" msprop:Generator_UserParentTable="Dipendenti2Gruppi" msprop:Generator_UserChildTable="Dipendenti" msprop:Generator_RelationVarName="relationFK_Dipendenti_AnagGruppi1" msprop:Generator_ChildPropName="GetDipendentiRows" msprop:Generator_UserRelationName="FK_Dipendenti_AnagGruppi1" msprop:Generator_ParentPropName="Dipendenti2GruppiRow" />
</xs:appinfo>
</xs:annotation>
</xs:schema>