diff --git a/ETS_Data/Ds_ProjEts.Designer.cs b/ETS_Data/Ds_ProjEts.Designer.cs index 0948333..36ef4d3 100644 --- a/ETS_Data/Ds_ProjEts.Designer.cs +++ b/ETS_Data/Ds_ProjEts.Designer.cs @@ -28,8 +28,12 @@ namespace ETS_Data { private AnagFasiDataTable tableAnagFasi; + private DatiCommessaDataTable tableDatiCommessa; + private global::System.Data.DataRelation relationAnagProgetti_AnagFasi; + private global::System.Data.DataRelation relationDatiCommessa_AnagFasi; + private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -64,6 +68,9 @@ namespace ETS_Data { if ((ds.Tables["AnagFasi"] != null)) { base.Tables.Add(new AnagFasiDataTable(ds.Tables["AnagFasi"])); } + if ((ds.Tables["DatiCommessa"] != null)) { + base.Tables.Add(new DatiCommessaDataTable(ds.Tables["DatiCommessa"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -102,6 +109,16 @@ namespace ETS_Data { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public DatiCommessaDataTable DatiCommessa { + get { + return this.tableDatiCommessa; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.BrowsableAttribute(true)] @@ -175,6 +192,9 @@ namespace ETS_Data { if ((ds.Tables["AnagFasi"] != null)) { base.Tables.Add(new AnagFasiDataTable(ds.Tables["AnagFasi"])); } + if ((ds.Tables["DatiCommessa"] != null)) { + base.Tables.Add(new DatiCommessaDataTable(ds.Tables["DatiCommessa"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -220,7 +240,14 @@ namespace ETS_Data { this.tableAnagFasi.InitVars(); } } + this.tableDatiCommessa = ((DatiCommessaDataTable)(base.Tables["DatiCommessa"])); + if ((initTable == true)) { + if ((this.tableDatiCommessa != null)) { + this.tableDatiCommessa.InitVars(); + } + } this.relationAnagProgetti_AnagFasi = this.Relations["AnagProgetti_AnagFasi"]; + this.relationDatiCommessa_AnagFasi = this.Relations["DatiCommessa_AnagFasi"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -235,10 +262,16 @@ namespace ETS_Data { base.Tables.Add(this.tableAnagProgetti); this.tableAnagFasi = new AnagFasiDataTable(); base.Tables.Add(this.tableAnagFasi); + this.tableDatiCommessa = new DatiCommessaDataTable(); + base.Tables.Add(this.tableDatiCommessa); this.relationAnagProgetti_AnagFasi = new global::System.Data.DataRelation("AnagProgetti_AnagFasi", new global::System.Data.DataColumn[] { this.tableAnagProgetti.idxProgettoColumn}, new global::System.Data.DataColumn[] { this.tableAnagFasi.idxProgettoColumn}, false); this.Relations.Add(this.relationAnagProgetti_AnagFasi); + this.relationDatiCommessa_AnagFasi = new global::System.Data.DataRelation("DatiCommessa_AnagFasi", new global::System.Data.DataColumn[] { + this.tableDatiCommessa.idxFaseColumn}, new global::System.Data.DataColumn[] { + this.tableAnagFasi.idxFaseColumn}, false); + this.Relations.Add(this.relationDatiCommessa_AnagFasi); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -253,6 +286,12 @@ namespace ETS_Data { return false; } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private bool ShouldSerializeDatiCommessa() { + return false; + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { @@ -314,6 +353,9 @@ namespace ETS_Data { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public delegate void AnagFasiRowChangeEventHandler(object sender, AnagFasiRowChangeEvent e); + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public delegate void DatiCommessaRowChangeEventHandler(object sender, DatiCommessaRowChangeEvent e); + /// ///Represents the strongly named DataTable class. /// @@ -1210,6 +1252,579 @@ namespace ETS_Data { } } + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class DatiCommessaDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnidxFase; + + private global::System.Data.DataColumn columnAnnoCommessa; + + private global::System.Data.DataColumn columnNumeroCommessa; + + private global::System.Data.DataColumn columnnickname; + + private global::System.Data.DataColumn columnCheckOk; + + private global::System.Data.DataColumn columnCapoCommessa; + + private global::System.Data.DataColumn columnSQC; + + private global::System.Data.DataColumn columnPubblico; + + private global::System.Data.DataColumn columnEnteProcuratore; + + private global::System.Data.DataColumn columnImporto; + + private global::System.Data.DataColumn columnDataApertura; + + private global::System.Data.DataColumn columnrifOfferta; + + private global::System.Data.DataColumn columnurlOfferta; + + private global::System.Data.DataColumn columnrifOrdine; + + private global::System.Data.DataColumn columnurlOrdine; + + private global::System.Data.DataColumn columnIndirizzo; + + private global::System.Data.DataColumn columnNote; + + private global::System.Data.DataColumn columnNomeComm; + + private global::System.Data.DataColumn columnImportoIntegr; + + private global::System.Data.DataColumn columnImportoFornExt; + + private global::System.Data.DataColumn columnBCWS; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public DatiCommessaDataTable() { + this.TableName = "DatiCommessa"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal DatiCommessaDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected DatiCommessaDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn idxFaseColumn { + get { + return this.columnidxFase; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn AnnoCommessaColumn { + get { + return this.columnAnnoCommessa; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NumeroCommessaColumn { + get { + return this.columnNumeroCommessa; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn nicknameColumn { + get { + return this.columnnickname; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CheckOkColumn { + get { + return this.columnCheckOk; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn CapoCommessaColumn { + get { + return this.columnCapoCommessa; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn SQCColumn { + get { + return this.columnSQC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn PubblicoColumn { + get { + return this.columnPubblico; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn EnteProcuratoreColumn { + get { + return this.columnEnteProcuratore; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ImportoColumn { + get { + return this.columnImporto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn DataAperturaColumn { + get { + return this.columnDataApertura; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn rifOffertaColumn { + get { + return this.columnrifOfferta; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn urlOffertaColumn { + get { + return this.columnurlOfferta; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn rifOrdineColumn { + get { + return this.columnrifOrdine; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn urlOrdineColumn { + get { + return this.columnurlOrdine; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn IndirizzoColumn { + get { + return this.columnIndirizzo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NoteColumn { + get { + return this.columnNote; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn NomeCommColumn { + get { + return this.columnNomeComm; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ImportoIntegrColumn { + get { + return this.columnImportoIntegr; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn ImportoFornExtColumn { + get { + return this.columnImportoFornExt; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataColumn BCWSColumn { + get { + return this.columnBCWS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public DatiCommessaRow this[int index] { + get { + return ((DatiCommessaRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event DatiCommessaRowChangeEventHandler DatiCommessaRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event DatiCommessaRowChangeEventHandler DatiCommessaRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event DatiCommessaRowChangeEventHandler DatiCommessaRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public event DatiCommessaRowChangeEventHandler DatiCommessaRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void AddDatiCommessaRow(DatiCommessaRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public DatiCommessaRow AddDatiCommessaRow( + int idxFase, + int AnnoCommessa, + int NumeroCommessa, + string nickname, + bool CheckOk, + string CapoCommessa, + bool SQC, + bool Pubblico, + string EnteProcuratore, + decimal Importo, + System.DateTime DataApertura, + string rifOfferta, + string urlOfferta, + string rifOrdine, + string urlOrdine, + string Indirizzo, + string Note, + string NomeComm, + decimal ImportoIntegr, + decimal ImportoFornExt, + decimal BCWS) { + DatiCommessaRow rowDatiCommessaRow = ((DatiCommessaRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + idxFase, + AnnoCommessa, + NumeroCommessa, + nickname, + CheckOk, + CapoCommessa, + SQC, + Pubblico, + EnteProcuratore, + Importo, + DataApertura, + rifOfferta, + urlOfferta, + rifOrdine, + urlOrdine, + Indirizzo, + Note, + NomeComm, + ImportoIntegr, + ImportoFornExt, + BCWS}; + rowDatiCommessaRow.ItemArray = columnValuesArray; + this.Rows.Add(rowDatiCommessaRow); + return rowDatiCommessaRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public DatiCommessaRow FindByidxFase(int idxFase) { + return ((DatiCommessaRow)(this.Rows.Find(new object[] { + idxFase}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public override global::System.Data.DataTable Clone() { + DatiCommessaDataTable cln = ((DatiCommessaDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new DatiCommessaDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal void InitVars() { + this.columnidxFase = base.Columns["idxFase"]; + this.columnAnnoCommessa = base.Columns["AnnoCommessa"]; + this.columnNumeroCommessa = base.Columns["NumeroCommessa"]; + this.columnnickname = base.Columns["nickname"]; + this.columnCheckOk = base.Columns["CheckOk"]; + this.columnCapoCommessa = base.Columns["CapoCommessa"]; + this.columnSQC = base.Columns["SQC"]; + this.columnPubblico = base.Columns["Pubblico"]; + this.columnEnteProcuratore = base.Columns["EnteProcuratore"]; + this.columnImporto = base.Columns["Importo"]; + this.columnDataApertura = base.Columns["DataApertura"]; + this.columnrifOfferta = base.Columns["rifOfferta"]; + this.columnurlOfferta = base.Columns["urlOfferta"]; + this.columnrifOrdine = base.Columns["rifOrdine"]; + this.columnurlOrdine = base.Columns["urlOrdine"]; + this.columnIndirizzo = base.Columns["Indirizzo"]; + this.columnNote = base.Columns["Note"]; + this.columnNomeComm = base.Columns["NomeComm"]; + this.columnImportoIntegr = base.Columns["ImportoIntegr"]; + this.columnImportoFornExt = base.Columns["ImportoFornExt"]; + this.columnBCWS = base.Columns["BCWS"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitClass() { + this.columnidxFase = new global::System.Data.DataColumn("idxFase", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxFase); + this.columnAnnoCommessa = new global::System.Data.DataColumn("AnnoCommessa", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnAnnoCommessa); + this.columnNumeroCommessa = new global::System.Data.DataColumn("NumeroCommessa", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNumeroCommessa); + this.columnnickname = new global::System.Data.DataColumn("nickname", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnnickname); + this.columnCheckOk = new global::System.Data.DataColumn("CheckOk", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCheckOk); + this.columnCapoCommessa = new global::System.Data.DataColumn("CapoCommessa", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCapoCommessa); + this.columnSQC = new global::System.Data.DataColumn("SQC", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnSQC); + this.columnPubblico = new global::System.Data.DataColumn("Pubblico", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPubblico); + this.columnEnteProcuratore = new global::System.Data.DataColumn("EnteProcuratore", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnEnteProcuratore); + this.columnImporto = new global::System.Data.DataColumn("Importo", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnImporto); + this.columnDataApertura = new global::System.Data.DataColumn("DataApertura", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataApertura); + this.columnrifOfferta = new global::System.Data.DataColumn("rifOfferta", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnrifOfferta); + this.columnurlOfferta = new global::System.Data.DataColumn("urlOfferta", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnurlOfferta); + this.columnrifOrdine = new global::System.Data.DataColumn("rifOrdine", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnrifOrdine); + this.columnurlOrdine = new global::System.Data.DataColumn("urlOrdine", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnurlOrdine); + this.columnIndirizzo = new global::System.Data.DataColumn("Indirizzo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIndirizzo); + this.columnNote = new global::System.Data.DataColumn("Note", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNote); + this.columnNomeComm = new global::System.Data.DataColumn("NomeComm", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNomeComm); + this.columnImportoIntegr = new global::System.Data.DataColumn("ImportoIntegr", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnImportoIntegr); + this.columnImportoFornExt = new global::System.Data.DataColumn("ImportoFornExt", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnImportoFornExt); + this.columnBCWS = new global::System.Data.DataColumn("BCWS", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnBCWS); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnidxFase}, true)); + this.columnidxFase.AllowDBNull = false; + this.columnidxFase.Unique = true; + this.columnnickname.MaxLength = 50; + this.columnCapoCommessa.MaxLength = 50; + this.columnEnteProcuratore.MaxLength = 100; + this.columnrifOfferta.MaxLength = 100; + this.columnurlOfferta.MaxLength = 250; + this.columnrifOrdine.MaxLength = 100; + this.columnurlOrdine.MaxLength = 250; + this.columnIndirizzo.MaxLength = 100; + this.columnNote.MaxLength = 500; + this.columnNomeComm.ReadOnly = true; + this.columnNomeComm.MaxLength = 250; + this.columnImportoIntegr.ReadOnly = true; + this.columnImportoFornExt.ReadOnly = true; + this.columnBCWS.ReadOnly = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public DatiCommessaRow NewDatiCommessaRow() { + return ((DatiCommessaRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new DatiCommessaRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(DatiCommessaRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.DatiCommessaRowChanged != null)) { + this.DatiCommessaRowChanged(this, new DatiCommessaRowChangeEvent(((DatiCommessaRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.DatiCommessaRowChanging != null)) { + this.DatiCommessaRowChanging(this, new DatiCommessaRowChangeEvent(((DatiCommessaRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.DatiCommessaRowDeleted != null)) { + this.DatiCommessaRowDeleted(this, new DatiCommessaRowChangeEvent(((DatiCommessaRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.DatiCommessaRowDeleting != null)) { + this.DatiCommessaRowDeleting(this, new DatiCommessaRowChangeEvent(((DatiCommessaRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void RemoveDatiCommessaRow(DatiCommessaRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + Ds_ProjEts ds = new Ds_ProjEts(); + 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 = "DatiCommessaDataTable"; + 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. /// @@ -1761,6 +2376,17 @@ namespace ETS_Data { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public DatiCommessaRow DatiCommessaRow { + get { + return ((DatiCommessaRow)(this.GetParentRow(this.Table.ParentRelations["DatiCommessa_AnagFasi"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["DatiCommessa_AnagFasi"]); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsidxProgettoNull() { @@ -1882,6 +2508,603 @@ namespace ETS_Data { } } + /// + ///Represents strongly named DataRow class. + /// + public partial class DatiCommessaRow : global::System.Data.DataRow { + + private DatiCommessaDataTable tableDatiCommessa; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal DatiCommessaRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableDatiCommessa = ((DatiCommessaDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int idxFase { + get { + return ((int)(this[this.tableDatiCommessa.idxFaseColumn])); + } + set { + this[this.tableDatiCommessa.idxFaseColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int AnnoCommessa { + get { + try { + return ((int)(this[this.tableDatiCommessa.AnnoCommessaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'AnnoCommessa\' in table \'DatiCommessa\' is DBNull.", e); + } + } + set { + this[this.tableDatiCommessa.AnnoCommessaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public int NumeroCommessa { + get { + try { + return ((int)(this[this.tableDatiCommessa.NumeroCommessaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'NumeroCommessa\' in table \'DatiCommessa\' is DBNull.", e); + } + } + set { + this[this.tableDatiCommessa.NumeroCommessaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string nickname { + get { + try { + return ((string)(this[this.tableDatiCommessa.nicknameColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'nickname\' in table \'DatiCommessa\' is DBNull.", e); + } + } + set { + this[this.tableDatiCommessa.nicknameColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool CheckOk { + get { + try { + return ((bool)(this[this.tableDatiCommessa.CheckOkColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CheckOk\' in table \'DatiCommessa\' is DBNull.", e); + } + } + set { + this[this.tableDatiCommessa.CheckOkColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string CapoCommessa { + get { + try { + return ((string)(this[this.tableDatiCommessa.CapoCommessaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CapoCommessa\' in table \'DatiCommessa\' is DBNull.", e); + } + } + set { + this[this.tableDatiCommessa.CapoCommessaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool SQC { + get { + try { + return ((bool)(this[this.tableDatiCommessa.SQCColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'SQC\' in table \'DatiCommessa\' is DBNull.", e); + } + } + set { + this[this.tableDatiCommessa.SQCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool Pubblico { + get { + try { + return ((bool)(this[this.tableDatiCommessa.PubblicoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Pubblico\' in table \'DatiCommessa\' is DBNull.", e); + } + } + set { + this[this.tableDatiCommessa.PubblicoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string EnteProcuratore { + get { + try { + return ((string)(this[this.tableDatiCommessa.EnteProcuratoreColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'EnteProcuratore\' in table \'DatiCommessa\' is DBNull.", e); + } + } + set { + this[this.tableDatiCommessa.EnteProcuratoreColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal Importo { + get { + try { + return ((decimal)(this[this.tableDatiCommessa.ImportoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Importo\' in table \'DatiCommessa\' is DBNull.", e); + } + } + set { + this[this.tableDatiCommessa.ImportoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public System.DateTime DataApertura { + get { + try { + return ((global::System.DateTime)(this[this.tableDatiCommessa.DataAperturaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DataApertura\' in table \'DatiCommessa\' is DBNull.", e); + } + } + set { + this[this.tableDatiCommessa.DataAperturaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string rifOfferta { + get { + try { + return ((string)(this[this.tableDatiCommessa.rifOffertaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'rifOfferta\' in table \'DatiCommessa\' is DBNull.", e); + } + } + set { + this[this.tableDatiCommessa.rifOffertaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string urlOfferta { + get { + try { + return ((string)(this[this.tableDatiCommessa.urlOffertaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'urlOfferta\' in table \'DatiCommessa\' is DBNull.", e); + } + } + set { + this[this.tableDatiCommessa.urlOffertaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string rifOrdine { + get { + try { + return ((string)(this[this.tableDatiCommessa.rifOrdineColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'rifOrdine\' in table \'DatiCommessa\' is DBNull.", e); + } + } + set { + this[this.tableDatiCommessa.rifOrdineColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string urlOrdine { + get { + try { + return ((string)(this[this.tableDatiCommessa.urlOrdineColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'urlOrdine\' in table \'DatiCommessa\' is DBNull.", e); + } + } + set { + this[this.tableDatiCommessa.urlOrdineColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Indirizzo { + get { + try { + return ((string)(this[this.tableDatiCommessa.IndirizzoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Indirizzo\' in table \'DatiCommessa\' is DBNull.", e); + } + } + set { + this[this.tableDatiCommessa.IndirizzoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string Note { + get { + try { + return ((string)(this[this.tableDatiCommessa.NoteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Note\' in table \'DatiCommessa\' is DBNull.", e); + } + } + set { + this[this.tableDatiCommessa.NoteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public string NomeComm { + get { + try { + return ((string)(this[this.tableDatiCommessa.NomeCommColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'NomeComm\' in table \'DatiCommessa\' is DBNull.", e); + } + } + set { + this[this.tableDatiCommessa.NomeCommColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal ImportoIntegr { + get { + try { + return ((decimal)(this[this.tableDatiCommessa.ImportoIntegrColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ImportoIntegr\' in table \'DatiCommessa\' is DBNull.", e); + } + } + set { + this[this.tableDatiCommessa.ImportoIntegrColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal ImportoFornExt { + get { + try { + return ((decimal)(this[this.tableDatiCommessa.ImportoFornExtColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ImportoFornExt\' in table \'DatiCommessa\' is DBNull.", e); + } + } + set { + this[this.tableDatiCommessa.ImportoFornExtColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public decimal BCWS { + get { + try { + return ((decimal)(this[this.tableDatiCommessa.BCWSColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'BCWS\' in table \'DatiCommessa\' is DBNull.", e); + } + } + set { + this[this.tableDatiCommessa.BCWSColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsAnnoCommessaNull() { + return this.IsNull(this.tableDatiCommessa.AnnoCommessaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetAnnoCommessaNull() { + this[this.tableDatiCommessa.AnnoCommessaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNumeroCommessaNull() { + return this.IsNull(this.tableDatiCommessa.NumeroCommessaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNumeroCommessaNull() { + this[this.tableDatiCommessa.NumeroCommessaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsnicknameNull() { + return this.IsNull(this.tableDatiCommessa.nicknameColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetnicknameNull() { + this[this.tableDatiCommessa.nicknameColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCheckOkNull() { + return this.IsNull(this.tableDatiCommessa.CheckOkColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCheckOkNull() { + this[this.tableDatiCommessa.CheckOkColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsCapoCommessaNull() { + return this.IsNull(this.tableDatiCommessa.CapoCommessaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetCapoCommessaNull() { + this[this.tableDatiCommessa.CapoCommessaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsSQCNull() { + return this.IsNull(this.tableDatiCommessa.SQCColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetSQCNull() { + this[this.tableDatiCommessa.SQCColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsPubblicoNull() { + return this.IsNull(this.tableDatiCommessa.PubblicoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetPubblicoNull() { + this[this.tableDatiCommessa.PubblicoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsEnteProcuratoreNull() { + return this.IsNull(this.tableDatiCommessa.EnteProcuratoreColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetEnteProcuratoreNull() { + this[this.tableDatiCommessa.EnteProcuratoreColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsImportoNull() { + return this.IsNull(this.tableDatiCommessa.ImportoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetImportoNull() { + this[this.tableDatiCommessa.ImportoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsDataAperturaNull() { + return this.IsNull(this.tableDatiCommessa.DataAperturaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetDataAperturaNull() { + this[this.tableDatiCommessa.DataAperturaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsrifOffertaNull() { + return this.IsNull(this.tableDatiCommessa.rifOffertaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetrifOffertaNull() { + this[this.tableDatiCommessa.rifOffertaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsurlOffertaNull() { + return this.IsNull(this.tableDatiCommessa.urlOffertaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SeturlOffertaNull() { + this[this.tableDatiCommessa.urlOffertaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsrifOrdineNull() { + return this.IsNull(this.tableDatiCommessa.rifOrdineColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetrifOrdineNull() { + this[this.tableDatiCommessa.rifOrdineColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsurlOrdineNull() { + return this.IsNull(this.tableDatiCommessa.urlOrdineColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SeturlOrdineNull() { + this[this.tableDatiCommessa.urlOrdineColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsIndirizzoNull() { + return this.IsNull(this.tableDatiCommessa.IndirizzoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetIndirizzoNull() { + this[this.tableDatiCommessa.IndirizzoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNoteNull() { + return this.IsNull(this.tableDatiCommessa.NoteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNoteNull() { + this[this.tableDatiCommessa.NoteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsNomeCommNull() { + return this.IsNull(this.tableDatiCommessa.NomeCommColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetNomeCommNull() { + this[this.tableDatiCommessa.NomeCommColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsImportoIntegrNull() { + return this.IsNull(this.tableDatiCommessa.ImportoIntegrColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetImportoIntegrNull() { + this[this.tableDatiCommessa.ImportoIntegrColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsImportoFornExtNull() { + return this.IsNull(this.tableDatiCommessa.ImportoFornExtColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetImportoFornExtNull() { + this[this.tableDatiCommessa.ImportoFornExtColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool IsBCWSNull() { + return this.IsNull(this.tableDatiCommessa.BCWSColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public void SetBCWSNull() { + this[this.tableDatiCommessa.BCWSColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public AnagFasiRow[] GetAnagFasiRows() { + if ((this.Table.ChildRelations["DatiCommessa_AnagFasi"] == null)) { + return new AnagFasiRow[0]; + } + else { + return ((AnagFasiRow[])(base.GetChildRows(this.Table.ChildRelations["DatiCommessa_AnagFasi"]))); + } + } + } + /// ///Row event argument class /// @@ -1949,6 +3172,40 @@ namespace ETS_Data { } } } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public class DatiCommessaRowChangeEvent : global::System.EventArgs { + + private DatiCommessaRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public DatiCommessaRowChangeEvent(DatiCommessaRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public DatiCommessaRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } } } namespace ETS_Data.Ds_ProjEtsTableAdapters { @@ -3355,6 +4612,1131 @@ namespace ETS_Data.Ds_ProjEtsTableAdapters { } } + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DataObjectAttribute(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class DatiCommessaTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public DatiCommessaTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "DatiCommessa"; + tableMapping.ColumnMappings.Add("idxFase", "idxFase"); + tableMapping.ColumnMappings.Add("AnnoCommessa", "AnnoCommessa"); + tableMapping.ColumnMappings.Add("NumeroCommessa", "NumeroCommessa"); + tableMapping.ColumnMappings.Add("nickname", "nickname"); + tableMapping.ColumnMappings.Add("CheckOk", "CheckOk"); + tableMapping.ColumnMappings.Add("CapoCommessa", "CapoCommessa"); + tableMapping.ColumnMappings.Add("SQC", "SQC"); + tableMapping.ColumnMappings.Add("Pubblico", "Pubblico"); + tableMapping.ColumnMappings.Add("EnteProcuratore", "EnteProcuratore"); + tableMapping.ColumnMappings.Add("Importo", "Importo"); + tableMapping.ColumnMappings.Add("DataApertura", "DataApertura"); + tableMapping.ColumnMappings.Add("rifOfferta", "rifOfferta"); + tableMapping.ColumnMappings.Add("urlOfferta", "urlOfferta"); + tableMapping.ColumnMappings.Add("rifOrdine", "rifOrdine"); + tableMapping.ColumnMappings.Add("urlOrdine", "urlOrdine"); + tableMapping.ColumnMappings.Add("Indirizzo", "Indirizzo"); + tableMapping.ColumnMappings.Add("Note", "Note"); + tableMapping.ColumnMappings.Add("NomeComm", "NomeComm"); + tableMapping.ColumnMappings.Add("ImportoIntegr", "ImportoIntegr"); + tableMapping.ColumnMappings.Add("ImportoFornExt", "ImportoFornExt"); + tableMapping.ColumnMappings.Add("BCWS", "BCWS"); + 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].[DatiCommessa] WHERE (([idxFase] = @Original_idxFase) AND ((@Is" + + "Null_AnnoCommessa = 1 AND [AnnoCommessa] IS NULL) OR ([AnnoCommessa] = @Original" + + "_AnnoCommessa)) AND ((@IsNull_NumeroCommessa = 1 AND [NumeroCommessa] IS NULL) O" + + "R ([NumeroCommessa] = @Original_NumeroCommessa)) AND ((@IsNull_nickname = 1 AND " + + "[nickname] IS NULL) OR ([nickname] = @Original_nickname)) AND ((@IsNull_CheckOk " + + "= 1 AND [CheckOk] IS NULL) OR ([CheckOk] = @Original_CheckOk)) AND ((@IsNull_Cap" + + "oCommessa = 1 AND [CapoCommessa] IS NULL) OR ([CapoCommessa] = @Original_CapoCom" + + "messa)) AND ((@IsNull_SQC = 1 AND [SQC] IS NULL) OR ([SQC] = @Original_SQC)) AND" + + " ((@IsNull_Pubblico = 1 AND [Pubblico] IS NULL) OR ([Pubblico] = @Original_Pubbl" + + "ico)) AND ((@IsNull_EnteProcuratore = 1 AND [EnteProcuratore] IS NULL) OR ([Ente" + + "Procuratore] = @Original_EnteProcuratore)) AND ((@IsNull_Importo = 1 AND [Import" + + "o] IS NULL) OR ([Importo] = @Original_Importo)) AND ((@IsNull_DataApertura = 1 A" + + "ND [DataApertura] IS NULL) OR ([DataApertura] = @Original_DataApertura)) AND ((@" + + "IsNull_rifOfferta = 1 AND [rifOfferta] IS NULL) OR ([rifOfferta] = @Original_rif" + + "Offerta)) AND ((@IsNull_urlOfferta = 1 AND [urlOfferta] IS NULL) OR ([urlOfferta" + + "] = @Original_urlOfferta)) AND ((@IsNull_rifOrdine = 1 AND [rifOrdine] IS NULL) " + + "OR ([rifOrdine] = @Original_rifOrdine)) AND ((@IsNull_urlOrdine = 1 AND [urlOrdi" + + "ne] IS NULL) OR ([urlOrdine] = @Original_urlOrdine)) AND ((@IsNull_Indirizzo = 1" + + " AND [Indirizzo] IS NULL) OR ([Indirizzo] = @Original_Indirizzo)) AND ((@IsNull_" + + "Note = 1 AND [Note] IS NULL) OR ([Note] = @Original_Note)) AND ((@IsNull_NomeCom" + + "m = 1 AND [NomeComm] IS NULL) OR ([NomeComm] = @Original_NomeComm)) AND ((@IsNul" + + "l_ImportoIntegr = 1 AND [ImportoIntegr] IS NULL) OR ([ImportoIntegr] = @Original" + + "_ImportoIntegr)) AND ((@IsNull_ImportoFornExt = 1 AND [ImportoFornExt] IS NULL) " + + "OR ([ImportoFornExt] = @Original_ImportoFornExt)) AND ((@IsNull_BCWS = 1 AND [BC" + + "WS] IS NULL) OR ([BCWS] = @Original_BCWS)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxFase", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxFase", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_AnnoCommessa", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AnnoCommessa", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_AnnoCommessa", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AnnoCommessa", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NumeroCommessa", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumeroCommessa", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumeroCommessa", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumeroCommessa", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_nickname", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nickname", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_nickname", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nickname", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CheckOk", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CheckOk", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CheckOk", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CheckOk", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CapoCommessa", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CapoCommessa", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CapoCommessa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CapoCommessa", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_SQC", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SQC", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SQC", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SQC", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Pubblico", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Pubblico", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Pubblico", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Pubblico", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_EnteProcuratore", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnteProcuratore", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EnteProcuratore", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnteProcuratore", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Importo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Importo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Importo", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "Importo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DataApertura", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataApertura", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataApertura", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataApertura", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_rifOfferta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rifOfferta", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_rifOfferta", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rifOfferta", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_urlOfferta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "urlOfferta", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_urlOfferta", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "urlOfferta", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_rifOrdine", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rifOrdine", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_rifOrdine", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rifOrdine", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_urlOrdine", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "urlOrdine", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_urlOrdine", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "urlOrdine", 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_Note", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NomeComm", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NomeComm", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NomeComm", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NomeComm", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ImportoIntegr", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ImportoIntegr", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ImportoIntegr", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "ImportoIntegr", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ImportoFornExt", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ImportoFornExt", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ImportoFornExt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "ImportoFornExt", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_BCWS", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BCWS", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_BCWS", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "BCWS", 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].[DatiCommessa] ([idxFase], [AnnoCommessa], [NumeroCommessa], [nickname], [CheckOk], [CapoCommessa], [SQC], [Pubblico], [EnteProcuratore], [Importo], [DataApertura], [rifOfferta], [urlOfferta], [rifOrdine], [urlOrdine], [Indirizzo], [Note]) VALUES (@idxFase, @AnnoCommessa, @NumeroCommessa, @nickname, @CheckOk, @CapoCommessa, @SQC, @Pubblico, @EnteProcuratore, @Importo, @DataApertura, @rifOfferta, @urlOfferta, @rifOrdine, @urlOrdine, @Indirizzo, @Note); +SELECT idxFase, AnnoCommessa, NumeroCommessa, nickname, CheckOk, CapoCommessa, SQC, Pubblico, EnteProcuratore, Importo, DataApertura, rifOfferta, urlOfferta, rifOrdine, urlOrdine, Indirizzo, Note, NomeComm, ImportoIntegr, ImportoFornExt, BCWS FROM DatiCommessa WHERE (idxFase = @idxFase)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxFase", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxFase", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AnnoCommessa", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AnnoCommessa", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumeroCommessa", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumeroCommessa", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nickname", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nickname", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CheckOk", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CheckOk", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CapoCommessa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CapoCommessa", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SQC", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SQC", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Pubblico", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Pubblico", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EnteProcuratore", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnteProcuratore", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Importo", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "Importo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataApertura", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataApertura", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@rifOfferta", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rifOfferta", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@urlOfferta", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "urlOfferta", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@rifOrdine", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rifOrdine", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@urlOrdine", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "urlOrdine", 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("@Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", 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].[DatiCommessa] SET [idxFase] = @idxFase, [AnnoCommessa] = @AnnoComme" + + "ssa, [NumeroCommessa] = @NumeroCommessa, [nickname] = @nickname, [CheckOk] = @Ch" + + "eckOk, [CapoCommessa] = @CapoCommessa, [SQC] = @SQC, [Pubblico] = @Pubblico, [En" + + "teProcuratore] = @EnteProcuratore, [Importo] = @Importo, [DataApertura] = @DataA" + + "pertura, [rifOfferta] = @rifOfferta, [urlOfferta] = @urlOfferta, [rifOrdine] = @" + + "rifOrdine, [urlOrdine] = @urlOrdine, [Indirizzo] = @Indirizzo, [Note] = @Note WH" + + "ERE (([idxFase] = @Original_idxFase) AND ((@IsNull_AnnoCommessa = 1 AND [AnnoCom" + + "messa] IS NULL) OR ([AnnoCommessa] = @Original_AnnoCommessa)) AND ((@IsNull_Nume" + + "roCommessa = 1 AND [NumeroCommessa] IS NULL) OR ([NumeroCommessa] = @Original_Nu" + + "meroCommessa)) AND ((@IsNull_nickname = 1 AND [nickname] IS NULL) OR ([nickname]" + + " = @Original_nickname)) AND ((@IsNull_CheckOk = 1 AND [CheckOk] IS NULL) OR ([Ch" + + "eckOk] = @Original_CheckOk)) AND ((@IsNull_CapoCommessa = 1 AND [CapoCommessa] I" + + "S NULL) OR ([CapoCommessa] = @Original_CapoCommessa)) AND ((@IsNull_SQC = 1 AND " + + "[SQC] IS NULL) OR ([SQC] = @Original_SQC)) AND ((@IsNull_Pubblico = 1 AND [Pubbl" + + "ico] IS NULL) OR ([Pubblico] = @Original_Pubblico)) AND ((@IsNull_EnteProcurator" + + "e = 1 AND [EnteProcuratore] IS NULL) OR ([EnteProcuratore] = @Original_EnteProcu" + + "ratore)) AND ((@IsNull_Importo = 1 AND [Importo] IS NULL) OR ([Importo] = @Origi" + + "nal_Importo)) AND ((@IsNull_DataApertura = 1 AND [DataApertura] IS NULL) OR ([Da" + + "taApertura] = @Original_DataApertura)) AND ((@IsNull_rifOfferta = 1 AND [rifOffe" + + "rta] IS NULL) OR ([rifOfferta] = @Original_rifOfferta)) AND ((@IsNull_urlOfferta" + + " = 1 AND [urlOfferta] IS NULL) OR ([urlOfferta] = @Original_urlOfferta)) AND ((@" + + "IsNull_rifOrdine = 1 AND [rifOrdine] IS NULL) OR ([rifOrdine] = @Original_rifOrd" + + "ine)) AND ((@IsNull_urlOrdine = 1 AND [urlOrdine] IS NULL) OR ([urlOrdine] = @Or" + + "iginal_urlOrdine)) AND ((@IsNull_Indirizzo = 1 AND [Indirizzo] IS NULL) OR ([Ind" + + "irizzo] = @Original_Indirizzo)) AND ((@IsNull_Note = 1 AND [Note] IS NULL) OR ([" + + "Note] = @Original_Note)) AND ((@IsNull_NomeComm = 1 AND [NomeComm] IS NULL) OR (" + + "[NomeComm] = @Original_NomeComm)) AND ((@IsNull_ImportoIntegr = 1 AND [ImportoIn" + + "tegr] IS NULL) OR ([ImportoIntegr] = @Original_ImportoIntegr)) AND ((@IsNull_Imp" + + "ortoFornExt = 1 AND [ImportoFornExt] IS NULL) OR ([ImportoFornExt] = @Original_I" + + "mportoFornExt)) AND ((@IsNull_BCWS = 1 AND [BCWS] IS NULL) OR ([BCWS] = @Origina" + + "l_BCWS)));\r\nSELECT idxFase, AnnoCommessa, NumeroCommessa, nickname, CheckOk, Cap" + + "oCommessa, SQC, Pubblico, EnteProcuratore, Importo, DataApertura, rifOfferta, ur" + + "lOfferta, rifOrdine, urlOrdine, Indirizzo, Note, NomeComm, ImportoIntegr, Import" + + "oFornExt, BCWS FROM DatiCommessa WHERE (idxFase = @idxFase)"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxFase", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxFase", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@AnnoCommessa", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AnnoCommessa", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumeroCommessa", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumeroCommessa", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nickname", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nickname", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CheckOk", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CheckOk", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CapoCommessa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CapoCommessa", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SQC", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SQC", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Pubblico", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Pubblico", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EnteProcuratore", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnteProcuratore", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Importo", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "Importo", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataApertura", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataApertura", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@rifOfferta", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rifOfferta", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@urlOfferta", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "urlOfferta", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@rifOrdine", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rifOrdine", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@urlOrdine", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "urlOrdine", 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("@Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxFase", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxFase", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_AnnoCommessa", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AnnoCommessa", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_AnnoCommessa", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "AnnoCommessa", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NumeroCommessa", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumeroCommessa", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumeroCommessa", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NumeroCommessa", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_nickname", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nickname", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_nickname", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "nickname", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CheckOk", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CheckOk", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CheckOk", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CheckOk", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CapoCommessa", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CapoCommessa", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CapoCommessa", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CapoCommessa", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_SQC", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SQC", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_SQC", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "SQC", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Pubblico", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Pubblico", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Pubblico", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Pubblico", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_EnteProcuratore", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnteProcuratore", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_EnteProcuratore", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "EnteProcuratore", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Importo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Importo", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Importo", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "Importo", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DataApertura", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataApertura", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DataApertura", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DataApertura", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_rifOfferta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rifOfferta", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_rifOfferta", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rifOfferta", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_urlOfferta", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "urlOfferta", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_urlOfferta", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "urlOfferta", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_rifOrdine", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rifOrdine", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_rifOrdine", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rifOrdine", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_urlOrdine", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "urlOrdine", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_urlOrdine", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "urlOrdine", 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_Note", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Note", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Note", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_NomeComm", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NomeComm", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NomeComm", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NomeComm", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ImportoIntegr", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ImportoIntegr", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ImportoIntegr", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "ImportoIntegr", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ImportoFornExt", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ImportoFornExt", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ImportoFornExt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "ImportoFornExt", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_BCWS", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BCWS", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_BCWS", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "BCWS", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::ETS_Data.Properties.Settings.Default.ETS_PROJConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + 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 idxFase, AnnoCommessa, NumeroCommessa, nickname, CheckOk, CapoCommessa, SQC, Pubblico, EnteProcuratore, Importo, DataApertura, rifOfferta, urlOfferta, rifOrdine, urlOrdine, Indirizzo, Note, NomeComm, ImportoIntegr, ImportoFornExt, BCWS FROM dbo.DatiCommessa"; + 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_DC_getByIdxFase"; + 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("@idxFase", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(Ds_ProjEts.DatiCommessaDataTable dataTable) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual Ds_ProjEts.DatiCommessaDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + Ds_ProjEts.DatiCommessaDataTable dataTable = new Ds_ProjEts.DatiCommessaDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual Ds_ProjEts.DatiCommessaDataTable getByIdxFase(global::System.Nullable idxFase) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((idxFase.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxFase.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + Ds_ProjEts.DatiCommessaDataTable dataTable = new Ds_ProjEts.DatiCommessaDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(Ds_ProjEts.DatiCommessaDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(Ds_ProjEts dataSet) { + return this.Adapter.Update(dataSet, "DatiCommessa"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.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", "4.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_idxFase, + global::System.Nullable Original_AnnoCommessa, + global::System.Nullable Original_NumeroCommessa, + string Original_nickname, + global::System.Nullable Original_CheckOk, + string Original_CapoCommessa, + global::System.Nullable Original_SQC, + global::System.Nullable Original_Pubblico, + string Original_EnteProcuratore, + global::System.Nullable Original_Importo, + global::System.Nullable Original_DataApertura, + string Original_rifOfferta, + string Original_urlOfferta, + string Original_rifOrdine, + string Original_urlOrdine, + string Original_Indirizzo, + string Original_Note, + string Original_NomeComm, + global::System.Nullable Original_ImportoIntegr, + global::System.Nullable Original_ImportoFornExt, + global::System.Nullable Original_BCWS) { + this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idxFase)); + if ((Original_AnnoCommessa.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[2].Value = ((int)(Original_AnnoCommessa.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; + } + if ((Original_NumeroCommessa.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[4].Value = ((int)(Original_NumeroCommessa.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; + } + if ((Original_nickname == 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_nickname)); + } + if ((Original_CheckOk.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[8].Value = ((bool)(Original_CheckOk.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value; + } + if ((Original_CapoCommessa == 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_CapoCommessa)); + } + if ((Original_SQC.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[12].Value = ((bool)(Original_SQC.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value; + } + if ((Original_Pubblico.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[14].Value = ((bool)(Original_Pubblico.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value; + } + if ((Original_EnteProcuratore == 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_EnteProcuratore)); + } + if ((Original_Importo.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[18].Value = ((decimal)(Original_Importo.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[18].Value = global::System.DBNull.Value; + } + if ((Original_DataApertura.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[20].Value = ((System.DateTime)(Original_DataApertura.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[20].Value = global::System.DBNull.Value; + } + if ((Original_rifOfferta == null)) { + this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[22].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[22].Value = ((string)(Original_rifOfferta)); + } + if ((Original_urlOfferta == null)) { + this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[24].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[24].Value = ((string)(Original_urlOfferta)); + } + if ((Original_rifOrdine == null)) { + this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[26].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[26].Value = ((string)(Original_rifOrdine)); + } + if ((Original_urlOrdine == null)) { + this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[28].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[28].Value = ((string)(Original_urlOrdine)); + } + if ((Original_Indirizzo == null)) { + this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[30].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[30].Value = ((string)(Original_Indirizzo)); + } + if ((Original_Note == null)) { + this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[32].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[32].Value = ((string)(Original_Note)); + } + if ((Original_NomeComm == null)) { + this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[34].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[34].Value = ((string)(Original_NomeComm)); + } + if ((Original_ImportoIntegr.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[36].Value = ((decimal)(Original_ImportoIntegr.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[36].Value = global::System.DBNull.Value; + } + if ((Original_ImportoFornExt.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[38].Value = ((decimal)(Original_ImportoFornExt.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[38].Value = global::System.DBNull.Value; + } + if ((Original_BCWS.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[39].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[40].Value = ((decimal)(Original_BCWS.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[39].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[40].Value = global::System.DBNull.Value; + } + 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", "4.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( + int idxFase, + global::System.Nullable AnnoCommessa, + global::System.Nullable NumeroCommessa, + string nickname, + global::System.Nullable CheckOk, + string CapoCommessa, + global::System.Nullable SQC, + global::System.Nullable Pubblico, + string EnteProcuratore, + global::System.Nullable Importo, + global::System.Nullable DataApertura, + string rifOfferta, + string urlOfferta, + string rifOrdine, + string urlOrdine, + string Indirizzo, + string Note) { + this.Adapter.InsertCommand.Parameters[0].Value = ((int)(idxFase)); + if ((AnnoCommessa.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[1].Value = ((int)(AnnoCommessa.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; + } + if ((NumeroCommessa.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[2].Value = ((int)(NumeroCommessa.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + if ((nickname == null)) { + this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = ((string)(nickname)); + } + if ((CheckOk.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[4].Value = ((bool)(CheckOk.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; + } + if ((CapoCommessa == null)) { + this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[5].Value = ((string)(CapoCommessa)); + } + if ((SQC.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[6].Value = ((bool)(SQC.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; + } + if ((Pubblico.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[7].Value = ((bool)(Pubblico.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; + } + if ((EnteProcuratore == null)) { + this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[8].Value = ((string)(EnteProcuratore)); + } + if ((Importo.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[9].Value = ((decimal)(Importo.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value; + } + if ((DataApertura.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[10].Value = ((System.DateTime)(DataApertura.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value; + } + if ((rifOfferta == null)) { + this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[11].Value = ((string)(rifOfferta)); + } + if ((urlOfferta == null)) { + this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[12].Value = ((string)(urlOfferta)); + } + if ((rifOrdine == null)) { + this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[13].Value = ((string)(rifOrdine)); + } + if ((urlOrdine == null)) { + this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[14].Value = ((string)(urlOrdine)); + } + if ((Indirizzo == null)) { + this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[15].Value = ((string)(Indirizzo)); + } + if ((Note == null)) { + this.Adapter.InsertCommand.Parameters[16].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[16].Value = ((string)(Note)); + } + 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", "4.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( + int idxFase, + global::System.Nullable AnnoCommessa, + global::System.Nullable NumeroCommessa, + string nickname, + global::System.Nullable CheckOk, + string CapoCommessa, + global::System.Nullable SQC, + global::System.Nullable Pubblico, + string EnteProcuratore, + global::System.Nullable Importo, + global::System.Nullable DataApertura, + string rifOfferta, + string urlOfferta, + string rifOrdine, + string urlOrdine, + string Indirizzo, + string Note, + int Original_idxFase, + global::System.Nullable Original_AnnoCommessa, + global::System.Nullable Original_NumeroCommessa, + string Original_nickname, + global::System.Nullable Original_CheckOk, + string Original_CapoCommessa, + global::System.Nullable Original_SQC, + global::System.Nullable Original_Pubblico, + string Original_EnteProcuratore, + global::System.Nullable Original_Importo, + global::System.Nullable Original_DataApertura, + string Original_rifOfferta, + string Original_urlOfferta, + string Original_rifOrdine, + string Original_urlOrdine, + string Original_Indirizzo, + string Original_Note, + string Original_NomeComm, + global::System.Nullable Original_ImportoIntegr, + global::System.Nullable Original_ImportoFornExt, + global::System.Nullable Original_BCWS) { + this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(idxFase)); + if ((AnnoCommessa.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(AnnoCommessa.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; + } + if ((NumeroCommessa.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(NumeroCommessa.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + if ((nickname == null)) { + this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(nickname)); + } + if ((CheckOk.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[4].Value = ((bool)(CheckOk.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + if ((CapoCommessa == null)) { + this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(CapoCommessa)); + } + if ((SQC.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[6].Value = ((bool)(SQC.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + if ((Pubblico.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[7].Value = ((bool)(Pubblico.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; + } + if ((EnteProcuratore == null)) { + this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(EnteProcuratore)); + } + if ((Importo.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[9].Value = ((decimal)(Importo.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; + } + if ((DataApertura.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[10].Value = ((System.DateTime)(DataApertura.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; + } + if ((rifOfferta == null)) { + this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(rifOfferta)); + } + if ((urlOfferta == null)) { + this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(urlOfferta)); + } + if ((rifOrdine == null)) { + this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(rifOrdine)); + } + if ((urlOrdine == null)) { + this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(urlOrdine)); + } + if ((Indirizzo == null)) { + this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Indirizzo)); + } + if ((Note == null)) { + this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(Note)); + } + this.Adapter.UpdateCommand.Parameters[17].Value = ((int)(Original_idxFase)); + if ((Original_AnnoCommessa.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[19].Value = ((int)(Original_AnnoCommessa.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; + } + if ((Original_NumeroCommessa.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[21].Value = ((int)(Original_NumeroCommessa.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value; + } + if ((Original_nickname == 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_nickname)); + } + if ((Original_CheckOk.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[25].Value = ((bool)(Original_CheckOk.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value; + } + if ((Original_CapoCommessa == null)) { + this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[27].Value = ((string)(Original_CapoCommessa)); + } + if ((Original_SQC.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[29].Value = ((bool)(Original_SQC.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value; + } + if ((Original_Pubblico.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[31].Value = ((bool)(Original_Pubblico.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[31].Value = global::System.DBNull.Value; + } + if ((Original_EnteProcuratore == null)) { + this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[33].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[33].Value = ((string)(Original_EnteProcuratore)); + } + if ((Original_Importo.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[35].Value = ((decimal)(Original_Importo.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[35].Value = global::System.DBNull.Value; + } + if ((Original_DataApertura.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[37].Value = ((System.DateTime)(Original_DataApertura.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[37].Value = global::System.DBNull.Value; + } + if ((Original_rifOfferta == null)) { + this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[39].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[39].Value = ((string)(Original_rifOfferta)); + } + if ((Original_urlOfferta == null)) { + this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[41].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[41].Value = ((string)(Original_urlOfferta)); + } + if ((Original_rifOrdine == null)) { + this.Adapter.UpdateCommand.Parameters[42].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[43].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[42].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[43].Value = ((string)(Original_rifOrdine)); + } + if ((Original_urlOrdine == null)) { + this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[45].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[45].Value = ((string)(Original_urlOrdine)); + } + if ((Original_Indirizzo == null)) { + this.Adapter.UpdateCommand.Parameters[46].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[47].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[46].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[47].Value = ((string)(Original_Indirizzo)); + } + if ((Original_Note == null)) { + this.Adapter.UpdateCommand.Parameters[48].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[49].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[48].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[49].Value = ((string)(Original_Note)); + } + if ((Original_NomeComm == null)) { + this.Adapter.UpdateCommand.Parameters[50].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[51].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[50].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[51].Value = ((string)(Original_NomeComm)); + } + if ((Original_ImportoIntegr.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[52].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[53].Value = ((decimal)(Original_ImportoIntegr.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[52].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[53].Value = global::System.DBNull.Value; + } + if ((Original_ImportoFornExt.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[54].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[55].Value = ((decimal)(Original_ImportoFornExt.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[54].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[55].Value = global::System.DBNull.Value; + } + if ((Original_BCWS.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[57].Value = ((decimal)(Original_BCWS.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[57].Value = global::System.DBNull.Value; + } + 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", "4.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( + global::System.Nullable AnnoCommessa, + global::System.Nullable NumeroCommessa, + string nickname, + global::System.Nullable CheckOk, + string CapoCommessa, + global::System.Nullable SQC, + global::System.Nullable Pubblico, + string EnteProcuratore, + global::System.Nullable Importo, + global::System.Nullable DataApertura, + string rifOfferta, + string urlOfferta, + string rifOrdine, + string urlOrdine, + string Indirizzo, + string Note, + int Original_idxFase, + global::System.Nullable Original_AnnoCommessa, + global::System.Nullable Original_NumeroCommessa, + string Original_nickname, + global::System.Nullable Original_CheckOk, + string Original_CapoCommessa, + global::System.Nullable Original_SQC, + global::System.Nullable Original_Pubblico, + string Original_EnteProcuratore, + global::System.Nullable Original_Importo, + global::System.Nullable Original_DataApertura, + string Original_rifOfferta, + string Original_urlOfferta, + string Original_rifOrdine, + string Original_urlOrdine, + string Original_Indirizzo, + string Original_Note, + string Original_NomeComm, + global::System.Nullable Original_ImportoIntegr, + global::System.Nullable Original_ImportoFornExt, + global::System.Nullable Original_BCWS) { + return this.Update(Original_idxFase, AnnoCommessa, NumeroCommessa, nickname, CheckOk, CapoCommessa, SQC, Pubblico, EnteProcuratore, Importo, DataApertura, rifOfferta, urlOfferta, rifOrdine, urlOrdine, Indirizzo, Note, Original_idxFase, Original_AnnoCommessa, Original_NumeroCommessa, Original_nickname, Original_CheckOk, Original_CapoCommessa, Original_SQC, Original_Pubblico, Original_EnteProcuratore, Original_Importo, Original_DataApertura, Original_rifOfferta, Original_urlOfferta, Original_rifOrdine, Original_urlOrdine, Original_Indirizzo, Original_Note, Original_NomeComm, Original_ImportoIntegr, Original_ImportoFornExt, Original_BCWS); + } + } + /// ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios /// @@ -3371,6 +5753,8 @@ namespace ETS_Data.Ds_ProjEtsTableAdapters { private AnagFasiTableAdapter _anagFasiTableAdapter; + private DatiCommessaTableAdapter _datiCommessaTableAdapter; + private bool _backupDataSetBeforeUpdate; private global::System.Data.IDbConnection _connection; @@ -3414,6 +5798,20 @@ namespace ETS_Data.Ds_ProjEtsTableAdapters { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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 DatiCommessaTableAdapter DatiCommessaTableAdapter { + get { + return this._datiCommessaTableAdapter; + } + set { + this._datiCommessaTableAdapter = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool BackupDataSetBeforeUpdate { @@ -3441,6 +5839,10 @@ namespace ETS_Data.Ds_ProjEtsTableAdapters { && (this._anagFasiTableAdapter.Connection != null))) { return this._anagFasiTableAdapter.Connection; } + if (((this._datiCommessaTableAdapter != null) + && (this._datiCommessaTableAdapter.Connection != null))) { + return this._datiCommessaTableAdapter.Connection; + } return null; } set { @@ -3460,6 +5862,9 @@ namespace ETS_Data.Ds_ProjEtsTableAdapters { if ((this._anagFasiTableAdapter != null)) { count = (count + 1); } + if ((this._datiCommessaTableAdapter != null)) { + count = (count + 1); + } return count; } } @@ -3480,6 +5885,15 @@ namespace ETS_Data.Ds_ProjEtsTableAdapters { allChangedRows.AddRange(updatedRows); } } + if ((this._datiCommessaTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.DatiCommessa.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._datiCommessaTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } if ((this._anagFasiTableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.AnagFasi.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); @@ -3507,6 +5921,14 @@ namespace ETS_Data.Ds_ProjEtsTableAdapters { allAddedRows.AddRange(addedRows); } } + if ((this._datiCommessaTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.DatiCommessa.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._datiCommessaTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } if ((this._anagFasiTableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.AnagFasi.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) @@ -3533,6 +5955,14 @@ namespace ETS_Data.Ds_ProjEtsTableAdapters { allChangedRows.AddRange(deletedRows); } } + if ((this._datiCommessaTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.DatiCommessa.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._datiCommessaTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } if ((this._anagProgettiTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.AnagProgetti.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) @@ -3590,6 +6020,11 @@ namespace ETS_Data.Ds_ProjEtsTableAdapters { throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + "tring."); } + if (((this._datiCommessaTableAdapter != null) + && (this.MatchTableAdapterConnection(this._datiCommessaTableAdapter.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" + @@ -3640,6 +6075,15 @@ namespace ETS_Data.Ds_ProjEtsTableAdapters { adaptersWithAcceptChangesDuringUpdate.Add(this._anagFasiTableAdapter.Adapter); } } + if ((this._datiCommessaTableAdapter != null)) { + revertConnections.Add(this._datiCommessaTableAdapter, this._datiCommessaTableAdapter.Connection); + this._datiCommessaTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._datiCommessaTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._datiCommessaTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._datiCommessaTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._datiCommessaTableAdapter.Adapter); + } + } // //---- Perform updates ----------- // @@ -3706,6 +6150,10 @@ namespace ETS_Data.Ds_ProjEtsTableAdapters { this._anagFasiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagFasiTableAdapter])); this._anagFasiTableAdapter.Transaction = null; } + if ((this._datiCommessaTableAdapter != null)) { + this._datiCommessaTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._datiCommessaTableAdapter])); + this._datiCommessaTableAdapter.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/ETS_Data/Ds_ProjEts.xsd b/ETS_Data/Ds_ProjEts.xsd index 8bd6b97..8e3c77f 100644 --- a/ETS_Data/Ds_ProjEts.xsd +++ b/ETS_Data/Ds_ProjEts.xsd @@ -358,6 +358,193 @@ + + + + + + DELETE FROM [dbo].[DatiCommessa] WHERE (([idxFase] = @Original_idxFase) AND ((@IsNull_AnnoCommessa = 1 AND [AnnoCommessa] IS NULL) OR ([AnnoCommessa] = @Original_AnnoCommessa)) AND ((@IsNull_NumeroCommessa = 1 AND [NumeroCommessa] IS NULL) OR ([NumeroCommessa] = @Original_NumeroCommessa)) AND ((@IsNull_nickname = 1 AND [nickname] IS NULL) OR ([nickname] = @Original_nickname)) AND ((@IsNull_CheckOk = 1 AND [CheckOk] IS NULL) OR ([CheckOk] = @Original_CheckOk)) AND ((@IsNull_CapoCommessa = 1 AND [CapoCommessa] IS NULL) OR ([CapoCommessa] = @Original_CapoCommessa)) AND ((@IsNull_SQC = 1 AND [SQC] IS NULL) OR ([SQC] = @Original_SQC)) AND ((@IsNull_Pubblico = 1 AND [Pubblico] IS NULL) OR ([Pubblico] = @Original_Pubblico)) AND ((@IsNull_EnteProcuratore = 1 AND [EnteProcuratore] IS NULL) OR ([EnteProcuratore] = @Original_EnteProcuratore)) AND ((@IsNull_Importo = 1 AND [Importo] IS NULL) OR ([Importo] = @Original_Importo)) AND ((@IsNull_DataApertura = 1 AND [DataApertura] IS NULL) OR ([DataApertura] = @Original_DataApertura)) AND ((@IsNull_rifOfferta = 1 AND [rifOfferta] IS NULL) OR ([rifOfferta] = @Original_rifOfferta)) AND ((@IsNull_urlOfferta = 1 AND [urlOfferta] IS NULL) OR ([urlOfferta] = @Original_urlOfferta)) AND ((@IsNull_rifOrdine = 1 AND [rifOrdine] IS NULL) OR ([rifOrdine] = @Original_rifOrdine)) AND ((@IsNull_urlOrdine = 1 AND [urlOrdine] IS NULL) OR ([urlOrdine] = @Original_urlOrdine)) AND ((@IsNull_Indirizzo = 1 AND [Indirizzo] IS NULL) OR ([Indirizzo] = @Original_Indirizzo)) AND ((@IsNull_Note = 1 AND [Note] IS NULL) OR ([Note] = @Original_Note)) AND ((@IsNull_NomeComm = 1 AND [NomeComm] IS NULL) OR ([NomeComm] = @Original_NomeComm)) AND ((@IsNull_ImportoIntegr = 1 AND [ImportoIntegr] IS NULL) OR ([ImportoIntegr] = @Original_ImportoIntegr)) AND ((@IsNull_ImportoFornExt = 1 AND [ImportoFornExt] IS NULL) OR ([ImportoFornExt] = @Original_ImportoFornExt)) AND ((@IsNull_BCWS = 1 AND [BCWS] IS NULL) OR ([BCWS] = @Original_BCWS))) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + INSERT INTO [dbo].[DatiCommessa] ([idxFase], [AnnoCommessa], [NumeroCommessa], [nickname], [CheckOk], [CapoCommessa], [SQC], [Pubblico], [EnteProcuratore], [Importo], [DataApertura], [rifOfferta], [urlOfferta], [rifOrdine], [urlOrdine], [Indirizzo], [Note]) VALUES (@idxFase, @AnnoCommessa, @NumeroCommessa, @nickname, @CheckOk, @CapoCommessa, @SQC, @Pubblico, @EnteProcuratore, @Importo, @DataApertura, @rifOfferta, @urlOfferta, @rifOrdine, @urlOrdine, @Indirizzo, @Note); +SELECT idxFase, AnnoCommessa, NumeroCommessa, nickname, CheckOk, CapoCommessa, SQC, Pubblico, EnteProcuratore, Importo, DataApertura, rifOfferta, urlOfferta, rifOrdine, urlOrdine, Indirizzo, Note, NomeComm, ImportoIntegr, ImportoFornExt, BCWS FROM DatiCommessa WHERE (idxFase = @idxFase) + + + + + + + + + + + + + + + + + + + + + + + + SELECT idxFase, AnnoCommessa, NumeroCommessa, nickname, CheckOk, CapoCommessa, SQC, Pubblico, EnteProcuratore, Importo, DataApertura, rifOfferta, urlOfferta, rifOrdine, urlOrdine, Indirizzo, Note, NomeComm, ImportoIntegr, ImportoFornExt, BCWS FROM dbo.DatiCommessa + + + + + + UPDATE [dbo].[DatiCommessa] SET [idxFase] = @idxFase, [AnnoCommessa] = @AnnoCommessa, [NumeroCommessa] = @NumeroCommessa, [nickname] = @nickname, [CheckOk] = @CheckOk, [CapoCommessa] = @CapoCommessa, [SQC] = @SQC, [Pubblico] = @Pubblico, [EnteProcuratore] = @EnteProcuratore, [Importo] = @Importo, [DataApertura] = @DataApertura, [rifOfferta] = @rifOfferta, [urlOfferta] = @urlOfferta, [rifOrdine] = @rifOrdine, [urlOrdine] = @urlOrdine, [Indirizzo] = @Indirizzo, [Note] = @Note WHERE (([idxFase] = @Original_idxFase) AND ((@IsNull_AnnoCommessa = 1 AND [AnnoCommessa] IS NULL) OR ([AnnoCommessa] = @Original_AnnoCommessa)) AND ((@IsNull_NumeroCommessa = 1 AND [NumeroCommessa] IS NULL) OR ([NumeroCommessa] = @Original_NumeroCommessa)) AND ((@IsNull_nickname = 1 AND [nickname] IS NULL) OR ([nickname] = @Original_nickname)) AND ((@IsNull_CheckOk = 1 AND [CheckOk] IS NULL) OR ([CheckOk] = @Original_CheckOk)) AND ((@IsNull_CapoCommessa = 1 AND [CapoCommessa] IS NULL) OR ([CapoCommessa] = @Original_CapoCommessa)) AND ((@IsNull_SQC = 1 AND [SQC] IS NULL) OR ([SQC] = @Original_SQC)) AND ((@IsNull_Pubblico = 1 AND [Pubblico] IS NULL) OR ([Pubblico] = @Original_Pubblico)) AND ((@IsNull_EnteProcuratore = 1 AND [EnteProcuratore] IS NULL) OR ([EnteProcuratore] = @Original_EnteProcuratore)) AND ((@IsNull_Importo = 1 AND [Importo] IS NULL) OR ([Importo] = @Original_Importo)) AND ((@IsNull_DataApertura = 1 AND [DataApertura] IS NULL) OR ([DataApertura] = @Original_DataApertura)) AND ((@IsNull_rifOfferta = 1 AND [rifOfferta] IS NULL) OR ([rifOfferta] = @Original_rifOfferta)) AND ((@IsNull_urlOfferta = 1 AND [urlOfferta] IS NULL) OR ([urlOfferta] = @Original_urlOfferta)) AND ((@IsNull_rifOrdine = 1 AND [rifOrdine] IS NULL) OR ([rifOrdine] = @Original_rifOrdine)) AND ((@IsNull_urlOrdine = 1 AND [urlOrdine] IS NULL) OR ([urlOrdine] = @Original_urlOrdine)) AND ((@IsNull_Indirizzo = 1 AND [Indirizzo] IS NULL) OR ([Indirizzo] = @Original_Indirizzo)) AND ((@IsNull_Note = 1 AND [Note] IS NULL) OR ([Note] = @Original_Note)) AND ((@IsNull_NomeComm = 1 AND [NomeComm] IS NULL) OR ([NomeComm] = @Original_NomeComm)) AND ((@IsNull_ImportoIntegr = 1 AND [ImportoIntegr] IS NULL) OR ([ImportoIntegr] = @Original_ImportoIntegr)) AND ((@IsNull_ImportoFornExt = 1 AND [ImportoFornExt] IS NULL) OR ([ImportoFornExt] = @Original_ImportoFornExt)) AND ((@IsNull_BCWS = 1 AND [BCWS] IS NULL) OR ([BCWS] = @Original_BCWS))); +SELECT idxFase, AnnoCommessa, NumeroCommessa, nickname, CheckOk, CapoCommessa, SQC, Pubblico, EnteProcuratore, Importo, DataApertura, rifOfferta, urlOfferta, rifOrdine, urlOrdine, Indirizzo, Note, NomeComm, ImportoIntegr, ImportoFornExt, BCWS FROM DatiCommessa WHERE (idxFase = @idxFase) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_DC_getByIdxFase + + + + + + + + + @@ -366,7 +553,7 @@ - + @@ -409,7 +596,7 @@ - + @@ -459,6 +646,93 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -469,10 +743,15 @@ + + + + - + + \ No newline at end of file diff --git a/ETS_Data/Ds_ProjEts.xss b/ETS_Data/Ds_ProjEts.xss index 76be70e..2192936 100644 --- a/ETS_Data/Ds_ProjEts.xss +++ b/ETS_Data/Ds_ProjEts.xss @@ -6,12 +6,12 @@ --> - - - + + + - + 370 @@ -23,5 +23,17 @@ + + + + 974 + 205 + + + 795 + 205 + + + \ No newline at end of file diff --git a/ETS_Data/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/ETS_Data/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache index 1a1a139..f2c271f 100644 Binary files a/ETS_Data/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/ETS_Data/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/ETS_Data/obj/Debug/ETS_Data.dll b/ETS_Data/obj/Debug/ETS_Data.dll index 2b28038..0fe68d5 100644 Binary files a/ETS_Data/obj/Debug/ETS_Data.dll and b/ETS_Data/obj/Debug/ETS_Data.dll differ diff --git a/ETS_Data/obj/Debug/TempPE/Ds_ProjEts.Designer.cs.dll b/ETS_Data/obj/Debug/TempPE/Ds_ProjEts.Designer.cs.dll index aa4c76e..91258e4 100644 Binary files a/ETS_Data/obj/Debug/TempPE/Ds_ProjEts.Designer.cs.dll and b/ETS_Data/obj/Debug/TempPE/Ds_ProjEts.Designer.cs.dll differ diff --git a/PROJ-ETS/PROJ-ETS/WebUserControls/mod_datiComm.ascx b/PROJ-ETS/PROJ-ETS/WebUserControls/mod_datiComm.ascx index 56863a7..e1df61e 100644 --- a/PROJ-ETS/PROJ-ETS/WebUserControls/mod_datiComm.ascx +++ b/PROJ-ETS/PROJ-ETS/WebUserControls/mod_datiComm.ascx @@ -1,3 +1,293 @@ <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_datiComm.ascx.cs" Inherits="PROJ_ETS.WebUserControls.mod_datiComm" %> -dati dettaglio commessa -anno, num... \ No newline at end of file + + + + idxFase: + +
+ AnnoCommessa: + +
+ NumeroCommessa: + +
+ nickname: + +
+ CheckOk: + +
+ CapoCommessa: + +
+ SQC: + +
+ Pubblico: + +
+ EnteProcuratore: + +
+ Importo: + +
+ DataApertura: + +
+ rifOfferta: + +
+ urlOfferta: + +
+ rifOrdine: + +
+ urlOrdine: + +
+ Indirizzo: + +
+ Note: + +
+ NomeComm: + +
+ ImportoIntegr: + +
+ ImportoFornExt: + +
+ BCWS: + +
+ +   +
+ + idxFase: + +
+ AnnoCommessa: + +
+ NumeroCommessa: + +
+ nickname: + +
+ CheckOk: + +
+ CapoCommessa: + +
+ SQC: + +
+ Pubblico: + +
+ EnteProcuratore: + +
+ Importo: + +
+ DataApertura: + +
+ rifOfferta: + +
+ urlOfferta: + +
+ rifOrdine: + +
+ urlOrdine: + +
+ Indirizzo: + +
+ Note: + +
+ NomeComm: + +
+ ImportoIntegr: + +
+ ImportoFornExt: + +
+ BCWS: + +
+ +   +   +
+ + idxFase: + +
+ AnnoCommessa: + +
+ NumeroCommessa: + +
+ nickname: + +
+ CheckOk: + +
+ CapoCommessa: + +
+ SQC: + +
+ Pubblico: + +
+ EnteProcuratore: + +
+ Importo: + +
+ DataApertura: + +
+ rifOfferta: + +
+ urlOfferta: + +
+ rifOrdine: + +
+ urlOrdine: + +
+ Indirizzo: + +
+ Note: + +
+ NomeComm: + +
+ ImportoIntegr: + +
+ ImportoFornExt: + +
+ BCWS: + +
+ +   +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/PROJ-ETS/PROJ-ETS/WebUserControls/mod_datiComm.ascx.designer.cs b/PROJ-ETS/PROJ-ETS/WebUserControls/mod_datiComm.ascx.designer.cs index 0eaa3f8..3a52a76 100644 --- a/PROJ-ETS/PROJ-ETS/WebUserControls/mod_datiComm.ascx.designer.cs +++ b/PROJ-ETS/PROJ-ETS/WebUserControls/mod_datiComm.ascx.designer.cs @@ -3,15 +3,31 @@ // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. +// the code is regenerated. // //------------------------------------------------------------------------------ -namespace PROJ_ETS.WebUserControls -{ - - - public partial class mod_datiComm - { +namespace PROJ_ETS.WebUserControls { + + + public partial class mod_datiComm { + + /// + /// frmView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.FormView frmView; + + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; } } diff --git a/PROJ-ETS/PROJ-ETS/bin/ETS_Data.dll b/PROJ-ETS/PROJ-ETS/bin/ETS_Data.dll index 2b28038..0fe68d5 100644 Binary files a/PROJ-ETS/PROJ-ETS/bin/ETS_Data.dll and b/PROJ-ETS/PROJ-ETS/bin/ETS_Data.dll differ diff --git a/PROJ-ETS/PROJ-ETS/bin/PROJ-ETS.dll b/PROJ-ETS/PROJ-ETS/bin/PROJ-ETS.dll index c1174f3..b203142 100644 Binary files a/PROJ-ETS/PROJ-ETS/bin/PROJ-ETS.dll and b/PROJ-ETS/PROJ-ETS/bin/PROJ-ETS.dll differ diff --git a/PROJ-ETS/PROJ-ETS/logs/2013-05-23.log b/PROJ-ETS/PROJ-ETS/logs/2013-05-23.log index 42d9ca7..9fdf133 100644 --- a/PROJ-ETS/PROJ-ETS/logs/2013-05-23.log +++ b/PROJ-ETS/PROJ-ETS/logs/2013-05-23.log @@ -1,64 +1,5 @@ -2013-05-23 14:46:14.6537 [INFO] User login: Locatelli Samuele (STEAMWAREWIN\samuele) -2013-05-23 14:46:14.8397 [WARN] Accesso fallito: user non autorizzato e autoenroll non attivo: STEAMWAREWIN\samuele -2013-05-23 14:52:09.5068 [INFO] User login: Locatelli Samuele (STEAMWAREWIN\samuele) -2013-05-23 14:52:09.5248 [WARN] Accesso fallito: user non autorizzato e autoenroll non attivo: STEAMWAREWIN\samuele -2013-05-23 14:52:17.1219 [INFO] User login: Locatelli Samuele (STEAMWAREWIN\samuele) -2013-05-23 14:52:17.3379 [WARN] Accesso fallito: user non autorizzato e autoenroll non attivo: STEAMWAREWIN\samuele -2013-05-23 14:53:20.4073 [INFO] User login: Locatelli Samuele (STEAMWAREWIN\samuele) -2013-05-23 14:56:56.8955 [WARN] Accesso fallito: user non autorizzato e autoenroll non attivo: STEAMWAREWIN\samuele -2013-05-23 14:57:16.0214 [INFO] User login: Locatelli Samuele (STEAMWAREWIN\samuele) -2013-05-23 15:00:34.6279 [WARN] Accesso fallito: user non autorizzato e autoenroll non attivo: STEAMWAREWIN\samuele -2013-05-23 15:00:43.5693 [INFO] User login: Locatelli Samuele (STEAMWAREWIN\samuele) -2013-05-23 15:00:43.7443 [INFO] L'utente Locatelli Samuele (STEAMWAREWIN\samuele) ha effettuato il login correttamente -2013-05-23 15:00:43.7513 [INFO] Errore in SetUpByUserRight: utente samuele non autorizzato per la pagina menu.aspx -2013-05-23 15:00:53.2687 [INFO] User login: Locatelli Samuele (STEAMWAREWIN\samuele) -2013-05-23 15:01:15.7090 [INFO] L'utente Locatelli Samuele (STEAMWAREWIN\samuele) ha effettuato il login correttamente -2013-05-23 15:01:18.3904 [INFO] Errore in SetUpByUserRight: utente samuele non autorizzato per la pagina menu.aspx -2013-05-23 15:03:00.5136 [INFO] User login: Locatelli Samuele (STEAMWAREWIN\samuele) -2013-05-23 15:03:00.5246 [INFO] Errore in SetUpByUserRight: utente samuele non autorizzato per la pagina Menu.aspx -2013-05-23 15:03:06.5755 [INFO] User login: Locatelli Samuele (STEAMWAREWIN\samuele) -2013-05-23 15:03:06.5755 [INFO] Errore in SetUpByUserRight: utente samuele non autorizzato per la pagina Menu.aspx -2013-05-23 15:05:14.0315 [INFO] User login: Locatelli Samuele (STEAMWAREWIN\samuele) -2013-05-23 15:05:14.0315 [INFO] Errore in SetUpByUserRight: utente samuele non autorizzato per la pagina Menu.aspx -2013-05-23 15:05:30.1129 [INFO] User login: Locatelli Samuele (STEAMWAREWIN\samuele) -2013-05-23 15:05:41.5706 [INFO] L'utente Locatelli Samuele (STEAMWAREWIN\samuele) ha effettuato il login correttamente -2013-05-23 15:05:56.6628 [INFO] Errore in SetUpByUserRight: utente samuele non autorizzato per la pagina Menu -2013-05-23 15:06:14.0824 [INFO] Errore in SetUpByUserRight: utente samuele non autorizzato per la pagina Progetti -2013-05-23 15:06:58.9041 [INFO] User login: Locatelli Samuele (STEAMWAREWIN\samuele) -2013-05-23 15:06:59.3782 [INFO] L'utente Locatelli Samuele (STEAMWAREWIN\samuele) ha effettuato il login correttamente -2013-05-23 15:09:04.6388 [INFO] Errore in SetUpByUserRight: utente samuele non autorizzato per la pagina Menu -2013-05-23 15:12:32.0907 [INFO] User login: Locatelli Samuele (STEAMWAREWIN\samuele) -2013-05-23 15:12:32.2987 [INFO] L'utente Locatelli Samuele (STEAMWAREWIN\samuele) ha effettuato il login correttamente -2013-05-23 15:12:46.2938 [INFO] Errore in SetUpByUserRight: utente samuele non autorizzato per la pagina DatiCommessa -2013-05-23 15:12:46.3338 [ERROR] Errore di accesso alla pagina DatiCommessa -2013-05-23 15:13:26.5128 [INFO] Errore in SetUpByUserRight: utente samuele non autorizzato per la pagina DatiCommessa -2013-05-23 15:13:26.5188 [ERROR] Errore di accesso alla pagina DatiCommessa -2013-05-23 15:13:47.7019 [INFO] Errore in SetUpByUserRight: utente samuele non autorizzato per la pagina DatiCommessa -2013-05-23 15:13:47.7019 [ERROR] Errore di accesso alla pagina DatiCommessa -2013-05-23 15:13:50.2673 [INFO] L'utente Locatelli Samuele (STEAMWAREWIN\samuele) ha effettuato il login correttamente -2013-05-23 15:13:54.8060 [INFO] Errore in SetUpByUserRight: utente samuele non autorizzato per la pagina DatiCommessa -2013-05-23 15:13:54.8060 [ERROR] Errore di accesso alla pagina DatiCommessa -2013-05-23 15:14:45.8646 [INFO] Errore in SetUpByUserRight: utente samuele non autorizzato per la pagina DatiCommessa -2013-05-23 15:14:45.8646 [ERROR] Errore di accesso alla pagina DatiCommessa -2013-05-23 15:14:53.2347 [INFO] Errore in SetUpByUserRight: utente samuele non autorizzato per la pagina DatiCommessa -2013-05-23 15:14:53.2417 [ERROR] Errore di accesso alla pagina DatiCommessa -2013-05-23 15:15:00.5238 [INFO] L'utente Locatelli Samuele (STEAMWAREWIN\samuele) ha effettuato il login correttamente -2013-05-23 15:15:01.2859 [INFO] L'utente Locatelli Samuele (STEAMWAREWIN\samuele) ha effettuato il login correttamente -2013-05-23 15:15:09.8732 [INFO] Errore in SetUpByUserRight: utente samuele non autorizzato per la pagina FasiCommessa -2013-05-23 15:15:09.8732 [ERROR] Errore di accesso alla pagina FasiCommessa -2013-05-23 15:15:30.9543 [INFO] Errore in SetUpByUserRight: utente samuele non autorizzato per la pagina FornitoriCommessa -2013-05-23 15:15:30.9613 [ERROR] Errore di accesso alla pagina FornitoriCommessa -2013-05-23 15:16:02.9971 [INFO] Errore in SetUpByUserRight: utente samuele non autorizzato per la pagina RiepilogoCommessa -2013-05-23 15:16:02.9971 [ERROR] Errore di accesso alla pagina RiepilogoCommessa -2013-05-23 15:16:19.3855 [INFO] L'utente Locatelli Samuele (STEAMWAREWIN\samuele) ha effettuato il login correttamente -2013-05-23 15:16:22.9830 [INFO] Errore in SetUpByUserRight: utente samuele non autorizzato per la pagina FasiCommessa -2013-05-23 15:16:22.9900 [ERROR] Errore di accesso alla pagina FasiCommessa -2013-05-23 15:16:30.3651 [INFO] L'utente Locatelli Samuele (STEAMWAREWIN\samuele) ha effettuato il login correttamente -2013-05-23 15:16:31.0042 [INFO] L'utente Locatelli Samuele (STEAMWAREWIN\samuele) ha effettuato il login correttamente -2013-05-23 15:16:36.0470 [INFO] Errore in SetUpByUserRight: utente samuele non autorizzato per la pagina FasiCommessa -2013-05-23 15:16:36.0470 [ERROR] Errore di accesso alla pagina FasiCommessa -2013-05-23 15:19:08.4757 [INFO] User login: Locatelli Samuele (STEAMWAREWIN\samuele) -2013-05-23 15:19:08.7057 [INFO] L'utente Locatelli Samuele (STEAMWAREWIN\samuele) ha effettuato il login correttamente -2013-05-23 15:19:21.4486 [INFO] Errore in SetUpByUserRight: utente samuele non autorizzato per la pagina FasiCommessa -2013-05-23 15:19:21.4876 [ERROR] Errore di accesso alla pagina FasiCommessa -2013-05-23 15:27:35.9792 [INFO] L'utente Locatelli Samuele (STEAMWAREWIN\samuele) ha effettuato il login correttamente +2013-05-23 15:51:09.1264 [INFO] L'utente Locatelli Samuele (STEAMWAREWIN\samuele) ha effettuato il login correttamente +2013-05-23 15:56:36.1321 [INFO] L'utente Locatelli Samuele (STEAMWAREWIN\samuele) ha effettuato il login correttamente +2013-05-23 17:20:45.7024 [INFO] User login: Locatelli Samuele (STEAMWAREWIN\samuele) +2013-05-23 17:20:45.8824 [INFO] L'utente Locatelli Samuele (STEAMWAREWIN\samuele) ha effettuato il login correttamente +2013-05-23 17:21:00.7406 [INFO] L'utente Locatelli Samuele (STEAMWAREWIN\samuele) ha effettuato il login correttamente diff --git a/PROJ-ETS/PROJ-ETS/obj/Debug/PROJ-ETS.csprojResolveAssemblyReference.cache b/PROJ-ETS/PROJ-ETS/obj/Debug/PROJ-ETS.csprojResolveAssemblyReference.cache index 0420700..b9208d2 100644 Binary files a/PROJ-ETS/PROJ-ETS/obj/Debug/PROJ-ETS.csprojResolveAssemblyReference.cache and b/PROJ-ETS/PROJ-ETS/obj/Debug/PROJ-ETS.csprojResolveAssemblyReference.cache differ diff --git a/PROJ-ETS/PROJ-ETS/obj/Debug/PROJ-ETS.dll b/PROJ-ETS/PROJ-ETS/obj/Debug/PROJ-ETS.dll index c1174f3..b203142 100644 Binary files a/PROJ-ETS/PROJ-ETS/obj/Debug/PROJ-ETS.dll and b/PROJ-ETS/PROJ-ETS/obj/Debug/PROJ-ETS.dll differ