Aggiunto cloning gruppi dipendenti

This commit is contained in:
Samuele Locatelli
2024-06-24 19:40:21 +02:00
parent 1b84a2e325
commit b679d8da4e
17 changed files with 412 additions and 76 deletions
+3
View File
@@ -20,6 +20,9 @@ body {
.textBig {
font-size: 1.5em;
}
.text-strike {
text-decoration: line-through;
}
.table-sm th,
.table-sm td {
padding: 0.2rem;
+8 -7
View File
@@ -25,6 +25,10 @@ body {
font-size: 1.5em;
}
.text-strike {
text-decoration: line-through;
}
.table-sm th, .table-sm td {
padding: .2rem;
}
@@ -38,6 +42,7 @@ body {
background-color: #AAFFCD;
color: #000000;
}
.gPerConf {
background-color: #9966DE;
color: #DEDEDE;
@@ -47,6 +52,7 @@ body {
background-color: #CDAAFF;
color: #000000;
}
.g104Conf {
background-color: #DE00AB;
color: #DEDEDE;
@@ -56,7 +62,6 @@ body {
background-color: #FFAACD;
color: #000000;
}
/*------------------------------------------------------------------
[ Shortcuts / .shortcuts ]
*/
@@ -188,7 +193,6 @@ textarea {
.body-content {
padding: 0;
}
/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
@@ -229,9 +233,6 @@ textarea {
border-bottom: 1px solid #3AC0F2;*/
font-weight: bold;
}
/* calendar white */
.calendar_white_main {
@@ -350,7 +351,7 @@ textarea {
.calendar_white_event_inner {
color: @calGray1;
background: @calGray2;
/* background: -moz-linear-gradient( top, #ffffff 0%, #eee);
/* background: -moz-linear-gradient( top, #ffffff 0%, #eee);
background: -webkit-gradient( linear, left top, left bottom, from(#ffffff), to(#eee));
filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr="#ffffff", endColorStr="#eeeeee");*/
border: 1px solid #999;
@@ -406,4 +407,4 @@ textarea {
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
}
}
+1 -1
View File
File diff suppressed because one or more lines are too long
+8
View File
@@ -705,6 +705,7 @@
<Content Include="WebUserControls\cmp_gestMalattia.ascx" />
<Content Include="WebUserControls\cmp_gestRichDip.ascx" />
<Content Include="WebUserControls\cmp_gestTagFasi.ascx" />
<Content Include="WebUserControls\cmp_groupAssignClone.ascx" />
<Content Include="WebUserControls\cmp_homeButtons.ascx" />
<Content Include="WebUserControls\cmp_lemmiVocab.ascx" />
<Content Include="WebUserControls\cmp_menuTop.ascx" />
@@ -1137,6 +1138,13 @@
<Compile Include="WebUserControls\cmp_gestTagFasi.ascx.designer.cs">
<DependentUpon>cmp_gestTagFasi.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\cmp_groupAssignClone.ascx.cs">
<DependentUpon>cmp_groupAssignClone.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\cmp_groupAssignClone.ascx.designer.cs">
<DependentUpon>cmp_groupAssignClone.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\cmp_homeButtons.ascx.cs">
<DependentUpon>cmp_homeButtons.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
+16 -4
View File
@@ -2,6 +2,7 @@
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<div class="input-group mb-3" runat="server" id="divAddNew">
<asp:Label runat="server" ID="lblAdd" CssClass="input-group-text">Aggiungi</asp:Label>
<asp:DropDownList runat="server" ID="ddlDip" class="form-select" DataSourceID="odsAvail" DataTextField="label" DataValueField="value"></asp:DropDownList>
<asp:ObjectDataSource ID="odsAvail" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByGruppo" TypeName="GPW_data.DS_UtilityTableAdapters.v_selDipendentiTableAdapter" FilterExpression=" conditio = 1 ">
<SelectParameters>
@@ -17,18 +18,29 @@
<asp:GridView runat="server" ID="grView" DataSourceID="ods" AutoGenerateColumns="False" DataKeyNames="value" CssClass="table table-striped table-sm">
<EmptyDataTemplate>No record</EmptyDataTemplate>
<Columns>
<asp:BoundField DataField="label" HeaderText="Dipendente" SortExpression="label" ReadOnly="True" />
<asp:TemplateField SortExpression="label">
<HeaderTemplate>
<b>Dipendente</b>
</HeaderTemplate>
<ItemTemplate>
<asp:Label runat="server" ID="lblDip" Text='<%# Eval("label") %>' CssClass=' <%# cssByDip(Eval("value")) %>'></asp:Label>
</ItemTemplate>
<EditItemTemplate>
</EditItemTemplate>
<ItemStyle HorizontalAlign="Left" />
<HeaderStyle HorizontalAlign="Left" />
</asp:TemplateField>
<asp:TemplateField ShowHeader="False">
<HeaderTemplate>
</HeaderTemplate>
<ItemTemplate>
<asp:LinkButton runat="server" ID="lbtDelete" CssClass="btn btn-sm btn-danger" CausesValidation="False" CommandName="Delete" ToolTip='<%# traduci("Delete") %>'><i class="fa fa-trash" aria-hidden="true"></i></asp:LinkButton>
<asp:LinkButton runat="server" ID="lbtDelete" CssClass="btn btn-sm btn-danger" CausesValidation="False" CommandName="Delete" ToolTip='<%# traduci("Delete") %>'><i class="fa fa-ban" aria-hidden="true"></i></asp:LinkButton>
<asp:ConfirmButtonExtender ID="cbeDelete" runat="server" ConfirmText='<%# traduci("confermaDel")%>' TargetControlID="lbtDelete"></asp:ConfirmButtonExtender>
</ItemTemplate>
<EditItemTemplate>
</EditItemTemplate>
<ItemStyle HorizontalAlign="Center" />
<HeaderStyle HorizontalAlign="Center" />
<ItemStyle HorizontalAlign="Right" />
<HeaderStyle HorizontalAlign="Right" />
</asp:TemplateField>
</Columns>
</asp:GridView>
@@ -1,24 +1,14 @@
using GPW_data;
using GPW_data.DS_UtilityTableAdapters;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
namespace GPW_Admin.WebUserControls
{
public partial class cmp_dip2gruppi : BaseUserControl
{
#region Protected Properties
protected int idxDipSel
{
get
{
int answ = 0;
int.TryParse(ddlDip.SelectedValue, out answ);
return answ;
}
}
#endregion Protected Properties
#region Public Properties
public string gruppoSel
@@ -33,8 +23,55 @@ namespace GPW_Admin.WebUserControls
#endregion Public Properties
#region Public Methods
public string cssByDip(object idxDip)
{
int IdxDip = 0;
int.TryParse($"{idxDip}", out IdxDip);
bool attivo = false;
if (listActive == null || listActive.Count == 0)
{
reloadDip();
}
if (IdxDip > 0)
{
attivo = listActive.Where(x => x.value == IdxDip).Count() > 0;
}
// colore da stato attivo
string answ = attivo ? "text-dark" : "text-secondary text-strike";
return answ;
}
#endregion Public Methods
#region Protected Fields
protected List<DS_Utility.v_selDipendentiRow> listActive = new List<DS_Utility.v_selDipendentiRow>();
#endregion Protected Fields
#region Protected Properties
protected int idxDipSel
{
get
{
int answ = 0;
int.TryParse(ddlDip.SelectedValue, out answ);
return answ;
}
}
#endregion Protected Properties
#region Protected Methods
/// <summary>
/// aggiunge dipendente al gruppo selezionato
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void lbtAdd_Click(object sender, EventArgs e)
{
// eseguo inserimento valore in schema
@@ -46,6 +83,16 @@ namespace GPW_Admin.WebUserControls
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
reloadDip();
}
}
protected void reloadDip()
{
var rawTab = DataProxy.DP.taVSD.getByConditio(true).OfType<DS_Utility.v_selDipendentiRow>().ToList();
listActive = rawTab.Where(x => x.conditio == 1).ToList();
}
#endregion Protected Methods
@@ -23,6 +23,15 @@ namespace GPW_Admin.WebUserControls
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divAddNew;
/// <summary>
/// lblAdd 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.Label lblAdd;
/// <summary>
/// ddlDip control.
/// </summary>
@@ -0,0 +1,21 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_groupAssignClone.ascx.cs" Inherits="GPW_Admin.WebUserControls.cmp_groupAssignClone" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<div class="input-group mb-3" runat="server" id="divClone">
<asp:Label runat="server" ID="lblClona" CssClass="input-group-text">Clona</asp:Label>
<asp:DropDownList runat="server" ID="ddlFrom" class="form-select" DataSourceID="odsFrom" DataTextField="label" DataValueField="value"></asp:DropDownList>
<asp:ObjectDataSource ID="odsFrom" runat="server" SelectMethod="getByConditio" TypeName="GPW_data.DS_UtilityTableAdapters.v_selDipendentiTableAdapter" FilterExpression=" value > 0 ">
<SelectParameters>
<asp:Parameter Type="Boolean" Name="Conditio" DefaultValue="true" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:LinkButton runat="server" ID="lbtClona" CssClass="btn btn-success" OnClick="lbtClona_Click"><i class="fa fa-angle-double-right px-3" aria-hidden="true" title="Clona Assegnazioni"></i></asp:LinkButton>
<asp:ConfirmButtonExtender ID="cbeClone" runat="server" ConfirmText='<%# traduci("confirmClone")%>' TargetControlID="lbtClona"></asp:ConfirmButtonExtender>
<asp:DropDownList runat="server" ID="ddlTo" class="form-select" DataSourceID="odsTo" DataTextField="label" DataValueField="value"></asp:DropDownList>
<asp:ObjectDataSource ID="odsTo" runat="server" SelectMethod="getByConditio" TypeName="GPW_data.DS_UtilityTableAdapters.v_selDipendentiTableAdapter" FilterExpression=" value > 0 ">
<SelectParameters>
<asp:Parameter Type="Boolean" Name="Conditio" DefaultValue="false" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
@@ -0,0 +1,59 @@
using GPW_data;
using System;
namespace GPW_Admin.WebUserControls
{
public partial class cmp_groupAssignClone : BaseUserControl
{
#region Protected Properties
protected int idxDipFrom
{
get
{
int answ = 0;
int.TryParse(ddlFrom.SelectedValue, out answ);
return answ;
}
}
protected int idxDipTo
{
get
{
int answ = 0;
int.TryParse(ddlTo.SelectedValue, out answ);
return answ;
}
}
#endregion Protected Properties
#region Protected Methods
/// <summary>
/// Clona assegnazioni dip FROM a dipendente TO
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void lbtClona_Click(object sender, EventArgs e)
{
// eseguo cloning assegnazioni dip a nuovo (deve essere attivo)
if (idxDipFrom > 0 && idxDipTo > 0)
{
DataProxy.DP.taDip2Gruppi.cloneDip(idxDipFrom, idxDipTo);
}
raiseAddNew();
}
protected void Page_Load(object sender, EventArgs e)
{
if(!Page.IsPostBack)
{
cbeClone.DataBind();
}
}
#endregion Protected Methods
}
}
@@ -0,0 +1,89 @@
//------------------------------------------------------------------------------
// <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 GPW_Admin.WebUserControls
{
public partial class cmp_groupAssignClone
{
/// <summary>
/// divClone control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divClone;
/// <summary>
/// lblClona 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.Label lblClona;
/// <summary>
/// ddlFrom 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 ddlFrom;
/// <summary>
/// odsFrom 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 odsFrom;
/// <summary>
/// lbtClona 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 lbtClona;
/// <summary>
/// cbeClone control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::AjaxControlToolkit.ConfirmButtonExtender cbeClone;
/// <summary>
/// ddlTo 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 ddlTo;
/// <summary>
/// odsTo 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 odsTo;
}
}
+4 -4
View File
@@ -7,12 +7,12 @@
"outputFile": "Content/StyleCustom.css",
"inputFile": "Content/StyleCustom.less"
},
{
"outputFile": "Content/Site.css",
"inputFile": "Content/Site.less"
},
{
"outputFile": "Content/font.css",
"inputFile": "Content/font.less"
},
{
"outputFile": "Content/Site.css",
"inputFile": "Content/Site.less"
}
]
+10 -3
View File
@@ -3,12 +3,19 @@
<%@ Register Src="~/WebUserControls/cmp_elencoGruppi.ascx" TagPrefix="uc1" TagName="cmp_elencoGruppi" %>
<%@ Register Src="~/WebUserControls/mod_pageSize.ascx" TagPrefix="uc1" TagName="mod_pageSize" %>
<%@ Register Src="~/WebUserControls/cmp_dip2gruppi.ascx" TagPrefix="uc1" TagName="cmp_dip2gruppi" %>
<%@ Register Src="~/WebUserControls/cmp_groupAssignClone.ascx" TagPrefix="uc1" TagName="cmp_groupAssignClone" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cph1" runat="server">
<div class="card m-2">
<div class="card-header">
<b><%: traduci(titolo) %></b>
<div class="card-header d-flex justify-content-between">
<div class="px-2">
<b><%: traduci(titolo) %></b>
</div>
<div class="px-2">
<uc1:cmp_groupAssignClone runat="server" id="cmp_groupAssignClone" />
</div>
</div>
<div class="card-body">
<div class="row">
@@ -16,7 +23,7 @@
<uc1:cmp_elencoGruppi runat="server" ID="cmp_elencoGruppi" />
</div>
<div class="col-6">
<uc1:cmp_dip2gruppi runat="server" ID="cmp_dip2gruppi" />
<uc1:cmp_dip2gruppi runat="server" ID="cmp_dip2gruppi" />
</div>
</div>
</div>
+19 -1
View File
@@ -3,8 +3,19 @@ using System;
namespace GPW_Admin
{
public partial class gruppi : BasePage
public partial class gruppi : BasePage, IDisposable
{
public override void Dispose()
{
mod_pageSize.eh_nuovaSize -= Mod_pageSize_eh_nuovaSize;
cmp_elencoGruppi.eh_doRefresh -= Cmp_elencoGruppi_eh_doRefresh;
cmp_elencoGruppi.eh_doReset -= Cmp_elencoGruppi_eh_doReset;
cmp_dip2gruppi.eh_addNew -= Cmp_dip2gruppi_eh_addNew;
cmp_groupAssignClone.eh_addNew -= Cmp_groupAssignClone_eh_addNew;
base.Dispose();
}
#region Private Methods
private void checkVisib()
@@ -57,6 +68,13 @@ namespace GPW_Admin
cmp_elencoGruppi.eh_doRefresh += Cmp_elencoGruppi_eh_doRefresh;
cmp_elencoGruppi.eh_doReset += Cmp_elencoGruppi_eh_doReset;
cmp_dip2gruppi.eh_addNew += Cmp_dip2gruppi_eh_addNew;
cmp_groupAssignClone.eh_addNew += Cmp_groupAssignClone_eh_addNew;
}
private void Cmp_groupAssignClone_eh_addNew(object sender, EventArgs e)
{
cmp_elencoGruppi.doUpdate();
checkVisib();
}
#endregion Protected Methods
+9
View File
@@ -14,6 +14,15 @@ namespace GPW_Admin
public partial class gruppi
{
/// <summary>
/// cmp_groupAssignClone control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::GPW_Admin.WebUserControls.cmp_groupAssignClone cmp_groupAssignClone;
/// <summary>
/// cmp_elencoGruppi control.
/// </summary>
+49 -8
View File
@@ -37726,25 +37726,32 @@ SELECT idxDipendente, gruppo FROM Dipendenti2Gruppi WHERE (gruppo = @gruppo) AND
[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[3];
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT *\r\nFROM Dipendenti2Gruppi\r\n";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[1].Connection = this.Connection;
this._commandCollection[1].CommandText = "dbo.stp_Dip2Gruppi_delete";
this._commandCollection[1].CommandText = "dbo.stp_Dip2Gruppi_clone";
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[1].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[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_value", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipFrom", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipTo", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[2].Connection = this.Connection;
this._commandCollection[2].CommandText = "dbo.stp_Dip2Gruppi_insert";
this._commandCollection[2].CommandText = "dbo.stp_Dip2Gruppi_delete";
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[2].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[2].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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDip", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_value", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 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_Dip2Gruppi_insert";
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("@gruppo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDip", 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()]
@@ -37803,8 +37810,42 @@ SELECT idxDipendente, gruppo FROM Dipendenti2Gruppi WHERE (gruppo = @gruppo) AND
[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 delete(string gruppo, global::System.Nullable<int> Original_value) {
public virtual int cloneDip(global::System.Nullable<int> idxDipFrom, global::System.Nullable<int> idxDipTo) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
if ((idxDipFrom.HasValue == true)) {
command.Parameters[1].Value = ((int)(idxDipFrom.Value));
}
else {
command.Parameters[1].Value = global::System.DBNull.Value;
}
if ((idxDipTo.HasValue == true)) {
command.Parameters[2].Value = ((int)(idxDipTo.Value));
}
else {
command.Parameters[2].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 int delete(string gruppo, global::System.Nullable<int> Original_value) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
if ((gruppo == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -37838,7 +37879,7 @@ SELECT idxDipendente, gruppo FROM Dipendenti2Gruppi WHERE (gruppo = @gruppo) AND
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int insertQuery(string gruppo, global::System.Nullable<int> idxDip) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
if ((gruppo == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
+44 -32
View File
@@ -3233,6 +3233,18 @@ SELECT idxDipendente, gruppo FROM Dipendenti2Gruppi WHERE (gruppo = @gruppo) AND
<Mapping SourceColumn="idxDipendente" DataSetColumn="idxDipendente" />
</Mappings>
<Sources>
<DbSource ConnectionRef="GPWConnectionString (Settings)" DbObjectName="GPW.dbo.stp_Dip2Gruppi_clone" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="cloneDip" Modifier="Public" Name="cloneDip" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="cloneDip">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Dip2Gruppi_clone</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="@idxDipFrom" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxDipTo" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GPWConnectionString (Settings)" DbObjectName="GPW.dbo.stp_Dip2Gruppi_delete" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="delete" Modifier="Public" Name="delete" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="delete">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
@@ -3796,135 +3808,135 @@ FROM v_AnagTagFasi</CommandText>
<xs:complexType>
<xs:sequence>
<xs:element name="idxDipendente" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInTable="idxDipendenteColumn" msprop:Generator_ColumnPropNameInRow="idxDipendente" msprop:Generator_UserColumnName="idxDipendente" msprop:Generator_ColumnVarNameInTable="columnidxDipendente" type="xs:int" />
<xs:element name="matricola" msprop:Generator_ColumnPropNameInRow="matricola" msprop:Generator_ColumnPropNameInTable="matricolaColumn" msprop:Generator_ColumnVarNameInTable="columnmatricola" msprop:Generator_UserColumnName="matricola" minOccurs="0">
<xs:element name="matricola" msprop:Generator_UserColumnName="matricola" msprop:Generator_ColumnPropNameInTable="matricolaColumn" msprop:Generator_ColumnPropNameInRow="matricola" msprop:Generator_ColumnVarNameInTable="columnmatricola" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CF" msprop:Generator_ColumnPropNameInRow="CF" msprop:Generator_ColumnPropNameInTable="CFColumn" msprop:Generator_ColumnVarNameInTable="columnCF" msprop:Generator_UserColumnName="CF">
<xs:element name="CF" msprop:Generator_UserColumnName="CF" msprop:Generator_ColumnPropNameInTable="CFColumn" msprop:Generator_ColumnPropNameInRow="CF" msprop:Generator_ColumnVarNameInTable="columnCF">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="16" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Cognome" msprop:Generator_ColumnPropNameInRow="Cognome" msprop:Generator_ColumnPropNameInTable="CognomeColumn" msprop:Generator_ColumnVarNameInTable="columnCognome" msprop:Generator_UserColumnName="Cognome" minOccurs="0">
<xs:element name="Cognome" msprop:Generator_UserColumnName="Cognome" msprop:Generator_ColumnPropNameInTable="CognomeColumn" msprop:Generator_ColumnPropNameInRow="Cognome" msprop:Generator_ColumnVarNameInTable="columnCognome" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Nome" msprop:Generator_ColumnPropNameInRow="Nome" msprop:Generator_ColumnPropNameInTable="NomeColumn" msprop:Generator_ColumnVarNameInTable="columnNome" msprop:Generator_UserColumnName="Nome" minOccurs="0">
<xs:element name="Nome" msprop:Generator_UserColumnName="Nome" msprop:Generator_ColumnPropNameInTable="NomeColumn" msprop:Generator_ColumnPropNameInRow="Nome" msprop:Generator_ColumnVarNameInTable="columnNome" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="dataNascita" msprop:Generator_ColumnPropNameInRow="dataNascita" msprop:Generator_ColumnPropNameInTable="dataNascitaColumn" msprop:Generator_ColumnVarNameInTable="columndataNascita" msprop:Generator_UserColumnName="dataNascita" type="xs:dateTime" minOccurs="0" />
<xs:element name="luogoNascita" msprop:Generator_ColumnPropNameInRow="luogoNascita" msprop:Generator_ColumnPropNameInTable="luogoNascitaColumn" msprop:Generator_ColumnVarNameInTable="columnluogoNascita" msprop:Generator_UserColumnName="luogoNascita" minOccurs="0">
<xs:element name="dataNascita" msprop:Generator_UserColumnName="dataNascita" msprop:Generator_ColumnPropNameInTable="dataNascitaColumn" msprop:Generator_ColumnPropNameInRow="dataNascita" msprop:Generator_ColumnVarNameInTable="columndataNascita" type="xs:dateTime" minOccurs="0" />
<xs:element name="luogoNascita" msprop:Generator_UserColumnName="luogoNascita" msprop:Generator_ColumnPropNameInTable="luogoNascitaColumn" msprop:Generator_ColumnPropNameInRow="luogoNascita" msprop:Generator_ColumnVarNameInTable="columnluogoNascita" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="provNascita" msprop:Generator_ColumnPropNameInRow="provNascita" msprop:Generator_ColumnPropNameInTable="provNascitaColumn" msprop:Generator_ColumnVarNameInTable="columnprovNascita" msprop:Generator_UserColumnName="provNascita" minOccurs="0">
<xs:element name="provNascita" msprop:Generator_UserColumnName="provNascita" msprop:Generator_ColumnPropNameInTable="provNascitaColumn" msprop:Generator_ColumnPropNameInRow="provNascita" msprop:Generator_ColumnVarNameInTable="columnprovNascita" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nazNascita" msprop:Generator_ColumnPropNameInRow="nazNascita" msprop:Generator_ColumnPropNameInTable="nazNascitaColumn" msprop:Generator_ColumnVarNameInTable="columnnazNascita" msprop:Generator_UserColumnName="nazNascita" minOccurs="0">
<xs:element name="nazNascita" msprop:Generator_UserColumnName="nazNascita" msprop:Generator_ColumnPropNameInTable="nazNascitaColumn" msprop:Generator_ColumnPropNameInRow="nazNascita" msprop:Generator_ColumnVarNameInTable="columnnazNascita" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="codHw" msprop:Generator_ColumnPropNameInRow="codHw" msprop:Generator_ColumnPropNameInTable="codHwColumn" msprop:Generator_ColumnVarNameInTable="columncodHw" msprop:Generator_UserColumnName="codHw">
<xs:element name="codHw" msprop:Generator_UserColumnName="codHw" msprop:Generator_ColumnPropNameInTable="codHwColumn" msprop:Generator_ColumnPropNameInRow="codHw" msprop:Generator_ColumnVarNameInTable="columncodHw">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="codOrario" msprop:Generator_ColumnPropNameInRow="codOrario" msprop:Generator_ColumnPropNameInTable="codOrarioColumn" msprop:Generator_ColumnVarNameInTable="columncodOrario" msprop:Generator_UserColumnName="codOrario" minOccurs="0">
<xs:element name="codOrario" msprop:Generator_UserColumnName="codOrario" msprop:Generator_ColumnPropNameInTable="codOrarioColumn" msprop:Generator_ColumnPropNameInRow="codOrario" msprop:Generator_ColumnVarNameInTable="columncodOrario" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="mailLastOp" msprop:Generator_ColumnPropNameInRow="mailLastOp" msprop:Generator_ColumnPropNameInTable="mailLastOpColumn" msprop:Generator_ColumnVarNameInTable="columnmailLastOp" msprop:Generator_UserColumnName="mailLastOp" type="xs:boolean" minOccurs="0" />
<xs:element name="mailDay" msprop:Generator_ColumnPropNameInRow="mailDay" msprop:Generator_ColumnPropNameInTable="mailDayColumn" msprop:Generator_ColumnVarNameInTable="columnmailDay" msprop:Generator_UserColumnName="mailDay" type="xs:boolean" minOccurs="0" />
<xs:element name="mailWeek" msprop:Generator_ColumnPropNameInRow="mailWeek" msprop:Generator_ColumnPropNameInTable="mailWeekColumn" msprop:Generator_ColumnVarNameInTable="columnmailWeek" msprop:Generator_UserColumnName="mailWeek" type="xs:boolean" minOccurs="0" />
<xs:element name="mailMonth" msprop:Generator_ColumnPropNameInRow="mailMonth" msprop:Generator_ColumnPropNameInTable="mailMonthColumn" msprop:Generator_ColumnVarNameInTable="columnmailMonth" msprop:Generator_UserColumnName="mailMonth" type="xs:boolean" minOccurs="0" />
<xs:element name="email" msprop:Generator_ColumnPropNameInRow="email" msprop:Generator_ColumnPropNameInTable="emailColumn" msprop:Generator_ColumnVarNameInTable="columnemail" msprop:Generator_UserColumnName="email">
<xs:element name="mailLastOp" msprop:Generator_UserColumnName="mailLastOp" msprop:Generator_ColumnPropNameInTable="mailLastOpColumn" msprop:Generator_ColumnPropNameInRow="mailLastOp" msprop:Generator_ColumnVarNameInTable="columnmailLastOp" type="xs:boolean" minOccurs="0" />
<xs:element name="mailDay" msprop:Generator_UserColumnName="mailDay" msprop:Generator_ColumnPropNameInTable="mailDayColumn" msprop:Generator_ColumnPropNameInRow="mailDay" msprop:Generator_ColumnVarNameInTable="columnmailDay" type="xs:boolean" minOccurs="0" />
<xs:element name="mailWeek" msprop:Generator_UserColumnName="mailWeek" msprop:Generator_ColumnPropNameInTable="mailWeekColumn" msprop:Generator_ColumnPropNameInRow="mailWeek" msprop:Generator_ColumnVarNameInTable="columnmailWeek" type="xs:boolean" minOccurs="0" />
<xs:element name="mailMonth" msprop:Generator_UserColumnName="mailMonth" msprop:Generator_ColumnPropNameInTable="mailMonthColumn" msprop:Generator_ColumnPropNameInRow="mailMonth" msprop:Generator_ColumnVarNameInTable="columnmailMonth" type="xs:boolean" minOccurs="0" />
<xs:element name="email" msprop:Generator_UserColumnName="email" msprop:Generator_ColumnPropNameInTable="emailColumn" msprop:Generator_ColumnPropNameInRow="email" msprop:Generator_ColumnVarNameInTable="columnemail">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="authKey" msprop:Generator_ColumnPropNameInRow="authKey" msprop:Generator_ColumnPropNameInTable="authKeyColumn" msprop:Generator_ColumnVarNameInTable="columnauthKey" msprop:Generator_UserColumnName="authKey">
<xs:element name="authKey" msprop:Generator_UserColumnName="authKey" msprop:Generator_ColumnPropNameInTable="authKeyColumn" msprop:Generator_ColumnPropNameInRow="authKey" msprop:Generator_ColumnVarNameInTable="columnauthKey">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="numAuth" msprop:Generator_ColumnPropNameInRow="numAuth" msprop:Generator_ColumnPropNameInTable="numAuthColumn" msprop:Generator_ColumnVarNameInTable="columnnumAuth" msprop:Generator_UserColumnName="numAuth" type="xs:int" minOccurs="0" />
<xs:element name="WOL_MAC" msprop:Generator_ColumnPropNameInRow="WOL_MAC" msprop:Generator_ColumnPropNameInTable="WOL_MACColumn" msprop:Generator_ColumnVarNameInTable="columnWOL_MAC" msprop:Generator_UserColumnName="WOL_MAC">
<xs:element name="numAuth" msprop:Generator_UserColumnName="numAuth" msprop:Generator_ColumnPropNameInTable="numAuthColumn" msprop:Generator_ColumnPropNameInRow="numAuth" msprop:Generator_ColumnVarNameInTable="columnnumAuth" type="xs:int" minOccurs="0" />
<xs:element name="WOL_MAC" msprop:Generator_UserColumnName="WOL_MAC" msprop:Generator_ColumnPropNameInTable="WOL_MACColumn" msprop:Generator_ColumnPropNameInRow="WOL_MAC" msprop:Generator_ColumnVarNameInTable="columnWOL_MAC">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="dominio" msprop:Generator_ColumnPropNameInRow="dominio" msprop:Generator_ColumnPropNameInTable="dominioColumn" msprop:Generator_ColumnVarNameInTable="columndominio" msprop:Generator_UserColumnName="dominio">
<xs:element name="dominio" msprop:Generator_UserColumnName="dominio" msprop:Generator_ColumnPropNameInTable="dominioColumn" msprop:Generator_ColumnPropNameInRow="dominio" msprop:Generator_ColumnVarNameInTable="columndominio">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="utente" msprop:Generator_ColumnPropNameInRow="utente" msprop:Generator_ColumnPropNameInTable="utenteColumn" msprop:Generator_ColumnVarNameInTable="columnutente" msprop:Generator_UserColumnName="utente">
<xs:element name="utente" msprop:Generator_UserColumnName="utente" msprop:Generator_ColumnPropNameInTable="utenteColumn" msprop:Generator_ColumnPropNameInRow="utente" msprop:Generator_ColumnVarNameInTable="columnutente">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="codDipendenteExt" msprop:Generator_ColumnPropNameInRow="codDipendenteExt" msprop:Generator_ColumnPropNameInTable="codDipendenteExtColumn" msprop:Generator_ColumnVarNameInTable="columncodDipendenteExt" msprop:Generator_UserColumnName="codDipendenteExt">
<xs:element name="codDipendenteExt" msprop:Generator_UserColumnName="codDipendenteExt" msprop:Generator_ColumnPropNameInTable="codDipendenteExtColumn" msprop:Generator_ColumnPropNameInRow="codDipendenteExt" msprop:Generator_ColumnVarNameInTable="columncodDipendenteExt">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="gruppo" msprop:Generator_ColumnPropNameInRow="gruppo" msprop:Generator_ColumnPropNameInTable="gruppoColumn" msprop:Generator_ColumnVarNameInTable="columngruppo" msprop:Generator_UserColumnName="gruppo" minOccurs="0">
<xs:element name="gruppo" msprop:Generator_UserColumnName="gruppo" msprop:Generator_ColumnPropNameInTable="gruppoColumn" msprop:Generator_ColumnPropNameInRow="gruppo" msprop:Generator_ColumnVarNameInTable="columngruppo" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="dataAssunzione" msprop:Generator_ColumnPropNameInRow="dataAssunzione" msprop:Generator_ColumnPropNameInTable="dataAssunzioneColumn" msprop:Generator_ColumnVarNameInTable="columndataAssunzione" msprop:Generator_UserColumnName="dataAssunzione" type="xs:dateTime" minOccurs="0" />
<xs:element name="dataCessazione" msprop:Generator_ColumnPropNameInRow="dataCessazione" msprop:Generator_ColumnPropNameInTable="dataCessazioneColumn" msprop:Generator_ColumnVarNameInTable="columndataCessazione" msprop:Generator_UserColumnName="dataCessazione" type="xs:dateTime" minOccurs="0" />
<xs:element name="attivo" msprop:Generator_ColumnPropNameInRow="attivo" msprop:Generator_ColumnPropNameInTable="attivoColumn" msprop:Generator_ColumnVarNameInTable="columnattivo" msprop:Generator_UserColumnName="attivo" type="xs:boolean" minOccurs="0" />
<xs:element name="sigla" msprop:Generator_ColumnPropNameInRow="sigla" msprop:Generator_ColumnPropNameInTable="siglaColumn" msprop:Generator_ColumnVarNameInTable="columnsigla" msprop:Generator_UserColumnName="sigla">
<xs:element name="dataAssunzione" msprop:Generator_UserColumnName="dataAssunzione" msprop:Generator_ColumnPropNameInTable="dataAssunzioneColumn" msprop:Generator_ColumnPropNameInRow="dataAssunzione" msprop:Generator_ColumnVarNameInTable="columndataAssunzione" type="xs:dateTime" minOccurs="0" />
<xs:element name="dataCessazione" msprop:Generator_UserColumnName="dataCessazione" msprop:Generator_ColumnPropNameInTable="dataCessazioneColumn" msprop:Generator_ColumnPropNameInRow="dataCessazione" msprop:Generator_ColumnVarNameInTable="columndataCessazione" type="xs:dateTime" minOccurs="0" />
<xs:element name="attivo" msprop:Generator_UserColumnName="attivo" msprop:Generator_ColumnPropNameInTable="attivoColumn" msprop:Generator_ColumnPropNameInRow="attivo" msprop:Generator_ColumnVarNameInTable="columnattivo" type="xs:boolean" minOccurs="0" />
<xs:element name="sigla" msprop:Generator_UserColumnName="sigla" msprop:Generator_ColumnPropNameInTable="siglaColumn" msprop:Generator_ColumnPropNameInRow="sigla" msprop:Generator_ColumnVarNameInTable="columnsigla">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="idxResp" msprop:Generator_ColumnPropNameInRow="idxResp" msprop:Generator_ColumnPropNameInTable="idxRespColumn" msprop:Generator_ColumnVarNameInTable="columnidxResp" msprop:Generator_UserColumnName="idxResp" type="xs:int" />
<xs:element name="idxResp" msprop:Generator_UserColumnName="idxResp" msprop:Generator_ColumnPropNameInTable="idxRespColumn" msprop:Generator_ColumnPropNameInRow="idxResp" msprop:Generator_ColumnVarNameInTable="columnidxResp" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
@@ -4880,11 +4892,11 @@ FROM v_AnagTagFasi</CommandText>
</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_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_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_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" />
</xs:appinfo>
</xs:annotation>
</xs:schema>
+2 -2
View File
@@ -4,7 +4,7 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DiagramLayout xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ex:showrelationlabel="False" ViewPortX="-11" ViewPortY="-47" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<DiagramLayout xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ex:showrelationlabel="False" ViewPortX="-11" ViewPortY="179" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:Timbrature" ZOrder="34" X="279" Y="76" Height="267" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:TimbratureExpl" ZOrder="27" X="622" Y="64" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
@@ -29,7 +29,7 @@
<Shape ID="DesignTable:HistTemp" ZOrder="24" X="-23" Y="762" Height="115" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:CheckVC19" ZOrder="5" X="287" Y="1407" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:AnagGruppi" ZOrder="17" X="-14" Y="341" Height="210" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:Dipendenti2Gruppi" ZOrder="18" X="367" Y="370" Height="153" Width="256" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:Dipendenti2Gruppi" ZOrder="18" X="367" Y="370" Height="172" Width="256" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:TagMese" ZOrder="13" X="963" Y="-12" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:ListTagDD" ZOrder="12" X="1289" Y="-21" Height="210" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:RegistroRichieste" ZOrder="9" X="489" Y="1366" Height="267" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />