diff --git a/Data/DS_app.Designer.cs b/Data/DS_app.Designer.cs index d0b1295..1077985 100644 --- a/Data/DS_app.Designer.cs +++ b/Data/DS_app.Designer.cs @@ -1954,8 +1954,6 @@ namespace Data { private global::System.Data.DataColumn columnusername; - private global::System.Data.DataColumn columnpassword; - private global::System.Data.DataColumn columnnome; private global::System.Data.DataColumn columnindirizzo; @@ -1970,6 +1968,10 @@ namespace Data { private global::System.Data.DataColumn columniscritta; + private global::System.Data.DataColumn columnattivo; + + private global::System.Data.DataColumn columncssStatoForn; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] public AnagFornitoriDataTable() { @@ -2019,14 +2021,6 @@ namespace Data { } } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] - public global::System.Data.DataColumn passwordColumn { - get { - return this.columnpassword; - } - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] public global::System.Data.DataColumn nomeColumn { @@ -2083,6 +2077,22 @@ namespace Data { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public global::System.Data.DataColumn attivoColumn { + get { + return this.columnattivo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public global::System.Data.DataColumn cssStatoFornColumn { + get { + return this.columncssStatoForn; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] [global::System.ComponentModel.Browsable(false)] @@ -2120,19 +2130,20 @@ namespace Data { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] - public AnagFornitoriRow AddAnagFornitoriRow(string username, string password, string nome, string indirizzo, string p_iva, string indirizzo_email, string numero_di_telefono, string numero_di_cellulare, bool iscritta) { + public AnagFornitoriRow AddAnagFornitoriRow(string username, string nome, string indirizzo, string p_iva, string indirizzo_email, string numero_di_telefono, string numero_di_cellulare, bool iscritta, bool attivo, string cssStatoForn) { AnagFornitoriRow rowAnagFornitoriRow = ((AnagFornitoriRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, username, - password, nome, indirizzo, p_iva, indirizzo_email, numero_di_telefono, numero_di_cellulare, - iscritta}; + iscritta, + attivo, + cssStatoForn}; rowAnagFornitoriRow.ItemArray = columnValuesArray; this.Rows.Add(rowAnagFornitoriRow); return rowAnagFornitoriRow; @@ -2164,7 +2175,6 @@ namespace Data { internal void InitVars() { this.columnidxFornitore = base.Columns["idxFornitore"]; this.columnusername = base.Columns["username"]; - this.columnpassword = base.Columns["password"]; this.columnnome = base.Columns["nome"]; this.columnindirizzo = base.Columns["indirizzo"]; this.columnp_iva = base.Columns["p_iva"]; @@ -2172,6 +2182,8 @@ namespace Data { this.columnnumero_di_telefono = base.Columns["numero_di_telefono"]; this.columnnumero_di_cellulare = base.Columns["numero_di_cellulare"]; this.columniscritta = base.Columns["iscritta"]; + this.columnattivo = base.Columns["attivo"]; + this.columncssStatoForn = base.Columns["cssStatoForn"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -2181,8 +2193,6 @@ namespace Data { base.Columns.Add(this.columnidxFornitore); this.columnusername = new global::System.Data.DataColumn("username", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnusername); - this.columnpassword = new global::System.Data.DataColumn("password", typeof(string), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnpassword); this.columnnome = new global::System.Data.DataColumn("nome", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnnome); this.columnindirizzo = new global::System.Data.DataColumn("indirizzo", typeof(string), null, global::System.Data.MappingType.Element); @@ -2197,6 +2207,10 @@ namespace Data { base.Columns.Add(this.columnnumero_di_cellulare); this.columniscritta = new global::System.Data.DataColumn("iscritta", typeof(bool), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columniscritta); + this.columnattivo = new global::System.Data.DataColumn("attivo", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnattivo); + this.columncssStatoForn = new global::System.Data.DataColumn("cssStatoForn", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncssStatoForn); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnidxFornitore}, true)); this.columnidxFornitore.AutoIncrement = true; @@ -2206,7 +2220,6 @@ namespace Data { this.columnidxFornitore.ReadOnly = true; this.columnidxFornitore.Unique = true; this.columnusername.MaxLength = 11; - this.columnpassword.MaxLength = 11; this.columnnome.MaxLength = 100; this.columnindirizzo.MaxLength = 200; this.columnp_iva.MaxLength = 11; @@ -2214,6 +2227,9 @@ namespace Data { this.columnnumero_di_telefono.MaxLength = 20; this.columnnumero_di_cellulare.MaxLength = 20; this.columniscritta.AllowDBNull = false; + this.columnattivo.AllowDBNull = false; + this.columncssStatoForn.ReadOnly = true; + this.columncssStatoForn.MaxLength = 12; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -3556,6 +3572,8 @@ namespace Data { private global::System.Data.DataColumn columncollaboratore; + private global::System.Data.DataColumn columncssStatoForn; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] public ElencolRichDataTable() { @@ -3765,6 +3783,14 @@ namespace Data { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public global::System.Data.DataColumn cssStatoFornColumn { + get { + return this.columncssStatoForn; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] [global::System.ComponentModel.Browsable(false)] @@ -3823,7 +3849,8 @@ namespace Data { string stato, string cssStato, int qtaAzioni, - string collaboratore) { + string collaboratore, + string cssStatoForn) { ElencolRichRow rowElencolRichRow = ((ElencolRichRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, @@ -3847,7 +3874,8 @@ namespace Data { stato, cssStato, qtaAzioni, - collaboratore}; + collaboratore, + cssStatoForn}; rowElencolRichRow.ItemArray = columnValuesArray; this.Rows.Add(rowElencolRichRow); return rowElencolRichRow; @@ -3899,6 +3927,7 @@ namespace Data { this.columncssStato = base.Columns["cssStato"]; this.columnqtaAzioni = base.Columns["qtaAzioni"]; this.columncollaboratore = base.Columns["collaboratore"]; + this.columncssStatoForn = base.Columns["cssStatoForn"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -3948,6 +3977,8 @@ namespace Data { base.Columns.Add(this.columnqtaAzioni); this.columncollaboratore = new global::System.Data.DataColumn("collaboratore", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columncollaboratore); + this.columncssStatoForn = new global::System.Data.DataColumn("cssStatoForn", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncssStatoForn); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnidxRichiesta}, true)); this.columnidxRichiesta.AutoIncrement = true; @@ -3987,6 +4018,8 @@ namespace Data { this.columnqtaAzioni.ReadOnly = true; this.columncollaboratore.ReadOnly = true; this.columncollaboratore.MaxLength = 501; + this.columncssStatoForn.ReadOnly = true; + this.columncssStatoForn.MaxLength = 12; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -7439,22 +7472,6 @@ namespace Data { } } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] - public string password { - get { - try { - return ((string)(this[this.tableAnagFornitori.passwordColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("Il valore della colonna \'password\' nella tabella \'AnagFornitori\' è DBNull.", e); - } - } - set { - this[this.tableAnagFornitori.passwordColumn] = value; - } - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] public string nome { @@ -7565,6 +7582,33 @@ namespace Data { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public bool attivo { + get { + return ((bool)(this[this.tableAnagFornitori.attivoColumn])); + } + set { + this[this.tableAnagFornitori.attivoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public string cssStatoForn { + get { + try { + return ((string)(this[this.tableAnagFornitori.cssStatoFornColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'cssStatoForn\' nella tabella \'AnagFornitori\' è DBNull.", e); + } + } + set { + this[this.tableAnagFornitori.cssStatoFornColumn] = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] public AssF2ARow AssF2ARow { @@ -7588,18 +7632,6 @@ namespace Data { this[this.tableAnagFornitori.usernameColumn] = global::System.Convert.DBNull; } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] - public bool IspasswordNull() { - return this.IsNull(this.tableAnagFornitori.passwordColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] - public void SetpasswordNull() { - this[this.tableAnagFornitori.passwordColumn] = global::System.Convert.DBNull; - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] public bool IsnomeNull() { @@ -7672,6 +7704,18 @@ namespace Data { this[this.tableAnagFornitori.numero_di_cellulareColumn] = global::System.Convert.DBNull; } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public bool IscssStatoFornNull() { + return this.IsNull(this.tableAnagFornitori.cssStatoFornColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public void SetcssStatoFornNull() { + this[this.tableAnagFornitori.cssStatoFornColumn] = global::System.Convert.DBNull; + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] public AssF2CRow[] GetAssF2CRows() { @@ -8528,6 +8572,22 @@ namespace Data { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public string cssStatoForn { + get { + try { + return ((string)(this[this.tableElencolRich.cssStatoFornColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'cssStatoForn\' nella tabella \'ElencolRich\' è DBNull.", e); + } + } + set { + this[this.tableElencolRich.cssStatoFornColumn] = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] public bool Iscod_fornitoreNull() { @@ -8563,6 +8623,18 @@ namespace Data { public void SetcollaboratoreNull() { this[this.tableElencolRich.collaboratoreColumn] = global::System.Convert.DBNull; } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public bool IscssStatoFornNull() { + return this.IsNull(this.tableElencolRich.cssStatoFornColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public void SetcssStatoFornNull() { + this[this.tableElencolRich.cssStatoFornColumn] = global::System.Convert.DBNull; + } } /// @@ -11491,7 +11563,6 @@ SELECT idxCond, cod_cond, nome, indirizzo, cap, citta, cod_fisc, idxAmm, Attivo, tableMapping.DataSetTable = "AnagFornitori"; tableMapping.ColumnMappings.Add("idxFornitore", "idxFornitore"); tableMapping.ColumnMappings.Add("username", "username"); - tableMapping.ColumnMappings.Add("password", "password"); tableMapping.ColumnMappings.Add("nome", "nome"); tableMapping.ColumnMappings.Add("indirizzo", "indirizzo"); tableMapping.ColumnMappings.Add("p_iva", "p_iva"); @@ -11499,76 +11570,9 @@ SELECT idxCond, cod_cond, nome, indirizzo, cap, citta, cod_fisc, idxAmm, Attivo, tableMapping.ColumnMappings.Add("numero_di_telefono", "numero_di_telefono"); tableMapping.ColumnMappings.Add("numero_di_cellulare", "numero_di_cellulare"); tableMapping.ColumnMappings.Add("iscritta", "iscritta"); + tableMapping.ColumnMappings.Add("attivo", "attivo"); + tableMapping.ColumnMappings.Add("cssStatoForn", "cssStatoForn"); 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 [AnagFornitori] WHERE (([idxFornitore] = @Original_idxFornitore) AND ((@IsNull_username = 1 AND [username] IS NULL) OR ([username] = @Original_username)) AND ((@IsNull_password = 1 AND [password] IS NULL) OR ([password] = @Original_password)) AND ((@IsNull_nome = 1 AND [nome] IS NULL) OR ([nome] = @Original_nome)) AND ((@IsNull_indirizzo = 1 AND [indirizzo] IS NULL) OR ([indirizzo] = @Original_indirizzo)) AND ((@IsNull_p_iva = 1 AND [p_iva] IS NULL) OR ([p_iva] = @Original_p_iva)) AND ((@IsNull_indirizzo_email = 1 AND [indirizzo_email] IS NULL) OR ([indirizzo_email] = @Original_indirizzo_email)) AND ((@IsNull_numero_di_telefono = 1 AND [numero_di_telefono] IS NULL) OR ([numero_di_telefono] = @Original_numero_di_telefono)) AND ((@IsNull_numero_di_cellulare = 1 AND [numero_di_cellulare] IS NULL) OR ([numero_di_cellulare] = @Original_numero_di_cellulare)) AND ([iscritta] = @Original_iscritta))"; - this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxFornitore", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxFornitore", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_username", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "username", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_username", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "username", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_password", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "password", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_password", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "password", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_nome", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nome", global::System.Data.DataRowVersion.Original, true, 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.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_indirizzo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indirizzo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_indirizzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indirizzo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_p_iva", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "p_iva", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_p_iva", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "p_iva", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_indirizzo_email", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indirizzo_email", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_indirizzo_email", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indirizzo_email", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_numero_di_telefono", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "numero_di_telefono", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_numero_di_telefono", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "numero_di_telefono", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_numero_di_cellulare", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "numero_di_cellulare", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_numero_di_cellulare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "numero_di_cellulare", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_iscritta", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "iscritta", 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 [AnagFornitori] ([username], [password], [nome], [indirizzo], [p_iva], [indirizzo_email], [numero_di_telefono], [numero_di_cellulare], [iscritta]) VALUES (@username, @password, @nome, @indirizzo, @p_iva, @indirizzo_email, @numero_di_telefono, @numero_di_cellulare, @iscritta); -SELECT idxFornitore, username, password, nome, indirizzo, p_iva, indirizzo_email, numero_di_telefono, numero_di_cellulare, iscritta FROM AnagFornitori WHERE (idxFornitore = SCOPE_IDENTITY())"; - this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@username", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "username", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@password", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "password", 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.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@indirizzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indirizzo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@p_iva", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "p_iva", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@indirizzo_email", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indirizzo_email", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@numero_di_telefono", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "numero_di_telefono", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@numero_di_cellulare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "numero_di_cellulare", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@iscritta", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "iscritta", 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 [AnagFornitori] SET [username] = @username, [password] = @password, [nome] = @nome, [indirizzo] = @indirizzo, [p_iva] = @p_iva, [indirizzo_email] = @indirizzo_email, [numero_di_telefono] = @numero_di_telefono, [numero_di_cellulare] = @numero_di_cellulare, [iscritta] = @iscritta WHERE (([idxFornitore] = @Original_idxFornitore) AND ((@IsNull_username = 1 AND [username] IS NULL) OR ([username] = @Original_username)) AND ((@IsNull_password = 1 AND [password] IS NULL) OR ([password] = @Original_password)) AND ((@IsNull_nome = 1 AND [nome] IS NULL) OR ([nome] = @Original_nome)) AND ((@IsNull_indirizzo = 1 AND [indirizzo] IS NULL) OR ([indirizzo] = @Original_indirizzo)) AND ((@IsNull_p_iva = 1 AND [p_iva] IS NULL) OR ([p_iva] = @Original_p_iva)) AND ((@IsNull_indirizzo_email = 1 AND [indirizzo_email] IS NULL) OR ([indirizzo_email] = @Original_indirizzo_email)) AND ((@IsNull_numero_di_telefono = 1 AND [numero_di_telefono] IS NULL) OR ([numero_di_telefono] = @Original_numero_di_telefono)) AND ((@IsNull_numero_di_cellulare = 1 AND [numero_di_cellulare] IS NULL) OR ([numero_di_cellulare] = @Original_numero_di_cellulare)) AND ([iscritta] = @Original_iscritta)); -SELECT idxFornitore, username, password, nome, indirizzo, p_iva, indirizzo_email, numero_di_telefono, numero_di_cellulare, iscritta FROM AnagFornitori WHERE (idxFornitore = @idxFornitore)"; - this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@username", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "username", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@password", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "password", 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("@indirizzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indirizzo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@p_iva", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "p_iva", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@indirizzo_email", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indirizzo_email", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@numero_di_telefono", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "numero_di_telefono", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@numero_di_cellulare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "numero_di_cellulare", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@iscritta", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "iscritta", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxFornitore", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxFornitore", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_username", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "username", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_username", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "username", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_password", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "password", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_password", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "password", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_nome", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nome", global::System.Data.DataRowVersion.Original, true, 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, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_indirizzo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indirizzo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_indirizzo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indirizzo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_p_iva", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "p_iva", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_p_iva", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "p_iva", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_indirizzo_email", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indirizzo_email", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_indirizzo_email", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indirizzo_email", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_numero_di_telefono", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "numero_di_telefono", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_numero_di_telefono", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "numero_di_telefono", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_numero_di_cellulare", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "numero_di_cellulare", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_numero_di_cellulare", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "numero_di_cellulare", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_iscritta", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "iscritta", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); - this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxFornitore", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idxFornitore", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -11584,7 +11588,7 @@ SELECT idxFornitore, username, password, nome, indirizzo, p_iva, indirizzo_email this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "SELECT *\r\nFROM AnagFornitori"; + this._commandCollection[0].CommandText = "SELECT *\r\nFROM v_AnagFornitori"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[1].Connection = this.Connection; @@ -11680,376 +11684,6 @@ SELECT idxFornitore, username, password, nome, indirizzo, p_iva, indirizzo_email this.Adapter.Fill(dataTable); return dataTable; } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_app.AnagFornitoriDataTable dataTable) { - return this.Adapter.Update(dataTable); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - public virtual int Update(DS_app dataSet) { - return this.Adapter.Update(dataSet, "AnagFornitori"); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] - [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.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] - [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.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] - public virtual int Delete(int Original_idxFornitore, string Original_username, string Original_password, string Original_nome, string Original_indirizzo, string Original_p_iva, string Original_indirizzo_email, string Original_numero_di_telefono, string Original_numero_di_cellulare, bool Original_iscritta) { - this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idxFornitore)); - if ((Original_username == 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_username)); - } - if ((Original_password == null)) { - this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_password)); - } - if ((Original_nome == 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_nome)); - } - if ((Original_indirizzo == null)) { - this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_indirizzo)); - } - if ((Original_p_iva == null)) { - this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_p_iva)); - } - if ((Original_indirizzo_email == null)) { - this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_indirizzo_email)); - } - if ((Original_numero_di_telefono == null)) { - this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[14].Value = ((string)(Original_numero_di_telefono)); - } - if ((Original_numero_di_cellulare == null)) { - this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(1)); - this.Adapter.DeleteCommand.Parameters[16].Value = global::System.DBNull.Value; - } - else { - this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(0)); - this.Adapter.DeleteCommand.Parameters[16].Value = ((string)(Original_numero_di_cellulare)); - } - this.Adapter.DeleteCommand.Parameters[17].Value = ((bool)(Original_iscritta)); - 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.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] - public virtual int Insert(string username, string password, string nome, string indirizzo, string p_iva, string indirizzo_email, string numero_di_telefono, string numero_di_cellulare, bool iscritta) { - if ((username == null)) { - this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[0].Value = ((string)(username)); - } - if ((password == null)) { - this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[1].Value = ((string)(password)); - } - if ((nome == null)) { - this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[2].Value = ((string)(nome)); - } - if ((indirizzo == null)) { - this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[3].Value = ((string)(indirizzo)); - } - if ((p_iva == null)) { - this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[4].Value = ((string)(p_iva)); - } - if ((indirizzo_email == null)) { - this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[5].Value = ((string)(indirizzo_email)); - } - if ((numero_di_telefono == null)) { - this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[6].Value = ((string)(numero_di_telefono)); - } - if ((numero_di_cellulare == null)) { - this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; - } - else { - this.Adapter.InsertCommand.Parameters[7].Value = ((string)(numero_di_cellulare)); - } - this.Adapter.InsertCommand.Parameters[8].Value = ((bool)(iscritta)); - 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.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update( - string username, - string password, - string nome, - string indirizzo, - string p_iva, - string indirizzo_email, - string numero_di_telefono, - string numero_di_cellulare, - bool iscritta, - int Original_idxFornitore, - string Original_username, - string Original_password, - string Original_nome, - string Original_indirizzo, - string Original_p_iva, - string Original_indirizzo_email, - string Original_numero_di_telefono, - string Original_numero_di_cellulare, - bool Original_iscritta, - int idxFornitore) { - if ((username == null)) { - this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(username)); - } - if ((password == null)) { - this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(password)); - } - if ((nome == null)) { - this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(nome)); - } - if ((indirizzo == null)) { - this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(indirizzo)); - } - if ((p_iva == null)) { - this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(p_iva)); - } - if ((indirizzo_email == null)) { - this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(indirizzo_email)); - } - if ((numero_di_telefono == null)) { - this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(numero_di_telefono)); - } - if ((numero_di_cellulare == null)) { - this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(numero_di_cellulare)); - } - this.Adapter.UpdateCommand.Parameters[8].Value = ((bool)(iscritta)); - this.Adapter.UpdateCommand.Parameters[9].Value = ((int)(Original_idxFornitore)); - if ((Original_username == null)) { - this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Original_username)); - } - if ((Original_password == null)) { - this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_password)); - } - if ((Original_nome == 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_nome)); - } - if ((Original_indirizzo == null)) { - this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(Original_indirizzo)); - } - if ((Original_p_iva == null)) { - this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Original_p_iva)); - } - if ((Original_indirizzo_email == null)) { - this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(Original_indirizzo_email)); - } - if ((Original_numero_di_telefono == null)) { - this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(Original_numero_di_telefono)); - } - if ((Original_numero_di_cellulare == null)) { - this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(1)); - this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value; - } - else { - this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(0)); - this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(Original_numero_di_cellulare)); - } - this.Adapter.UpdateCommand.Parameters[26].Value = ((bool)(Original_iscritta)); - this.Adapter.UpdateCommand.Parameters[27].Value = ((int)(idxFornitore)); - 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.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] - public virtual int Update( - string username, - string password, - string nome, - string indirizzo, - string p_iva, - string indirizzo_email, - string numero_di_telefono, - string numero_di_cellulare, - bool iscritta, - int Original_idxFornitore, - string Original_username, - string Original_password, - string Original_nome, - string Original_indirizzo, - string Original_p_iva, - string Original_indirizzo_email, - string Original_numero_di_telefono, - string Original_numero_di_cellulare, - bool Original_iscritta) { - return this.Update(username, password, nome, indirizzo, p_iva, indirizzo_email, numero_di_telefono, numero_di_cellulare, iscritta, Original_idxFornitore, Original_username, Original_password, Original_nome, Original_indirizzo, Original_p_iva, Original_indirizzo_email, Original_numero_di_telefono, Original_numero_di_cellulare, Original_iscritta, Original_idxFornitore); - } } /// @@ -12925,6 +12559,7 @@ SELECT idxFornitore, idxArea, Attivazione FROM AssF2A WHERE (idxArea = @idxArea) tableMapping.ColumnMappings.Add("cssStato", "cssStato"); tableMapping.ColumnMappings.Add("qtaAzioni", "qtaAzioni"); tableMapping.ColumnMappings.Add("collaboratore", "collaboratore"); + tableMapping.ColumnMappings.Add("cssStatoForn", "cssStatoForn"); this._adapter.TableMappings.Add(tableMapping); } @@ -16070,8 +15705,6 @@ SELECT idxDoc, idxRichiesta, idxFornitore, numDoc, dataFatt, intervento, Imponib private AnagCondominiTableAdapter _anagCondominiTableAdapter; - private AnagFornitoriTableAdapter _anagFornitoriTableAdapter; - private AssF2ATableAdapter _assF2ATableAdapter; private AnagStatiTableAdapter _anagStatiTableAdapter; @@ -16111,20 +15744,6 @@ SELECT idxDoc, idxRichiesta, idxFornitore, numDoc, dataFatt, intervento, Imponib } } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] - [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + - "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" + - "a", "System.Drawing.Design.UITypeEditor")] - public AnagFornitoriTableAdapter AnagFornitoriTableAdapter { - get { - return this._anagFornitoriTableAdapter; - } - set { - this._anagFornitoriTableAdapter = value; - } - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" + @@ -16218,10 +15837,6 @@ SELECT idxDoc, idxRichiesta, idxFornitore, numDoc, dataFatt, intervento, Imponib && (this._anagCondominiTableAdapter.Connection != null))) { return this._anagCondominiTableAdapter.Connection; } - if (((this._anagFornitoriTableAdapter != null) - && (this._anagFornitoriTableAdapter.Connection != null))) { - return this._anagFornitoriTableAdapter.Connection; - } if (((this._assF2ATableAdapter != null) && (this._assF2ATableAdapter.Connection != null))) { return this._assF2ATableAdapter.Connection; @@ -16258,9 +15873,6 @@ SELECT idxDoc, idxRichiesta, idxFornitore, numDoc, dataFatt, intervento, Imponib if ((this._anagCondominiTableAdapter != null)) { count = (count + 1); } - if ((this._anagFornitoriTableAdapter != null)) { - count = (count + 1); - } if ((this._assF2ATableAdapter != null)) { count = (count + 1); } @@ -16305,15 +15917,6 @@ SELECT idxDoc, idxRichiesta, idxFornitore, numDoc, dataFatt, intervento, Imponib allChangedRows.AddRange(updatedRows); } } - if ((this._anagFornitoriTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.AnagFornitori.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._anagFornitoriTableAdapter.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); @@ -16376,14 +15979,6 @@ SELECT idxDoc, idxRichiesta, idxFornitore, numDoc, dataFatt, intervento, Imponib allAddedRows.AddRange(addedRows); } } - if ((this._anagFornitoriTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.AnagFornitori.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._anagFornitoriTableAdapter.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) @@ -16458,14 +16053,6 @@ SELECT idxDoc, idxRichiesta, idxFornitore, numDoc, dataFatt, intervento, Imponib allChangedRows.AddRange(deletedRows); } } - if ((this._anagFornitoriTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.AnagFornitori.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._anagFornitoriTableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } if ((this._anagCondominiTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.AnagCondomini.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) @@ -16526,11 +16113,6 @@ SELECT idxDoc, idxRichiesta, idxFornitore, numDoc, dataFatt, intervento, Imponib throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" + "a stessa stringa di connessione."); } - if (((this._anagFornitoriTableAdapter != null) - && (this.MatchTableAdapterConnection(this._anagFornitoriTableAdapter.Connection) == false))) { - throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" + - "a stessa stringa di connessione."); - } if (((this._assF2ATableAdapter != null) && (this.MatchTableAdapterConnection(this._assF2ATableAdapter.Connection) == false))) { throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" + @@ -16598,15 +16180,6 @@ SELECT idxDoc, idxRichiesta, idxFornitore, numDoc, dataFatt, intervento, Imponib adaptersWithAcceptChangesDuringUpdate.Add(this._anagCondominiTableAdapter.Adapter); } } - if ((this._anagFornitoriTableAdapter != null)) { - revertConnections.Add(this._anagFornitoriTableAdapter, this._anagFornitoriTableAdapter.Connection); - this._anagFornitoriTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); - this._anagFornitoriTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); - if (this._anagFornitoriTableAdapter.Adapter.AcceptChangesDuringUpdate) { - this._anagFornitoriTableAdapter.Adapter.AcceptChangesDuringUpdate = false; - adaptersWithAcceptChangesDuringUpdate.Add(this._anagFornitoriTableAdapter.Adapter); - } - } if ((this._assF2ATableAdapter != null)) { revertConnections.Add(this._assF2ATableAdapter, this._assF2ATableAdapter.Connection); this._assF2ATableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); @@ -16714,10 +16287,6 @@ SELECT idxDoc, idxRichiesta, idxFornitore, numDoc, dataFatt, intervento, Imponib this._anagCondominiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagCondominiTableAdapter])); this._anagCondominiTableAdapter.Transaction = null; } - if ((this._anagFornitoriTableAdapter != null)) { - this._anagFornitoriTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagFornitoriTableAdapter])); - this._anagFornitoriTableAdapter.Transaction = null; - } if ((this._assF2ATableAdapter != null)) { this._assF2ATableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._assF2ATableAdapter])); this._assF2ATableAdapter.Transaction = null; diff --git a/Data/DS_app.xsd b/Data/DS_app.xsd index d740fa0..5d4c76a 100644 --- a/Data/DS_app.xsd +++ b/Data/DS_app.xsd @@ -223,98 +223,19 @@ SELECT idxCond, cod_cond, nome, indirizzo, cap, citta, cod_fisc, idxAmm, Attivo, - - - - DELETE FROM [AnagFornitori] WHERE (([idxFornitore] = @Original_idxFornitore) AND ((@IsNull_username = 1 AND [username] IS NULL) OR ([username] = @Original_username)) AND ((@IsNull_password = 1 AND [password] IS NULL) OR ([password] = @Original_password)) AND ((@IsNull_nome = 1 AND [nome] IS NULL) OR ([nome] = @Original_nome)) AND ((@IsNull_indirizzo = 1 AND [indirizzo] IS NULL) OR ([indirizzo] = @Original_indirizzo)) AND ((@IsNull_p_iva = 1 AND [p_iva] IS NULL) OR ([p_iva] = @Original_p_iva)) AND ((@IsNull_indirizzo_email = 1 AND [indirizzo_email] IS NULL) OR ([indirizzo_email] = @Original_indirizzo_email)) AND ((@IsNull_numero_di_telefono = 1 AND [numero_di_telefono] IS NULL) OR ([numero_di_telefono] = @Original_numero_di_telefono)) AND ((@IsNull_numero_di_cellulare = 1 AND [numero_di_cellulare] IS NULL) OR ([numero_di_cellulare] = @Original_numero_di_cellulare)) AND ([iscritta] = @Original_iscritta)) - - - - - - - - - - - - - - - - - - - - - - - - - INSERT INTO [AnagFornitori] ([username], [password], [nome], [indirizzo], [p_iva], [indirizzo_email], [numero_di_telefono], [numero_di_cellulare], [iscritta]) VALUES (@username, @password, @nome, @indirizzo, @p_iva, @indirizzo_email, @numero_di_telefono, @numero_di_cellulare, @iscritta); -SELECT idxFornitore, username, password, nome, indirizzo, p_iva, indirizzo_email, numero_di_telefono, numero_di_cellulare, iscritta FROM AnagFornitori WHERE (idxFornitore = SCOPE_IDENTITY()) - - - - - - - - - - - - - + SELECT * -FROM AnagFornitori +FROM v_AnagFornitori - - - UPDATE [AnagFornitori] SET [username] = @username, [password] = @password, [nome] = @nome, [indirizzo] = @indirizzo, [p_iva] = @p_iva, [indirizzo_email] = @indirizzo_email, [numero_di_telefono] = @numero_di_telefono, [numero_di_cellulare] = @numero_di_cellulare, [iscritta] = @iscritta WHERE (([idxFornitore] = @Original_idxFornitore) AND ((@IsNull_username = 1 AND [username] IS NULL) OR ([username] = @Original_username)) AND ((@IsNull_password = 1 AND [password] IS NULL) OR ([password] = @Original_password)) AND ((@IsNull_nome = 1 AND [nome] IS NULL) OR ([nome] = @Original_nome)) AND ((@IsNull_indirizzo = 1 AND [indirizzo] IS NULL) OR ([indirizzo] = @Original_indirizzo)) AND ((@IsNull_p_iva = 1 AND [p_iva] IS NULL) OR ([p_iva] = @Original_p_iva)) AND ((@IsNull_indirizzo_email = 1 AND [indirizzo_email] IS NULL) OR ([indirizzo_email] = @Original_indirizzo_email)) AND ((@IsNull_numero_di_telefono = 1 AND [numero_di_telefono] IS NULL) OR ([numero_di_telefono] = @Original_numero_di_telefono)) AND ((@IsNull_numero_di_cellulare = 1 AND [numero_di_cellulare] IS NULL) OR ([numero_di_cellulare] = @Original_numero_di_cellulare)) AND ([iscritta] = @Original_iscritta)); -SELECT idxFornitore, username, password, nome, indirizzo, p_iva, indirizzo_email, numero_di_telefono, numero_di_cellulare, iscritta FROM AnagFornitori WHERE (idxFornitore = @idxFornitore) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -322,6 +243,8 @@ SELECT idxFornitore, username, password, nome, indirizzo, p_iva, indirizzo_email + + @@ -530,6 +453,7 @@ FROM v_ElencolRich + @@ -1144,7 +1068,7 @@ SELECT idxDoc, idxRichiesta, idxFornitore, numDoc, dataFatt, intervento, Imponib - + @@ -1171,7 +1095,7 @@ SELECT idxDoc, idxRichiesta, idxFornitore, numDoc, dataFatt, intervento, Imponib - + @@ -1229,7 +1153,7 @@ SELECT idxDoc, idxRichiesta, idxFornitore, numDoc, dataFatt, intervento, Imponib - + @@ -1258,7 +1182,7 @@ SELECT idxDoc, idxRichiesta, idxFornitore, numDoc, dataFatt, intervento, Imponib - + @@ -1269,13 +1193,6 @@ SELECT idxDoc, idxRichiesta, idxFornitore, numDoc, dataFatt, intervento, Imponib - - - - - - - @@ -1319,10 +1236,18 @@ SELECT idxDoc, idxRichiesta, idxFornitore, numDoc, dataFatt, intervento, Imponib + + + + + + + + - + @@ -1331,7 +1256,7 @@ SELECT idxDoc, idxRichiesta, idxFornitore, numDoc, dataFatt, intervento, Imponib - + @@ -1413,7 +1338,7 @@ SELECT idxDoc, idxRichiesta, idxFornitore, numDoc, dataFatt, intervento, Imponib - + @@ -1427,7 +1352,7 @@ SELECT idxDoc, idxRichiesta, idxFornitore, numDoc, dataFatt, intervento, Imponib - + @@ -1518,10 +1443,17 @@ SELECT idxDoc, idxRichiesta, idxFornitore, numDoc, dataFatt, intervento, Imponib + + + + + + + - + @@ -1549,7 +1481,7 @@ SELECT idxDoc, idxRichiesta, idxFornitore, numDoc, dataFatt, intervento, Imponib - + @@ -1574,7 +1506,7 @@ SELECT idxDoc, idxRichiesta, idxFornitore, numDoc, dataFatt, intervento, Imponib - + @@ -1590,7 +1522,7 @@ SELECT idxDoc, idxRichiesta, idxFornitore, numDoc, dataFatt, intervento, Imponib - + @@ -1605,7 +1537,7 @@ SELECT idxDoc, idxRichiesta, idxFornitore, numDoc, dataFatt, intervento, Imponib - + @@ -1677,7 +1609,7 @@ SELECT idxDoc, idxRichiesta, idxFornitore, numDoc, dataFatt, intervento, Imponib - + @@ -1691,7 +1623,7 @@ SELECT idxDoc, idxRichiesta, idxFornitore, numDoc, dataFatt, intervento, Imponib - + @@ -1739,7 +1671,7 @@ SELECT idxDoc, idxRichiesta, idxFornitore, numDoc, dataFatt, intervento, Imponib - + @@ -1821,11 +1753,11 @@ SELECT idxDoc, idxRichiesta, idxFornitore, numDoc, dataFatt, intervento, Imponib - - - - - + + + + + \ No newline at end of file diff --git a/Data/DS_app.xss b/Data/DS_app.xss index 6da37a9..9399d42 100644 --- a/Data/DS_app.xss +++ b/Data/DS_app.xss @@ -9,7 +9,7 @@ - + @@ -39,12 +39,12 @@ - 900 + 942 913 - 900 - 883 + 942 + 877 @@ -75,11 +75,11 @@ - 976 - 495 + 967 + 466 - 976 + 967 424 diff --git a/Jenkinsfile b/Jenkinsfile index e0d37bb..b0855e3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -17,7 +17,7 @@ pipeline { /* calcolo numero versione... diverso x branch MASTER/DEVELOP */ script { - withEnv(['NEXT_BUILD_NUMBER=172']) { + withEnv(['NEXT_BUILD_NUMBER=173']) { // env.versionNumber = VersionNumber(versionNumberString : '1.0.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true) env.versionNumber = VersionNumber(versionNumberString : '1.0.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}') env.APP_NAME = 'SOSCONDOMINI' diff --git a/PUB/SitePAM.master.cs b/PUB/SitePAM.master.cs index 74293a3..a8ad0a7 100644 --- a/PUB/SitePAM.master.cs +++ b/PUB/SitePAM.master.cs @@ -24,7 +24,7 @@ namespace PUB catch { } memLayer.ML.setSessionVal("idxAmm", idxAmm); - //memLayer.ML.setSessionVal("idxFornitore", "0"); + memLayer.ML.setSessionVal("idxFornitore", "0"); try { nomeAmm = rigaAmministratore(idxAmm).RagSociale; diff --git a/PUB/SitePAZ.master.cs b/PUB/SitePAZ.master.cs index aad57b5..e167295 100644 --- a/PUB/SitePAZ.master.cs +++ b/PUB/SitePAZ.master.cs @@ -23,7 +23,7 @@ namespace PUB } catch { } - //memLayer.ML.setSessionVal("idxAmm", "0"); + memLayer.ML.setSessionVal("idxAmm", "0"); memLayer.ML.setSessionVal("idxFornitore", idxFornitore); try { diff --git a/PUB/WebUserContols/mod_ER_grid.ascx b/PUB/WebUserContols/mod_ER_grid.ascx index 9e79d9e..d9a0a53 100644 --- a/PUB/WebUserContols/mod_ER_grid.ascx +++ b/PUB/WebUserContols/mod_ER_grid.ascx @@ -40,7 +40,7 @@
-
+