Merge branch 'release/AddTagFasi01'
This commit is contained in:
@@ -692,6 +692,7 @@
|
||||
<Content Include="Scripts\umd\popper.js" />
|
||||
<Content Include="Scripts\umd\popper.min.js" />
|
||||
<Content Include="tagMensili.aspx" />
|
||||
<Content Include="tags.aspx" />
|
||||
<Content Include="Test.aspx" />
|
||||
<Content Include="Test2.aspx" />
|
||||
<Content Include="Vocabolario.aspx" />
|
||||
@@ -703,6 +704,7 @@
|
||||
<Content Include="WebUserControls\cmp_footer.ascx" />
|
||||
<Content Include="WebUserControls\cmp_gestMalattia.ascx" />
|
||||
<Content Include="WebUserControls\cmp_gestRichDip.ascx" />
|
||||
<Content Include="WebUserControls\cmp_gestTagFasi.ascx" />
|
||||
<Content Include="WebUserControls\cmp_homeButtons.ascx" />
|
||||
<Content Include="WebUserControls\cmp_lemmiVocab.ascx" />
|
||||
<Content Include="WebUserControls\cmp_menuTop.ascx" />
|
||||
@@ -1019,6 +1021,13 @@
|
||||
<Compile Include="tagMensili.aspx.designer.cs">
|
||||
<DependentUpon>tagMensili.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="tags.aspx.cs">
|
||||
<DependentUpon>tags.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="tags.aspx.designer.cs">
|
||||
<DependentUpon>tags.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Test.aspx.cs">
|
||||
<DependentUpon>Test.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -1121,6 +1130,13 @@
|
||||
<Compile Include="WebUserControls\cmp_gestRichDip.ascx.designer.cs">
|
||||
<DependentUpon>cmp_gestRichDip.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_gestTagFasi.ascx.cs">
|
||||
<DependentUpon>cmp_gestTagFasi.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_gestTagFasi.ascx.designer.cs">
|
||||
<DependentUpon>cmp_gestTagFasi.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_homeButtons.ascx.cs">
|
||||
<DependentUpon>cmp_homeButtons.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
|
||||
@@ -0,0 +1,68 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_gestTagFasi.ascx.cs" Inherits="GPW_Admin.WebUserControls.cmp_gestTagFasi" %>
|
||||
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
|
||||
|
||||
<div class="row small">
|
||||
<div class="col-12">
|
||||
<asp:GridView runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" DataKeyNames="CodTagFase" DataSourceID="ods" CssClass="table table-striped table-sm table-bordered small" ID="grView" OnDataBound="grView_DataBound" OnSelectedIndexChanged="grView_SelectedIndexChanged">
|
||||
<EditRowStyle CssClass="table-primary" />
|
||||
<SelectedRowStyle CssClass="table-info" />
|
||||
<Columns>
|
||||
<asp:TemplateField>
|
||||
<HeaderTemplate>
|
||||
<asp:LinkButton ID="lbtReset" runat="server" CssClass="btn btn-sm btn-info" ToolTip='<%# traduci("Reset") %>' CausesValidation="False" OnClick="btnReset_Click" Visible="true"><i class="fa fa-refresh" aria-hidden="true"></i></asp:LinkButton>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<div class="text-nowrap">
|
||||
<asp:LinkButton runat="server" ID="lbtSelect" CssClass="btn btn-sm btn-info" CausesValidation="False" CommandName="Select" ToolTip='<%# traduci("Select") %>'><i class="fa fa-search" aria-hidden="true"></i></asp:LinkButton>
|
||||
<asp:LinkButton runat="server" ID="lbtEdit" CssClass="btn btn-sm btn-primary" CausesValidation="False" CommandName="Edit" ToolTip='<%# traduci("Edit") %>' Visible='<%# chkLicOk %>'><i class="fa fa-edit" aria-hidden="true"></i></asp:LinkButton>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
<EditItemTemplate>
|
||||
<asp:LinkButton runat="server" ID="lbtUpdate" CssClass="btn btn-sm btn-success" CausesValidation="False" CommandName="Update" ToolTip='<%# traduci("Update") %>'><i class="fa fa-check" aria-hidden="true"></i></asp:LinkButton>
|
||||
<asp:LinkButton runat="server" ID="lbtCancel" CssClass="btn btn-sm btn-warning" CausesValidation="False" CommandName="Cancel" ToolTip='<%# traduci("Cancel") %>'><i class="fa fa-ban" aria-hidden="true"></i></asp:LinkButton>
|
||||
</EditItemTemplate>
|
||||
<ItemStyle HorizontalAlign="Center"></ItemStyle>
|
||||
<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
|
||||
</asp:TemplateField>
|
||||
<asp:BoundField DataField="CodTagFase" HeaderText="CodTagFase" SortExpression="CodTagFase" />
|
||||
<asp:BoundField DataField="CodGruppo" HeaderText="CodGruppo" SortExpression="CodGruppo" />
|
||||
<asp:BoundField DataField="Descrizione" HeaderText="Descrizione" SortExpression="Descrizione" />
|
||||
<asp:CheckBoxField DataField="Enabled" HeaderText="Enabled" SortExpression="Enabled" />
|
||||
<asp:BoundField DataField="NumFasi" HeaderText="NumFasi" SortExpression="NumFasi" ReadOnly="true" />
|
||||
<asp:TemplateField>
|
||||
<HeaderTemplate>
|
||||
<asp:LinkButton runat="server" ID="lbt" CssClass="btn btn-sm btn-success" OnClick="btnNew_Click" ToolTip='<%# traduci("New") %>' Visible='<%# chkLicOk %>'><i class="fa fa-plus" aria-hidden="true"></i></asp:LinkButton>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton runat="server" ID="lbtDelete" CssClass="btn btn-sm btn-danger" CausesValidation="False" CommandArgument='<%# Eval("CodTagFase") %>' CommandName="Delete" ToolTip='<%# traduci("Delete") %>' Visible='<%# Eval("NumFasi").ToString() == "0" %>'><i class="fa fa-trash" 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" />
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource runat="server" ID="ods" OldValuesParameterFormatString="Original_{0}" SelectMethod="GetData" TypeName="GPW_data.DS_ApplicazioneTableAdapters.AnagTagFasiTableAdapter" OnUpdating="ods_Updating" DeleteMethod="deleteQuery" InsertMethod="insertQuery" UpdateMethod="updateQuery">
|
||||
<DeleteParameters>
|
||||
<asp:Parameter Name="Original_CodTagFase" Type="String"></asp:Parameter>
|
||||
</DeleteParameters>
|
||||
<InsertParameters>
|
||||
<asp:Parameter Name="CodTagFase" Type="String"></asp:Parameter>
|
||||
<asp:Parameter Name="Descrizione" Type="String"></asp:Parameter>
|
||||
<asp:Parameter Name="Enabled" Type="Boolean"></asp:Parameter>
|
||||
<asp:Parameter Name="CodGruppo" Type="String"></asp:Parameter>
|
||||
</InsertParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="CodTagFase" Type="String"></asp:Parameter>
|
||||
<asp:Parameter Name="Descrizione" Type="String"></asp:Parameter>
|
||||
<asp:Parameter Name="Enabled" Type="Boolean"></asp:Parameter>
|
||||
<asp:Parameter Name="CodGruppo" Type="String"></asp:Parameter>
|
||||
<asp:Parameter Name="Original_CodTagFase" Type="String"></asp:Parameter>
|
||||
</UpdateParameters>
|
||||
|
||||
</asp:ObjectDataSource>
|
||||
<asp:Label ID="lblNumRec" runat="server" CssClass="txtMini" />
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,156 @@
|
||||
using GPW_data;
|
||||
using SteamWare;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace GPW_Admin.WebUserControls
|
||||
{
|
||||
public partial class cmp_gestTagFasi : BaseUserControl
|
||||
{
|
||||
#region Public Methods
|
||||
|
||||
public void doUpdate()
|
||||
{
|
||||
grView.PageSize = utils.pageSize;
|
||||
grView.DataBind();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// resetta la selezione dei valori in caso di modifiche su altri controlli
|
||||
/// </summary>
|
||||
public void resetSelezione()
|
||||
{
|
||||
grView.SelectedIndex = -1;
|
||||
grView.DataBind();
|
||||
raiseReset();
|
||||
}
|
||||
|
||||
#endregion Public Methods
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
/// <summary>
|
||||
/// gestione evento richiesta nuovo valore (mostra footer, ...)
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnNew_Click(object sender, EventArgs e)
|
||||
{
|
||||
DataProxy.DP.taATF.insertQuery("NEW TAG", "Descrizione", true, "");
|
||||
resetSelezione();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// reset della selezione
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnReset_Click(object sender, EventArgs e)
|
||||
{
|
||||
resetSelezione();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// elenco colonne del datagrid
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
protected DataColumnCollection colonneObj()
|
||||
{
|
||||
DataColumnCollection colonne = null;
|
||||
using (
|
||||
DS_Applicazione.AnagClientiDataTable tabella = new DS_Applicazione.AnagClientiDataTable())
|
||||
{
|
||||
colonne = tabella.Columns;
|
||||
}
|
||||
return colonne;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// traduce gli header delle colonne
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void grView_DataBound(object sender, EventArgs e)
|
||||
{
|
||||
if (grView.Rows.Count > 0)
|
||||
{
|
||||
LinkButton lb;
|
||||
// aggiorno gli headers
|
||||
foreach (TableCell cella in grView.HeaderRow.Cells)
|
||||
{
|
||||
try
|
||||
{
|
||||
lb = (LinkButton)cella.Controls[0];
|
||||
lb.Text = traduci(lb.Text);
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
}
|
||||
int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1);
|
||||
lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord);
|
||||
}
|
||||
else
|
||||
{
|
||||
lblNumRec.Text = "";
|
||||
}
|
||||
}
|
||||
|
||||
protected void grView_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
raiseEvent();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// annulla inserimento nuovo valore da footer
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void lblCanc_click(object sender, EventArgs e)
|
||||
{
|
||||
// annullo inserimento: nascondo footer, bind controlli...
|
||||
grView.FooterRow.Visible = false;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// inserisce nuovo valore da footer
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void lblIns_click(object sender, EventArgs e)
|
||||
{
|
||||
// click su inserimento, chiamo il metodo insert dell'ObjectDataSource
|
||||
ods.Insert();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// check licenze in fase di update...
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void ods_Updating(object sender, ObjectDataSourceMethodEventArgs e)
|
||||
{
|
||||
if (!licenzeGPW.checkLicenze)
|
||||
{
|
||||
if (e != null)
|
||||
{
|
||||
// annullo insert se licenze sforate...
|
||||
e.Cancel = true;
|
||||
grView.EditIndex = -1;
|
||||
grView.DataBind();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
grView.PageSize = utils.pageSize;
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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_gestTagFasi
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// grView control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.GridView grView;
|
||||
|
||||
/// <summary>
|
||||
/// ods control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
|
||||
|
||||
/// <summary>
|
||||
/// lblNumRec 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 lblNumRec;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/BMP.Master" AutoEventWireup="true" CodeBehind="tags.aspx.cs" Inherits="GPW_Admin.tags" %>
|
||||
<%@ Register Src="~/WebUserControls/mod_pageSize.ascx" TagPrefix="uc1" TagName="mod_pageSize" %>
|
||||
<%@ Register Src="~/WebUserControls/cmp_gestTagFasi.ascx" TagPrefix="uc1" TagName="cmp_gestTagFasi" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="cph1" runat="server">
|
||||
<div class="card m-2">
|
||||
<div class="card-header">
|
||||
<b><%: traduci(titolo) %></b>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<uc1:cmp_gestTagFasi runat="server" id="cmp_gestTagFasi" />
|
||||
</div>
|
||||
<div class="card-footer text-end">
|
||||
<uc1:mod_pageSize runat="server" ID="mod_pageSize" />
|
||||
</div>
|
||||
</div>
|
||||
</asp:Content>
|
||||
@@ -0,0 +1,33 @@
|
||||
using GPW_Admin.WebUserControls;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace GPW_Admin
|
||||
{
|
||||
public partial class tags : BasePage
|
||||
{
|
||||
#region Private Methods
|
||||
|
||||
private void Mod_pageSize_eh_nuovaSize(object sender, EventArgs e)
|
||||
{
|
||||
#if false
|
||||
mod_adminOrario1.doUpdate();
|
||||
#endif
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
mod_pageSize.eh_nuovaSize += Mod_pageSize_eh_nuovaSize;
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
}
|
||||
}
|
||||
Generated
+35
@@ -0,0 +1,35 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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
|
||||
{
|
||||
|
||||
|
||||
public partial class tags
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// cmp_gestTagFasi 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_gestTagFasi cmp_gestTagFasi;
|
||||
|
||||
/// <summary>
|
||||
/// mod_pageSize control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::GPW_Admin.WebUserControls.mod_pageSize mod_pageSize;
|
||||
}
|
||||
}
|
||||
Generated
+824
-25
@@ -82,6 +82,8 @@ namespace GPW_data {
|
||||
|
||||
private CalMesiDataTable tableCalMesi;
|
||||
|
||||
private AnagTagFasiDataTable tableAnagTagFasi;
|
||||
|
||||
private global::System.Data.DataRelation relationFK_Timbrature_Dipendenti;
|
||||
|
||||
private global::System.Data.DataRelation relationFK_AnagFasi_AnagProgetti;
|
||||
@@ -213,6 +215,9 @@ namespace GPW_data {
|
||||
if ((ds.Tables["CalMesi"] != null)) {
|
||||
base.Tables.Add(new CalMesiDataTable(ds.Tables["CalMesi"]));
|
||||
}
|
||||
if ((ds.Tables["AnagTagFasi"] != null)) {
|
||||
base.Tables.Add(new AnagTagFasiDataTable(ds.Tables["AnagTagFasi"]));
|
||||
}
|
||||
this.DataSetName = ds.DataSetName;
|
||||
this.Prefix = ds.Prefix;
|
||||
this.Namespace = ds.Namespace;
|
||||
@@ -521,6 +526,16 @@ namespace GPW_data {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
[global::System.ComponentModel.Browsable(false)]
|
||||
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
|
||||
public AnagTagFasiDataTable AnagTagFasi {
|
||||
get {
|
||||
return this.tableAnagTagFasi;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
[global::System.ComponentModel.BrowsableAttribute(true)]
|
||||
@@ -675,6 +690,9 @@ namespace GPW_data {
|
||||
if ((ds.Tables["CalMesi"] != null)) {
|
||||
base.Tables.Add(new CalMesiDataTable(ds.Tables["CalMesi"]));
|
||||
}
|
||||
if ((ds.Tables["AnagTagFasi"] != null)) {
|
||||
base.Tables.Add(new AnagTagFasiDataTable(ds.Tables["AnagTagFasi"]));
|
||||
}
|
||||
this.DataSetName = ds.DataSetName;
|
||||
this.Prefix = ds.Prefix;
|
||||
this.Namespace = ds.Namespace;
|
||||
@@ -882,6 +900,12 @@ namespace GPW_data {
|
||||
this.tableCalMesi.InitVars();
|
||||
}
|
||||
}
|
||||
this.tableAnagTagFasi = ((AnagTagFasiDataTable)(base.Tables["AnagTagFasi"]));
|
||||
if ((initTable == true)) {
|
||||
if ((this.tableAnagTagFasi != null)) {
|
||||
this.tableAnagTagFasi.InitVars();
|
||||
}
|
||||
}
|
||||
this.relationFK_Timbrature_Dipendenti = this.Relations["FK_Timbrature_Dipendenti"];
|
||||
this.relationFK_AnagFasi_AnagProgetti = this.Relations["FK_AnagFasi_AnagProgetti"];
|
||||
this.relationFK_RegAttivita_AnagFasi = this.Relations["FK_RegAttivita_AnagFasi"];
|
||||
@@ -958,6 +982,8 @@ namespace GPW_data {
|
||||
base.Tables.Add(this.tableRegistroMalattie);
|
||||
this.tableCalMesi = new CalMesiDataTable();
|
||||
base.Tables.Add(this.tableCalMesi);
|
||||
this.tableAnagTagFasi = new AnagTagFasiDataTable();
|
||||
base.Tables.Add(this.tableAnagTagFasi);
|
||||
this.relationFK_Timbrature_Dipendenti = new global::System.Data.DataRelation("FK_Timbrature_Dipendenti", new global::System.Data.DataColumn[] {
|
||||
this.tableDipendenti.idxDipendenteColumn}, new global::System.Data.DataColumn[] {
|
||||
this.tableTimbrature.idxDipendenteColumn}, false);
|
||||
@@ -1166,6 +1192,12 @@ namespace GPW_data {
|
||||
return false;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
private bool ShouldSerializeAnagTagFasi() {
|
||||
return false;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
|
||||
@@ -1308,6 +1340,9 @@ namespace GPW_data {
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public delegate void CalMesiRowChangeEventHandler(object sender, CalMesiRowChangeEvent e);
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public delegate void AnagTagFasiRowChangeEventHandler(object sender, AnagTagFasiRowChangeEvent e);
|
||||
|
||||
/// <summary>
|
||||
///Represents the strongly named DataTable class.
|
||||
///</summary>
|
||||
@@ -13119,6 +13154,327 @@ namespace GPW_data {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Represents the strongly named DataTable class.
|
||||
///</summary>
|
||||
[global::System.Serializable()]
|
||||
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
||||
public partial class AnagTagFasiDataTable : global::System.Data.TypedTableBase<AnagTagFasiRow> {
|
||||
|
||||
private global::System.Data.DataColumn columnCodTagFase;
|
||||
|
||||
private global::System.Data.DataColumn columnDescrizione;
|
||||
|
||||
private global::System.Data.DataColumn columnEnabled;
|
||||
|
||||
private global::System.Data.DataColumn columnCodGruppo;
|
||||
|
||||
private global::System.Data.DataColumn columnNumFasi;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public AnagTagFasiDataTable() {
|
||||
this.TableName = "AnagTagFasi";
|
||||
this.BeginInit();
|
||||
this.InitClass();
|
||||
this.EndInit();
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
internal AnagTagFasiDataTable(global::System.Data.DataTable table) {
|
||||
this.TableName = table.TableName;
|
||||
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
|
||||
this.CaseSensitive = table.CaseSensitive;
|
||||
}
|
||||
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
|
||||
this.Locale = table.Locale;
|
||||
}
|
||||
if ((table.Namespace != table.DataSet.Namespace)) {
|
||||
this.Namespace = table.Namespace;
|
||||
}
|
||||
this.Prefix = table.Prefix;
|
||||
this.MinimumCapacity = table.MinimumCapacity;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
protected AnagTagFasiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
|
||||
base(info, context) {
|
||||
this.InitVars();
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public global::System.Data.DataColumn CodTagFaseColumn {
|
||||
get {
|
||||
return this.columnCodTagFase;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public global::System.Data.DataColumn DescrizioneColumn {
|
||||
get {
|
||||
return this.columnDescrizione;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public global::System.Data.DataColumn EnabledColumn {
|
||||
get {
|
||||
return this.columnEnabled;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public global::System.Data.DataColumn CodGruppoColumn {
|
||||
get {
|
||||
return this.columnCodGruppo;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public global::System.Data.DataColumn NumFasiColumn {
|
||||
get {
|
||||
return this.columnNumFasi;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
[global::System.ComponentModel.Browsable(false)]
|
||||
public int Count {
|
||||
get {
|
||||
return this.Rows.Count;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public AnagTagFasiRow this[int index] {
|
||||
get {
|
||||
return ((AnagTagFasiRow)(this.Rows[index]));
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public event AnagTagFasiRowChangeEventHandler AnagTagFasiRowChanging;
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public event AnagTagFasiRowChangeEventHandler AnagTagFasiRowChanged;
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public event AnagTagFasiRowChangeEventHandler AnagTagFasiRowDeleting;
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public event AnagTagFasiRowChangeEventHandler AnagTagFasiRowDeleted;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public void AddAnagTagFasiRow(AnagTagFasiRow row) {
|
||||
this.Rows.Add(row);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public AnagTagFasiRow AddAnagTagFasiRow(string CodTagFase, string Descrizione, bool Enabled, string CodGruppo, int NumFasi) {
|
||||
AnagTagFasiRow rowAnagTagFasiRow = ((AnagTagFasiRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
CodTagFase,
|
||||
Descrizione,
|
||||
Enabled,
|
||||
CodGruppo,
|
||||
NumFasi};
|
||||
rowAnagTagFasiRow.ItemArray = columnValuesArray;
|
||||
this.Rows.Add(rowAnagTagFasiRow);
|
||||
return rowAnagTagFasiRow;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public AnagTagFasiRow FindByCodTagFase(string CodTagFase) {
|
||||
return ((AnagTagFasiRow)(this.Rows.Find(new object[] {
|
||||
CodTagFase})));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public override global::System.Data.DataTable Clone() {
|
||||
AnagTagFasiDataTable cln = ((AnagTagFasiDataTable)(base.Clone()));
|
||||
cln.InitVars();
|
||||
return cln;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
protected override global::System.Data.DataTable CreateInstance() {
|
||||
return new AnagTagFasiDataTable();
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
internal void InitVars() {
|
||||
this.columnCodTagFase = base.Columns["CodTagFase"];
|
||||
this.columnDescrizione = base.Columns["Descrizione"];
|
||||
this.columnEnabled = base.Columns["Enabled"];
|
||||
this.columnCodGruppo = base.Columns["CodGruppo"];
|
||||
this.columnNumFasi = base.Columns["NumFasi"];
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
private void InitClass() {
|
||||
this.columnCodTagFase = new global::System.Data.DataColumn("CodTagFase", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnCodTagFase);
|
||||
this.columnDescrizione = new global::System.Data.DataColumn("Descrizione", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnDescrizione);
|
||||
this.columnEnabled = new global::System.Data.DataColumn("Enabled", typeof(bool), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnEnabled);
|
||||
this.columnCodGruppo = new global::System.Data.DataColumn("CodGruppo", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnCodGruppo);
|
||||
this.columnNumFasi = new global::System.Data.DataColumn("NumFasi", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnNumFasi);
|
||||
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
||||
this.columnCodTagFase}, true));
|
||||
this.columnCodTagFase.AllowDBNull = false;
|
||||
this.columnCodTagFase.Unique = true;
|
||||
this.columnCodTagFase.MaxLength = 50;
|
||||
this.columnDescrizione.AllowDBNull = false;
|
||||
this.columnDescrizione.MaxLength = 250;
|
||||
this.columnEnabled.AllowDBNull = false;
|
||||
this.columnCodGruppo.AllowDBNull = false;
|
||||
this.columnCodGruppo.MaxLength = 50;
|
||||
this.columnNumFasi.ReadOnly = true;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public AnagTagFasiRow NewAnagTagFasiRow() {
|
||||
return ((AnagTagFasiRow)(this.NewRow()));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
|
||||
return new AnagTagFasiRow(builder);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
protected override global::System.Type GetRowType() {
|
||||
return typeof(AnagTagFasiRow);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
|
||||
base.OnRowChanged(e);
|
||||
if ((this.AnagTagFasiRowChanged != null)) {
|
||||
this.AnagTagFasiRowChanged(this, new AnagTagFasiRowChangeEvent(((AnagTagFasiRow)(e.Row)), e.Action));
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
|
||||
base.OnRowChanging(e);
|
||||
if ((this.AnagTagFasiRowChanging != null)) {
|
||||
this.AnagTagFasiRowChanging(this, new AnagTagFasiRowChangeEvent(((AnagTagFasiRow)(e.Row)), e.Action));
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
|
||||
base.OnRowDeleted(e);
|
||||
if ((this.AnagTagFasiRowDeleted != null)) {
|
||||
this.AnagTagFasiRowDeleted(this, new AnagTagFasiRowChangeEvent(((AnagTagFasiRow)(e.Row)), e.Action));
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
|
||||
base.OnRowDeleting(e);
|
||||
if ((this.AnagTagFasiRowDeleting != null)) {
|
||||
this.AnagTagFasiRowDeleting(this, new AnagTagFasiRowChangeEvent(((AnagTagFasiRow)(e.Row)), e.Action));
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public void RemoveAnagTagFasiRow(AnagTagFasiRow row) {
|
||||
this.Rows.Remove(row);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
|
||||
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
|
||||
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
|
||||
DS_Applicazione ds = new DS_Applicazione();
|
||||
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
|
||||
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
|
||||
any1.MinOccurs = new decimal(0);
|
||||
any1.MaxOccurs = decimal.MaxValue;
|
||||
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
||||
sequence.Items.Add(any1);
|
||||
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
|
||||
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
|
||||
any2.MinOccurs = new decimal(1);
|
||||
any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
||||
sequence.Items.Add(any2);
|
||||
global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
||||
attribute1.Name = "namespace";
|
||||
attribute1.FixedValue = ds.Namespace;
|
||||
type.Attributes.Add(attribute1);
|
||||
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
||||
attribute2.Name = "tableTypeName";
|
||||
attribute2.FixedValue = "AnagTagFasiDataTable";
|
||||
type.Attributes.Add(attribute2);
|
||||
type.Particle = sequence;
|
||||
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
|
||||
if (xs.Contains(dsSchema.TargetNamespace)) {
|
||||
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
|
||||
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
|
||||
try {
|
||||
global::System.Xml.Schema.XmlSchema schema = null;
|
||||
dsSchema.Write(s1);
|
||||
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
|
||||
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
|
||||
s2.SetLength(0);
|
||||
schema.Write(s2);
|
||||
if ((s1.Length == s2.Length)) {
|
||||
s1.Position = 0;
|
||||
s2.Position = 0;
|
||||
for (; ((s1.Position != s1.Length)
|
||||
&& (s1.ReadByte() == s2.ReadByte())); ) {
|
||||
;
|
||||
}
|
||||
if ((s1.Position == s1.Length)) {
|
||||
return type;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
finally {
|
||||
if ((s1 != null)) {
|
||||
s1.Close();
|
||||
}
|
||||
if ((s2 != null)) {
|
||||
s2.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
xs.Add(dsSchema);
|
||||
return type;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Represents strongly named DataRow class.
|
||||
///</summary>
|
||||
@@ -20582,6 +20938,93 @@ namespace GPW_data {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Represents strongly named DataRow class.
|
||||
///</summary>
|
||||
public partial class AnagTagFasiRow : global::System.Data.DataRow {
|
||||
|
||||
private AnagTagFasiDataTable tableAnagTagFasi;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
internal AnagTagFasiRow(global::System.Data.DataRowBuilder rb) :
|
||||
base(rb) {
|
||||
this.tableAnagTagFasi = ((AnagTagFasiDataTable)(this.Table));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public string CodTagFase {
|
||||
get {
|
||||
return ((string)(this[this.tableAnagTagFasi.CodTagFaseColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableAnagTagFasi.CodTagFaseColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public string Descrizione {
|
||||
get {
|
||||
return ((string)(this[this.tableAnagTagFasi.DescrizioneColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableAnagTagFasi.DescrizioneColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public bool Enabled {
|
||||
get {
|
||||
return ((bool)(this[this.tableAnagTagFasi.EnabledColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableAnagTagFasi.EnabledColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public string CodGruppo {
|
||||
get {
|
||||
return ((string)(this[this.tableAnagTagFasi.CodGruppoColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableAnagTagFasi.CodGruppoColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public int NumFasi {
|
||||
get {
|
||||
try {
|
||||
return ((int)(this[this.tableAnagTagFasi.NumFasiColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'NumFasi\' in table \'AnagTagFasi\' is DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableAnagTagFasi.NumFasiColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public bool IsNumFasiNull() {
|
||||
return this.IsNull(this.tableAnagTagFasi.NumFasiColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public void SetNumFasiNull() {
|
||||
this[this.tableAnagTagFasi.NumFasiColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Row event argument class
|
||||
///</summary>
|
||||
@@ -21567,6 +22010,40 @@ namespace GPW_data {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Row event argument class
|
||||
///</summary>
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public class AnagTagFasiRowChangeEvent : global::System.EventArgs {
|
||||
|
||||
private AnagTagFasiRow eventRow;
|
||||
|
||||
private global::System.Data.DataRowAction eventAction;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public AnagTagFasiRowChangeEvent(AnagTagFasiRow row, global::System.Data.DataRowAction action) {
|
||||
this.eventRow = row;
|
||||
this.eventAction = action;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public AnagTagFasiRow Row {
|
||||
get {
|
||||
return this.eventRow;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public global::System.Data.DataRowAction Action {
|
||||
get {
|
||||
return this.eventAction;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace GPW_data.DS_ApplicazioneTableAdapters {
|
||||
@@ -39228,6 +39705,328 @@ SELECT IdxRegMal, DtInizio, NumGG, CodCert FROM RegistroMalattie WHERE (IdxRegMa
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Represents the connection and commands used to retrieve and save data.
|
||||
///</summary>
|
||||
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
[global::System.ComponentModel.ToolboxItem(true)]
|
||||
[global::System.ComponentModel.DataObjectAttribute(true)]
|
||||
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
|
||||
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public partial class AnagTagFasiTableAdapter : global::System.ComponentModel.Component {
|
||||
|
||||
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
||||
|
||||
private global::System.Data.SqlClient.SqlConnection _connection;
|
||||
|
||||
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
||||
|
||||
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
|
||||
|
||||
private bool _clearBeforeFill;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public AnagTagFasiTableAdapter() {
|
||||
this.ClearBeforeFill = true;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
|
||||
get {
|
||||
if ((this._adapter == null)) {
|
||||
this.InitAdapter();
|
||||
}
|
||||
return this._adapter;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
internal global::System.Data.SqlClient.SqlConnection Connection {
|
||||
get {
|
||||
if ((this._connection == null)) {
|
||||
this.InitConnection();
|
||||
}
|
||||
return this._connection;
|
||||
}
|
||||
set {
|
||||
this._connection = value;
|
||||
if ((this.Adapter.InsertCommand != null)) {
|
||||
this.Adapter.InsertCommand.Connection = value;
|
||||
}
|
||||
if ((this.Adapter.DeleteCommand != null)) {
|
||||
this.Adapter.DeleteCommand.Connection = value;
|
||||
}
|
||||
if ((this.Adapter.UpdateCommand != null)) {
|
||||
this.Adapter.UpdateCommand.Connection = value;
|
||||
}
|
||||
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
||||
if ((this.CommandCollection[i] != null)) {
|
||||
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
||||
get {
|
||||
return this._transaction;
|
||||
}
|
||||
set {
|
||||
this._transaction = value;
|
||||
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
||||
this.CommandCollection[i].Transaction = this._transaction;
|
||||
}
|
||||
if (((this.Adapter != null)
|
||||
&& (this.Adapter.DeleteCommand != null))) {
|
||||
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
||||
}
|
||||
if (((this.Adapter != null)
|
||||
&& (this.Adapter.InsertCommand != null))) {
|
||||
this.Adapter.InsertCommand.Transaction = this._transaction;
|
||||
}
|
||||
if (((this.Adapter != null)
|
||||
&& (this.Adapter.UpdateCommand != null))) {
|
||||
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
|
||||
get {
|
||||
if ((this._commandCollection == null)) {
|
||||
this.InitCommandCollection();
|
||||
}
|
||||
return this._commandCollection;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
public bool ClearBeforeFill {
|
||||
get {
|
||||
return this._clearBeforeFill;
|
||||
}
|
||||
set {
|
||||
this._clearBeforeFill = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
private void InitAdapter() {
|
||||
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
|
||||
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
|
||||
tableMapping.SourceTable = "Table";
|
||||
tableMapping.DataSetTable = "AnagTagFasi";
|
||||
tableMapping.ColumnMappings.Add("CodTagFase", "CodTagFase");
|
||||
tableMapping.ColumnMappings.Add("Descrizione", "Descrizione");
|
||||
tableMapping.ColumnMappings.Add("Enabled", "Enabled");
|
||||
tableMapping.ColumnMappings.Add("CodGruppo", "CodGruppo");
|
||||
tableMapping.ColumnMappings.Add("NumFasi", "NumFasi");
|
||||
this._adapter.TableMappings.Add(tableMapping);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
private void InitConnection() {
|
||||
this._connection = new global::System.Data.SqlClient.SqlConnection();
|
||||
this._connection.ConnectionString = global::GPW_data.Properties.Settings.Default.GPWConnectionString;
|
||||
}
|
||||
|
||||
[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[4];
|
||||
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[0].Connection = this.Connection;
|
||||
this._commandCollection[0].CommandText = "SELECT *\r\nFROM v_AnagTagFasi";
|
||||
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_ATF_deleteQuery";
|
||||
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("@Original_CodTagFase", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 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_ATF_InsertQuery";
|
||||
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("@CodTagFase", 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("@Descrizione", 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("@Enabled", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodGruppo", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 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_ATF_updateQuery";
|
||||
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("@CodTagFase", 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("@Descrizione", 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("@Enabled", 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("@CodGruppo", 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("@Original_CodTagFase", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
}
|
||||
|
||||
[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.Fill, true)]
|
||||
public virtual int Fill(DS_Applicazione.AnagTagFasiDataTable dataTable) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[0];
|
||||
if ((this.ClearBeforeFill == true)) {
|
||||
dataTable.Clear();
|
||||
}
|
||||
int returnValue = this.Adapter.Fill(dataTable);
|
||||
return returnValue;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
|
||||
public virtual DS_Applicazione.AnagTagFasiDataTable GetData() {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[0];
|
||||
DS_Applicazione.AnagTagFasiDataTable dataTable = new DS_Applicazione.AnagTagFasiDataTable();
|
||||
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")]
|
||||
public virtual int deleteQuery(string Original_CodTagFase) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
|
||||
if ((Original_CodTagFase == null)) {
|
||||
command.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[1].Value = ((string)(Original_CodTagFase));
|
||||
}
|
||||
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 insertQuery(string CodTagFase, string Descrizione, global::System.Nullable<bool> Enabled, string CodGruppo) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
|
||||
if ((CodTagFase == null)) {
|
||||
command.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[1].Value = ((string)(CodTagFase));
|
||||
}
|
||||
if ((Descrizione == null)) {
|
||||
command.Parameters[2].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[2].Value = ((string)(Descrizione));
|
||||
}
|
||||
if ((Enabled.HasValue == true)) {
|
||||
command.Parameters[3].Value = ((bool)(Enabled.Value));
|
||||
}
|
||||
else {
|
||||
command.Parameters[3].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((CodGruppo == null)) {
|
||||
command.Parameters[4].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[4].Value = ((string)(CodGruppo));
|
||||
}
|
||||
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 updateQuery(string CodTagFase, string Descrizione, global::System.Nullable<bool> Enabled, string CodGruppo, string Original_CodTagFase) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
|
||||
if ((CodTagFase == null)) {
|
||||
command.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[1].Value = ((string)(CodTagFase));
|
||||
}
|
||||
if ((Descrizione == null)) {
|
||||
command.Parameters[2].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[2].Value = ((string)(Descrizione));
|
||||
}
|
||||
if ((Enabled.HasValue == true)) {
|
||||
command.Parameters[3].Value = ((bool)(Enabled.Value));
|
||||
}
|
||||
else {
|
||||
command.Parameters[3].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((CodGruppo == null)) {
|
||||
command.Parameters[4].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[4].Value = ((string)(CodGruppo));
|
||||
}
|
||||
if ((Original_CodTagFase == null)) {
|
||||
command.Parameters[5].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[5].Value = ((string)(Original_CodTagFase));
|
||||
}
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
|
||||
///</summary>
|
||||
@@ -39798,6 +40597,15 @@ SELECT IdxRegMal, DtInizio, NumGG, CodCert FROM RegistroMalattie WHERE (IdxRegMa
|
||||
allChangedRows.AddRange(updatedRows);
|
||||
}
|
||||
}
|
||||
if ((this._registroMalattieTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] updatedRows = dataSet.RegistroMalattie.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
||||
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
||||
if (((updatedRows != null)
|
||||
&& (0 < updatedRows.Length))) {
|
||||
result = (result + this._registroMalattieTableAdapter.Update(updatedRows));
|
||||
allChangedRows.AddRange(updatedRows);
|
||||
}
|
||||
}
|
||||
if ((this._registroRichiesteTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] updatedRows = dataSet.RegistroRichieste.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
||||
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
||||
@@ -39834,15 +40642,6 @@ SELECT IdxRegMal, DtInizio, NumGG, CodCert FROM RegistroMalattie WHERE (IdxRegMa
|
||||
allChangedRows.AddRange(updatedRows);
|
||||
}
|
||||
}
|
||||
if ((this._registroMalattieTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] updatedRows = dataSet.RegistroMalattie.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
||||
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
||||
if (((updatedRows != null)
|
||||
&& (0 < updatedRows.Length))) {
|
||||
result = (result + this._registroMalattieTableAdapter.Update(updatedRows));
|
||||
allChangedRows.AddRange(updatedRows);
|
||||
}
|
||||
}
|
||||
if ((this._giustificativiTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] updatedRows = dataSet.Giustificativi.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
||||
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
||||
@@ -39972,6 +40771,14 @@ SELECT IdxRegMal, DtInizio, NumGG, CodCert FROM RegistroMalattie WHERE (IdxRegMa
|
||||
allAddedRows.AddRange(addedRows);
|
||||
}
|
||||
}
|
||||
if ((this._registroMalattieTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] addedRows = dataSet.RegistroMalattie.Select(null, null, global::System.Data.DataViewRowState.Added);
|
||||
if (((addedRows != null)
|
||||
&& (0 < addedRows.Length))) {
|
||||
result = (result + this._registroMalattieTableAdapter.Update(addedRows));
|
||||
allAddedRows.AddRange(addedRows);
|
||||
}
|
||||
}
|
||||
if ((this._registroRichiesteTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] addedRows = dataSet.RegistroRichieste.Select(null, null, global::System.Data.DataViewRowState.Added);
|
||||
if (((addedRows != null)
|
||||
@@ -40004,14 +40811,6 @@ SELECT IdxRegMal, DtInizio, NumGG, CodCert FROM RegistroMalattie WHERE (IdxRegMa
|
||||
allAddedRows.AddRange(addedRows);
|
||||
}
|
||||
}
|
||||
if ((this._registroMalattieTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] addedRows = dataSet.RegistroMalattie.Select(null, null, global::System.Data.DataViewRowState.Added);
|
||||
if (((addedRows != null)
|
||||
&& (0 < addedRows.Length))) {
|
||||
result = (result + this._registroMalattieTableAdapter.Update(addedRows));
|
||||
allAddedRows.AddRange(addedRows);
|
||||
}
|
||||
}
|
||||
if ((this._giustificativiTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] addedRows = dataSet.Giustificativi.Select(null, null, global::System.Data.DataViewRowState.Added);
|
||||
if (((addedRows != null)
|
||||
@@ -40134,14 +40933,6 @@ SELECT IdxRegMal, DtInizio, NumGG, CodCert FROM RegistroMalattie WHERE (IdxRegMa
|
||||
allChangedRows.AddRange(deletedRows);
|
||||
}
|
||||
}
|
||||
if ((this._registroMalattieTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] deletedRows = dataSet.RegistroMalattie.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
||||
if (((deletedRows != null)
|
||||
&& (0 < deletedRows.Length))) {
|
||||
result = (result + this._registroMalattieTableAdapter.Update(deletedRows));
|
||||
allChangedRows.AddRange(deletedRows);
|
||||
}
|
||||
}
|
||||
if ((this._registroEventiTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] deletedRows = dataSet.RegistroEventi.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
||||
if (((deletedRows != null)
|
||||
@@ -40174,6 +40965,14 @@ SELECT IdxRegMal, DtInizio, NumGG, CodCert FROM RegistroMalattie WHERE (IdxRegMa
|
||||
allChangedRows.AddRange(deletedRows);
|
||||
}
|
||||
}
|
||||
if ((this._registroMalattieTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] deletedRows = dataSet.RegistroMalattie.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
||||
if (((deletedRows != null)
|
||||
&& (0 < deletedRows.Length))) {
|
||||
result = (result + this._registroMalattieTableAdapter.Update(deletedRows));
|
||||
allChangedRows.AddRange(deletedRows);
|
||||
}
|
||||
}
|
||||
if ((this._timbratureTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] deletedRows = dataSet.Timbrature.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
||||
if (((deletedRows != null)
|
||||
|
||||
+439
-344
File diff suppressed because it is too large
Load Diff
@@ -4,40 +4,41 @@
|
||||
Changes to this file may cause incorrect behavior and will be lost if
|
||||
the code is regenerated.
|
||||
</autogenerated>-->
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-11" ViewPortY="430" 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="1367" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:Timbrature" ZOrder="36" X="279" Y="76" Height="267" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:TimbratureExpl" ZOrder="28" X="622" Y="64" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AnagDevices" ZOrder="11" X="951" Y="215" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
|
||||
<Shape ID="DesignTable:Dipendenti" ZOrder="12" X="285" Y="543" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AnagClienti" ZOrder="23" X="1234" Y="528" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AnagProgetti" ZOrder="2" X="886" Y="976" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:Dipendenti2Ruoli" ZOrder="35" X="579" Y="943" Height="153" Width="276" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:AnagFasi" ZOrder="20" X="871" Y="528" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:v_logCommUt" ZOrder="26" X="1204" Y="1309" Height="324" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:RegAttivita" ZOrder="24" X="598" Y="591" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
|
||||
<Shape ID="DesignTable:CalendFesteFerie" ZOrder="8" X="597" Y="1126" Height="191" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:AnagOrari" ZOrder="13" X="280" Y="1001" Height="362" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:TimbMeseExpl" ZOrder="31" X="1249" Y="134" Height="324" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:Giustificativi" ZOrder="4" X="955" Y="1424" Height="229" Width="272" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:stp_DipendentiAndAnomalie" ZOrder="6" X="8" Y="1311" Height="134" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:TE_RA_Expl" ZOrder="18" X="1" Y="26" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:regAttDayExpl" ZOrder="22" X="-20" Y="883" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AnagProgetti_Expl" ZOrder="30" X="1236" Y="992" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:RegistroEventi" ZOrder="29" X="44" Y="1467" Height="153" Width="229" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:RilievoTemp" ZOrder="14" X="-24" Y="566" Height="191" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:HistTemp" ZOrder="25" X="-23" Y="762" Height="115" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:CheckVC19" ZOrder="7" X="287" Y="1407" Height="229" Width="202" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
|
||||
<Shape ID="DesignTable:AnagGruppi" ZOrder="15" X="-14" Y="341" Height="210" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:Dipendenti2Gruppi" ZOrder="17" X="367" Y="370" Height="153" Width="256" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:TagMese" ZOrder="10" X="963" Y="-12" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
|
||||
<Shape ID="DesignTable:ListTagDD" ZOrder="9" X="1289" Y="-21" Height="210" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:RegistroRichieste" ZOrder="5" X="489" Y="1366" Height="267" Width="243" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
|
||||
<Shape ID="DesignTable:RegistroMalattie" ZOrder="3" X="751" Y="1369" Height="247" Width="236" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:Timbrature" ZOrder="37" X="279" Y="76" Height="267" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:TimbratureExpl" ZOrder="29" X="622" Y="64" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AnagDevices" ZOrder="12" X="951" Y="215" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
|
||||
<Shape ID="DesignTable:Dipendenti" ZOrder="13" X="285" Y="543" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AnagClienti" ZOrder="24" X="1234" Y="528" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AnagProgetti" ZOrder="4" X="886" Y="976" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:Dipendenti2Ruoli" ZOrder="36" X="579" Y="943" Height="153" Width="276" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:AnagFasi" ZOrder="21" X="871" Y="528" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:v_logCommUt" ZOrder="27" X="1204" Y="1309" Height="324" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:RegAttivita" ZOrder="25" X="598" Y="591" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
|
||||
<Shape ID="DesignTable:CalendFesteFerie" ZOrder="9" X="597" Y="1126" Height="191" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:AnagOrari" ZOrder="14" X="280" Y="1001" Height="362" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:TimbMeseExpl" ZOrder="32" X="1249" Y="134" Height="324" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:Giustificativi" ZOrder="6" X="955" Y="1424" Height="229" Width="272" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:stp_DipendentiAndAnomalie" ZOrder="8" X="8" Y="1311" Height="134" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:TE_RA_Expl" ZOrder="19" X="1" Y="26" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:regAttDayExpl" ZOrder="23" X="-20" Y="883" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AnagProgetti_Expl" ZOrder="31" X="1236" Y="992" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:RegistroEventi" ZOrder="30" X="44" Y="1467" Height="153" Width="229" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:RilievoTemp" ZOrder="15" X="-24" Y="566" Height="191" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:HistTemp" ZOrder="26" X="-23" Y="762" Height="115" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:CheckVC19" ZOrder="3" X="287" Y="1407" Height="229" Width="202" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
|
||||
<Shape ID="DesignTable:AnagGruppi" ZOrder="16" 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:TagMese" ZOrder="11" X="963" Y="-12" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
|
||||
<Shape ID="DesignTable:ListTagDD" ZOrder="10" X="1289" Y="-21" Height="210" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:RegistroRichieste" ZOrder="7" X="489" Y="1366" Height="267" Width="243" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
|
||||
<Shape ID="DesignTable:RegistroMalattie" ZOrder="5" X="751" Y="1369" Height="247" Width="236" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:CalMesi" ZOrder="1" X="104" Y="1549" Height="96" Width="260" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="45" />
|
||||
<Shape ID="DesignTable:AnagTagFasi" ZOrder="2" X="491" Y="1678" Height="153" Width="225" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
</Shapes>
|
||||
<Connectors>
|
||||
<Connector ID="DesignRelation:FK_Timbrature_Dipendenti" ZOrder="37" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_Timbrature_Dipendenti" ZOrder="38" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>391</X>
|
||||
@@ -49,7 +50,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_AnagFasi_AnagProgetti" ZOrder="21" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_AnagFasi_AnagProgetti" ZOrder="22" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>1046</X>
|
||||
@@ -61,7 +62,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_RegAttivita_AnagFasi" ZOrder="34" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_RegAttivita_AnagFasi" ZOrder="35" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>871</X>
|
||||
@@ -77,7 +78,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_RegAttivita_Dipendenti" ZOrder="33" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_RegAttivita_Dipendenti" ZOrder="34" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>585</X>
|
||||
@@ -89,7 +90,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_Dipendenti_AnagOrari" ZOrder="32" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_Dipendenti_AnagOrari" ZOrder="33" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>332</X>
|
||||
@@ -101,7 +102,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_RilievoTemp_Dipendenti" ZOrder="27" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_RilievoTemp_Dipendenti" ZOrder="28" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>285</X>
|
||||
@@ -113,7 +114,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_Dipendenti_AnagGruppi" ZOrder="19" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_Dipendenti_AnagGruppi" ZOrder="20" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>286</X>
|
||||
@@ -129,7 +130,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_Dipendenti_AnagGruppi1" ZOrder="16" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_Dipendenti_AnagGruppi1" ZOrder="17" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>428</X>
|
||||
|
||||
@@ -27,6 +27,7 @@ namespace GPW_data
|
||||
public static DataProxy DP = new DataProxy();
|
||||
|
||||
public DS_ApplicazioneTableAdapters.AnagFasiTableAdapter taAF;
|
||||
public DS_ApplicazioneTableAdapters.AnagTagFasiTableAdapter taATF;
|
||||
public DS_UtilityTableAdapters.AnagKeyValueTableAdapter taAKV;
|
||||
public DS_ApplicazioneTableAdapters.AnagDevicesTableAdapter taAnagDev;
|
||||
public DS_ApplicazioneTableAdapters.AnagClientiTableAdapter taAnCli;
|
||||
@@ -192,6 +193,7 @@ namespace GPW_data
|
||||
taDip2Ruoli = new DS_ApplicazioneTableAdapters.Dipendenti2RuoliTableAdapter();
|
||||
taAP = new DS_ApplicazioneTableAdapters.AnagProgettiTableAdapter();
|
||||
taAF = new DS_ApplicazioneTableAdapters.AnagFasiTableAdapter();
|
||||
taATF = new DS_ApplicazioneTableAdapters.AnagTagFasiTableAdapter();
|
||||
taLCU = new DS_ApplicazioneTableAdapters.v_logCommUtTableAdapter();
|
||||
taRA = new DS_ApplicazioneTableAdapters.RegAttivitaTableAdapter();
|
||||
taRAExpl = new DS_ApplicazioneTableAdapters.regAttDayExplTableAdapter();
|
||||
@@ -233,6 +235,7 @@ namespace GPW_data
|
||||
taDip2Ruoli.Connection.ConnectionString = connGPW;
|
||||
taAP.Connection.ConnectionString = connGPW;
|
||||
taAF.Connection.ConnectionString = connGPW;
|
||||
taATF.Connection.ConnectionString = connGPW;
|
||||
taLCU.Connection.ConnectionString = connGPW;
|
||||
taRA.Connection.ConnectionString = connGPW;
|
||||
taRAExpl.Connection.ConnectionString = connGPW;
|
||||
|
||||
Generated
+6
-5
@@ -33,14 +33,15 @@ namespace GPW_data.Properties {
|
||||
return ((string)(this["ETS_GPWConnectionString"]));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[global::System.Configuration.ApplicationScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("Data Source=SQLSTEAM;Initial Catalog=GPW;Persist Security Info=True;User ID=sa;Pa" +
|
||||
"ssword=keyhammer")]
|
||||
public string GPWConnectionString {
|
||||
get {
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("Data Source=W2019-SQL-STEAM;Initial Catalog=GPW;Persist Security Info=True;User ID=sa;Password=keyhammer16;TrustServerCertificate=True")]
|
||||
public string GPWConnectionString
|
||||
{
|
||||
get
|
||||
{
|
||||
return ((string)(this["GPWConnectionString"]));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,21 +2,21 @@
|
||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="GPW_data.Properties" GeneratedClassName="Settings">
|
||||
<Profiles />
|
||||
<Settings>
|
||||
<Setting Name="GPWConnectionString" Type="(Connection string)" Scope="Application">
|
||||
<DesignTimeValue Profile="(Default)"><?xml version="1.0" encoding="utf-16"?>
|
||||
<SerializableConnectionString xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<ConnectionString>Data Source=W2019-SQL-STEAM;Initial Catalog=GPW;Persist Security Info=True;User ID=sa;Password=keyhammer16;TrustServerCertificate=True</ConnectionString>
|
||||
<ProviderName>System.Data.SqlClient</ProviderName>
|
||||
</SerializableConnectionString></DesignTimeValue>
|
||||
<Value Profile="(Default)">Data Source=W2019-SQL-STEAM;Initial Catalog=GPW;Persist Security Info=True;User ID=sa;Password=keyhammer16;TrustServerCertificate=True</Value>
|
||||
</Setting>
|
||||
<Setting Name="ETS_GPWConnectionString" Type="(Connection string)" Scope="Application">
|
||||
<DesignTimeValue Profile="(Default)"><?xml version="1.0" encoding="utf-16"?>
|
||||
<SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<SerializableConnectionString xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<ConnectionString>Data Source=10.74.82.217\SQL2008R2;Initial Catalog=ETS_GPW;Persist Security Info=True;User ID=sa;Password=keyhammer</ConnectionString>
|
||||
<ProviderName>System.Data.SqlClient</ProviderName>
|
||||
</SerializableConnectionString></DesignTimeValue>
|
||||
<Value Profile="(Default)">Data Source=10.74.82.217\SQL2008R2;Initial Catalog=ETS_GPW;Persist Security Info=True;User ID=sa;Password=keyhammer</Value>
|
||||
</Setting>
|
||||
<Setting Name="GPWConnectionString" Type="(Connection string)" Scope="Application">
|
||||
<DesignTimeValue Profile="(Default)"><?xml version="1.0" encoding="utf-16"?>
|
||||
<SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<ConnectionString>Data Source=SQLSTEAM;Initial Catalog=GPW;Persist Security Info=True;User ID=sa;Password=keyhammer</ConnectionString>
|
||||
<ProviderName>System.Data.SqlClient</ProviderName>
|
||||
</SerializableConnectionString></DesignTimeValue>
|
||||
<Value Profile="(Default)">Data Source=SQLSTEAM;Initial Catalog=GPW;Persist Security Info=True;User ID=sa;Password=keyhammer</Value>
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
||||
+6
-2
@@ -3,8 +3,12 @@
|
||||
<configSections>
|
||||
</configSections>
|
||||
<connectionStrings>
|
||||
<add name="GPW_data.Properties.Settings.GPWConnectionString" connectionString="Data Source=SQLSTEAM;Initial Catalog=GPW;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" />
|
||||
<add name="GPW_data.Properties.Settings.ETS_GPWConnectionString" connectionString="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=ETS_GPW;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" />
|
||||
<add name="GPW_data.Properties.Settings.GPWConnectionString"
|
||||
connectionString="Data Source=W2019-SQL-STEAM;Initial Catalog=GPW;Persist Security Info=True;User ID=sa;Password=keyhammer16;TrustServerCertificate=True"
|
||||
providerName="System.Data.SqlClient" />
|
||||
<add name="GPW_data.Properties.Settings.ETS_GPWConnectionString"
|
||||
connectionString="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=ETS_GPW;Persist Security Info=True;User ID=sa;Password=keyhammer"
|
||||
providerName="System.Data.SqlClient" />
|
||||
</connectionStrings>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
|
||||
|
||||
Reference in New Issue
Block a user