diff --git a/GMW/GMW/GMW.Publish.xml b/GMW/GMW/GMW.Publish.xml index 410f8d01..e7035ea2 100644 --- a/GMW/GMW/GMW.Publish.xml +++ b/GMW/GMW/GMW.Publish.xml @@ -1,4 +1,598 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -8,6 +602,7 @@ + @@ -17,11 +612,10 @@ - - + - + @@ -35,5 +629,4 @@ - \ No newline at end of file diff --git a/GMW/GMW/GMW.csproj b/GMW/GMW/GMW.csproj index 72088d2b..2eabe1f9 100644 --- a/GMW/GMW/GMW.csproj +++ b/GMW/GMW/GMW.csproj @@ -176,6 +176,13 @@ odette.aspx + + sanpos_controlloLiquidi.aspx + ASPXCodeBehind + + + sanpos_controlloLiquidi.aspx + SearchMag.aspx ASPXCodeBehind @@ -589,6 +596,13 @@ mod_listImballi.ascx + + mod_sanpos_controlloLiquidi.ascx + ASPXCodeBehind + + + mod_sanpos_controlloLiquidi.ascx + mod_searchMag.ascx ASPXCodeBehind @@ -810,8 +824,6 @@ - - @@ -934,6 +946,8 @@ + + @@ -941,6 +955,7 @@ + @@ -1012,6 +1027,7 @@ + diff --git a/GMW/GMW/GMW.csproj.user b/GMW/GMW/GMW.csproj.user index e2af44e7..0a8d1633 100644 --- a/GMW/GMW/GMW.csproj.user +++ b/GMW/GMW/GMW.csproj.user @@ -9,7 +9,7 @@ False False RunFiles - c:\tmp\GMW\ + http://localhost/GMW_SP/ False False diff --git a/GMW/GMW/Style.css b/GMW/GMW/Style.css index 38c1d831..b493d52d 100644 --- a/GMW/GMW/Style.css +++ b/GMW/GMW/Style.css @@ -3274,6 +3274,12 @@ grViewBorder background: #FFFFAA; text-align: center; } +.fullPageHeader +{ + border-bottom: solid 2px Black; + background-color: #6C90FF; + font-weight: bold; +} .msgBoxGitterBox { border-top: solid 2px Black; diff --git a/GMW/GMW/WebMasterPages/AjaxSimpleFull.Master b/GMW/GMW/WebMasterPages/AjaxSimpleFull.Master index 9da42891..a692adbf 100644 --- a/GMW/GMW/WebMasterPages/AjaxSimpleFull.Master +++ b/GMW/GMW/WebMasterPages/AjaxSimpleFull.Master @@ -21,9 +21,6 @@ -
- -
diff --git a/GMW/GMW/WebMasterPages/AjaxSimpleFull.Master.designer.cs b/GMW/GMW/WebMasterPages/AjaxSimpleFull.Master.designer.cs index 747d1663..4073af82 100644 --- a/GMW/GMW/WebMasterPages/AjaxSimpleFull.Master.designer.cs +++ b/GMW/GMW/WebMasterPages/AjaxSimpleFull.Master.designer.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:2.0.50727.4952 +// Runtime Version:2.0.50727.4963 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -48,14 +48,5 @@ namespace GMW.WebMasterPages { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.ContentPlaceHolder ContentPlaceHolder1; - - /// - /// Mod_menuBottom1 control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::mod_menuBottom Mod_menuBottom1; } } diff --git a/GMW/GMW/WebUserControls/mod_sanpos_controlloLiquidi.ascx b/GMW/GMW/WebUserControls/mod_sanpos_controlloLiquidi.ascx new file mode 100644 index 00000000..0167c698 --- /dev/null +++ b/GMW/GMW/WebUserControls/mod_sanpos_controlloLiquidi.ascx @@ -0,0 +1,17 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_sanpos_controlloLiquidi.ascx.cs" + Inherits="GMW.WebUserControls.mod_sanpos_controlloLiquidi" %> + +
+
+
+ +
+
+ +
+
+ +
+
+
+
diff --git a/GMW/GMW/WebUserControls/mod_sanpos_controlloLiquidi.ascx.cs b/GMW/GMW/WebUserControls/mod_sanpos_controlloLiquidi.ascx.cs new file mode 100644 index 00000000..cf40dcfa --- /dev/null +++ b/GMW/GMW/WebUserControls/mod_sanpos_controlloLiquidi.ascx.cs @@ -0,0 +1,47 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Net; +using SteamWare; +using GMW_data; + +namespace GMW.WebUserControls +{ + public partial class mod_sanpos_controlloLiquidi : System.Web.UI.UserControl + { + protected void Page_Load(object sender, EventArgs e) + { + traduciObj(); + } + /// + /// sistemo labels oggetti + /// + private void traduciObj() + { + string ipAddr = Request.UserHostName; + string postazione = dnsUtils.DetermineCompName(ipAddr); + lblPostazione.Text = string.Format("Postazione: {0} ({1})", postazione, ipAddr); + // cerco stampante x postazione + string stampante = "n.d."; + try + { + DS_Applicazione.ElencoPostazioniDataTable tabPost = DataProxy.obj.taElPost.getByCod(postazione); + if (tabPost.Rows.Count > 0) + { + stampante = tabPost[0].stampante; + } + else + { + tabPost = DataProxy.obj.taElPost.getByCod("default"); + stampante = tabPost[0].stampante; + } + } + catch + { } + lblPrinter.Text = string.Format("Stampante: {0}", stampante); + } + } +} \ No newline at end of file diff --git a/GMW/GMW/WebUserControls/mod_sanpos_controlloLiquidi.ascx.designer.cs b/GMW/GMW/WebUserControls/mod_sanpos_controlloLiquidi.ascx.designer.cs new file mode 100644 index 00000000..234eb30f --- /dev/null +++ b/GMW/GMW/WebUserControls/mod_sanpos_controlloLiquidi.ascx.designer.cs @@ -0,0 +1,52 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4963 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW.WebUserControls { + + + public partial class mod_sanpos_controlloLiquidi { + + /// + /// pnlAll control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Panel pnlAll; + + /// + /// lblPostazione control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblPostazione; + + /// + /// lblPrinter control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblPrinter; + + /// + /// hlMenu control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.HyperLink hlMenu; + } +} diff --git a/GMW/GMW/WebUserControls/mod_spostaDataMatrix.ascx b/GMW/GMW/WebUserControls/mod_spostaDataMatrix.ascx index ff777cc3..b4d5f283 100644 --- a/GMW/GMW/WebUserControls/mod_spostaDataMatrix.ascx +++ b/GMW/GMW/WebUserControls/mod_spostaDataMatrix.ascx @@ -2,6 +2,9 @@ Inherits="GMW.WebUserControls.mod_spostaDataMatrix" %>
+
+ +
diff --git a/GMW/GMW/WebUserControls/mod_spostaDataMatrix.ascx.designer.cs b/GMW/GMW/WebUserControls/mod_spostaDataMatrix.ascx.designer.cs index 08715bc4..563cc807 100644 --- a/GMW/GMW/WebUserControls/mod_spostaDataMatrix.ascx.designer.cs +++ b/GMW/GMW/WebUserControls/mod_spostaDataMatrix.ascx.designer.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:2.0.50727.4959 +// Runtime Version:2.0.50727.4963 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -22,6 +22,15 @@ namespace GMW.WebUserControls { /// protected global::System.Web.UI.WebControls.Panel pnlAll; + /// + /// hlMenu control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.HyperLink hlMenu; + /// /// lblGitterBoxAttivo control. /// diff --git a/GMW/GMW/bin/GMW.dll b/GMW/GMW/bin/GMW.dll index 3966defb..5359cc72 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 7f156b15..da2df9e6 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.XML b/GMW/GMW/bin/SteamWare.XML index fa4844d7..becf76be 100644 --- a/GMW/GMW/bin/SteamWare.XML +++ b/GMW/GMW/bin/SteamWare.XML @@ -49,6 +49,11 @@ avvio del logger nella dir desiderata con il max di dati indicato + + + resetta il logfile odierno + + scrive sul file log di default il valore della variabile string passata su una riga... (tab delim?!?) @@ -202,6 +207,16 @@ tableAdapter utenti + + + tableAdapter userData (user/pwd) + + + + + tableAdapter userDataExt (user/pwd) + + table adapter lingue @@ -1129,6 +1144,16 @@ Represents the strongly named DataTable class. + + + Represents the strongly named DataTable class. + + + + + Represents the strongly named DataTable class. + + Represents strongly named DataRow class. @@ -1169,6 +1194,16 @@ Represents strongly named DataRow class. + + + Represents strongly named DataRow class. + + + + + Represents strongly named DataRow class. + + Row event argument class @@ -1209,6 +1244,16 @@ Row event argument class + + + Row event argument class + + + + + Row event argument class + + Represents the connection and commands used to retrieve and save data. @@ -1249,6 +1294,16 @@ Represents the connection and commands used to retrieve and save data. + + + Represents the connection and commands used to retrieve and save data. + + + + + Represents the connection and commands used to retrieve and save data. + + classe con funzioni specifiche di calcolo @@ -2166,6 +2221,14 @@ + + + + calcola il nome del computer dato l'IP + + + + Represents a strongly typed in-memory cache of data. @@ -2306,11 +2369,21 @@ carica la riga dati utente + + + carica la riga dati utente da SOLO USERNAME + + Carica la tabella diritti dell'utente da db e salva in session + + + Carica la tabella diritti dell'utente da db e salva in session + + Carica la tabella diritti dell'utente da db e salva in session SOLO per il CDC indicato @@ -2390,6 +2463,22 @@ + + + Procedura da chiamare DOPO aver messo in session i dati utente/dominio x caricare gli altri dati + + + + + + + + controllo utente/pwd da tab + + + + + Procedura da chiamare DOPO aver messo in session i dati utente/dominio x caricare gli altri dati CON I DIRITTI SOLO per il CDC indicato @@ -2583,6 +2672,11 @@ oggetto utente con metodi get/set + + + oggetto password con metodi get/set + + oggetto dominio con metodi get/set diff --git a/GMW/GMW/bin/SteamWare.dll b/GMW/GMW/bin/SteamWare.dll index f5e98bf1..76f41491 100644 Binary files a/GMW/GMW/bin/SteamWare.dll and b/GMW/GMW/bin/SteamWare.dll differ diff --git a/GMW/GMW/images/flusso_SP.png b/GMW/GMW/images/flusso_SP.png new file mode 100644 index 00000000..0f9d0ddd Binary files /dev/null and b/GMW/GMW/images/flusso_SP.png differ diff --git a/GMW/GMW/images/flusso_TK.png b/GMW/GMW/images/flusso_TK.png new file mode 100644 index 00000000..8d0a365a Binary files /dev/null and b/GMW/GMW/images/flusso_TK.png differ diff --git a/GMW/GMW/mazzAppSettingsSP.config b/GMW/GMW/mazzAppSettingsSP.config index 1ee5734d..6581d4e4 100644 --- a/GMW/GMW/mazzAppSettingsSP.config +++ b/GMW/GMW/mazzAppSettingsSP.config @@ -4,7 +4,7 @@ - + @@ -20,6 +20,7 @@ + @@ -27,10 +28,6 @@ - - - - @@ -42,7 +39,10 @@ - + + + + @@ -63,19 +63,51 @@ - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + diff --git a/GMW/GMW/mazzAppSettingsTK.config b/GMW/GMW/mazzAppSettingsTK.config index 1019d037..ebc25c3c 100644 --- a/GMW/GMW/mazzAppSettingsTK.config +++ b/GMW/GMW/mazzAppSettingsTK.config @@ -1,7 +1,7 @@  - + @@ -15,7 +15,7 @@ - + @@ -36,61 +36,61 @@ - - - - - - + + + + + + - + - - - + + + - - + + - - - - - - + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + @@ -105,12 +105,12 @@ - - + + - + diff --git a/GMW/GMW/mazzConnectionStringsSP.config b/GMW/GMW/mazzConnectionStringsSP.config index 3ced6e0c..a9363e8f 100644 --- a/GMW/GMW/mazzConnectionStringsSP.config +++ b/GMW/GMW/mazzConnectionStringsSP.config @@ -1,3 +1,3 @@  - + \ No newline at end of file diff --git a/GMW/GMW/mazzConnectionStringsTK.config b/GMW/GMW/mazzConnectionStringsTK.config index bd1bb793..2d681ba2 100644 --- a/GMW/GMW/mazzConnectionStringsTK.config +++ b/GMW/GMW/mazzConnectionStringsTK.config @@ -1,3 +1,3 @@  - + \ No newline at end of file diff --git a/GMW/GMW/obj/Debug/GMW.csproj.FileListAbsolute.txt b/GMW/GMW/obj/Debug/GMW.csproj.FileListAbsolute.txt index 0435c396..7b6fab2f 100644 --- a/GMW/GMW/obj/Debug/GMW.csproj.FileListAbsolute.txt +++ b/GMW/GMW/obj/Debug/GMW.csproj.FileListAbsolute.txt @@ -31,3 +31,4 @@ c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\obj\ c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\obj\Debug\RdlCompile.compiled c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\obj\Debug\GMW.dll c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\obj\Debug\GMW.pdb +C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW\bin\Flesk.ViewState.dll diff --git a/GMW/GMW/obj/Debug/GMW.dll b/GMW/GMW/obj/Debug/GMW.dll index 4f791a17..5359cc72 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 85ff3c2e..39f5e1f5 100644 Binary files a/GMW/GMW/obj/Debug/ResolveAssemblyReference.cache and b/GMW/GMW/obj/Debug/ResolveAssemblyReference.cache differ diff --git a/GMW/GMW/sanpos_controlloLiquidi.aspx b/GMW/GMW/sanpos_controlloLiquidi.aspx new file mode 100644 index 00000000..cb68b62f --- /dev/null +++ b/GMW/GMW/sanpos_controlloLiquidi.aspx @@ -0,0 +1,6 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxSimpleFull.master" AutoEventWireup="true" CodeBehind="sanpos_controlloLiquidi.aspx.cs" Inherits="GMW.sanpos_controlloLiquidi" %> +<%@ Register src="WebUserControls/mod_sanpos_controlloLiquidi.ascx" tagname="mod_sanpos_controlloLiquidi" tagprefix="uc1" %> + + + diff --git a/GMW/GMW/sanpos_controlloLiquidi.aspx.cs b/GMW/GMW/sanpos_controlloLiquidi.aspx.cs new file mode 100644 index 00000000..26978493 --- /dev/null +++ b/GMW/GMW/sanpos_controlloLiquidi.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace GMW +{ + public partial class sanpos_controlloLiquidi : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} diff --git a/GMW/GMW/sanpos_controlloLiquidi.aspx.designer.cs b/GMW/GMW/sanpos_controlloLiquidi.aspx.designer.cs new file mode 100644 index 00000000..d2131e66 --- /dev/null +++ b/GMW/GMW/sanpos_controlloLiquidi.aspx.designer.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4963 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW { + + + public partial class sanpos_controlloLiquidi { + + /// + /// mod_sanpos_controlloLiquidi1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_sanpos_controlloLiquidi mod_sanpos_controlloLiquidi1; + } +} diff --git a/GMW/GMW_Term/mazzAppSettingsSP.config b/GMW/GMW_Term/mazzAppSettingsSP.config index 86f1fc37..00665d8c 100644 --- a/GMW/GMW_Term/mazzAppSettingsSP.config +++ b/GMW/GMW_Term/mazzAppSettingsSP.config @@ -63,18 +63,18 @@ - + - + - + - + diff --git a/GMW/GMW_Term/mazzAppSettingsTK.config b/GMW/GMW_Term/mazzAppSettingsTK.config index c8c7ed3e..aaa7792a 100644 --- a/GMW/GMW_Term/mazzAppSettingsTK.config +++ b/GMW/GMW_Term/mazzAppSettingsTK.config @@ -63,9 +63,9 @@ - + - + diff --git a/GMW/GMW_Term/mazzConnectionStringsSP.config b/GMW/GMW_Term/mazzConnectionStringsSP.config index 3ced6e0c..6c3cef55 100644 --- a/GMW/GMW_Term/mazzConnectionStringsSP.config +++ b/GMW/GMW_Term/mazzConnectionStringsSP.config @@ -1,3 +1,3 @@  - + \ No newline at end of file diff --git a/GMW/GMW_data/DS_Applicazione.Designer.cs b/GMW/GMW_data/DS_Applicazione.Designer.cs index a62b23e4..24a86949 100644 --- a/GMW/GMW_data/DS_Applicazione.Designer.cs +++ b/GMW/GMW_data/DS_Applicazione.Designer.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:2.0.50727.4952 +// Runtime Version:2.0.50727.4963 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -61,6 +61,8 @@ namespace GMW_data { private v_specParticolariDataTable tablev_specParticolari; + private ElencoPostazioniDataTable tableElencoPostazioni; + private global::System.Data.DataRelation relationFK_AnagImpianti_AnagCompanySito; private global::System.Data.DataRelation relationFK_ElencoCartellini_AnagCompanySito; @@ -153,6 +155,9 @@ namespace GMW_data { if ((ds.Tables["v_specParticolari"] != null)) { base.Tables.Add(new v_specParticolariDataTable(ds.Tables["v_specParticolari"])); } + if ((ds.Tables["ElencoPostazioni"] != null)) { + base.Tables.Add(new ElencoPostazioniDataTable(ds.Tables["ElencoPostazioni"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -333,6 +338,15 @@ namespace GMW_data { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public ElencoPostazioniDataTable ElencoPostazioni { + get { + return this.tableElencoPostazioni; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.BrowsableAttribute(true)] [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)] @@ -446,6 +460,9 @@ namespace GMW_data { if ((ds.Tables["v_specParticolari"] != null)) { base.Tables.Add(new v_specParticolariDataTable(ds.Tables["v_specParticolari"])); } + if ((ds.Tables["ElencoPostazioni"] != null)) { + base.Tables.Add(new ElencoPostazioniDataTable(ds.Tables["ElencoPostazioni"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -584,6 +601,12 @@ namespace GMW_data { this.tablev_specParticolari.InitVars(); } } + this.tableElencoPostazioni = ((ElencoPostazioniDataTable)(base.Tables["ElencoPostazioni"])); + if ((initTable == true)) { + if ((this.tableElencoPostazioni != null)) { + this.tableElencoPostazioni.InitVars(); + } + } 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"]; @@ -635,6 +658,8 @@ namespace GMW_data { base.Tables.Add(this.tablestp_prtCartMatPrimaByUDC); this.tablev_specParticolari = new v_specParticolariDataTable(); base.Tables.Add(this.tablev_specParticolari); + this.tableElencoPostazioni = new ElencoPostazioniDataTable(); + base.Tables.Add(this.tableElencoPostazioni); this.relationFK_AnagImpianti_AnagCompanySito = new global::System.Data.DataRelation("FK_AnagImpianti_AnagCompanySito", new global::System.Data.DataColumn[] { this.tableAnagCompanySito.CodCSColumn}, new global::System.Data.DataColumn[] { this.tableAnagImpianti.CodCSColumn}, false); @@ -751,6 +776,11 @@ namespace GMW_data { return false; } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializeElencoPostazioni() { + return false; + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) { @@ -840,6 +870,8 @@ namespace GMW_data { public delegate void v_specParticolariRowChangeEventHandler(object sender, v_specParticolariRowChangeEvent e); + public delegate void ElencoPostazioniRowChangeEventHandler(object sender, ElencoPostazioniRowChangeEvent e); + /// ///Represents the strongly named DataTable class. /// @@ -6976,6 +7008,254 @@ 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 ElencoPostazioniDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columncodPostazione; + + private global::System.Data.DataColumn columnstampante; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public ElencoPostazioniDataTable() { + this.TableName = "ElencoPostazioni"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal ElencoPostazioniDataTable(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 ElencoPostazioniDataTable(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 codPostazioneColumn { + get { + return this.columncodPostazione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn stampanteColumn { + get { + return this.columnstampante; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public ElencoPostazioniRow this[int index] { + get { + return ((ElencoPostazioniRow)(this.Rows[index])); + } + } + + public event ElencoPostazioniRowChangeEventHandler ElencoPostazioniRowChanging; + + public event ElencoPostazioniRowChangeEventHandler ElencoPostazioniRowChanged; + + public event ElencoPostazioniRowChangeEventHandler ElencoPostazioniRowDeleting; + + public event ElencoPostazioniRowChangeEventHandler ElencoPostazioniRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void AddElencoPostazioniRow(ElencoPostazioniRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public ElencoPostazioniRow AddElencoPostazioniRow(string codPostazione, string stampante) { + ElencoPostazioniRow rowElencoPostazioniRow = ((ElencoPostazioniRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + codPostazione, + stampante}; + rowElencoPostazioniRow.ItemArray = columnValuesArray; + this.Rows.Add(rowElencoPostazioniRow); + return rowElencoPostazioniRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public ElencoPostazioniRow FindBycodPostazione(string codPostazione) { + return ((ElencoPostazioniRow)(this.Rows.Find(new object[] { + codPostazione}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + ElencoPostazioniDataTable cln = ((ElencoPostazioniDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new ElencoPostazioniDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columncodPostazione = base.Columns["codPostazione"]; + this.columnstampante = base.Columns["stampante"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columncodPostazione = new global::System.Data.DataColumn("codPostazione", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncodPostazione); + this.columnstampante = new global::System.Data.DataColumn("stampante", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnstampante); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columncodPostazione}, true)); + this.columncodPostazione.AllowDBNull = false; + this.columncodPostazione.Unique = true; + this.columncodPostazione.MaxLength = 250; + this.columnstampante.MaxLength = 250; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public ElencoPostazioniRow NewElencoPostazioniRow() { + return ((ElencoPostazioniRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new ElencoPostazioniRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(ElencoPostazioniRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.ElencoPostazioniRowChanged != null)) { + this.ElencoPostazioniRowChanged(this, new ElencoPostazioniRowChangeEvent(((ElencoPostazioniRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.ElencoPostazioniRowChanging != null)) { + this.ElencoPostazioniRowChanging(this, new ElencoPostazioniRowChangeEvent(((ElencoPostazioniRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.ElencoPostazioniRowDeleted != null)) { + this.ElencoPostazioniRowDeleted(this, new ElencoPostazioniRowChangeEvent(((ElencoPostazioniRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.ElencoPostazioniRowDeleting != null)) { + this.ElencoPostazioniRowDeleting(this, new ElencoPostazioniRowChangeEvent(((ElencoPostazioniRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void RemoveElencoPostazioniRow(ElencoPostazioniRow 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 = "ElencoPostazioniDataTable"; + 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. /// @@ -10369,6 +10649,56 @@ namespace GMW_data { } } + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class ElencoPostazioniRow : global::System.Data.DataRow { + + private ElencoPostazioniDataTable tableElencoPostazioni; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal ElencoPostazioniRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableElencoPostazioni = ((ElencoPostazioniDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string codPostazione { + get { + return ((string)(this[this.tableElencoPostazioni.codPostazioneColumn])); + } + set { + this[this.tableElencoPostazioni.codPostazioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string stampante { + get { + try { + return ((string)(this[this.tableElencoPostazioni.stampanteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'stampante\' in table \'ElencoPostazioni\' is DBNull.", e); + } + } + set { + this[this.tableElencoPostazioni.stampanteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsstampanteNull() { + return this.IsNull(this.tableElencoPostazioni.stampanteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetstampanteNull() { + this[this.tableElencoPostazioni.stampanteColumn] = global::System.Convert.DBNull; + } + } + /// ///Row event argument class /// @@ -10926,6 +11256,37 @@ namespace GMW_data { } } } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class ElencoPostazioniRowChangeEvent : global::System.EventArgs { + + private ElencoPostazioniRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public ElencoPostazioniRowChangeEvent(ElencoPostazioniRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public ElencoPostazioniRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } } } namespace GMW_data.DS_ApplicazioneTableAdapters { @@ -19073,6 +19434,357 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = } } + /// + ///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 ElencoPostazioniTableAdapter : 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 ElencoPostazioniTableAdapter() { + 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 = "ElencoPostazioni"; + tableMapping.ColumnMappings.Add("codPostazione", "codPostazione"); + tableMapping.ColumnMappings.Add("stampante", "stampante"); + 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 [dbo].[ElencoPostazioni] WHERE (([codPostazione] = @Original_codPosta" + + "zione) AND ((@IsNull_stampante = 1 AND [stampante] IS NULL) OR ([stampante] = @O" + + "riginal_stampante)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_codPostazione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "codPostazione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_stampante", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "stampante", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_stampante", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "stampante", 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 [dbo].[ElencoPostazioni] ([codPostazione], [stampante]) VALUES (@codP" + + "ostazione, @stampante);\r\nSELECT codPostazione, stampante FROM ElencoPostazioni W" + + "HERE (codPostazione = @codPostazione)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codPostazione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "codPostazione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@stampante", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "stampante", 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 [dbo].[ElencoPostazioni] SET [codPostazione] = @codPostazione, [stampante] = @stampante WHERE (([codPostazione] = @Original_codPostazione) AND ((@IsNull_stampante = 1 AND [stampante] IS NULL) OR ([stampante] = @Original_stampante))); +SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @codPostazione)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codPostazione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "codPostazione", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@stampante", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "stampante", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_codPostazione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "codPostazione", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_stampante", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "stampante", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_stampante", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "stampante", 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[2]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT codPostazione, stampante FROM dbo.ElencoPostazioni"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_elencoPostaziont_getByCod"; + this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codPostazione", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [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.ElencoPostazioniDataTable 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.ElencoPostazioniDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + DS_Applicazione.ElencoPostazioniDataTable dataTable = new DS_Applicazione.ElencoPostazioniDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_Applicazione.ElencoPostazioniDataTable getByCod(string codPostazione) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((codPostazione == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(codPostazione)); + } + DS_Applicazione.ElencoPostazioniDataTable dataTable = new DS_Applicazione.ElencoPostazioniDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(DS_Applicazione.ElencoPostazioniDataTable 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, "ElencoPostazioni"); + } + + [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_codPostazione, string Original_stampante) { + if ((Original_codPostazione == null)) { + throw new global::System.ArgumentNullException("Original_codPostazione"); + } + else { + this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_codPostazione)); + } + if ((Original_stampante == null)) { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_stampante)); + } + 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 codPostazione, string stampante) { + if ((codPostazione == null)) { + throw new global::System.ArgumentNullException("codPostazione"); + } + else { + this.Adapter.InsertCommand.Parameters[0].Value = ((string)(codPostazione)); + } + if ((stampante == null)) { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = ((string)(stampante)); + } + 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 codPostazione, string stampante, string Original_codPostazione, string Original_stampante) { + if ((codPostazione == null)) { + throw new global::System.ArgumentNullException("codPostazione"); + } + else { + this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(codPostazione)); + } + if ((stampante == null)) { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(stampante)); + } + if ((Original_codPostazione == null)) { + throw new global::System.ArgumentNullException("Original_codPostazione"); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Original_codPostazione)); + } + if ((Original_stampante == null)) { + this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_stampante)); + } + 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 stampante, string Original_codPostazione, string Original_stampante) { + return this.Update(Original_codPostazione, stampante, Original_codPostazione, Original_stampante); + } + } + /// ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios /// @@ -19114,6 +19826,8 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = private Soggetti2UtenteTableAdapter _soggetti2UtenteTableAdapter; + private ElencoPostazioniTableAdapter _elencoPostazioniTableAdapter; + private bool _backupDataSetBeforeUpdate; private global::System.Data.IDbConnection _connection; @@ -19310,6 +20024,19 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = } } + [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 ElencoPostazioniTableAdapter ElencoPostazioniTableAdapter { + get { + return this._elencoPostazioniTableAdapter; + } + set { + this._elencoPostazioniTableAdapter = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool BackupDataSetBeforeUpdate { get { @@ -19383,6 +20110,10 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = && (this._soggetti2UtenteTableAdapter.Connection != null))) { return this._soggetti2UtenteTableAdapter.Connection; } + if (((this._elencoPostazioniTableAdapter != null) + && (this._elencoPostazioniTableAdapter.Connection != null))) { + return this._elencoPostazioniTableAdapter.Connection; + } return null; } set { @@ -19437,6 +20168,9 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = if ((this._soggetti2UtenteTableAdapter != null)) { count = (count + 1); } + if ((this._elencoPostazioniTableAdapter != null)) { + count = (count + 1); + } return count; } } @@ -19474,15 +20208,6 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = 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._anagParticolariTableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.AnagParticolari.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); @@ -19492,6 +20217,24 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = allChangedRows.AddRange(updatedRows); } } + if ((this._elencoPostazioniTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.ElencoPostazioni.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._elencoPostazioniTableAdapter.Update(updatedRows)); + 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._soggetti2UtenteTableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.Soggetti2Utente.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); @@ -19606,14 +20349,6 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = 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._anagParticolariTableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.AnagParticolari.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) @@ -19622,6 +20357,22 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = allAddedRows.AddRange(addedRows); } } + if ((this._elencoPostazioniTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.ElencoPostazioni.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._elencoPostazioniTableAdapter.Update(addedRows)); + 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._soggetti2UtenteTableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.Soggetti2Utente.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) @@ -19775,14 +20526,6 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = allChangedRows.AddRange(deletedRows); } } - if ((this._anagParticolariTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.AnagParticolari.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._anagParticolariTableAdapter.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) @@ -19791,6 +20534,22 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = allChangedRows.AddRange(deletedRows); } } + if ((this._elencoPostazioniTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.ElencoPostazioni.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._elencoPostazioniTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } + if ((this._anagParticolariTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AnagParticolari.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._anagParticolariTableAdapter.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) @@ -19922,6 +20681,11 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + "tring."); } + if (((this._elencoPostazioniTableAdapter != null) + && (this.MatchTableAdapterConnection(this._elencoPostazioniTableAdapter.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" + @@ -20080,6 +20844,15 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = adaptersWithAcceptChangesDuringUpdate.Add(this._soggetti2UtenteTableAdapter.Adapter); } } + if ((this._elencoPostazioniTableAdapter != null)) { + revertConnections.Add(this._elencoPostazioniTableAdapter, this._elencoPostazioniTableAdapter.Connection); + this._elencoPostazioniTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._elencoPostazioniTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._elencoPostazioniTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._elencoPostazioniTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._elencoPostazioniTableAdapter.Adapter); + } + } // //---- Perform updates ----------- // @@ -20194,6 +20967,10 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = this._soggetti2UtenteTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._soggetti2UtenteTableAdapter])); this._soggetti2UtenteTableAdapter.Transaction = null; } + if ((this._elencoPostazioniTableAdapter != null)) { + this._elencoPostazioniTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._elencoPostazioniTableAdapter])); + this._elencoPostazioniTableAdapter.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 a47d9cc9..ceab4646 100644 --- a/GMW/GMW_data/DS_Applicazione.xsd +++ b/GMW/GMW_data/DS_Applicazione.xsd @@ -1497,6 +1497,68 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = + + + + + + DELETE FROM [dbo].[ElencoPostazioni] WHERE (([codPostazione] = @Original_codPostazione) AND ((@IsNull_stampante = 1 AND [stampante] IS NULL) OR ([stampante] = @Original_stampante))) + + + + + + + + + + INSERT INTO [dbo].[ElencoPostazioni] ([codPostazione], [stampante]) VALUES (@codPostazione, @stampante); +SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @codPostazione) + + + + + + + + + SELECT codPostazione, stampante FROM dbo.ElencoPostazioni + + + + + + UPDATE [dbo].[ElencoPostazioni] SET [codPostazione] = @codPostazione, [stampante] = @stampante WHERE (([codPostazione] = @Original_codPostazione) AND ((@IsNull_stampante = 1 AND [stampante] IS NULL) OR ([stampante] = @Original_stampante))); +SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @codPostazione) + + + + + + + + + + + + + + + + + + + + dbo.stp_elencoPostaziont_getByCod + + + + + + + + + @@ -1508,8 +1570,8 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = - - + + @@ -1522,14 +1584,14 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = - + - + @@ -1542,14 +1604,14 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = - + - + @@ -1562,14 +1624,14 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = - + - + @@ -1582,35 +1644,35 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = - + - + - + - + - + @@ -1623,35 +1685,35 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = - + - + - + - + - + @@ -1664,21 +1726,21 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = - + - + - + @@ -1691,93 +1753,93 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = - + - + - + - + - + - + - + - + - + - + - + - + - - - + + + @@ -1791,28 +1853,28 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = - - - - + + + + - - - - - + + + + + - + @@ -1839,96 +1901,96 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = - + - + - - - + + + - - - - + + + + - + - + - + - + - + - + - + - + - + @@ -2010,21 +2072,21 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = - + - + - + @@ -2037,157 +2099,157 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = - + - + - + - + - + - + - + - + - + - + - + - + - - - + + + - + - - - - + + + + - - - - - - + + + + + + - + - + - + - + - + @@ -2200,42 +2262,42 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = - + - + - + - + - + - + @@ -2248,14 +2310,14 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = - + - + @@ -2268,21 +2330,21 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = - + - + - + @@ -2295,102 +2357,102 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = - - - + + + - + - + - + - - + + - - + + - + - + - + - + - + - + - + - + @@ -2403,56 +2465,56 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = - + - + - + - + - + - + - + - + @@ -2462,6 +2524,26 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = + + + + + + + + + + + + + + + + + + + + @@ -2530,6 +2612,10 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = + + + + diff --git a/GMW/GMW_data/DS_Applicazione.xss b/GMW/GMW_data/DS_Applicazione.xss index ef1dd64c..c90dd3b8 100644 --- a/GMW/GMW_data/DS_Applicazione.xss +++ b/GMW/GMW_data/DS_Applicazione.xss @@ -4,29 +4,30 @@ Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. --> - + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - + 1129 @@ -38,7 +39,7 @@ - + 1170 @@ -54,7 +55,7 @@ - + 336 @@ -70,7 +71,7 @@ - + 1154 @@ -86,7 +87,7 @@ - + 1248 @@ -98,7 +99,7 @@ - + 488 diff --git a/GMW/GMW_data/DataProxy.cs b/GMW/GMW_data/DataProxy.cs index 1c755d75..9c538b69 100644 --- a/GMW/GMW_data/DataProxy.cs +++ b/GMW/GMW_data/DataProxy.cs @@ -30,6 +30,7 @@ namespace GMW_data public DS_ApplicazioneTableAdapters.stp_prtCartByUDCTableAdapter taPrtCart; public DS_ApplicazioneTableAdapters.stp_prtCartMatPrimaByUDCTableAdapter taPrtCartMP; public DS_ApplicazioneTableAdapters.v_specParticolariTableAdapter taSpecPart; + public DS_ApplicazioneTableAdapters.ElencoPostazioniTableAdapter taElPost; /// /// init dei table adapters @@ -53,6 +54,7 @@ namespace GMW_data taPrtCart = new GMW_data.DS_ApplicazioneTableAdapters.stp_prtCartByUDCTableAdapter(); taPrtCartMP = new GMW_data.DS_ApplicazioneTableAdapters.stp_prtCartMatPrimaByUDCTableAdapter(); taSpecPart = new GMW_data.DS_ApplicazioneTableAdapters.v_specParticolariTableAdapter(); + taElPost = new GMW_data.DS_ApplicazioneTableAdapters.ElencoPostazioniTableAdapter(); } /// /// effettua setup dei connection strings da web.config delal singola applicazione @@ -78,6 +80,7 @@ namespace GMW_data taPrtCart.Connection.ConnectionString = connString; taPrtCartMP.Connection.ConnectionString = connString; taSpecPart.Connection.ConnectionString = connString; + taElPost.Connection.ConnectionString = connString; } #endregion diff --git a/GMW/GMW_data/bin/Debug/GMW_data.dll b/GMW/GMW_data/bin/Debug/GMW_data.dll index 59ec2010..da2df9e6 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/bin/Debug/SteamWare.dll b/GMW/GMW_data/bin/Debug/SteamWare.dll index 35ac2754..76f41491 100644 Binary files a/GMW/GMW_data/bin/Debug/SteamWare.dll and b/GMW/GMW_data/bin/Debug/SteamWare.dll differ diff --git a/GMW/GMW_data/bin/Debug/SteamWare.xml b/GMW/GMW_data/bin/Debug/SteamWare.xml index 4837a684..becf76be 100644 --- a/GMW/GMW_data/bin/Debug/SteamWare.xml +++ b/GMW/GMW_data/bin/Debug/SteamWare.xml @@ -2221,6 +2221,14 @@ + + + + calcola il nome del computer dato l'IP + + + + Represents a strongly typed in-memory cache of data. diff --git a/GMW/GMW_data/obj/Debug/GMW_data.dll b/GMW/GMW_data/obj/Debug/GMW_data.dll index 59ec2010..da2df9e6 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 01e21240..0a1d805d 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/ResolveAssemblyReference.cache b/GMW/GMW_data/obj/Debug/ResolveAssemblyReference.cache index f434c286..b19227f1 100644 Binary files a/GMW/GMW_data/obj/Debug/ResolveAssemblyReference.cache and b/GMW/GMW_data/obj/Debug/ResolveAssemblyReference.cache 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 f7133d1c..0f6447b6 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