diff --git a/GMW/GMW/GMW.csproj b/GMW/GMW/GMW.csproj index c8f31803..0f50dd20 100644 --- a/GMW/GMW/GMW.csproj +++ b/GMW/GMW/GMW.csproj @@ -77,10 +77,11 @@ + - + diff --git a/GMW/GMW/Type/ArtInProd.cs b/GMW/GMW/Type/ArtInProd.cs index cac525e9..6b4ceffc 100644 --- a/GMW/GMW/Type/ArtInProd.cs +++ b/GMW/GMW/Type/ArtInProd.cs @@ -38,14 +38,6 @@ namespace GMW.Type /// public string CodImpianto { get; set; } /// - /// Codice Stampo - /// - public string CodStampo { get; set; } - /// - /// Numero di stampate - /// - public decimal NumStampate { get; set; } - /// /// Data Inizio produzione /// public DateTime DataInizio { get; set; } @@ -54,6 +46,10 @@ namespace GMW.Type /// public string TurnoInizio { get; set; } /// + /// Codice Stampo + /// + public string CodStampo { get; set; } + /// /// Inizio validità stampo /// public DateTime InizioValid { get; set; } @@ -62,6 +58,10 @@ namespace GMW.Type /// public DateTime? FineValid { get; set; } /// + /// Numero di stampate + /// + public decimal NumStampate { get; set; } + /// /// Numero di figure /// public decimal NumFigure { get; set; } diff --git a/GMW/GMW/Type/Cartellino.cs b/GMW/GMW/Type/Cartellino.cs index 49c275f0..c580e4c7 100644 --- a/GMW/GMW/Type/Cartellino.cs +++ b/GMW/GMW/Type/Cartellino.cs @@ -33,6 +33,7 @@ namespace GMW.Type TurnoFus = riga.TurnoFus; CodImballo = riga.CodImballo; CodSoggetto = riga.CodSoggetto; + NomeSoggetto = riga.CodSoggetto; // !!! correggere NumCont = riga.NumCont; Tara = riga.Tara; Qta = riga.Qta; @@ -109,6 +110,10 @@ namespace GMW.Type /// public string CodSoggetto { get; set; } /// + /// Cognome-nome operatore della dichiarazione + /// + public string NomeSoggetto { get; set; } + /// /// Numero contenitore (PROGRESSIVO) /// public int NumCont { get; set; } @@ -167,6 +172,7 @@ namespace GMW.Type TurnoFus = riga.TurnoFus; CodImballo = riga.CodImballo; CodSoggetto = riga.CodSoggetto; + NomeSoggetto = riga.CodSoggetto; // !!! correggere NumCont = riga.NumCont; Tara = riga.Tara; Qta = riga.Qta; diff --git a/GMW/GMW/Type/Cliente.cs b/GMW/GMW/Type/Cliente.cs new file mode 100644 index 00000000..70a37c43 --- /dev/null +++ b/GMW/GMW/Type/Cliente.cs @@ -0,0 +1,37 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using GMW_data; + +namespace GMW.Type +{ + public class Cliente + { + public Cliente() + { + } + public Cliente(DS_Applicazione.AnagClientiRow riga) + { + CodCliente = riga.CodCliente; + RagSociale= riga.RagSociale; + } + /// + /// Codice Cliente + /// + public string CodCliente { get; set; } + /// + /// Ragione sociale del cliente + /// + public string RagSociale { get; set; } + /// + /// inizializza a partire da una riga cliente tipizzata + /// + /// + public void setFromTabRow(DS_Applicazione.AnagClientiRow riga) + { + CodCliente = riga.CodCliente; + RagSociale = riga.RagSociale; + } + } +} diff --git a/GMW/GMW/Type/Operatore.cs b/GMW/GMW/Type/Operatore.cs new file mode 100644 index 00000000..2669b60b --- /dev/null +++ b/GMW/GMW/Type/Operatore.cs @@ -0,0 +1,82 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using GMW_data; + +namespace GMW.Type +{ + public class Operatore + { + public Operatore() + { + } + + public Operatore(DS_Applicazione.AnagOperatoriRow riga) + { + CodCS = riga.CodCS; + CodSoggetto = riga.CodSoggetto; + CodDipendente = riga.CodDipendente; + CodAziendaOp = riga.CodAziendaOp; + DescAziendaOp = riga.DescAziendaOp; + CodFilialeOp = riga.CodFilialeOp; + DescFilialeOp = riga.DescFilialeOp; + Cognome = riga.Cognome; + Nome = riga.Nome; + } + + /// + /// Codice Company/Sito + /// + public string CodCS { get; set; } + /// + /// Codice soggetto + /// + public string CodSoggetto { get; set; } + /// + /// Codice Dipendente + /// + public string CodDipendente { get; set; } + /// + /// Codice azienda operatore + /// + public string CodAziendaOp { get; set; } + /// + /// descrizione azienda operatore + /// + public string DescAziendaOp { get; set; } + /// + /// Codice filiale operatore + /// + public string CodFilialeOp { get; set; } + /// + /// descrizione filiale operatore + /// + public string DescFilialeOp { get; set; } + /// + /// Cognome operatore + /// + public string Cognome { get; set; } + /// + /// Nome operatore + /// + public string Nome { get; set; } + + /// + /// inizializza a partire da una riga operatore tipizzata + /// + /// + public void setFromTabRow(DS_Applicazione.AnagOperatoriRow riga) + { + CodCS = riga.CodCS; + CodSoggetto = riga.CodSoggetto; + CodDipendente = riga.CodDipendente; + CodAziendaOp = riga.CodAziendaOp; + DescAziendaOp = riga.DescAziendaOp; + CodFilialeOp = riga.CodFilialeOp; + DescFilialeOp = riga.DescFilialeOp; + Cognome = riga.Cognome; + Nome = riga.Nome; + } + } +} diff --git a/GMW/GMW/Type/Prodotto.cs b/GMW/GMW/Type/Prodotto.cs deleted file mode 100644 index 360f10d2..00000000 --- a/GMW/GMW/Type/Prodotto.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; - -namespace GMW.Type -{ - public class Prodotto - { - } -} diff --git a/GMW/GMW/Type/elenchi.cs b/GMW/GMW/Type/elenchi.cs index 9d1f6e43..8bce133e 100644 --- a/GMW/GMW/Type/elenchi.cs +++ b/GMW/GMW/Type/elenchi.cs @@ -257,7 +257,7 @@ namespace GMW.Type protected Cartellino[] _elencoCartellini; /// - /// legge una tab di tipo TabStatoOdpUdc e la converte ad un array di tipo UDC[] + /// legge una tab di tipo elencoCartellini e la converte ad un array di tipo cartellini[] /// /// public void caricaCartellini(DS_Applicazione.ElencoCartelliniDataTable tabArt2Imp) @@ -274,7 +274,7 @@ namespace GMW.Type } } /// - /// Elenco UDC + /// Elenco cartellini /// public Cartellino[] elencoCartellini { @@ -286,5 +286,72 @@ namespace GMW.Type #endregion + #region area Clienti + + protected Cliente[] _elencoClienti; + + /// + /// legge una tab di tipo anagClienti e la converte ad un array di tipo clienti[] + /// + /// + public void caricaClienti(DS_Applicazione.AnagClientiDataTable tabArt2Imp) + { + // conto quanti elementi ha la tab x inizializzare l'array... + int numRighe = tabArt2Imp.Rows.Count; + _elencoClienti = new Cliente[numRighe]; + // prendo un obj impianto da valorizzare di volta in volta... + Cliente obj; + for (int i = 0; i < numRighe; i++) + { + obj = new Cliente(tabArt2Imp[i]); + _elencoClienti[i] = obj; + } + } + /// + /// Elenco clienti + /// + public Cliente[] elencoClienti + { + get + { + return _elencoClienti; + } + } + + #endregion + + #region area Operatori + + protected Operatore[] _elencoOperatori; + + /// + /// legge una tab di tipo anagOperatori e la converte ad un array di tipo operatori[] + /// + /// + public void caricaOperatori(DS_Applicazione.AnagOperatoriDataTable tabArt2Imp) + { + // conto quanti elementi ha la tab x inizializzare l'array... + int numRighe = tabArt2Imp.Rows.Count; + _elencoOperatori = new Operatore[numRighe]; + // prendo un obj impianto da valorizzare di volta in volta... + Operatore obj; + for (int i = 0; i < numRighe; i++) + { + obj = new Operatore(tabArt2Imp[i]); + _elencoOperatori[i] = obj; + } + } + /// + /// Elenco Operatori + /// + public Operatore[] elencoOperatori + { + get + { + return _elencoOperatori; + } + } + + #endregion } } diff --git a/GMW/GMW/WS/bilance.asmx.cs b/GMW/GMW/WS/bilance.asmx.cs index 73c48fc4..2ccf56ca 100644 --- a/GMW/GMW/WS/bilance.asmx.cs +++ b/GMW/GMW/WS/bilance.asmx.cs @@ -13,7 +13,7 @@ namespace GMW.WS /// /// WebService per gestioen sw bilance /// - [WebService(Namespace = "http://www.steamware.net/", Description = "Web Services che funziona da collettore di tutte le richieste delle applicazioni per le bilance integrate a GMW v.1.0.15")] + [WebService(Namespace = "http://www.steamware.net/", Description = "Web Services che funziona da collettore di tutte le richieste delle applicazioni per le bilance integrate a GMW v.1.0.32")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [System.ComponentModel.ToolboxItem(false)] public class bilance : System.Web.Services.WebService @@ -46,18 +46,26 @@ namespace GMW.WS gestEl.caricaCompanySito(DataProxy.obj.taAnagCS.GetData()); return gestEl.elencoCompanySito; } -#if false /// - /// fornisce l'anagrafica articoli + /// fornisce l'anagrafica clienti /// - [WebMethod(Description = "Elenco anagrafico articoli")] - public GMW.Type.Articolo[] ElencoArticoli() + [WebMethod(Description = "Elenco anagrafico clienti")] + public GMW.Type.Cliente[] ElencoClienti() { - gestEl.caricaArticoli(DataProxy.obj.taAnagArt.GetData()); - return gestEl.elencoArticoli; + gestEl.caricaClienti(DataProxy.obj.taAnagClienti.GetData()); + return gestEl.elencoClienti; + } + /// + /// fornisce l'anagrafica operatori + /// + [WebMethod(Description = "Elenco anagrafico operatori")] + public GMW.Type.Operatore[] ElencoOperatori() + { + + gestEl.caricaOperatori(DataProxy.obj.taAnagOperatore.GetData()); + return gestEl.elencoOperatori; } -#endif /// /// Fornisce l'elenco dei tipi di dichiarazione ammessi /// @@ -108,7 +116,6 @@ namespace GMW.WS gestEl.caricaBilance(DataProxy.obj.taAnagBil.GetData()); return gestEl.elencoBilance; } -#if false /// /// fornisce l'anagrafica bilance dati codice company e sito /// @@ -117,22 +124,9 @@ namespace GMW.WS [WebMethod(Description = "Elenco anagrafico Bilance dati codice company e sito")] public GMW.Type.Bilancia[] ElencoBilanceByCompanySito(string CodCS) { - gestEl.caricaBilance(DataProxy.obj.taAnagBil.getByCompanySito(CodCompany, CodSito)); + gestEl.caricaBilance(DataProxy.obj.taAnagBil.stp_getByCodCS(CodCS)); return gestEl.elencoBilance; } -#endif -#if false - /// - /// fornisce l'elenco di impianti ed articoli attualmente in produzione (per codice anagrafico) - /// - [WebMethod(Description = "Elenco impianti ed articoli attualmente in produzione (per codice anagrafico)")] - public GMW.Type.ArtInProd[] ElencoArtInProd() - { - gestEl.caricaArtInProd(DataProxy.obj.taArtInProd.GetData()); - return gestEl.elencoArtInProd; - } - -#endif #endregion diff --git a/GMW/GMW/bin/GMW.dll b/GMW/GMW/bin/GMW.dll index 147d8bd8..9edce19c 100644 Binary files a/GMW/GMW/bin/GMW.dll and b/GMW/GMW/bin/GMW.dll differ diff --git a/GMW/GMW/bin/GMW_data.dll b/GMW/GMW/bin/GMW_data.dll index c88dbea2..abe4b49d 100644 Binary files a/GMW/GMW/bin/GMW_data.dll and b/GMW/GMW/bin/GMW_data.dll differ diff --git a/GMW/GMW/bin/SteamWare.dll b/GMW/GMW/bin/SteamWare.dll index 6980cf83..2a90c2c0 100644 Binary files a/GMW/GMW/bin/SteamWare.dll and b/GMW/GMW/bin/SteamWare.dll differ diff --git a/GMW/GMW/obj/Debug/GMW.dll b/GMW/GMW/obj/Debug/GMW.dll index 0356dddd..9edce19c 100644 Binary files a/GMW/GMW/obj/Debug/GMW.dll and b/GMW/GMW/obj/Debug/GMW.dll differ diff --git a/GMW/GMW/obj/Debug/ResolveAssemblyReference.cache b/GMW/GMW/obj/Debug/ResolveAssemblyReference.cache index 6214e8bd..19d614a2 100644 Binary files a/GMW/GMW/obj/Debug/ResolveAssemblyReference.cache and b/GMW/GMW/obj/Debug/ResolveAssemblyReference.cache differ diff --git a/GMW/GMW_data/DS_Applicazione.Designer.cs b/GMW/GMW_data/DS_Applicazione.Designer.cs index 94c237d5..61560932 100644 --- a/GMW/GMW_data/DS_Applicazione.Designer.cs +++ b/GMW/GMW_data/DS_Applicazione.Designer.cs @@ -51,6 +51,10 @@ namespace GMW_data { private v_ArtInProdDataTable tablev_ArtInProd; + private AnagOperatoriDataTable tableAnagOperatori; + + private AnagClientiDataTable tableAnagClienti; + private global::System.Data.DataRelation relationFK_Impianti2Articoli_AnagArticoli1; private global::System.Data.DataRelation relationFK_StoricoEventi_AnagTipoDichiaraz; @@ -63,6 +67,8 @@ namespace GMW_data { private global::System.Data.DataRelation relationFK_ElencoCartellini_AnagStatiProdotto; + private global::System.Data.DataRelation relationFK_AnagOperatori_AnagCompanySito; + private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -128,6 +134,12 @@ namespace GMW_data { if ((ds.Tables["v_ArtInProd"] != null)) { base.Tables.Add(new v_ArtInProdDataTable(ds.Tables["v_ArtInProd"])); } + if ((ds.Tables["AnagOperatori"] != null)) { + base.Tables.Add(new AnagOperatoriDataTable(ds.Tables["AnagOperatori"])); + } + if ((ds.Tables["AnagClienti"] != null)) { + base.Tables.Add(new AnagClientiDataTable(ds.Tables["AnagClienti"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -263,6 +275,24 @@ namespace GMW_data { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagOperatoriDataTable AnagOperatori { + get { + return this.tableAnagOperatori; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public AnagClientiDataTable AnagClienti { + get { + return this.tableAnagClienti; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.BrowsableAttribute(true)] [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)] @@ -361,6 +391,12 @@ namespace GMW_data { if ((ds.Tables["v_ArtInProd"] != null)) { base.Tables.Add(new v_ArtInProdDataTable(ds.Tables["v_ArtInProd"])); } + if ((ds.Tables["AnagOperatori"] != null)) { + base.Tables.Add(new AnagOperatoriDataTable(ds.Tables["AnagOperatori"])); + } + if ((ds.Tables["AnagClienti"] != null)) { + base.Tables.Add(new AnagClientiDataTable(ds.Tables["AnagClienti"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -469,12 +505,25 @@ namespace GMW_data { this.tablev_ArtInProd.InitVars(); } } + this.tableAnagOperatori = ((AnagOperatoriDataTable)(base.Tables["AnagOperatori"])); + if ((initTable == true)) { + if ((this.tableAnagOperatori != null)) { + this.tableAnagOperatori.InitVars(); + } + } + this.tableAnagClienti = ((AnagClientiDataTable)(base.Tables["AnagClienti"])); + if ((initTable == true)) { + if ((this.tableAnagClienti != null)) { + this.tableAnagClienti.InitVars(); + } + } this.relationFK_Impianti2Articoli_AnagArticoli1 = this.Relations["FK_Impianti2Articoli_AnagArticoli1"]; this.relationFK_StoricoEventi_AnagTipoDichiaraz = this.Relations["FK_StoricoEventi_AnagTipoDichiaraz"]; this.relationFK_Impianti2Articoli_AnagImpianti = this.Relations["FK_Impianti2Articoli_AnagImpianti"]; this.relationFK_AnagImpianti_AnagCompanySito = this.Relations["FK_AnagImpianti_AnagCompanySito"]; this.relationFK_ElencoCartellini_AnagCompanySito = this.Relations["FK_ElencoCartellini_AnagCompanySito"]; this.relationFK_ElencoCartellini_AnagStatiProdotto = this.Relations["FK_ElencoCartellini_AnagStatiProdotto"]; + this.relationFK_AnagOperatori_AnagCompanySito = this.Relations["FK_AnagOperatori_AnagCompanySito"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -510,6 +559,10 @@ namespace GMW_data { base.Tables.Add(this.tableAnagImballi); this.tablev_ArtInProd = new v_ArtInProdDataTable(); base.Tables.Add(this.tablev_ArtInProd); + this.tableAnagOperatori = new AnagOperatoriDataTable(); + base.Tables.Add(this.tableAnagOperatori); + this.tableAnagClienti = new AnagClientiDataTable(); + base.Tables.Add(this.tableAnagClienti); this.relationFK_Impianti2Articoli_AnagArticoli1 = new global::System.Data.DataRelation("FK_Impianti2Articoli_AnagArticoli1", new global::System.Data.DataColumn[] { this.tableAnagArticoli.ParticolareColumn}, new global::System.Data.DataColumn[] { this.tableImpianti2Articoli.ParticolareColumn}, false); @@ -534,6 +587,10 @@ namespace GMW_data { this.tableAnagStatiProdotto.CodStatoColumn}, new global::System.Data.DataColumn[] { this.tableElencoCartellini.CodStatoColumn}, false); this.Relations.Add(this.relationFK_ElencoCartellini_AnagStatiProdotto); + this.relationFK_AnagOperatori_AnagCompanySito = new global::System.Data.DataRelation("FK_AnagOperatori_AnagCompanySito", new global::System.Data.DataColumn[] { + this.tableAnagCompanySito.CodCSColumn}, new global::System.Data.DataColumn[] { + this.tableAnagOperatori.CodCSColumn}, false); + this.Relations.Add(this.relationFK_AnagOperatori_AnagCompanySito); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -601,6 +658,16 @@ namespace GMW_data { return false; } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializeAnagOperatori() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializeAnagClienti() { + return false; + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) { @@ -680,6 +747,10 @@ namespace GMW_data { public delegate void v_ArtInProdRowChangeEventHandler(object sender, v_ArtInProdRowChangeEvent e); + public delegate void AnagOperatoriRowChangeEventHandler(object sender, AnagOperatoriRowChangeEvent e); + + public delegate void AnagClientiRowChangeEventHandler(object sender, AnagClientiRowChangeEvent e); + /// ///Represents the strongly named DataTable class. /// @@ -4907,6 +4978,609 @@ namespace GMW_data { } } + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AnagOperatoriDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodSoggetto; + + private global::System.Data.DataColumn columnCodCS; + + private global::System.Data.DataColumn columnCodDipendente; + + private global::System.Data.DataColumn columnCodAziendaOp; + + private global::System.Data.DataColumn columnDescAziendaOp; + + private global::System.Data.DataColumn columnCodFilialeOp; + + private global::System.Data.DataColumn columnDescFilialeOp; + + private global::System.Data.DataColumn columnCognome; + + private global::System.Data.DataColumn columnNome; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagOperatoriDataTable() { + this.TableName = "AnagOperatori"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal AnagOperatoriDataTable(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()] + protected AnagOperatoriDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn CodSoggettoColumn { + get { + return this.columnCodSoggetto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn CodCSColumn { + get { + return this.columnCodCS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn CodDipendenteColumn { + get { + return this.columnCodDipendente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn CodAziendaOpColumn { + get { + return this.columnCodAziendaOp; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn DescAziendaOpColumn { + get { + return this.columnDescAziendaOp; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn CodFilialeOpColumn { + get { + return this.columnCodFilialeOp; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn DescFilialeOpColumn { + get { + return this.columnDescFilialeOp; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn CognomeColumn { + get { + return this.columnCognome; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn NomeColumn { + get { + return this.columnNome; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagOperatoriRow this[int index] { + get { + return ((AnagOperatoriRow)(this.Rows[index])); + } + } + + public event AnagOperatoriRowChangeEventHandler AnagOperatoriRowChanging; + + public event AnagOperatoriRowChangeEventHandler AnagOperatoriRowChanged; + + public event AnagOperatoriRowChangeEventHandler AnagOperatoriRowDeleting; + + public event AnagOperatoriRowChangeEventHandler AnagOperatoriRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void AddAnagOperatoriRow(AnagOperatoriRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagOperatoriRow AddAnagOperatoriRow(string CodSoggetto, AnagCompanySitoRow parentAnagCompanySitoRowByFK_AnagOperatori_AnagCompanySito, string CodDipendente, string CodAziendaOp, string DescAziendaOp, string CodFilialeOp, string DescFilialeOp, string Cognome, string Nome) { + AnagOperatoriRow rowAnagOperatoriRow = ((AnagOperatoriRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodSoggetto, + null, + CodDipendente, + CodAziendaOp, + DescAziendaOp, + CodFilialeOp, + DescFilialeOp, + Cognome, + Nome}; + if ((parentAnagCompanySitoRowByFK_AnagOperatori_AnagCompanySito != null)) { + columnValuesArray[1] = parentAnagCompanySitoRowByFK_AnagOperatori_AnagCompanySito[0]; + } + rowAnagOperatoriRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagOperatoriRow); + return rowAnagOperatoriRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagOperatoriRow FindByCodSoggetto(string CodSoggetto) { + return ((AnagOperatoriRow)(this.Rows.Find(new object[] { + CodSoggetto}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + AnagOperatoriDataTable cln = ((AnagOperatoriDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new AnagOperatoriDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnCodSoggetto = base.Columns["CodSoggetto"]; + this.columnCodCS = base.Columns["CodCS"]; + this.columnCodDipendente = base.Columns["CodDipendente"]; + this.columnCodAziendaOp = base.Columns["CodAziendaOp"]; + this.columnDescAziendaOp = base.Columns["DescAziendaOp"]; + this.columnCodFilialeOp = base.Columns["CodFilialeOp"]; + this.columnDescFilialeOp = base.Columns["DescFilialeOp"]; + this.columnCognome = base.Columns["Cognome"]; + this.columnNome = base.Columns["Nome"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnCodSoggetto = new global::System.Data.DataColumn("CodSoggetto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodSoggetto); + this.columnCodCS = new global::System.Data.DataColumn("CodCS", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCS); + this.columnCodDipendente = new global::System.Data.DataColumn("CodDipendente", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodDipendente); + this.columnCodAziendaOp = new global::System.Data.DataColumn("CodAziendaOp", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodAziendaOp); + this.columnDescAziendaOp = new global::System.Data.DataColumn("DescAziendaOp", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescAziendaOp); + this.columnCodFilialeOp = new global::System.Data.DataColumn("CodFilialeOp", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodFilialeOp); + this.columnDescFilialeOp = new global::System.Data.DataColumn("DescFilialeOp", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescFilialeOp); + this.columnCognome = new global::System.Data.DataColumn("Cognome", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCognome); + this.columnNome = new global::System.Data.DataColumn("Nome", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNome); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodSoggetto}, true)); + this.columnCodSoggetto.AllowDBNull = false; + this.columnCodSoggetto.Unique = true; + this.columnCodSoggetto.MaxLength = 16; + this.columnCodCS.AllowDBNull = false; + this.columnCodCS.MaxLength = 2; + this.columnCodDipendente.MaxLength = 7; + this.columnCodAziendaOp.AllowDBNull = false; + this.columnCodAziendaOp.MaxLength = 6; + this.columnDescAziendaOp.MaxLength = 40; + this.columnCodFilialeOp.AllowDBNull = false; + this.columnCodFilialeOp.MaxLength = 10; + this.columnDescFilialeOp.MaxLength = 40; + this.columnCognome.AllowDBNull = false; + this.columnCognome.MaxLength = 40; + this.columnNome.AllowDBNull = false; + this.columnNome.MaxLength = 40; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagOperatoriRow NewAnagOperatoriRow() { + return ((AnagOperatoriRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagOperatoriRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(AnagOperatoriRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AnagOperatoriRowChanged != null)) { + this.AnagOperatoriRowChanged(this, new AnagOperatoriRowChangeEvent(((AnagOperatoriRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AnagOperatoriRowChanging != null)) { + this.AnagOperatoriRowChanging(this, new AnagOperatoriRowChangeEvent(((AnagOperatoriRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AnagOperatoriRowDeleted != null)) { + this.AnagOperatoriRowDeleted(this, new AnagOperatoriRowChangeEvent(((AnagOperatoriRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AnagOperatoriRowDeleting != null)) { + this.AnagOperatoriRowDeleting(this, new AnagOperatoriRowChangeEvent(((AnagOperatoriRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void RemoveAnagOperatoriRow(AnagOperatoriRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 = "AnagOperatoriDataTable"; + 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; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class AnagClientiDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnCodCliente; + + private global::System.Data.DataColumn columnRagSociale; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagClientiDataTable() { + this.TableName = "AnagClienti"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal AnagClientiDataTable(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()] + protected AnagClientiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn CodClienteColumn { + get { + return this.columnCodCliente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn RagSocialeColumn { + get { + return this.columnRagSociale; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagClientiRow this[int index] { + get { + return ((AnagClientiRow)(this.Rows[index])); + } + } + + public event AnagClientiRowChangeEventHandler AnagClientiRowChanging; + + public event AnagClientiRowChangeEventHandler AnagClientiRowChanged; + + public event AnagClientiRowChangeEventHandler AnagClientiRowDeleting; + + public event AnagClientiRowChangeEventHandler AnagClientiRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void AddAnagClientiRow(AnagClientiRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagClientiRow AddAnagClientiRow(string CodCliente, string RagSociale) { + AnagClientiRow rowAnagClientiRow = ((AnagClientiRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + CodCliente, + RagSociale}; + rowAnagClientiRow.ItemArray = columnValuesArray; + this.Rows.Add(rowAnagClientiRow); + return rowAnagClientiRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagClientiRow FindByCodCliente(string CodCliente) { + return ((AnagClientiRow)(this.Rows.Find(new object[] { + CodCliente}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + AnagClientiDataTable cln = ((AnagClientiDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new AnagClientiDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnCodCliente = base.Columns["CodCliente"]; + this.columnRagSociale = base.Columns["RagSociale"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnCodCliente = new global::System.Data.DataColumn("CodCliente", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCliente); + this.columnRagSociale = new global::System.Data.DataColumn("RagSociale", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnRagSociale); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCodCliente}, true)); + this.columnCodCliente.AllowDBNull = false; + this.columnCodCliente.Unique = true; + this.columnCodCliente.MaxLength = 6; + this.columnRagSociale.AllowDBNull = false; + this.columnRagSociale.MaxLength = 35; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagClientiRow NewAnagClientiRow() { + return ((AnagClientiRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new AnagClientiRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(AnagClientiRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.AnagClientiRowChanged != null)) { + this.AnagClientiRowChanged(this, new AnagClientiRowChangeEvent(((AnagClientiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.AnagClientiRowChanging != null)) { + this.AnagClientiRowChanging(this, new AnagClientiRowChangeEvent(((AnagClientiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.AnagClientiRowDeleted != null)) { + this.AnagClientiRowDeleted(this, new AnagClientiRowChangeEvent(((AnagClientiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.AnagClientiRowDeleting != null)) { + this.AnagClientiRowDeleting(this, new AnagClientiRowChangeEvent(((AnagClientiRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void RemoveAnagClientiRow(AnagClientiRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 = "AnagClientiDataTable"; + 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; + } + } + /// ///Represents strongly named DataRow class. /// @@ -6026,6 +6700,16 @@ namespace GMW_data { return ((ElencoCartelliniRow[])(base.GetChildRows(this.Table.ChildRelations["FK_ElencoCartellini_AnagCompanySito"]))); } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagOperatoriRow[] GetAnagOperatoriRows() { + if ((this.Table.ChildRelations["FK_AnagOperatori_AnagCompanySito"] == null)) { + return new AnagOperatoriRow[0]; + } + else { + return ((AnagOperatoriRow[])(base.GetChildRows(this.Table.ChildRelations["FK_AnagOperatori_AnagCompanySito"]))); + } + } } /// @@ -7198,6 +7882,201 @@ namespace GMW_data { } } + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class AnagOperatoriRow : global::System.Data.DataRow { + + private AnagOperatoriDataTable tableAnagOperatori; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal AnagOperatoriRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAnagOperatori = ((AnagOperatoriDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodSoggetto { + get { + return ((string)(this[this.tableAnagOperatori.CodSoggettoColumn])); + } + set { + this[this.tableAnagOperatori.CodSoggettoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodCS { + get { + return ((string)(this[this.tableAnagOperatori.CodCSColumn])); + } + set { + this[this.tableAnagOperatori.CodCSColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodDipendente { + get { + try { + return ((string)(this[this.tableAnagOperatori.CodDipendenteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodDipendente\' in table \'AnagOperatori\' is DBNull.", e); + } + } + set { + this[this.tableAnagOperatori.CodDipendenteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodAziendaOp { + get { + return ((string)(this[this.tableAnagOperatori.CodAziendaOpColumn])); + } + set { + this[this.tableAnagOperatori.CodAziendaOpColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string DescAziendaOp { + get { + try { + return ((string)(this[this.tableAnagOperatori.DescAziendaOpColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescAziendaOp\' in table \'AnagOperatori\' is DBNull.", e); + } + } + set { + this[this.tableAnagOperatori.DescAziendaOpColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodFilialeOp { + get { + return ((string)(this[this.tableAnagOperatori.CodFilialeOpColumn])); + } + set { + this[this.tableAnagOperatori.CodFilialeOpColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string DescFilialeOp { + get { + try { + return ((string)(this[this.tableAnagOperatori.DescFilialeOpColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescFilialeOp\' in table \'AnagOperatori\' is DBNull.", e); + } + } + set { + this[this.tableAnagOperatori.DescFilialeOpColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string Cognome { + get { + return ((string)(this[this.tableAnagOperatori.CognomeColumn])); + } + set { + this[this.tableAnagOperatori.CognomeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string Nome { + get { + return ((string)(this[this.tableAnagOperatori.NomeColumn])); + } + set { + this[this.tableAnagOperatori.NomeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagCompanySitoRow AnagCompanySitoRow { + get { + return ((AnagCompanySitoRow)(this.GetParentRow(this.Table.ParentRelations["FK_AnagOperatori_AnagCompanySito"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["FK_AnagOperatori_AnagCompanySito"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsCodDipendenteNull() { + return this.IsNull(this.tableAnagOperatori.CodDipendenteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetCodDipendenteNull() { + this[this.tableAnagOperatori.CodDipendenteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsDescAziendaOpNull() { + return this.IsNull(this.tableAnagOperatori.DescAziendaOpColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetDescAziendaOpNull() { + this[this.tableAnagOperatori.DescAziendaOpColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsDescFilialeOpNull() { + return this.IsNull(this.tableAnagOperatori.DescFilialeOpColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetDescFilialeOpNull() { + this[this.tableAnagOperatori.DescFilialeOpColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class AnagClientiRow : global::System.Data.DataRow { + + private AnagClientiDataTable tableAnagClienti; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal AnagClientiRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableAnagClienti = ((AnagClientiDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodCliente { + get { + return ((string)(this[this.tableAnagClienti.CodClienteColumn])); + } + set { + this[this.tableAnagClienti.CodClienteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string RagSociale { + get { + return ((string)(this[this.tableAnagClienti.RagSocialeColumn])); + } + set { + this[this.tableAnagClienti.RagSocialeColumn] = value; + } + } + } + /// ///Row event argument class /// @@ -7600,6 +8479,68 @@ namespace GMW_data { } } } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class AnagOperatoriRowChangeEvent : global::System.EventArgs { + + private AnagOperatoriRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagOperatoriRowChangeEvent(AnagOperatoriRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagOperatoriRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class AnagClientiRowChangeEvent : global::System.EventArgs { + + private AnagClientiRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagClientiRowChangeEvent(AnagClientiRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public AnagClientiRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } } } namespace GMW_data.DS_ApplicazioneTableAdapters { @@ -14308,6 +15249,905 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co } } + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class AnagOperatoriTableAdapter : 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()] + public AnagOperatoriTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + 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()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 = "AnagOperatori"; + tableMapping.ColumnMappings.Add("CodSoggetto", "CodSoggetto"); + tableMapping.ColumnMappings.Add("CodCS", "CodCS"); + tableMapping.ColumnMappings.Add("CodDipendente", "CodDipendente"); + tableMapping.ColumnMappings.Add("CodAziendaOp", "CodAziendaOp"); + tableMapping.ColumnMappings.Add("DescAziendaOp", "DescAziendaOp"); + tableMapping.ColumnMappings.Add("CodFilialeOp", "CodFilialeOp"); + tableMapping.ColumnMappings.Add("DescFilialeOp", "DescFilialeOp"); + tableMapping.ColumnMappings.Add("Cognome", "Cognome"); + tableMapping.ColumnMappings.Add("Nome", "Nome"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = @"DELETE FROM [RilPro].[AnagOperatori] WHERE (([CodSoggetto] = @Original_CodSoggetto) AND ([CodCS] = @Original_CodCS) AND ((@IsNull_CodDipendente = 1 AND [CodDipendente] IS NULL) OR ([CodDipendente] = @Original_CodDipendente)) AND ([CodAziendaOp] = @Original_CodAziendaOp) AND ((@IsNull_DescAziendaOp = 1 AND [DescAziendaOp] IS NULL) OR ([DescAziendaOp] = @Original_DescAziendaOp)) AND ([CodFilialeOp] = @Original_CodFilialeOp) AND ((@IsNull_DescFilialeOp = 1 AND [DescFilialeOp] IS NULL) OR ([DescFilialeOp] = @Original_DescFilialeOp)) AND ([Cognome] = @Original_Cognome) AND ([Nome] = @Original_Nome))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSoggetto", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDipendente", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodDipendente", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDipendente", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodAziendaOp", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodAziendaOp", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescAziendaOp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescAziendaOp", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescAziendaOp", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescAziendaOp", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodFilialeOp", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFilialeOp", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescFilialeOp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescFilialeOp", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescFilialeOp", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescFilialeOp", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cognome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cognome", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = @"INSERT INTO [RilPro].[AnagOperatori] ([CodSoggetto], [CodCS], [CodDipendente], [CodAziendaOp], [DescAziendaOp], [CodFilialeOp], [DescFilialeOp], [Cognome], [Nome]) VALUES (@CodSoggetto, @CodCS, @CodDipendente, @CodAziendaOp, @DescAziendaOp, @CodFilialeOp, @DescFilialeOp, @Cognome, @Nome); +SELECT CodSoggetto, CodCS, CodDipendente, CodAziendaOp, DescAziendaOp, CodFilialeOp, DescFilialeOp, Cognome, Nome FROM RilPro.AnagOperatori WHERE (CodSoggetto = @CodSoggetto)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodDipendente", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDipendente", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodAziendaOp", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodAziendaOp", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescAziendaOp", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescAziendaOp", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodFilialeOp", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFilialeOp", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescFilialeOp", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescFilialeOp", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cognome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cognome", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [RilPro].[AnagOperatori] SET [CodSoggetto] = @CodSoggetto, [CodCS] = @CodCS, [CodDipendente] = @CodDipendente, [CodAziendaOp] = @CodAziendaOp, [DescAziendaOp] = @DescAziendaOp, [CodFilialeOp] = @CodFilialeOp, [DescFilialeOp] = @DescFilialeOp, [Cognome] = @Cognome, [Nome] = @Nome WHERE (([CodSoggetto] = @Original_CodSoggetto) AND ([CodCS] = @Original_CodCS) AND ((@IsNull_CodDipendente = 1 AND [CodDipendente] IS NULL) OR ([CodDipendente] = @Original_CodDipendente)) AND ([CodAziendaOp] = @Original_CodAziendaOp) AND ((@IsNull_DescAziendaOp = 1 AND [DescAziendaOp] IS NULL) OR ([DescAziendaOp] = @Original_DescAziendaOp)) AND ([CodFilialeOp] = @Original_CodFilialeOp) AND ((@IsNull_DescFilialeOp = 1 AND [DescFilialeOp] IS NULL) OR ([DescFilialeOp] = @Original_DescFilialeOp)) AND ([Cognome] = @Original_Cognome) AND ([Nome] = @Original_Nome)); +SELECT CodSoggetto, CodCS, CodDipendente, CodAziendaOp, DescAziendaOp, CodFilialeOp, DescFilialeOp, Cognome, Nome FROM RilPro.AnagOperatori WHERE (CodSoggetto = @CodSoggetto)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodDipendente", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDipendente", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodAziendaOp", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodAziendaOp", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescAziendaOp", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescAziendaOp", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodFilialeOp", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFilialeOp", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescFilialeOp", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescFilialeOp", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Cognome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cognome", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodSoggetto", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodSoggetto", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCS", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CodDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDipendente", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodDipendente", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodDipendente", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodAziendaOp", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodAziendaOp", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescAziendaOp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescAziendaOp", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescAziendaOp", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescAziendaOp", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodFilialeOp", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodFilialeOp", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescFilialeOp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescFilialeOp", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescFilialeOp", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescFilialeOp", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Cognome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Cognome", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Nome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Nome", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::GMW_data.Properties.Settings.Default.GMWConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT CodSoggetto, CodCS, CodDipendente, CodAziendaOp, DescAziendaOp, CodFiliale" + + "Op, DescFilialeOp, Cognome, Nome FROM RilPro.AnagOperatori"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Applicazione.AnagOperatoriDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Applicazione.AnagOperatoriDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_Applicazione.AnagOperatoriDataTable dataTable = new DS_Applicazione.AnagOperatoriDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Applicazione.AnagOperatoriDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Applicazione dataSet) { + return this.Adapter.Update(dataSet, "AnagOperatori"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_CodSoggetto, string Original_CodCS, string Original_CodDipendente, string Original_CodAziendaOp, string Original_DescAziendaOp, string Original_CodFilialeOp, string Original_DescFilialeOp, string Original_Cognome, string Original_Nome) { + if ((Original_CodSoggetto == null)) { + throw new global::System.ArgumentNullException("Original_CodSoggetto"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodSoggetto)); + } + if ((Original_CodCS == null)) { + throw new global::System.ArgumentNullException("Original_CodCS"); + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_CodCS)); + } + if ((Original_CodDipendente == null)) { + this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_CodDipendente)); + } + if ((Original_CodAziendaOp == null)) { + throw new global::System.ArgumentNullException("Original_CodAziendaOp"); + } + else { + this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_CodAziendaOp)); + } + if ((Original_DescAziendaOp == null)) { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_DescAziendaOp)); + } + if ((Original_CodFilialeOp == null)) { + throw new global::System.ArgumentNullException("Original_CodFilialeOp"); + } + else { + this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_CodFilialeOp)); + } + if ((Original_DescFilialeOp == null)) { + this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[9].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[9].Value = ((string)(Original_DescFilialeOp)); + } + if ((Original_Cognome == null)) { + throw new global::System.ArgumentNullException("Original_Cognome"); + } + else { + this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_Cognome)); + } + if ((Original_Nome == null)) { + throw new global::System.ArgumentNullException("Original_Nome"); + } + else { + this.Adapter.DeleteCommand.Parameters[11].Value = ((string)(Original_Nome)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodSoggetto, string CodCS, string CodDipendente, string CodAziendaOp, string DescAziendaOp, string CodFilialeOp, string DescFilialeOp, string Cognome, string Nome) { + if ((CodSoggetto == null)) { + throw new global::System.ArgumentNullException("CodSoggetto"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodSoggetto)); + } + if ((CodCS == null)) { + throw new global::System.ArgumentNullException("CodCS"); + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(CodCS)); + } + if ((CodDipendente == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(CodDipendente)); + } + if ((CodAziendaOp == null)) { + throw new global::System.ArgumentNullException("CodAziendaOp"); + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = ((string)(CodAziendaOp)); + } + if ((DescAziendaOp == null)) { + this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = ((string)(DescAziendaOp)); + } + if ((CodFilialeOp == null)) { + throw new global::System.ArgumentNullException("CodFilialeOp"); + } + else { + this.Adapter.InsertCommand.Parameters[5].Value = ((string)(CodFilialeOp)); + } + if ((DescFilialeOp == null)) { + this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[6].Value = ((string)(DescFilialeOp)); + } + if ((Cognome == null)) { + throw new global::System.ArgumentNullException("Cognome"); + } + else { + this.Adapter.InsertCommand.Parameters[7].Value = ((string)(Cognome)); + } + if ((Nome == null)) { + throw new global::System.ArgumentNullException("Nome"); + } + else { + this.Adapter.InsertCommand.Parameters[8].Value = ((string)(Nome)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string CodSoggetto, + string CodCS, + string CodDipendente, + string CodAziendaOp, + string DescAziendaOp, + string CodFilialeOp, + string DescFilialeOp, + string Cognome, + string Nome, + string Original_CodSoggetto, + string Original_CodCS, + string Original_CodDipendente, + string Original_CodAziendaOp, + string Original_DescAziendaOp, + string Original_CodFilialeOp, + string Original_DescFilialeOp, + string Original_Cognome, + string Original_Nome) { + if ((CodSoggetto == null)) { + throw new global::System.ArgumentNullException("CodSoggetto"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodSoggetto)); + } + if ((CodCS == null)) { + throw new global::System.ArgumentNullException("CodCS"); + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(CodCS)); + } + if ((CodDipendente == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(CodDipendente)); + } + if ((CodAziendaOp == null)) { + throw new global::System.ArgumentNullException("CodAziendaOp"); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(CodAziendaOp)); + } + if ((DescAziendaOp == null)) { + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(DescAziendaOp)); + } + if ((CodFilialeOp == null)) { + throw new global::System.ArgumentNullException("CodFilialeOp"); + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(CodFilialeOp)); + } + if ((DescFilialeOp == null)) { + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(DescFilialeOp)); + } + if ((Cognome == null)) { + throw new global::System.ArgumentNullException("Cognome"); + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Cognome)); + } + if ((Nome == null)) { + throw new global::System.ArgumentNullException("Nome"); + } + else { + this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Nome)); + } + if ((Original_CodSoggetto == null)) { + throw new global::System.ArgumentNullException("Original_CodSoggetto"); + } + else { + this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_CodSoggetto)); + } + if ((Original_CodCS == null)) { + throw new global::System.ArgumentNullException("Original_CodCS"); + } + else { + this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_CodCS)); + } + if ((Original_CodDipendente == null)) { + this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_CodDipendente)); + } + if ((Original_CodAziendaOp == null)) { + throw new global::System.ArgumentNullException("Original_CodAziendaOp"); + } + else { + this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_CodAziendaOp)); + } + if ((Original_DescAziendaOp == null)) { + this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_DescAziendaOp)); + } + if ((Original_CodFilialeOp == null)) { + throw new global::System.ArgumentNullException("Original_CodFilialeOp"); + } + else { + this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(Original_CodFilialeOp)); + } + if ((Original_DescFilialeOp == null)) { + this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(Original_DescFilialeOp)); + } + if ((Original_Cognome == null)) { + throw new global::System.ArgumentNullException("Original_Cognome"); + } + else { + this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Original_Cognome)); + } + if ((Original_Nome == null)) { + throw new global::System.ArgumentNullException("Original_Nome"); + } + else { + this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(Original_Nome)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string CodCS, + string CodDipendente, + string CodAziendaOp, + string DescAziendaOp, + string CodFilialeOp, + string DescFilialeOp, + string Cognome, + string Nome, + string Original_CodSoggetto, + string Original_CodCS, + string Original_CodDipendente, + string Original_CodAziendaOp, + string Original_DescAziendaOp, + string Original_CodFilialeOp, + string Original_DescFilialeOp, + string Original_Cognome, + string Original_Nome) { + return this.Update(Original_CodSoggetto, CodCS, CodDipendente, CodAziendaOp, DescAziendaOp, CodFilialeOp, DescFilialeOp, Cognome, Nome, Original_CodSoggetto, Original_CodCS, Original_CodDipendente, Original_CodAziendaOp, Original_DescAziendaOp, Original_CodFilialeOp, Original_DescFilialeOp, Original_Cognome, Original_Nome); + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class AnagClientiTableAdapter : 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()] + public AnagClientiTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + 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()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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 = "AnagClienti"; + tableMapping.ColumnMappings.Add("CodCliente", "CodCliente"); + tableMapping.ColumnMappings.Add("RagSociale", "RagSociale"); + this._adapter.TableMappings.Add(tableMapping); + this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.DeleteCommand.Connection = this.Connection; + this._adapter.DeleteCommand.CommandText = "DELETE FROM [RilPro].[AnagClienti] WHERE (([CodCliente] = @Original_CodCliente) A" + + "ND ([RagSociale] = @Original_RagSociale))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RagSociale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSociale", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.InsertCommand.Connection = this.Connection; + this._adapter.InsertCommand.CommandText = "INSERT INTO [RilPro].[AnagClienti] ([CodCliente], [RagSociale]) VALUES (@CodClien" + + "te, @RagSociale);\r\nSELECT CodCliente, RagSociale FROM RilPro.AnagClienti WHERE (" + + "CodCliente = @CodCliente)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RagSociale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSociale", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); + this._adapter.UpdateCommand.Connection = this.Connection; + this._adapter.UpdateCommand.CommandText = @"UPDATE [RilPro].[AnagClienti] SET [CodCliente] = @CodCliente, [RagSociale] = @RagSociale WHERE (([CodCliente] = @Original_CodCliente) AND ([RagSociale] = @Original_RagSociale)); +SELECT CodCliente, RagSociale FROM RilPro.AnagClienti WHERE (CodCliente = @CodCliente)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RagSociale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSociale", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodCliente", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodCliente", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_RagSociale", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "RagSociale", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::GMW_data.Properties.Settings.Default.GMWConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT CodCliente, RagSociale FROM RilPro.AnagClienti"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Applicazione.AnagClientiDataTable 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.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Applicazione.AnagClientiDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_Applicazione.AnagClientiDataTable dataTable = new DS_Applicazione.AnagClientiDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Applicazione.AnagClientiDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Applicazione dataSet) { + return this.Adapter.Update(dataSet, "AnagClienti"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow dataRow) { + return this.Adapter.Update(new global::System.Data.DataRow[] { + dataRow}); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(global::System.Data.DataRow[] dataRows) { + return this.Adapter.Update(dataRows); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] + public virtual int Delete(string Original_CodCliente, string Original_RagSociale) { + if ((Original_CodCliente == null)) { + throw new global::System.ArgumentNullException("Original_CodCliente"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodCliente)); + } + if ((Original_RagSociale == null)) { + throw new global::System.ArgumentNullException("Original_RagSociale"); + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_RagSociale)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; + if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.DeleteCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.DeleteCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] + public virtual int Insert(string CodCliente, string RagSociale) { + if ((CodCliente == null)) { + throw new global::System.ArgumentNullException("CodCliente"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodCliente)); + } + if ((RagSociale == null)) { + throw new global::System.ArgumentNullException("RagSociale"); + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(RagSociale)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; + if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.InsertCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.InsertCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string CodCliente, string RagSociale, string Original_CodCliente, string Original_RagSociale) { + if ((CodCliente == null)) { + throw new global::System.ArgumentNullException("CodCliente"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodCliente)); + } + if ((RagSociale == null)) { + throw new global::System.ArgumentNullException("RagSociale"); + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(RagSociale)); + } + if ((Original_CodCliente == null)) { + throw new global::System.ArgumentNullException("Original_CodCliente"); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Original_CodCliente)); + } + if ((Original_RagSociale == null)) { + throw new global::System.ArgumentNullException("Original_RagSociale"); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Original_RagSociale)); + } + global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; + if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + this.Adapter.UpdateCommand.Connection.Open(); + } + try { + int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); + return returnValue; + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + this.Adapter.UpdateCommand.Connection.Close(); + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update(string RagSociale, string Original_CodCliente, string Original_RagSociale) { + return this.Update(Original_CodCliente, RagSociale, Original_CodCliente, Original_RagSociale); + } + } + /// ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios /// @@ -14345,6 +16185,10 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co private AnagImballiTableAdapter _anagImballiTableAdapter; + private AnagOperatoriTableAdapter _anagOperatoriTableAdapter; + + private AnagClientiTableAdapter _anagClientiTableAdapter; + private bool _backupDataSetBeforeUpdate; private global::System.Data.IDbConnection _connection; @@ -14515,6 +16359,32 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" + + "", "System.Drawing.Design.UITypeEditor")] + public AnagOperatoriTableAdapter AnagOperatoriTableAdapter { + get { + return this._anagOperatoriTableAdapter; + } + set { + this._anagOperatoriTableAdapter = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + + "ft.VSDesigner, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" + + "", "System.Drawing.Design.UITypeEditor")] + public AnagClientiTableAdapter AnagClientiTableAdapter { + get { + return this._anagClientiTableAdapter; + } + set { + this._anagClientiTableAdapter = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool BackupDataSetBeforeUpdate { get { @@ -14580,6 +16450,14 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co && (this._anagImballiTableAdapter.Connection != null))) { return this._anagImballiTableAdapter.Connection; } + if (((this._anagOperatoriTableAdapter != null) + && (this._anagOperatoriTableAdapter.Connection != null))) { + return this._anagOperatoriTableAdapter.Connection; + } + if (((this._anagClientiTableAdapter != null) + && (this._anagClientiTableAdapter.Connection != null))) { + return this._anagClientiTableAdapter.Connection; + } return null; } set { @@ -14628,6 +16506,12 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co if ((this._anagImballiTableAdapter != null)) { count = (count + 1); } + if ((this._anagOperatoriTableAdapter != null)) { + count = (count + 1); + } + if ((this._anagClientiTableAdapter != null)) { + count = (count + 1); + } return count; } } @@ -14656,6 +16540,15 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co allChangedRows.AddRange(updatedRows); } } + if ((this._anagStatiProdottoTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AnagStatiProdotto.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._anagStatiProdottoTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } if ((this._anagImpiantiTableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.AnagImpianti.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); @@ -14674,24 +16567,6 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co allChangedRows.AddRange(updatedRows); } } - if ((this._anagStatiProdottoTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.AnagStatiProdotto.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._anagStatiProdottoTableAdapter.Update(updatedRows)); - allChangedRows.AddRange(updatedRows); - } - } - if ((this._anagBilanceTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.AnagBilance.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._anagBilanceTableAdapter.Update(updatedRows)); - allChangedRows.AddRange(updatedRows); - } - } if ((this._anagImballiTableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.AnagImballi.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); @@ -14710,6 +16585,33 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co allChangedRows.AddRange(updatedRows); } } + if ((this._anagClientiTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AnagClienti.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._anagClientiTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._anagOperatoriTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AnagOperatori.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._anagOperatoriTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._storicoEventiTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.StoricoEventi.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._storicoEventiTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } if ((this._impianti2ArticoliTableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.Impianti2Articoli.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); @@ -14719,15 +16621,6 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co allChangedRows.AddRange(updatedRows); } } - if ((this._anagStatiTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.AnagStati.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._anagStatiTableAdapter.Update(updatedRows)); - allChangedRows.AddRange(updatedRows); - } - } if ((this._relazUDCTableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.RelazUDC.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); @@ -14737,12 +16630,21 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co allChangedRows.AddRange(updatedRows); } } - if ((this._storicoEventiTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.StoricoEventi.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + if ((this._anagBilanceTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AnagBilance.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); if (((updatedRows != null) && (0 < updatedRows.Length))) { - result = (result + this._storicoEventiTableAdapter.Update(updatedRows)); + result = (result + this._anagBilanceTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } + if ((this._anagStatiTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AnagStati.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._anagStatiTableAdapter.Update(updatedRows)); allChangedRows.AddRange(updatedRows); } } @@ -14771,6 +16673,14 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co allAddedRows.AddRange(addedRows); } } + if ((this._anagStatiProdottoTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AnagStatiProdotto.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._anagStatiProdottoTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } if ((this._anagImpiantiTableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.AnagImpianti.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) @@ -14787,22 +16697,6 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co allAddedRows.AddRange(addedRows); } } - if ((this._anagStatiProdottoTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.AnagStatiProdotto.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._anagStatiProdottoTableAdapter.Update(addedRows)); - allAddedRows.AddRange(addedRows); - } - } - if ((this._anagBilanceTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.AnagBilance.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._anagBilanceTableAdapter.Update(addedRows)); - allAddedRows.AddRange(addedRows); - } - } if ((this._anagImballiTableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.AnagImballi.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) @@ -14819,6 +16713,30 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co allAddedRows.AddRange(addedRows); } } + if ((this._anagClientiTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AnagClienti.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._anagClientiTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._anagOperatoriTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AnagOperatori.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._anagOperatoriTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._storicoEventiTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.StoricoEventi.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._storicoEventiTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } if ((this._impianti2ArticoliTableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.Impianti2Articoli.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) @@ -14827,14 +16745,6 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co allAddedRows.AddRange(addedRows); } } - if ((this._anagStatiTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.AnagStati.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._anagStatiTableAdapter.Update(addedRows)); - allAddedRows.AddRange(addedRows); - } - } if ((this._relazUDCTableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.RelazUDC.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) @@ -14843,11 +16753,19 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co allAddedRows.AddRange(addedRows); } } - if ((this._storicoEventiTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.StoricoEventi.Select(null, null, global::System.Data.DataViewRowState.Added); + if ((this._anagBilanceTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AnagBilance.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) && (0 < addedRows.Length))) { - result = (result + this._storicoEventiTableAdapter.Update(addedRows)); + result = (result + this._anagBilanceTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } + if ((this._anagStatiTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AnagStati.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._anagStatiTableAdapter.Update(addedRows)); allAddedRows.AddRange(addedRows); } } @@ -14860,11 +16778,19 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private int UpdateDeletedRows(DS_Applicazione dataSet, global::System.Collections.Generic.List allChangedRows) { int result = 0; - if ((this._storicoEventiTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.StoricoEventi.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if ((this._anagStatiTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AnagStati.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) && (0 < deletedRows.Length))) { - result = (result + this._storicoEventiTableAdapter.Update(deletedRows)); + result = (result + this._anagStatiTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._anagBilanceTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AnagBilance.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._anagBilanceTableAdapter.Update(deletedRows)); allChangedRows.AddRange(deletedRows); } } @@ -14876,14 +16802,6 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co allChangedRows.AddRange(deletedRows); } } - if ((this._anagStatiTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.AnagStati.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._anagStatiTableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } if ((this._impianti2ArticoliTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.Impianti2Articoli.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) @@ -14892,6 +16810,30 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co allChangedRows.AddRange(deletedRows); } } + if ((this._storicoEventiTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.StoricoEventi.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._storicoEventiTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._anagOperatoriTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AnagOperatori.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._anagOperatoriTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._anagClientiTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AnagClienti.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._anagClientiTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } if ((this._elencoCartelliniTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.ElencoCartellini.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) @@ -14908,22 +16850,6 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co allChangedRows.AddRange(deletedRows); } } - if ((this._anagBilanceTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.AnagBilance.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._anagBilanceTableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } - if ((this._anagStatiProdottoTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.AnagStatiProdotto.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._anagStatiProdottoTableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } if ((this._anagTipoDichiarazTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.AnagTipoDichiaraz.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) @@ -14940,6 +16866,14 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co allChangedRows.AddRange(deletedRows); } } + if ((this._anagStatiProdottoTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AnagStatiProdotto.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._anagStatiProdottoTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } if ((this._anagArticoliTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.AnagArticoli.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) @@ -15053,6 +16987,16 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + "tring."); } + if (((this._anagOperatoriTableAdapter != null) + && (this.MatchTableAdapterConnection(this._anagOperatoriTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } + if (((this._anagClientiTableAdapter != null) + && (this.MatchTableAdapterConnection(this._anagClientiTableAdapter.Connection) == false))) { + throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + + "tring."); + } global::System.Data.IDbConnection workConnection = this.Connection; if ((workConnection == null)) { throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" + @@ -15193,6 +17137,24 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co adaptersWithAcceptChangesDuringUpdate.Add(this._anagImballiTableAdapter.Adapter); } } + if ((this._anagOperatoriTableAdapter != null)) { + revertConnections.Add(this._anagOperatoriTableAdapter, this._anagOperatoriTableAdapter.Connection); + this._anagOperatoriTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._anagOperatoriTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._anagOperatoriTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._anagOperatoriTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._anagOperatoriTableAdapter.Adapter); + } + } + if ((this._anagClientiTableAdapter != null)) { + revertConnections.Add(this._anagClientiTableAdapter, this._anagClientiTableAdapter.Connection); + this._anagClientiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._anagClientiTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._anagClientiTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._anagClientiTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._anagClientiTableAdapter.Adapter); + } + } // //---- Perform updates ----------- // @@ -15299,6 +17261,14 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co this._anagImballiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagImballiTableAdapter])); this._anagImballiTableAdapter.Transaction = null; } + if ((this._anagOperatoriTableAdapter != null)) { + this._anagOperatoriTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagOperatoriTableAdapter])); + this._anagOperatoriTableAdapter.Transaction = null; + } + if ((this._anagClientiTableAdapter != null)) { + this._anagClientiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagClientiTableAdapter])); + this._anagClientiTableAdapter.Transaction = null; + } if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) { global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count]; adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters); diff --git a/GMW/GMW_data/DS_Applicazione.xsd b/GMW/GMW_data/DS_Applicazione.xsd index bebb7597..b35a8f9f 100644 --- a/GMW/GMW_data/DS_Applicazione.xsd +++ b/GMW/GMW_data/DS_Applicazione.xsd @@ -1183,6 +1183,143 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co + + + + + + DELETE FROM [RilPro].[AnagOperatori] WHERE (([CodSoggetto] = @Original_CodSoggetto) AND ([CodCS] = @Original_CodCS) AND ((@IsNull_CodDipendente = 1 AND [CodDipendente] IS NULL) OR ([CodDipendente] = @Original_CodDipendente)) AND ([CodAziendaOp] = @Original_CodAziendaOp) AND ((@IsNull_DescAziendaOp = 1 AND [DescAziendaOp] IS NULL) OR ([DescAziendaOp] = @Original_DescAziendaOp)) AND ([CodFilialeOp] = @Original_CodFilialeOp) AND ((@IsNull_DescFilialeOp = 1 AND [DescFilialeOp] IS NULL) OR ([DescFilialeOp] = @Original_DescFilialeOp)) AND ([Cognome] = @Original_Cognome) AND ([Nome] = @Original_Nome)) + + + + + + + + + + + + + + + + + + + INSERT INTO [RilPro].[AnagOperatori] ([CodSoggetto], [CodCS], [CodDipendente], [CodAziendaOp], [DescAziendaOp], [CodFilialeOp], [DescFilialeOp], [Cognome], [Nome]) VALUES (@CodSoggetto, @CodCS, @CodDipendente, @CodAziendaOp, @DescAziendaOp, @CodFilialeOp, @DescFilialeOp, @Cognome, @Nome); +SELECT CodSoggetto, CodCS, CodDipendente, CodAziendaOp, DescAziendaOp, CodFilialeOp, DescFilialeOp, Cognome, Nome FROM RilPro.AnagOperatori WHERE (CodSoggetto = @CodSoggetto) + + + + + + + + + + + + + + + + SELECT CodSoggetto, CodCS, CodDipendente, CodAziendaOp, DescAziendaOp, CodFilialeOp, DescFilialeOp, Cognome, Nome FROM RilPro.AnagOperatori + + + + + + UPDATE [RilPro].[AnagOperatori] SET [CodSoggetto] = @CodSoggetto, [CodCS] = @CodCS, [CodDipendente] = @CodDipendente, [CodAziendaOp] = @CodAziendaOp, [DescAziendaOp] = @DescAziendaOp, [CodFilialeOp] = @CodFilialeOp, [DescFilialeOp] = @DescFilialeOp, [Cognome] = @Cognome, [Nome] = @Nome WHERE (([CodSoggetto] = @Original_CodSoggetto) AND ([CodCS] = @Original_CodCS) AND ((@IsNull_CodDipendente = 1 AND [CodDipendente] IS NULL) OR ([CodDipendente] = @Original_CodDipendente)) AND ([CodAziendaOp] = @Original_CodAziendaOp) AND ((@IsNull_DescAziendaOp = 1 AND [DescAziendaOp] IS NULL) OR ([DescAziendaOp] = @Original_DescAziendaOp)) AND ([CodFilialeOp] = @Original_CodFilialeOp) AND ((@IsNull_DescFilialeOp = 1 AND [DescFilialeOp] IS NULL) OR ([DescFilialeOp] = @Original_DescFilialeOp)) AND ([Cognome] = @Original_Cognome) AND ([Nome] = @Original_Nome)); +SELECT CodSoggetto, CodCS, CodDipendente, CodAziendaOp, DescAziendaOp, CodFilialeOp, DescFilialeOp, Cognome, Nome FROM RilPro.AnagOperatori WHERE (CodSoggetto = @CodSoggetto) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DELETE FROM [RilPro].[AnagClienti] WHERE (([CodCliente] = @Original_CodCliente) AND ([RagSociale] = @Original_RagSociale)) + + + + + + + + + INSERT INTO [RilPro].[AnagClienti] ([CodCliente], [RagSociale]) VALUES (@CodCliente, @RagSociale); +SELECT CodCliente, RagSociale FROM RilPro.AnagClienti WHERE (CodCliente = @CodCliente) + + + + + + + + + SELECT CodCliente, RagSociale FROM RilPro.AnagClienti + + + + + + UPDATE [RilPro].[AnagClienti] SET [CodCliente] = @CodCliente, [RagSociale] = @RagSociale WHERE (([CodCliente] = @Original_CodCliente) AND ([RagSociale] = @Original_RagSociale)); +SELECT CodCliente, RagSociale FROM RilPro.AnagClienti WHERE (CodCliente = @CodCliente) + + + + + + + + + + + + + + + + @@ -1789,6 +1926,95 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1842,6 +2068,14 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co + + + + + + + + @@ -1851,6 +2085,7 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co + \ No newline at end of file diff --git a/GMW/GMW_data/DS_Applicazione.xss b/GMW/GMW_data/DS_Applicazione.xss index a194e484..43b14076 100644 --- a/GMW/GMW_data/DS_Applicazione.xss +++ b/GMW/GMW_data/DS_Applicazione.xss @@ -4,24 +4,26 @@ Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. --> - + - - - - - - - - - - - - - + + + + + + + + + + + + + + + - + 385 @@ -33,7 +35,7 @@ - + 947 @@ -45,19 +47,19 @@ - + 853 64 - 760 + 743 64 - + 1156 @@ -69,7 +71,7 @@ - + 1173 @@ -85,7 +87,7 @@ - + 336 @@ -101,5 +103,21 @@ + + + + 1181 + 164 + + + 1181 + 838 + + + 719 + 838 + + + \ No newline at end of file diff --git a/GMW/GMW_data/DataProxy.cs b/GMW/GMW_data/DataProxy.cs index 30b6d5e0..1fcbb614 100644 --- a/GMW/GMW_data/DataProxy.cs +++ b/GMW/GMW_data/DataProxy.cs @@ -24,6 +24,8 @@ namespace GMW_data public DS_ApplicazioneTableAdapters.v_ArtInProdTableAdapter taArtInProd; public DS_ApplicazioneTableAdapters.RelazUDCTableAdapter taRelazUDC; public DS_ApplicazioneTableAdapters.AnagCompanySitoTableAdapter taAnagCS; + public DS_ApplicazioneTableAdapters.AnagClientiTableAdapter taAnagClienti; + public DS_ApplicazioneTableAdapters.AnagOperatoriTableAdapter taAnagOperatore; /// /// init dei table adapters @@ -41,6 +43,8 @@ namespace GMW_data taArtInProd = new GMW_data.DS_ApplicazioneTableAdapters.v_ArtInProdTableAdapter(); taRelazUDC = new GMW_data.DS_ApplicazioneTableAdapters.RelazUDCTableAdapter(); taAnagCS = new GMW_data.DS_ApplicazioneTableAdapters.AnagCompanySitoTableAdapter(); + taAnagClienti = new GMW_data.DS_ApplicazioneTableAdapters.AnagClientiTableAdapter(); + taAnagOperatore = new GMW_data.DS_ApplicazioneTableAdapters.AnagOperatoriTableAdapter(); } /// /// effettua setup dei connection strings da web.config delal singola applicazione @@ -59,6 +63,8 @@ namespace GMW_data taArtInProd.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString"); taRelazUDC.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString"); taAnagCS.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString"); + taAnagClienti.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString"); + taAnagOperatore.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString"); } #endregion diff --git a/GMW/GMW_data/bin/Debug/GMW_data.dll b/GMW/GMW_data/bin/Debug/GMW_data.dll index 86f67023..abe4b49d 100644 Binary files a/GMW/GMW_data/bin/Debug/GMW_data.dll and b/GMW/GMW_data/bin/Debug/GMW_data.dll differ diff --git a/GMW/GMW_data/obj/Debug/GMW_data.dll b/GMW/GMW_data/obj/Debug/GMW_data.dll index 86f67023..abe4b49d 100644 Binary files a/GMW/GMW_data/obj/Debug/GMW_data.dll and b/GMW/GMW_data/obj/Debug/GMW_data.dll differ diff --git a/GMW/GMW_data/obj/Debug/Refactor/GMW_data.dll b/GMW/GMW_data/obj/Debug/Refactor/GMW_data.dll index c7d6299b..7b97abdd 100644 Binary files a/GMW/GMW_data/obj/Debug/Refactor/GMW_data.dll and b/GMW/GMW_data/obj/Debug/Refactor/GMW_data.dll differ diff --git a/GMW/GMW_data/obj/Debug/TempPE/DS_Applicazione.Designer.cs.dll b/GMW/GMW_data/obj/Debug/TempPE/DS_Applicazione.Designer.cs.dll index 0439b8b5..5e73ecaf 100644 Binary files a/GMW/GMW_data/obj/Debug/TempPE/DS_Applicazione.Designer.cs.dll and b/GMW/GMW_data/obj/Debug/TempPE/DS_Applicazione.Designer.cs.dll differ