diff --git a/ETS_Data/DataProxy_ProjEts.cs b/ETS_Data/DataProxy_ProjEts.cs index 1062d0e..ce03cf2 100644 --- a/ETS_Data/DataProxy_ProjEts.cs +++ b/ETS_Data/DataProxy_ProjEts.cs @@ -48,6 +48,7 @@ namespace ETS_Data public DS_utilsProjEtsTableAdapters.v_selCommesseTableAdapter taSelCom; public DS_utilsProjEtsTableAdapters.v_selFornitoriClaTableAdapter taSelForn; public DS_utilsProjEtsTableAdapters.v_selProgettiTableAdapter taSelPro; + public Ds_ProjEtsTableAdapters.TimbratureExplTableAdapter taTE; public Ds_ProjEtsTableAdapters.TLockBazRATableAdapter taTLB; public Ds_ProjEtsTableAdapters.v_CommessaTableAdapter taVComm; @@ -173,6 +174,7 @@ namespace ETS_Data taL2C = new Ds_ProjEtsTableAdapters.LabelsCommTableAdapter(); taLEB = new Ds_ProjEtsTableAdapters.LogEmailBazTableAdapter(); taReW = new Ds_ProjEtsTableAdapters.ReleasedWeekTableAdapter(); + taTE = new Ds_ProjEtsTableAdapters.TimbratureExplTableAdapter(); taTLB = new Ds_ProjEtsTableAdapters.TLockBazRATableAdapter(); taVComm = new Ds_ProjEtsTableAdapters.v_CommessaTableAdapter(); taSelCli = new DS_utilsProjEtsTableAdapters.v_selClientiTableAdapter(); @@ -203,6 +205,7 @@ namespace ETS_Data taL2C.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString"); taLEB.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString"); taReW.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString"); + taTE.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString"); taTLB.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString"); taVComm.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString"); taSelCli.Connection.ConnectionString = utils.obj.confReadString("ETS_PROJConnectionString"); diff --git a/ETS_Data/Ds_ProjEts.Designer.cs b/ETS_Data/Ds_ProjEts.Designer.cs index f57686c..a2bd21c 100644 --- a/ETS_Data/Ds_ProjEts.Designer.cs +++ b/ETS_Data/Ds_ProjEts.Designer.cs @@ -66,6 +66,8 @@ namespace ETS_Data { private AnagGruppiDataTable tableAnagGruppi; + private TimbratureExplDataTable tableTimbratureExpl; + private global::System.Data.DataRelation relationAnagProgetti_AnagFasi; private global::System.Data.DataRelation relationDatiCommessa_AnagFasi; @@ -171,6 +173,9 @@ namespace ETS_Data { if ((ds.Tables["AnagGruppi"] != null)) { base.Tables.Add(new AnagGruppiDataTable(ds.Tables["AnagGruppi"])); } + if ((ds.Tables["TimbratureExpl"] != null)) { + base.Tables.Add(new TimbratureExplDataTable(ds.Tables["TimbratureExpl"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -399,6 +404,16 @@ namespace ETS_Data { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public TimbratureExplDataTable TimbratureExpl { + get { + return this.tableTimbratureExpl; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.ComponentModel.BrowsableAttribute(true)] @@ -529,6 +544,9 @@ namespace ETS_Data { if ((ds.Tables["AnagGruppi"] != null)) { base.Tables.Add(new AnagGruppiDataTable(ds.Tables["AnagGruppi"])); } + if ((ds.Tables["TimbratureExpl"] != null)) { + base.Tables.Add(new TimbratureExplDataTable(ds.Tables["TimbratureExpl"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -688,6 +706,12 @@ namespace ETS_Data { this.tableAnagGruppi.InitVars(); } } + this.tableTimbratureExpl = ((TimbratureExplDataTable)(base.Tables["TimbratureExpl"])); + if ((initTable == true)) { + if ((this.tableTimbratureExpl != null)) { + this.tableTimbratureExpl.InitVars(); + } + } this.relationAnagProgetti_AnagFasi = this.Relations["AnagProgetti_AnagFasi"]; this.relationDatiCommessa_AnagFasi = this.Relations["DatiCommessa_AnagFasi"]; this.relationDatiCommessa_DatiCommForn = this.Relations["DatiCommessa_DatiCommForn"]; @@ -747,6 +771,8 @@ namespace ETS_Data { base.Tables.Add(this.tablev_Commessa); this.tableAnagGruppi = new AnagGruppiDataTable(); base.Tables.Add(this.tableAnagGruppi); + this.tableTimbratureExpl = new TimbratureExplDataTable(); + base.Tables.Add(this.tableTimbratureExpl); 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); @@ -903,6 +929,12 @@ namespace ETS_Data { return false; } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private bool ShouldSerializeTimbratureExpl() { + return false; + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { @@ -1021,6 +1053,9 @@ namespace ETS_Data { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public delegate void AnagGruppiRowChangeEventHandler(object sender, AnagGruppiRowChangeEvent e); + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public delegate void TimbratureExplRowChangeEventHandler(object sender, TimbratureExplRowChangeEvent e); + /// ///Represents the strongly named DataTable class. /// @@ -9875,6 +9910,741 @@ namespace ETS_Data { } } + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class TimbratureExplDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnidxDipendente; + + private global::System.Data.DataColumn columndataLav; + + private global::System.Data.DataColumn columnAnno; + + private global::System.Data.DataColumn columnSett; + + private global::System.Data.DataColumn columnCognomeNome; + + private global::System.Data.DataColumn columnentrata_1; + + private global::System.Data.DataColumn columnuscita_1; + + private global::System.Data.DataColumn columnentrata_2; + + private global::System.Data.DataColumn columnuscita_2; + + private global::System.Data.DataColumn columnentrata_3; + + private global::System.Data.DataColumn columnuscita_3; + + private global::System.Data.DataColumn columnentrata_4; + + private global::System.Data.DataColumn columnuscita_4; + + private global::System.Data.DataColumn columnh_lav; + + private global::System.Data.DataColumn columnminLav; + + private global::System.Data.DataColumn columnminOrd; + + private global::System.Data.DataColumn columnminNonLav; + + private global::System.Data.DataColumn columnminStra; + + private global::System.Data.DataColumn columnminPerm; + + private global::System.Data.DataColumn columnminFer; + + private global::System.Data.DataColumn columnminMal; + + private global::System.Data.DataColumn columnminFest; + + private global::System.Data.DataColumn columnminMpp; + + private global::System.Data.DataColumn columnminArcoPres; + + private global::System.Data.DataColumn columnisOkTim; + + private global::System.Data.DataColumn columnisOkApp; + + private global::System.Data.DataColumn columnblock; + + private global::System.Data.DataColumn columnchkFunCod; + + private global::System.Data.DataColumn columnchkFunRes; + + private global::System.Data.DataColumn columnisOk; + + private global::System.Data.DataColumn columnisOkLav; + + private global::System.Data.DataColumn columnh_giust; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public TimbratureExplDataTable() { + this.TableName = "TimbratureExpl"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal TimbratureExplDataTable(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", "16.0.0.0")] + protected TimbratureExplDataTable(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", "16.0.0.0")] + public global::System.Data.DataColumn idxDipendenteColumn { + get { + return this.columnidxDipendente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn dataLavColumn { + get { + return this.columndataLav; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn AnnoColumn { + get { + return this.columnAnno; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn SettColumn { + get { + return this.columnSett; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn CognomeNomeColumn { + get { + return this.columnCognomeNome; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn entrata_1Column { + get { + return this.columnentrata_1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn uscita_1Column { + get { + return this.columnuscita_1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn entrata_2Column { + get { + return this.columnentrata_2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn uscita_2Column { + get { + return this.columnuscita_2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn entrata_3Column { + get { + return this.columnentrata_3; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn uscita_3Column { + get { + return this.columnuscita_3; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn entrata_4Column { + get { + return this.columnentrata_4; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn uscita_4Column { + get { + return this.columnuscita_4; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn h_lavColumn { + get { + return this.columnh_lav; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn minLavColumn { + get { + return this.columnminLav; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn minOrdColumn { + get { + return this.columnminOrd; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn minNonLavColumn { + get { + return this.columnminNonLav; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn minStraColumn { + get { + return this.columnminStra; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn minPermColumn { + get { + return this.columnminPerm; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn minFerColumn { + get { + return this.columnminFer; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn minMalColumn { + get { + return this.columnminMal; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn minFestColumn { + get { + return this.columnminFest; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn minMppColumn { + get { + return this.columnminMpp; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn minArcoPresColumn { + get { + return this.columnminArcoPres; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn isOkTimColumn { + get { + return this.columnisOkTim; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn isOkAppColumn { + get { + return this.columnisOkApp; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn blockColumn { + get { + return this.columnblock; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn chkFunCodColumn { + get { + return this.columnchkFunCod; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn chkFunResColumn { + get { + return this.columnchkFunRes; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn isOkColumn { + get { + return this.columnisOk; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn isOkLavColumn { + get { + return this.columnisOkLav; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn h_giustColumn { + get { + return this.columnh_giust; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.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", "16.0.0.0")] + public TimbratureExplRow this[int index] { + get { + return ((TimbratureExplRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event TimbratureExplRowChangeEventHandler TimbratureExplRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event TimbratureExplRowChangeEventHandler TimbratureExplRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event TimbratureExplRowChangeEventHandler TimbratureExplRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event TimbratureExplRowChangeEventHandler TimbratureExplRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void AddTimbratureExplRow(TimbratureExplRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public TimbratureExplRow AddTimbratureExplRow( + int idxDipendente, + System.DateTime dataLav, + int Anno, + int Sett, + string CognomeNome, + System.DateTime entrata_1, + System.DateTime uscita_1, + System.DateTime entrata_2, + System.DateTime uscita_2, + System.DateTime entrata_3, + System.DateTime uscita_3, + System.DateTime entrata_4, + System.DateTime uscita_4, + double h_lav, + int minLav, + int minOrd, + int minNonLav, + int minStra, + int minPerm, + int minFer, + int minMal, + int minFest, + int minMpp, + int minArcoPres, + bool isOkTim, + bool isOkApp, + bool block, + string chkFunCod, + string chkFunRes, + int isOk, + int isOkLav, + double h_giust) { + TimbratureExplRow rowTimbratureExplRow = ((TimbratureExplRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + idxDipendente, + dataLav, + Anno, + Sett, + CognomeNome, + entrata_1, + uscita_1, + entrata_2, + uscita_2, + entrata_3, + uscita_3, + entrata_4, + uscita_4, + h_lav, + minLav, + minOrd, + minNonLav, + minStra, + minPerm, + minFer, + minMal, + minFest, + minMpp, + minArcoPres, + isOkTim, + isOkApp, + block, + chkFunCod, + chkFunRes, + isOk, + isOkLav, + h_giust}; + rowTimbratureExplRow.ItemArray = columnValuesArray; + this.Rows.Add(rowTimbratureExplRow); + return rowTimbratureExplRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public TimbratureExplRow FindBydataLavidxDipendente(System.DateTime dataLav, int idxDipendente) { + return ((TimbratureExplRow)(this.Rows.Find(new object[] { + dataLav, + idxDipendente}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public override global::System.Data.DataTable Clone() { + TimbratureExplDataTable cln = ((TimbratureExplDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new TimbratureExplDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal void InitVars() { + this.columnidxDipendente = base.Columns["idxDipendente"]; + this.columndataLav = base.Columns["dataLav"]; + this.columnAnno = base.Columns["Anno"]; + this.columnSett = base.Columns["Sett"]; + this.columnCognomeNome = base.Columns["CognomeNome"]; + this.columnentrata_1 = base.Columns["entrata_1"]; + this.columnuscita_1 = base.Columns["uscita_1"]; + this.columnentrata_2 = base.Columns["entrata_2"]; + this.columnuscita_2 = base.Columns["uscita_2"]; + this.columnentrata_3 = base.Columns["entrata_3"]; + this.columnuscita_3 = base.Columns["uscita_3"]; + this.columnentrata_4 = base.Columns["entrata_4"]; + this.columnuscita_4 = base.Columns["uscita_4"]; + this.columnh_lav = base.Columns["h_lav"]; + this.columnminLav = base.Columns["minLav"]; + this.columnminOrd = base.Columns["minOrd"]; + this.columnminNonLav = base.Columns["minNonLav"]; + this.columnminStra = base.Columns["minStra"]; + this.columnminPerm = base.Columns["minPerm"]; + this.columnminFer = base.Columns["minFer"]; + this.columnminMal = base.Columns["minMal"]; + this.columnminFest = base.Columns["minFest"]; + this.columnminMpp = base.Columns["minMpp"]; + this.columnminArcoPres = base.Columns["minArcoPres"]; + this.columnisOkTim = base.Columns["isOkTim"]; + this.columnisOkApp = base.Columns["isOkApp"]; + this.columnblock = base.Columns["block"]; + this.columnchkFunCod = base.Columns["chkFunCod"]; + this.columnchkFunRes = base.Columns["chkFunRes"]; + this.columnisOk = base.Columns["isOk"]; + this.columnisOkLav = base.Columns["isOkLav"]; + this.columnh_giust = base.Columns["h_giust"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitClass() { + this.columnidxDipendente = new global::System.Data.DataColumn("idxDipendente", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxDipendente); + this.columndataLav = new global::System.Data.DataColumn("dataLav", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndataLav); + this.columnAnno = new global::System.Data.DataColumn("Anno", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnAnno); + this.columnSett = new global::System.Data.DataColumn("Sett", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnSett); + this.columnCognomeNome = new global::System.Data.DataColumn("CognomeNome", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCognomeNome); + this.columnentrata_1 = new global::System.Data.DataColumn("entrata_1", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnentrata_1); + this.columnuscita_1 = new global::System.Data.DataColumn("uscita_1", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnuscita_1); + this.columnentrata_2 = new global::System.Data.DataColumn("entrata_2", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnentrata_2); + this.columnuscita_2 = new global::System.Data.DataColumn("uscita_2", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnuscita_2); + this.columnentrata_3 = new global::System.Data.DataColumn("entrata_3", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnentrata_3); + this.columnuscita_3 = new global::System.Data.DataColumn("uscita_3", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnuscita_3); + this.columnentrata_4 = new global::System.Data.DataColumn("entrata_4", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnentrata_4); + this.columnuscita_4 = new global::System.Data.DataColumn("uscita_4", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnuscita_4); + this.columnh_lav = new global::System.Data.DataColumn("h_lav", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnh_lav); + this.columnminLav = new global::System.Data.DataColumn("minLav", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnminLav); + this.columnminOrd = new global::System.Data.DataColumn("minOrd", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnminOrd); + this.columnminNonLav = new global::System.Data.DataColumn("minNonLav", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnminNonLav); + this.columnminStra = new global::System.Data.DataColumn("minStra", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnminStra); + this.columnminPerm = new global::System.Data.DataColumn("minPerm", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnminPerm); + this.columnminFer = new global::System.Data.DataColumn("minFer", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnminFer); + this.columnminMal = new global::System.Data.DataColumn("minMal", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnminMal); + this.columnminFest = new global::System.Data.DataColumn("minFest", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnminFest); + this.columnminMpp = new global::System.Data.DataColumn("minMpp", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnminMpp); + this.columnminArcoPres = new global::System.Data.DataColumn("minArcoPres", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnminArcoPres); + this.columnisOkTim = new global::System.Data.DataColumn("isOkTim", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnisOkTim); + this.columnisOkApp = new global::System.Data.DataColumn("isOkApp", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnisOkApp); + this.columnblock = new global::System.Data.DataColumn("block", typeof(bool), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnblock); + this.columnchkFunCod = new global::System.Data.DataColumn("chkFunCod", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnchkFunCod); + this.columnchkFunRes = new global::System.Data.DataColumn("chkFunRes", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnchkFunRes); + this.columnisOk = new global::System.Data.DataColumn("isOk", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnisOk); + this.columnisOkLav = new global::System.Data.DataColumn("isOkLav", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnisOkLav); + this.columnh_giust = new global::System.Data.DataColumn("h_giust", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnh_giust); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columndataLav, + this.columnidxDipendente}, true)); + this.columnidxDipendente.AllowDBNull = false; + this.columndataLav.AllowDBNull = false; + this.columnAnno.ReadOnly = true; + this.columnSett.ReadOnly = true; + this.columnCognomeNome.MaxLength = 100; + this.columnminArcoPres.ReadOnly = true; + this.columnchkFunCod.MaxLength = 50; + this.columnchkFunRes.MaxLength = 50; + this.columnisOk.ReadOnly = true; + this.columnisOkLav.ReadOnly = true; + this.columnh_giust.ReadOnly = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public TimbratureExplRow NewTimbratureExplRow() { + return ((TimbratureExplRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new TimbratureExplRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(TimbratureExplRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.TimbratureExplRowChanged != null)) { + this.TimbratureExplRowChanged(this, new TimbratureExplRowChangeEvent(((TimbratureExplRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.TimbratureExplRowChanging != null)) { + this.TimbratureExplRowChanging(this, new TimbratureExplRowChangeEvent(((TimbratureExplRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.TimbratureExplRowDeleted != null)) { + this.TimbratureExplRowDeleted(this, new TimbratureExplRowChangeEvent(((TimbratureExplRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.TimbratureExplRowDeleting != null)) { + this.TimbratureExplRowDeleting(this, new TimbratureExplRowChangeEvent(((TimbratureExplRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void RemoveTimbratureExplRow(TimbratureExplRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.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 = "TimbratureExplDataTable"; + 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. /// @@ -15914,6 +16684,883 @@ namespace ETS_Data { } } + /// + ///Represents strongly named DataRow class. + /// + public partial class TimbratureExplRow : global::System.Data.DataRow { + + private TimbratureExplDataTable tableTimbratureExpl; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal TimbratureExplRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableTimbratureExpl = ((TimbratureExplDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int idxDipendente { + get { + return ((int)(this[this.tableTimbratureExpl.idxDipendenteColumn])); + } + set { + this[this.tableTimbratureExpl.idxDipendenteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public System.DateTime dataLav { + get { + return ((global::System.DateTime)(this[this.tableTimbratureExpl.dataLavColumn])); + } + set { + this[this.tableTimbratureExpl.dataLavColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int Anno { + get { + try { + return ((int)(this[this.tableTimbratureExpl.AnnoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Anno\' in table \'TimbratureExpl\' is DBNull.", e); + } + } + set { + this[this.tableTimbratureExpl.AnnoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int Sett { + get { + try { + return ((int)(this[this.tableTimbratureExpl.SettColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Sett\' in table \'TimbratureExpl\' is DBNull.", e); + } + } + set { + this[this.tableTimbratureExpl.SettColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string CognomeNome { + get { + try { + return ((string)(this[this.tableTimbratureExpl.CognomeNomeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CognomeNome\' in table \'TimbratureExpl\' is DBNull.", e); + } + } + set { + this[this.tableTimbratureExpl.CognomeNomeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public System.DateTime entrata_1 { + get { + try { + return ((global::System.DateTime)(this[this.tableTimbratureExpl.entrata_1Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'entrata_1\' in table \'TimbratureExpl\' is DBNull.", e); + } + } + set { + this[this.tableTimbratureExpl.entrata_1Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public System.DateTime uscita_1 { + get { + try { + return ((global::System.DateTime)(this[this.tableTimbratureExpl.uscita_1Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'uscita_1\' in table \'TimbratureExpl\' is DBNull.", e); + } + } + set { + this[this.tableTimbratureExpl.uscita_1Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public System.DateTime entrata_2 { + get { + try { + return ((global::System.DateTime)(this[this.tableTimbratureExpl.entrata_2Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'entrata_2\' in table \'TimbratureExpl\' is DBNull.", e); + } + } + set { + this[this.tableTimbratureExpl.entrata_2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public System.DateTime uscita_2 { + get { + try { + return ((global::System.DateTime)(this[this.tableTimbratureExpl.uscita_2Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'uscita_2\' in table \'TimbratureExpl\' is DBNull.", e); + } + } + set { + this[this.tableTimbratureExpl.uscita_2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public System.DateTime entrata_3 { + get { + try { + return ((global::System.DateTime)(this[this.tableTimbratureExpl.entrata_3Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'entrata_3\' in table \'TimbratureExpl\' is DBNull.", e); + } + } + set { + this[this.tableTimbratureExpl.entrata_3Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public System.DateTime uscita_3 { + get { + try { + return ((global::System.DateTime)(this[this.tableTimbratureExpl.uscita_3Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'uscita_3\' in table \'TimbratureExpl\' is DBNull.", e); + } + } + set { + this[this.tableTimbratureExpl.uscita_3Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public System.DateTime entrata_4 { + get { + try { + return ((global::System.DateTime)(this[this.tableTimbratureExpl.entrata_4Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'entrata_4\' in table \'TimbratureExpl\' is DBNull.", e); + } + } + set { + this[this.tableTimbratureExpl.entrata_4Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public System.DateTime uscita_4 { + get { + try { + return ((global::System.DateTime)(this[this.tableTimbratureExpl.uscita_4Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'uscita_4\' in table \'TimbratureExpl\' is DBNull.", e); + } + } + set { + this[this.tableTimbratureExpl.uscita_4Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public double h_lav { + get { + try { + return ((double)(this[this.tableTimbratureExpl.h_lavColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'h_lav\' in table \'TimbratureExpl\' is DBNull.", e); + } + } + set { + this[this.tableTimbratureExpl.h_lavColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int minLav { + get { + try { + return ((int)(this[this.tableTimbratureExpl.minLavColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'minLav\' in table \'TimbratureExpl\' is DBNull.", e); + } + } + set { + this[this.tableTimbratureExpl.minLavColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int minOrd { + get { + try { + return ((int)(this[this.tableTimbratureExpl.minOrdColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'minOrd\' in table \'TimbratureExpl\' is DBNull.", e); + } + } + set { + this[this.tableTimbratureExpl.minOrdColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int minNonLav { + get { + try { + return ((int)(this[this.tableTimbratureExpl.minNonLavColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'minNonLav\' in table \'TimbratureExpl\' is DBNull.", e); + } + } + set { + this[this.tableTimbratureExpl.minNonLavColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int minStra { + get { + try { + return ((int)(this[this.tableTimbratureExpl.minStraColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'minStra\' in table \'TimbratureExpl\' is DBNull.", e); + } + } + set { + this[this.tableTimbratureExpl.minStraColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int minPerm { + get { + try { + return ((int)(this[this.tableTimbratureExpl.minPermColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'minPerm\' in table \'TimbratureExpl\' is DBNull.", e); + } + } + set { + this[this.tableTimbratureExpl.minPermColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int minFer { + get { + try { + return ((int)(this[this.tableTimbratureExpl.minFerColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'minFer\' in table \'TimbratureExpl\' is DBNull.", e); + } + } + set { + this[this.tableTimbratureExpl.minFerColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int minMal { + get { + try { + return ((int)(this[this.tableTimbratureExpl.minMalColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'minMal\' in table \'TimbratureExpl\' is DBNull.", e); + } + } + set { + this[this.tableTimbratureExpl.minMalColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int minFest { + get { + try { + return ((int)(this[this.tableTimbratureExpl.minFestColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'minFest\' in table \'TimbratureExpl\' is DBNull.", e); + } + } + set { + this[this.tableTimbratureExpl.minFestColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int minMpp { + get { + try { + return ((int)(this[this.tableTimbratureExpl.minMppColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'minMpp\' in table \'TimbratureExpl\' is DBNull.", e); + } + } + set { + this[this.tableTimbratureExpl.minMppColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int minArcoPres { + get { + try { + return ((int)(this[this.tableTimbratureExpl.minArcoPresColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'minArcoPres\' in table \'TimbratureExpl\' is DBNull.", e); + } + } + set { + this[this.tableTimbratureExpl.minArcoPresColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool isOkTim { + get { + try { + return ((bool)(this[this.tableTimbratureExpl.isOkTimColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'isOkTim\' in table \'TimbratureExpl\' is DBNull.", e); + } + } + set { + this[this.tableTimbratureExpl.isOkTimColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool isOkApp { + get { + try { + return ((bool)(this[this.tableTimbratureExpl.isOkAppColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'isOkApp\' in table \'TimbratureExpl\' is DBNull.", e); + } + } + set { + this[this.tableTimbratureExpl.isOkAppColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool block { + get { + try { + return ((bool)(this[this.tableTimbratureExpl.blockColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'block\' in table \'TimbratureExpl\' is DBNull.", e); + } + } + set { + this[this.tableTimbratureExpl.blockColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string chkFunCod { + get { + try { + return ((string)(this[this.tableTimbratureExpl.chkFunCodColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'chkFunCod\' in table \'TimbratureExpl\' is DBNull.", e); + } + } + set { + this[this.tableTimbratureExpl.chkFunCodColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string chkFunRes { + get { + try { + return ((string)(this[this.tableTimbratureExpl.chkFunResColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'chkFunRes\' in table \'TimbratureExpl\' is DBNull.", e); + } + } + set { + this[this.tableTimbratureExpl.chkFunResColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int isOk { + get { + try { + return ((int)(this[this.tableTimbratureExpl.isOkColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'isOk\' in table \'TimbratureExpl\' is DBNull.", e); + } + } + set { + this[this.tableTimbratureExpl.isOkColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int isOkLav { + get { + try { + return ((int)(this[this.tableTimbratureExpl.isOkLavColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'isOkLav\' in table \'TimbratureExpl\' is DBNull.", e); + } + } + set { + this[this.tableTimbratureExpl.isOkLavColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public double h_giust { + get { + try { + return ((double)(this[this.tableTimbratureExpl.h_giustColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'h_giust\' in table \'TimbratureExpl\' is DBNull.", e); + } + } + set { + this[this.tableTimbratureExpl.h_giustColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsAnnoNull() { + return this.IsNull(this.tableTimbratureExpl.AnnoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetAnnoNull() { + this[this.tableTimbratureExpl.AnnoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsSettNull() { + return this.IsNull(this.tableTimbratureExpl.SettColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetSettNull() { + this[this.tableTimbratureExpl.SettColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsCognomeNomeNull() { + return this.IsNull(this.tableTimbratureExpl.CognomeNomeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetCognomeNomeNull() { + this[this.tableTimbratureExpl.CognomeNomeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool Isentrata_1Null() { + return this.IsNull(this.tableTimbratureExpl.entrata_1Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void Setentrata_1Null() { + this[this.tableTimbratureExpl.entrata_1Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool Isuscita_1Null() { + return this.IsNull(this.tableTimbratureExpl.uscita_1Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void Setuscita_1Null() { + this[this.tableTimbratureExpl.uscita_1Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool Isentrata_2Null() { + return this.IsNull(this.tableTimbratureExpl.entrata_2Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void Setentrata_2Null() { + this[this.tableTimbratureExpl.entrata_2Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool Isuscita_2Null() { + return this.IsNull(this.tableTimbratureExpl.uscita_2Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void Setuscita_2Null() { + this[this.tableTimbratureExpl.uscita_2Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool Isentrata_3Null() { + return this.IsNull(this.tableTimbratureExpl.entrata_3Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void Setentrata_3Null() { + this[this.tableTimbratureExpl.entrata_3Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool Isuscita_3Null() { + return this.IsNull(this.tableTimbratureExpl.uscita_3Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void Setuscita_3Null() { + this[this.tableTimbratureExpl.uscita_3Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool Isentrata_4Null() { + return this.IsNull(this.tableTimbratureExpl.entrata_4Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void Setentrata_4Null() { + this[this.tableTimbratureExpl.entrata_4Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool Isuscita_4Null() { + return this.IsNull(this.tableTimbratureExpl.uscita_4Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void Setuscita_4Null() { + this[this.tableTimbratureExpl.uscita_4Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool Ish_lavNull() { + return this.IsNull(this.tableTimbratureExpl.h_lavColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void Seth_lavNull() { + this[this.tableTimbratureExpl.h_lavColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsminLavNull() { + return this.IsNull(this.tableTimbratureExpl.minLavColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetminLavNull() { + this[this.tableTimbratureExpl.minLavColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsminOrdNull() { + return this.IsNull(this.tableTimbratureExpl.minOrdColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetminOrdNull() { + this[this.tableTimbratureExpl.minOrdColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsminNonLavNull() { + return this.IsNull(this.tableTimbratureExpl.minNonLavColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetminNonLavNull() { + this[this.tableTimbratureExpl.minNonLavColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsminStraNull() { + return this.IsNull(this.tableTimbratureExpl.minStraColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetminStraNull() { + this[this.tableTimbratureExpl.minStraColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsminPermNull() { + return this.IsNull(this.tableTimbratureExpl.minPermColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetminPermNull() { + this[this.tableTimbratureExpl.minPermColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsminFerNull() { + return this.IsNull(this.tableTimbratureExpl.minFerColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetminFerNull() { + this[this.tableTimbratureExpl.minFerColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsminMalNull() { + return this.IsNull(this.tableTimbratureExpl.minMalColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetminMalNull() { + this[this.tableTimbratureExpl.minMalColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsminFestNull() { + return this.IsNull(this.tableTimbratureExpl.minFestColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetminFestNull() { + this[this.tableTimbratureExpl.minFestColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsminMppNull() { + return this.IsNull(this.tableTimbratureExpl.minMppColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetminMppNull() { + this[this.tableTimbratureExpl.minMppColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsminArcoPresNull() { + return this.IsNull(this.tableTimbratureExpl.minArcoPresColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetminArcoPresNull() { + this[this.tableTimbratureExpl.minArcoPresColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsisOkTimNull() { + return this.IsNull(this.tableTimbratureExpl.isOkTimColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetisOkTimNull() { + this[this.tableTimbratureExpl.isOkTimColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsisOkAppNull() { + return this.IsNull(this.tableTimbratureExpl.isOkAppColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetisOkAppNull() { + this[this.tableTimbratureExpl.isOkAppColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsblockNull() { + return this.IsNull(this.tableTimbratureExpl.blockColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetblockNull() { + this[this.tableTimbratureExpl.blockColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IschkFunCodNull() { + return this.IsNull(this.tableTimbratureExpl.chkFunCodColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetchkFunCodNull() { + this[this.tableTimbratureExpl.chkFunCodColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IschkFunResNull() { + return this.IsNull(this.tableTimbratureExpl.chkFunResColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetchkFunResNull() { + this[this.tableTimbratureExpl.chkFunResColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsisOkNull() { + return this.IsNull(this.tableTimbratureExpl.isOkColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetisOkNull() { + this[this.tableTimbratureExpl.isOkColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsisOkLavNull() { + return this.IsNull(this.tableTimbratureExpl.isOkLavColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetisOkLavNull() { + this[this.tableTimbratureExpl.isOkLavColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool Ish_giustNull() { + return this.IsNull(this.tableTimbratureExpl.h_giustColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void Seth_giustNull() { + this[this.tableTimbratureExpl.h_giustColumn] = global::System.Convert.DBNull; + } + } + /// ///Row event argument class /// @@ -16627,6 +18274,40 @@ namespace ETS_Data { } } } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public class TimbratureExplRowChangeEvent : global::System.EventArgs { + + private TimbratureExplRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public TimbratureExplRowChangeEvent(TimbratureExplRow 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", "16.0.0.0")] + public TimbratureExplRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } } } namespace ETS_Data.Ds_ProjEtsTableAdapters { @@ -25954,6 +27635,1485 @@ SELECT Anno, Sett, DtLastSend, SentBy FROM LogEmailBaz WHERE (Anno = @Anno) AND } } + /// + ///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 TimbratureExplTableAdapter : 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", "16.0.0.0")] + public TimbratureExplTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.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", "16.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", "16.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", "16.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", "16.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", "16.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 = "TimbratureExpl"; + tableMapping.ColumnMappings.Add("idxDipendente", "idxDipendente"); + tableMapping.ColumnMappings.Add("dataLav", "dataLav"); + tableMapping.ColumnMappings.Add("Anno", "Anno"); + tableMapping.ColumnMappings.Add("Sett", "Sett"); + tableMapping.ColumnMappings.Add("CognomeNome", "CognomeNome"); + tableMapping.ColumnMappings.Add("entrata_1", "entrata_1"); + tableMapping.ColumnMappings.Add("uscita_1", "uscita_1"); + tableMapping.ColumnMappings.Add("entrata_2", "entrata_2"); + tableMapping.ColumnMappings.Add("uscita_2", "uscita_2"); + tableMapping.ColumnMappings.Add("entrata_3", "entrata_3"); + tableMapping.ColumnMappings.Add("uscita_3", "uscita_3"); + tableMapping.ColumnMappings.Add("entrata_4", "entrata_4"); + tableMapping.ColumnMappings.Add("uscita_4", "uscita_4"); + tableMapping.ColumnMappings.Add("h_lav", "h_lav"); + tableMapping.ColumnMappings.Add("minLav", "minLav"); + tableMapping.ColumnMappings.Add("minOrd", "minOrd"); + tableMapping.ColumnMappings.Add("minNonLav", "minNonLav"); + tableMapping.ColumnMappings.Add("minStra", "minStra"); + tableMapping.ColumnMappings.Add("minPerm", "minPerm"); + tableMapping.ColumnMappings.Add("minFer", "minFer"); + tableMapping.ColumnMappings.Add("minMal", "minMal"); + tableMapping.ColumnMappings.Add("minFest", "minFest"); + tableMapping.ColumnMappings.Add("minMpp", "minMpp"); + tableMapping.ColumnMappings.Add("minArcoPres", "minArcoPres"); + tableMapping.ColumnMappings.Add("isOkTim", "isOkTim"); + tableMapping.ColumnMappings.Add("isOkApp", "isOkApp"); + tableMapping.ColumnMappings.Add("block", "block"); + tableMapping.ColumnMappings.Add("chkFunCod", "chkFunCod"); + tableMapping.ColumnMappings.Add("chkFunRes", "chkFunRes"); + tableMapping.ColumnMappings.Add("isOk", "isOk"); + tableMapping.ColumnMappings.Add("isOkLav", "isOkLav"); + tableMapping.ColumnMappings.Add("h_giust", "h_giust"); + 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 [ETS_GPW].[dbo].[TimbratureExpl] WHERE (([dataLav] = @Original_dataLa" + + "v) AND ([idxDipendente] = @Original_idxDipendente) AND ((@IsNull_CognomeNome = 1" + + " AND [CognomeNome] IS NULL) OR ([CognomeNome] = @Original_CognomeNome)) AND ((@I" + + "sNull_entrata_1 = 1 AND [entrata_1] IS NULL) OR ([entrata_1] = @Original_entrata" + + "_1)) AND ((@IsNull_uscita_1 = 1 AND [uscita_1] IS NULL) OR ([uscita_1] = @Origin" + + "al_uscita_1)) AND ((@IsNull_entrata_2 = 1 AND [entrata_2] IS NULL) OR ([entrata_" + + "2] = @Original_entrata_2)) AND ((@IsNull_uscita_2 = 1 AND [uscita_2] IS NULL) OR" + + " ([uscita_2] = @Original_uscita_2)) AND ((@IsNull_entrata_3 = 1 AND [entrata_3] " + + "IS NULL) OR ([entrata_3] = @Original_entrata_3)) AND ((@IsNull_uscita_3 = 1 AND " + + "[uscita_3] IS NULL) OR ([uscita_3] = @Original_uscita_3)) AND ((@IsNull_entrata_" + + "4 = 1 AND [entrata_4] IS NULL) OR ([entrata_4] = @Original_entrata_4)) AND ((@Is" + + "Null_uscita_4 = 1 AND [uscita_4] IS NULL) OR ([uscita_4] = @Original_uscita_4)) " + + "AND ((@IsNull_h_lav = 1 AND [h_lav] IS NULL) OR ([h_lav] = @Original_h_lav)) AND" + + " ((@IsNull_minLav = 1 AND [minLav] IS NULL) OR ([minLav] = @Original_minLav)) AN" + + "D ((@IsNull_minOrd = 1 AND [minOrd] IS NULL) OR ([minOrd] = @Original_minOrd)) A" + + "ND ((@IsNull_minNonLav = 1 AND [minNonLav] IS NULL) OR ([minNonLav] = @Original_" + + "minNonLav)) AND ((@IsNull_minStra = 1 AND [minStra] IS NULL) OR ([minStra] = @Or" + + "iginal_minStra)) AND ((@IsNull_minPerm = 1 AND [minPerm] IS NULL) OR ([minPerm] " + + "= @Original_minPerm)) AND ((@IsNull_minFer = 1 AND [minFer] IS NULL) OR ([minFer" + + "] = @Original_minFer)) AND ((@IsNull_minMal = 1 AND [minMal] IS NULL) OR ([minMa" + + "l] = @Original_minMal)) AND ((@IsNull_minFest = 1 AND [minFest] IS NULL) OR ([mi" + + "nFest] = @Original_minFest)) AND ((@IsNull_minMpp = 1 AND [minMpp] IS NULL) OR (" + + "[minMpp] = @Original_minMpp)) AND ((@IsNull_minArcoPres = 1 AND [minArcoPres] IS" + + " NULL) OR ([minArcoPres] = @Original_minArcoPres)) AND ((@IsNull_isOkTim = 1 AND" + + " [isOkTim] IS NULL) OR ([isOkTim] = @Original_isOkTim)) AND ((@IsNull_isOkApp = " + + "1 AND [isOkApp] IS NULL) OR ([isOkApp] = @Original_isOkApp)) AND ((@IsNull_block" + + " = 1 AND [block] IS NULL) OR ([block] = @Original_block)) AND ((@IsNull_chkFunCo" + + "d = 1 AND [chkFunCod] IS NULL) OR ([chkFunCod] = @Original_chkFunCod)) AND ((@Is" + + "Null_chkFunRes = 1 AND [chkFunRes] IS NULL) OR ([chkFunRes] = @Original_chkFunRe" + + "s)) AND ((@IsNull_isOk = 1 AND [isOk] IS NULL) OR ([isOk] = @Original_isOk)) AND" + + " ([isOkLav] = @Original_isOkLav) AND ((@IsNull_h_giust = 1 AND [h_giust] IS NULL" + + ") OR ([h_giust] = @Original_h_giust)))"; + this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dataLav", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataLav", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxDipendente", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CognomeNome", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CognomeNome", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CognomeNome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CognomeNome", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_entrata_1", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_1", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_entrata_1", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_uscita_1", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_1", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_uscita_1", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_entrata_2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_2", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_entrata_2", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_uscita_2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_2", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_uscita_2", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_entrata_3", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_3", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_entrata_3", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_3", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_uscita_3", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_3", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_uscita_3", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_3", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_entrata_4", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_4", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_entrata_4", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_4", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_uscita_4", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_4", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_uscita_4", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_4", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_h_lav", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "h_lav", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_h_lav", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "h_lav", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_minLav", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minLav", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_minLav", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minLav", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_minOrd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minOrd", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_minOrd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minOrd", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_minNonLav", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minNonLav", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_minNonLav", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minNonLav", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_minStra", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minStra", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_minStra", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minStra", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_minPerm", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minPerm", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_minPerm", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minPerm", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_minFer", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minFer", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_minFer", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minFer", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_minMal", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minMal", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_minMal", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minMal", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_minFest", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minFest", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_minFest", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minFest", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_minMpp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minMpp", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_minMpp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minMpp", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_minArcoPres", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minArcoPres", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_minArcoPres", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minArcoPres", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_isOkTim", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isOkTim", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_isOkTim", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isOkTim", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_isOkApp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isOkApp", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_isOkApp", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isOkApp", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_block", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "block", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_block", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "block", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_chkFunCod", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chkFunCod", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_chkFunCod", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chkFunCod", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_chkFunRes", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chkFunRes", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_chkFunRes", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chkFunRes", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_isOk", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isOk", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_isOk", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isOk", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_isOkLav", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isOkLav", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_h_giust", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "h_giust", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_h_giust", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "h_giust", 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 [ETS_GPW].[dbo].[TimbratureExpl] ([dataLav], [idxDipendente], [CognomeNome], [entrata_1], [uscita_1], [entrata_2], [uscita_2], [entrata_3], [uscita_3], [entrata_4], [uscita_4], [h_lav], [minLav], [minOrd], [minNonLav], [minStra], [minPerm], [minFer], [minMal], [minFest], [minMpp], [isOkTim], [isOkApp], [block], [chkFunCod], [chkFunRes]) VALUES (@dataLav, @idxDipendente, @CognomeNome, @entrata_1, @uscita_1, @entrata_2, @uscita_2, @entrata_3, @uscita_3, @entrata_4, @uscita_4, @h_lav, @minLav, @minOrd, @minNonLav, @minStra, @minPerm, @minFer, @minMal, @minFest, @minMpp, @isOkTim, @isOkApp, @block, @chkFunCod, @chkFunRes)"; + this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataLav", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataLav", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxDipendente", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CognomeNome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CognomeNome", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@entrata_1", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uscita_1", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@entrata_2", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uscita_2", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@entrata_3", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uscita_3", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@entrata_4", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_4", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uscita_4", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_4", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@h_lav", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "h_lav", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minLav", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minLav", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minOrd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minOrd", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minNonLav", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minNonLav", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minStra", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minStra", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minPerm", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minPerm", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minFer", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minFer", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minMal", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minMal", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minFest", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minFest", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minMpp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minMpp", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isOkTim", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isOkTim", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isOkApp", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isOkApp", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@block", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "block", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@chkFunCod", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chkFunCod", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@chkFunRes", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chkFunRes", 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 [ETS_GPW].[dbo].[TimbratureExpl] SET [dataLav] = @dataLav, [idxDipendente]" + + " = @idxDipendente, [CognomeNome] = @CognomeNome, [entrata_1] = @entrata_1, [usci" + + "ta_1] = @uscita_1, [entrata_2] = @entrata_2, [uscita_2] = @uscita_2, [entrata_3]" + + " = @entrata_3, [uscita_3] = @uscita_3, [entrata_4] = @entrata_4, [uscita_4] = @u" + + "scita_4, [h_lav] = @h_lav, [minLav] = @minLav, [minOrd] = @minOrd, [minNonLav] =" + + " @minNonLav, [minStra] = @minStra, [minPerm] = @minPerm, [minFer] = @minFer, [mi" + + "nMal] = @minMal, [minFest] = @minFest, [minMpp] = @minMpp, [isOkTim] = @isOkTim," + + " [isOkApp] = @isOkApp, [block] = @block, [chkFunCod] = @chkFunCod, [chkFunRes] =" + + " @chkFunRes WHERE (([dataLav] = @Original_dataLav) AND ([idxDipendente] = @Origi" + + "nal_idxDipendente) AND ((@IsNull_CognomeNome = 1 AND [CognomeNome] IS NULL) OR (" + + "[CognomeNome] = @Original_CognomeNome)) AND ((@IsNull_entrata_1 = 1 AND [entrata" + + "_1] IS NULL) OR ([entrata_1] = @Original_entrata_1)) AND ((@IsNull_uscita_1 = 1 " + + "AND [uscita_1] IS NULL) OR ([uscita_1] = @Original_uscita_1)) AND ((@IsNull_entr" + + "ata_2 = 1 AND [entrata_2] IS NULL) OR ([entrata_2] = @Original_entrata_2)) AND (" + + "(@IsNull_uscita_2 = 1 AND [uscita_2] IS NULL) OR ([uscita_2] = @Original_uscita_" + + "2)) AND ((@IsNull_entrata_3 = 1 AND [entrata_3] IS NULL) OR ([entrata_3] = @Orig" + + "inal_entrata_3)) AND ((@IsNull_uscita_3 = 1 AND [uscita_3] IS NULL) OR ([uscita_" + + "3] = @Original_uscita_3)) AND ((@IsNull_entrata_4 = 1 AND [entrata_4] IS NULL) O" + + "R ([entrata_4] = @Original_entrata_4)) AND ((@IsNull_uscita_4 = 1 AND [uscita_4]" + + " IS NULL) OR ([uscita_4] = @Original_uscita_4)) AND ((@IsNull_h_lav = 1 AND [h_l" + + "av] IS NULL) OR ([h_lav] = @Original_h_lav)) AND ((@IsNull_minLav = 1 AND [minLa" + + "v] IS NULL) OR ([minLav] = @Original_minLav)) AND ((@IsNull_minOrd = 1 AND [minO" + + "rd] IS NULL) OR ([minOrd] = @Original_minOrd)) AND ((@IsNull_minNonLav = 1 AND [" + + "minNonLav] IS NULL) OR ([minNonLav] = @Original_minNonLav)) AND ((@IsNull_minStr" + + "a = 1 AND [minStra] IS NULL) OR ([minStra] = @Original_minStra)) AND ((@IsNull_m" + + "inPerm = 1 AND [minPerm] IS NULL) OR ([minPerm] = @Original_minPerm)) AND ((@IsN" + + "ull_minFer = 1 AND [minFer] IS NULL) OR ([minFer] = @Original_minFer)) AND ((@Is" + + "Null_minMal = 1 AND [minMal] IS NULL) OR ([minMal] = @Original_minMal)) AND ((@I" + + "sNull_minFest = 1 AND [minFest] IS NULL) OR ([minFest] = @Original_minFest)) AND" + + " ((@IsNull_minMpp = 1 AND [minMpp] IS NULL) OR ([minMpp] = @Original_minMpp)) AN" + + "D ((@IsNull_minArcoPres = 1 AND [minArcoPres] IS NULL) OR ([minArcoPres] = @Orig" + + "inal_minArcoPres)) AND ((@IsNull_isOkTim = 1 AND [isOkTim] IS NULL) OR ([isOkTim" + + "] = @Original_isOkTim)) AND ((@IsNull_isOkApp = 1 AND [isOkApp] IS NULL) OR ([is" + + "OkApp] = @Original_isOkApp)) AND ((@IsNull_block = 1 AND [block] IS NULL) OR ([b" + + "lock] = @Original_block)) AND ((@IsNull_chkFunCod = 1 AND [chkFunCod] IS NULL) O" + + "R ([chkFunCod] = @Original_chkFunCod)) AND ((@IsNull_chkFunRes = 1 AND [chkFunRe" + + "s] IS NULL) OR ([chkFunRes] = @Original_chkFunRes)) AND ((@IsNull_isOk = 1 AND [" + + "isOk] IS NULL) OR ([isOk] = @Original_isOk)) AND ([isOkLav] = @Original_isOkLav)" + + " AND ((@IsNull_h_giust = 1 AND [h_giust] IS NULL) OR ([h_giust] = @Original_h_gi" + + "ust)))"; + this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataLav", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataLav", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxDipendente", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CognomeNome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CognomeNome", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@entrata_1", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uscita_1", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@entrata_2", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uscita_2", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@entrata_3", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uscita_3", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_3", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@entrata_4", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_4", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uscita_4", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_4", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@h_lav", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "h_lav", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minLav", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minLav", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minOrd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minOrd", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minNonLav", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minNonLav", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minStra", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minStra", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minPerm", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minPerm", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minFer", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minFer", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minMal", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minMal", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minFest", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minFest", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minMpp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minMpp", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isOkTim", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isOkTim", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isOkApp", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isOkApp", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@block", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "block", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@chkFunCod", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chkFunCod", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@chkFunRes", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chkFunRes", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dataLav", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dataLav", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxDipendente", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idxDipendente", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_CognomeNome", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CognomeNome", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CognomeNome", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CognomeNome", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_entrata_1", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_1", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_entrata_1", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_uscita_1", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_1", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_uscita_1", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_1", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_entrata_2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_2", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_entrata_2", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_uscita_2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_2", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_uscita_2", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_2", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_entrata_3", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_3", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_entrata_3", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_3", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_uscita_3", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_3", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_uscita_3", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_3", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_entrata_4", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_4", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_entrata_4", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "entrata_4", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_uscita_4", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_4", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_uscita_4", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uscita_4", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_h_lav", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "h_lav", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_h_lav", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "h_lav", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_minLav", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minLav", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_minLav", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minLav", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_minOrd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minOrd", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_minOrd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minOrd", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_minNonLav", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minNonLav", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_minNonLav", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minNonLav", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_minStra", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minStra", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_minStra", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minStra", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_minPerm", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minPerm", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_minPerm", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minPerm", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_minFer", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minFer", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_minFer", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minFer", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_minMal", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minMal", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_minMal", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minMal", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_minFest", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minFest", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_minFest", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minFest", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_minMpp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minMpp", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_minMpp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minMpp", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_minArcoPres", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minArcoPres", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_minArcoPres", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "minArcoPres", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_isOkTim", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isOkTim", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_isOkTim", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isOkTim", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_isOkApp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isOkApp", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_isOkApp", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isOkApp", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_block", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "block", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_block", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "block", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_chkFunCod", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chkFunCod", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_chkFunCod", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chkFunCod", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_chkFunRes", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chkFunRes", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_chkFunRes", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chkFunRes", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_isOk", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isOk", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_isOk", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isOk", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_isOkLav", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isOkLav", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_h_giust", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "h_giust", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); + this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_h_giust", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "h_giust", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.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", "16.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 * FROM TimbratureExpl"; + 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_TE_getByAnnoSett"; + 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("@Anno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Sett", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@showAll", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.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.TimbratureExplDataTable 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", "16.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.TimbratureExplDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + Ds_ProjEts.TimbratureExplDataTable dataTable = new Ds_ProjEts.TimbratureExplDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.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.TimbratureExplDataTable getByAnnoSett(global::System.Nullable Anno, global::System.Nullable Sett, global::System.Nullable showAll) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((Anno.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((int)(Anno.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + if ((Sett.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[2].Value = ((int)(Sett.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + if ((showAll.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[3].Value = ((bool)(showAll.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value; + } + Ds_ProjEts.TimbratureExplDataTable dataTable = new Ds_ProjEts.TimbratureExplDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(Ds_ProjEts.TimbratureExplDataTable dataTable) { + return this.Adapter.Update(dataTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int Update(Ds_ProjEts dataSet) { + return this.Adapter.Update(dataSet, "TimbratureExpl"); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.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", "16.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", "16.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( + System.DateTime Original_dataLav, + int Original_idxDipendente, + string Original_CognomeNome, + global::System.Nullable Original_entrata_1, + global::System.Nullable Original_uscita_1, + global::System.Nullable Original_entrata_2, + global::System.Nullable Original_uscita_2, + global::System.Nullable Original_entrata_3, + global::System.Nullable Original_uscita_3, + global::System.Nullable Original_entrata_4, + global::System.Nullable Original_uscita_4, + global::System.Nullable Original_h_lav, + global::System.Nullable Original_minLav, + global::System.Nullable Original_minOrd, + global::System.Nullable Original_minNonLav, + global::System.Nullable Original_minStra, + global::System.Nullable Original_minPerm, + global::System.Nullable Original_minFer, + global::System.Nullable Original_minMal, + global::System.Nullable Original_minFest, + global::System.Nullable Original_minMpp, + global::System.Nullable Original_minArcoPres, + global::System.Nullable Original_isOkTim, + global::System.Nullable Original_isOkApp, + global::System.Nullable Original_block, + string Original_chkFunCod, + string Original_chkFunRes, + global::System.Nullable Original_isOk, + int Original_isOkLav, + global::System.Nullable Original_h_giust) { + this.Adapter.DeleteCommand.Parameters[0].Value = ((System.DateTime)(Original_dataLav)); + this.Adapter.DeleteCommand.Parameters[1].Value = ((int)(Original_idxDipendente)); + if ((Original_CognomeNome == null)) { + this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[3].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_CognomeNome)); + } + if ((Original_entrata_1.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[5].Value = ((System.DateTime)(Original_entrata_1.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value; + } + if ((Original_uscita_1.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[7].Value = ((System.DateTime)(Original_uscita_1.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[7].Value = global::System.DBNull.Value; + } + if ((Original_entrata_2.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[9].Value = ((System.DateTime)(Original_entrata_2.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[9].Value = global::System.DBNull.Value; + } + if ((Original_uscita_2.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[10].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[11].Value = ((System.DateTime)(Original_uscita_2.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[10].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[11].Value = global::System.DBNull.Value; + } + if ((Original_entrata_3.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[12].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[13].Value = ((System.DateTime)(Original_entrata_3.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[12].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[13].Value = global::System.DBNull.Value; + } + if ((Original_uscita_3.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[15].Value = ((System.DateTime)(Original_uscita_3.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[15].Value = global::System.DBNull.Value; + } + if ((Original_entrata_4.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[16].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[17].Value = ((System.DateTime)(Original_entrata_4.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[16].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[17].Value = global::System.DBNull.Value; + } + if ((Original_uscita_4.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[18].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[19].Value = ((System.DateTime)(Original_uscita_4.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[18].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[19].Value = global::System.DBNull.Value; + } + if ((Original_h_lav.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[20].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[21].Value = ((double)(Original_h_lav.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[20].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[21].Value = global::System.DBNull.Value; + } + if ((Original_minLav.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[22].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[23].Value = ((int)(Original_minLav.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[22].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[23].Value = global::System.DBNull.Value; + } + if ((Original_minOrd.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[24].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[25].Value = ((int)(Original_minOrd.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[24].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[25].Value = global::System.DBNull.Value; + } + if ((Original_minNonLav.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[26].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[27].Value = ((int)(Original_minNonLav.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[26].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[27].Value = global::System.DBNull.Value; + } + if ((Original_minStra.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[28].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[29].Value = ((int)(Original_minStra.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[28].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[29].Value = global::System.DBNull.Value; + } + if ((Original_minPerm.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[30].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[31].Value = ((int)(Original_minPerm.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[30].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[31].Value = global::System.DBNull.Value; + } + if ((Original_minFer.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[32].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[33].Value = ((int)(Original_minFer.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[32].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[33].Value = global::System.DBNull.Value; + } + if ((Original_minMal.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[34].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[35].Value = ((int)(Original_minMal.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[34].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[35].Value = global::System.DBNull.Value; + } + if ((Original_minFest.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[36].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[37].Value = ((int)(Original_minFest.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[36].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[37].Value = global::System.DBNull.Value; + } + if ((Original_minMpp.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[38].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[39].Value = ((int)(Original_minMpp.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[38].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[39].Value = global::System.DBNull.Value; + } + if ((Original_minArcoPres.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[40].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[41].Value = ((int)(Original_minArcoPres.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[40].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[41].Value = global::System.DBNull.Value; + } + if ((Original_isOkTim.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[42].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[43].Value = ((bool)(Original_isOkTim.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[42].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[43].Value = global::System.DBNull.Value; + } + if ((Original_isOkApp.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[44].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[45].Value = ((bool)(Original_isOkApp.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[44].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[45].Value = global::System.DBNull.Value; + } + if ((Original_block.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[46].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[47].Value = ((bool)(Original_block.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[46].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[47].Value = global::System.DBNull.Value; + } + if ((Original_chkFunCod == null)) { + this.Adapter.DeleteCommand.Parameters[48].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[49].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[48].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[49].Value = ((string)(Original_chkFunCod)); + } + if ((Original_chkFunRes == null)) { + this.Adapter.DeleteCommand.Parameters[50].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[51].Value = global::System.DBNull.Value; + } + else { + this.Adapter.DeleteCommand.Parameters[50].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[51].Value = ((string)(Original_chkFunRes)); + } + if ((Original_isOk.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[52].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[53].Value = ((int)(Original_isOk.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[52].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[53].Value = global::System.DBNull.Value; + } + this.Adapter.DeleteCommand.Parameters[54].Value = ((int)(Original_isOkLav)); + if ((Original_h_giust.HasValue == true)) { + this.Adapter.DeleteCommand.Parameters[55].Value = ((object)(0)); + this.Adapter.DeleteCommand.Parameters[56].Value = ((double)(Original_h_giust.Value)); + } + else { + this.Adapter.DeleteCommand.Parameters[55].Value = ((object)(1)); + this.Adapter.DeleteCommand.Parameters[56].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", "16.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( + System.DateTime dataLav, + int idxDipendente, + string CognomeNome, + global::System.Nullable entrata_1, + global::System.Nullable uscita_1, + global::System.Nullable entrata_2, + global::System.Nullable uscita_2, + global::System.Nullable entrata_3, + global::System.Nullable uscita_3, + global::System.Nullable entrata_4, + global::System.Nullable uscita_4, + global::System.Nullable h_lav, + global::System.Nullable minLav, + global::System.Nullable minOrd, + global::System.Nullable minNonLav, + global::System.Nullable minStra, + global::System.Nullable minPerm, + global::System.Nullable minFer, + global::System.Nullable minMal, + global::System.Nullable minFest, + global::System.Nullable minMpp, + global::System.Nullable isOkTim, + global::System.Nullable isOkApp, + global::System.Nullable block, + string chkFunCod, + string chkFunRes) { + this.Adapter.InsertCommand.Parameters[0].Value = ((System.DateTime)(dataLav)); + this.Adapter.InsertCommand.Parameters[1].Value = ((int)(idxDipendente)); + if ((CognomeNome == null)) { + this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[2].Value = ((string)(CognomeNome)); + } + if ((entrata_1.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[3].Value = ((System.DateTime)(entrata_1.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; + } + if ((uscita_1.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[4].Value = ((System.DateTime)(uscita_1.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; + } + if ((entrata_2.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[5].Value = ((System.DateTime)(entrata_2.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; + } + if ((uscita_2.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[6].Value = ((System.DateTime)(uscita_2.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; + } + if ((entrata_3.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[7].Value = ((System.DateTime)(entrata_3.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; + } + if ((uscita_3.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[8].Value = ((System.DateTime)(uscita_3.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value; + } + if ((entrata_4.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[9].Value = ((System.DateTime)(entrata_4.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value; + } + if ((uscita_4.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[10].Value = ((System.DateTime)(uscita_4.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value; + } + if ((h_lav.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[11].Value = ((double)(h_lav.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value; + } + if ((minLav.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[12].Value = ((int)(minLav.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value; + } + if ((minOrd.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[13].Value = ((int)(minOrd.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value; + } + if ((minNonLav.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[14].Value = ((int)(minNonLav.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value; + } + if ((minStra.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[15].Value = ((int)(minStra.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value; + } + if ((minPerm.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[16].Value = ((int)(minPerm.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[16].Value = global::System.DBNull.Value; + } + if ((minFer.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[17].Value = ((int)(minFer.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[17].Value = global::System.DBNull.Value; + } + if ((minMal.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[18].Value = ((int)(minMal.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value; + } + if ((minFest.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[19].Value = ((int)(minFest.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value; + } + if ((minMpp.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[20].Value = ((int)(minMpp.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[20].Value = global::System.DBNull.Value; + } + if ((isOkTim.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[21].Value = ((bool)(isOkTim.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[21].Value = global::System.DBNull.Value; + } + if ((isOkApp.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[22].Value = ((bool)(isOkApp.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[22].Value = global::System.DBNull.Value; + } + if ((block.HasValue == true)) { + this.Adapter.InsertCommand.Parameters[23].Value = ((bool)(block.Value)); + } + else { + this.Adapter.InsertCommand.Parameters[23].Value = global::System.DBNull.Value; + } + if ((chkFunCod == null)) { + this.Adapter.InsertCommand.Parameters[24].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[24].Value = ((string)(chkFunCod)); + } + if ((chkFunRes == null)) { + this.Adapter.InsertCommand.Parameters[25].Value = global::System.DBNull.Value; + } + else { + this.Adapter.InsertCommand.Parameters[25].Value = ((string)(chkFunRes)); + } + 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", "16.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( + System.DateTime dataLav, + int idxDipendente, + string CognomeNome, + global::System.Nullable entrata_1, + global::System.Nullable uscita_1, + global::System.Nullable entrata_2, + global::System.Nullable uscita_2, + global::System.Nullable entrata_3, + global::System.Nullable uscita_3, + global::System.Nullable entrata_4, + global::System.Nullable uscita_4, + global::System.Nullable h_lav, + global::System.Nullable minLav, + global::System.Nullable minOrd, + global::System.Nullable minNonLav, + global::System.Nullable minStra, + global::System.Nullable minPerm, + global::System.Nullable minFer, + global::System.Nullable minMal, + global::System.Nullable minFest, + global::System.Nullable minMpp, + global::System.Nullable isOkTim, + global::System.Nullable isOkApp, + global::System.Nullable block, + string chkFunCod, + string chkFunRes, + System.DateTime Original_dataLav, + int Original_idxDipendente, + string Original_CognomeNome, + global::System.Nullable Original_entrata_1, + global::System.Nullable Original_uscita_1, + global::System.Nullable Original_entrata_2, + global::System.Nullable Original_uscita_2, + global::System.Nullable Original_entrata_3, + global::System.Nullable Original_uscita_3, + global::System.Nullable Original_entrata_4, + global::System.Nullable Original_uscita_4, + global::System.Nullable Original_h_lav, + global::System.Nullable Original_minLav, + global::System.Nullable Original_minOrd, + global::System.Nullable Original_minNonLav, + global::System.Nullable Original_minStra, + global::System.Nullable Original_minPerm, + global::System.Nullable Original_minFer, + global::System.Nullable Original_minMal, + global::System.Nullable Original_minFest, + global::System.Nullable Original_minMpp, + global::System.Nullable Original_minArcoPres, + global::System.Nullable Original_isOkTim, + global::System.Nullable Original_isOkApp, + global::System.Nullable Original_block, + string Original_chkFunCod, + string Original_chkFunRes, + global::System.Nullable Original_isOk, + int Original_isOkLav, + global::System.Nullable Original_h_giust) { + this.Adapter.UpdateCommand.Parameters[0].Value = ((System.DateTime)(dataLav)); + this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(idxDipendente)); + if ((CognomeNome == null)) { + this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(CognomeNome)); + } + if ((entrata_1.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[3].Value = ((System.DateTime)(entrata_1.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; + } + if ((uscita_1.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[4].Value = ((System.DateTime)(uscita_1.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; + } + if ((entrata_2.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[5].Value = ((System.DateTime)(entrata_2.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; + } + if ((uscita_2.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[6].Value = ((System.DateTime)(uscita_2.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; + } + if ((entrata_3.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[7].Value = ((System.DateTime)(entrata_3.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; + } + if ((uscita_3.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[8].Value = ((System.DateTime)(uscita_3.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; + } + if ((entrata_4.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[9].Value = ((System.DateTime)(entrata_4.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; + } + if ((uscita_4.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[10].Value = ((System.DateTime)(uscita_4.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; + } + if ((h_lav.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[11].Value = ((double)(h_lav.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; + } + if ((minLav.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[12].Value = ((int)(minLav.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value; + } + if ((minOrd.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[13].Value = ((int)(minOrd.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; + } + if ((minNonLav.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[14].Value = ((int)(minNonLav.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value; + } + if ((minStra.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[15].Value = ((int)(minStra.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; + } + if ((minPerm.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[16].Value = ((int)(minPerm.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value; + } + if ((minFer.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[17].Value = ((int)(minFer.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value; + } + if ((minMal.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[18].Value = ((int)(minMal.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value; + } + if ((minFest.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[19].Value = ((int)(minFest.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; + } + if ((minMpp.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[20].Value = ((int)(minMpp.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value; + } + if ((isOkTim.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[21].Value = ((bool)(isOkTim.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value; + } + if ((isOkApp.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[22].Value = ((bool)(isOkApp.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value; + } + if ((block.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[23].Value = ((bool)(block.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value; + } + if ((chkFunCod == null)) { + this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(chkFunCod)); + } + if ((chkFunRes == null)) { + this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(chkFunRes)); + } + this.Adapter.UpdateCommand.Parameters[26].Value = ((System.DateTime)(Original_dataLav)); + this.Adapter.UpdateCommand.Parameters[27].Value = ((int)(Original_idxDipendente)); + if ((Original_CognomeNome == null)) { + this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(Original_CognomeNome)); + } + if ((Original_entrata_1.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[31].Value = ((System.DateTime)(Original_entrata_1.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[31].Value = global::System.DBNull.Value; + } + if ((Original_uscita_1.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[33].Value = ((System.DateTime)(Original_uscita_1.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[33].Value = global::System.DBNull.Value; + } + if ((Original_entrata_2.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[35].Value = ((System.DateTime)(Original_entrata_2.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[35].Value = global::System.DBNull.Value; + } + if ((Original_uscita_2.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[37].Value = ((System.DateTime)(Original_uscita_2.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[37].Value = global::System.DBNull.Value; + } + if ((Original_entrata_3.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[39].Value = ((System.DateTime)(Original_entrata_3.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[39].Value = global::System.DBNull.Value; + } + if ((Original_uscita_3.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[41].Value = ((System.DateTime)(Original_uscita_3.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[41].Value = global::System.DBNull.Value; + } + if ((Original_entrata_4.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[42].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[43].Value = ((System.DateTime)(Original_entrata_4.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[42].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[43].Value = global::System.DBNull.Value; + } + if ((Original_uscita_4.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[45].Value = ((System.DateTime)(Original_uscita_4.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[45].Value = global::System.DBNull.Value; + } + if ((Original_h_lav.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[46].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[47].Value = ((double)(Original_h_lav.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[46].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[47].Value = global::System.DBNull.Value; + } + if ((Original_minLav.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[48].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[49].Value = ((int)(Original_minLav.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[48].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[49].Value = global::System.DBNull.Value; + } + if ((Original_minOrd.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[50].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[51].Value = ((int)(Original_minOrd.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[50].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[51].Value = global::System.DBNull.Value; + } + if ((Original_minNonLav.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[52].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[53].Value = ((int)(Original_minNonLav.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[52].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[53].Value = global::System.DBNull.Value; + } + if ((Original_minStra.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[54].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[55].Value = ((int)(Original_minStra.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[54].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[55].Value = global::System.DBNull.Value; + } + if ((Original_minPerm.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[57].Value = ((int)(Original_minPerm.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[57].Value = global::System.DBNull.Value; + } + if ((Original_minFer.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[58].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[59].Value = ((int)(Original_minFer.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[58].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[59].Value = global::System.DBNull.Value; + } + if ((Original_minMal.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[60].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[61].Value = ((int)(Original_minMal.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[60].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[61].Value = global::System.DBNull.Value; + } + if ((Original_minFest.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[62].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[63].Value = ((int)(Original_minFest.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[62].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[63].Value = global::System.DBNull.Value; + } + if ((Original_minMpp.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[64].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[65].Value = ((int)(Original_minMpp.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[64].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[65].Value = global::System.DBNull.Value; + } + if ((Original_minArcoPres.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[66].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[67].Value = ((int)(Original_minArcoPres.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[66].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[67].Value = global::System.DBNull.Value; + } + if ((Original_isOkTim.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[68].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[69].Value = ((bool)(Original_isOkTim.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[68].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[69].Value = global::System.DBNull.Value; + } + if ((Original_isOkApp.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[70].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[71].Value = ((bool)(Original_isOkApp.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[70].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[71].Value = global::System.DBNull.Value; + } + if ((Original_block.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[72].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[73].Value = ((bool)(Original_block.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[72].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[73].Value = global::System.DBNull.Value; + } + if ((Original_chkFunCod == null)) { + this.Adapter.UpdateCommand.Parameters[74].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[75].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[74].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[75].Value = ((string)(Original_chkFunCod)); + } + if ((Original_chkFunRes == null)) { + this.Adapter.UpdateCommand.Parameters[76].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[77].Value = global::System.DBNull.Value; + } + else { + this.Adapter.UpdateCommand.Parameters[76].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[77].Value = ((string)(Original_chkFunRes)); + } + if ((Original_isOk.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[78].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[79].Value = ((int)(Original_isOk.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[78].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[79].Value = global::System.DBNull.Value; + } + this.Adapter.UpdateCommand.Parameters[80].Value = ((int)(Original_isOkLav)); + if ((Original_h_giust.HasValue == true)) { + this.Adapter.UpdateCommand.Parameters[81].Value = ((object)(0)); + this.Adapter.UpdateCommand.Parameters[82].Value = ((double)(Original_h_giust.Value)); + } + else { + this.Adapter.UpdateCommand.Parameters[81].Value = ((object)(1)); + this.Adapter.UpdateCommand.Parameters[82].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", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] + public virtual int Update( + string CognomeNome, + global::System.Nullable entrata_1, + global::System.Nullable uscita_1, + global::System.Nullable entrata_2, + global::System.Nullable uscita_2, + global::System.Nullable entrata_3, + global::System.Nullable uscita_3, + global::System.Nullable entrata_4, + global::System.Nullable uscita_4, + global::System.Nullable h_lav, + global::System.Nullable minLav, + global::System.Nullable minOrd, + global::System.Nullable minNonLav, + global::System.Nullable minStra, + global::System.Nullable minPerm, + global::System.Nullable minFer, + global::System.Nullable minMal, + global::System.Nullable minFest, + global::System.Nullable minMpp, + global::System.Nullable isOkTim, + global::System.Nullable isOkApp, + global::System.Nullable block, + string chkFunCod, + string chkFunRes, + System.DateTime Original_dataLav, + int Original_idxDipendente, + string Original_CognomeNome, + global::System.Nullable Original_entrata_1, + global::System.Nullable Original_uscita_1, + global::System.Nullable Original_entrata_2, + global::System.Nullable Original_uscita_2, + global::System.Nullable Original_entrata_3, + global::System.Nullable Original_uscita_3, + global::System.Nullable Original_entrata_4, + global::System.Nullable Original_uscita_4, + global::System.Nullable Original_h_lav, + global::System.Nullable Original_minLav, + global::System.Nullable Original_minOrd, + global::System.Nullable Original_minNonLav, + global::System.Nullable Original_minStra, + global::System.Nullable Original_minPerm, + global::System.Nullable Original_minFer, + global::System.Nullable Original_minMal, + global::System.Nullable Original_minFest, + global::System.Nullable Original_minMpp, + global::System.Nullable Original_minArcoPres, + global::System.Nullable Original_isOkTim, + global::System.Nullable Original_isOkApp, + global::System.Nullable Original_block, + string Original_chkFunCod, + string Original_chkFunRes, + global::System.Nullable Original_isOk, + int Original_isOkLav, + global::System.Nullable Original_h_giust) { + return this.Update(Original_dataLav, Original_idxDipendente, CognomeNome, entrata_1, uscita_1, entrata_2, uscita_2, entrata_3, uscita_3, entrata_4, uscita_4, h_lav, minLav, minOrd, minNonLav, minStra, minPerm, minFer, minMal, minFest, minMpp, isOkTim, isOkApp, block, chkFunCod, chkFunRes, Original_dataLav, Original_idxDipendente, Original_CognomeNome, Original_entrata_1, Original_uscita_1, Original_entrata_2, Original_uscita_2, Original_entrata_3, Original_uscita_3, Original_entrata_4, Original_uscita_4, Original_h_lav, Original_minLav, Original_minOrd, Original_minNonLav, Original_minStra, Original_minPerm, Original_minFer, Original_minMal, Original_minFest, Original_minMpp, Original_minArcoPres, Original_isOkTim, Original_isOkApp, Original_block, Original_chkFunCod, Original_chkFunRes, Original_isOk, Original_isOkLav, Original_h_giust); + } + } + /// ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios /// @@ -25994,6 +29154,8 @@ SELECT Anno, Sett, DtLastSend, SentBy FROM LogEmailBaz WHERE (Anno = @Anno) AND private LogEmailBazTableAdapter _logEmailBazTableAdapter; + private TimbratureExplTableAdapter _timbratureExplTableAdapter; + private bool _backupDataSetBeforeUpdate; private global::System.Data.IDbConnection _connection; @@ -26205,6 +29367,20 @@ SELECT Anno, Sett, DtLastSend, SentBy FROM LogEmailBaz WHERE (Anno = @Anno) AND } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.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 TimbratureExplTableAdapter TimbratureExplTableAdapter { + get { + return this._timbratureExplTableAdapter; + } + set { + this._timbratureExplTableAdapter = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public bool BackupDataSetBeforeUpdate { @@ -26280,6 +29456,10 @@ SELECT Anno, Sett, DtLastSend, SentBy FROM LogEmailBaz WHERE (Anno = @Anno) AND && (this._logEmailBazTableAdapter.Connection != null))) { return this._logEmailBazTableAdapter.Connection; } + if (((this._timbratureExplTableAdapter != null) + && (this._timbratureExplTableAdapter.Connection != null))) { + return this._timbratureExplTableAdapter.Connection; + } return null; } set { @@ -26335,6 +29515,9 @@ SELECT Anno, Sett, DtLastSend, SentBy FROM LogEmailBaz WHERE (Anno = @Anno) AND if ((this._logEmailBazTableAdapter != null)) { count = (count + 1); } + if ((this._timbratureExplTableAdapter != null)) { + count = (count + 1); + } return count; } } @@ -26472,6 +29655,15 @@ SELECT Anno, Sett, DtLastSend, SentBy FROM LogEmailBaz WHERE (Anno = @Anno) AND allChangedRows.AddRange(updatedRows); } } + if ((this._timbratureExplTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.TimbratureExpl.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._timbratureExplTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } return result; } @@ -26594,6 +29786,14 @@ SELECT Anno, Sett, DtLastSend, SentBy FROM LogEmailBaz WHERE (Anno = @Anno) AND allAddedRows.AddRange(addedRows); } } + if ((this._timbratureExplTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.TimbratureExpl.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._timbratureExplTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } return result; } @@ -26604,6 +29804,14 @@ SELECT Anno, Sett, DtLastSend, SentBy FROM LogEmailBaz WHERE (Anno = @Anno) AND [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] private int UpdateDeletedRows(Ds_ProjEts dataSet, global::System.Collections.Generic.List allChangedRows) { int result = 0; + if ((this._timbratureExplTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.TimbratureExpl.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._timbratureExplTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } if ((this._bazaarRisorseTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.BazaarRisorse.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) @@ -26825,6 +30033,11 @@ SELECT Anno, Sett, DtLastSend, SentBy FROM LogEmailBaz WHERE (Anno = @Anno) AND throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + "tring."); } + if (((this._timbratureExplTableAdapter != null) + && (this.MatchTableAdapterConnection(this._timbratureExplTableAdapter.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" + @@ -26983,6 +30196,15 @@ SELECT Anno, Sett, DtLastSend, SentBy FROM LogEmailBaz WHERE (Anno = @Anno) AND adaptersWithAcceptChangesDuringUpdate.Add(this._logEmailBazTableAdapter.Adapter); } } + if ((this._timbratureExplTableAdapter != null)) { + revertConnections.Add(this._timbratureExplTableAdapter, this._timbratureExplTableAdapter.Connection); + this._timbratureExplTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection)); + this._timbratureExplTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction)); + if (this._timbratureExplTableAdapter.Adapter.AcceptChangesDuringUpdate) { + this._timbratureExplTableAdapter.Adapter.AcceptChangesDuringUpdate = false; + adaptersWithAcceptChangesDuringUpdate.Add(this._timbratureExplTableAdapter.Adapter); + } + } // //---- Perform updates ----------- // @@ -27097,6 +30319,10 @@ SELECT Anno, Sett, DtLastSend, SentBy FROM LogEmailBaz WHERE (Anno = @Anno) AND this._logEmailBazTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._logEmailBazTableAdapter])); this._logEmailBazTableAdapter.Transaction = null; } + if ((this._timbratureExplTableAdapter != null)) { + this._timbratureExplTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._timbratureExplTableAdapter])); + this._timbratureExplTableAdapter.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 7904295..8cfa8a3 100644 --- a/ETS_Data/Ds_ProjEts.xsd +++ b/ETS_Data/Ds_ProjEts.xsd @@ -2032,6 +2032,254 @@ ORDER BY OrdGruppo + + + + + + DELETE FROM [ETS_GPW].[dbo].[TimbratureExpl] WHERE (([dataLav] = @Original_dataLav) AND ([idxDipendente] = @Original_idxDipendente) AND ((@IsNull_CognomeNome = 1 AND [CognomeNome] IS NULL) OR ([CognomeNome] = @Original_CognomeNome)) AND ((@IsNull_entrata_1 = 1 AND [entrata_1] IS NULL) OR ([entrata_1] = @Original_entrata_1)) AND ((@IsNull_uscita_1 = 1 AND [uscita_1] IS NULL) OR ([uscita_1] = @Original_uscita_1)) AND ((@IsNull_entrata_2 = 1 AND [entrata_2] IS NULL) OR ([entrata_2] = @Original_entrata_2)) AND ((@IsNull_uscita_2 = 1 AND [uscita_2] IS NULL) OR ([uscita_2] = @Original_uscita_2)) AND ((@IsNull_entrata_3 = 1 AND [entrata_3] IS NULL) OR ([entrata_3] = @Original_entrata_3)) AND ((@IsNull_uscita_3 = 1 AND [uscita_3] IS NULL) OR ([uscita_3] = @Original_uscita_3)) AND ((@IsNull_entrata_4 = 1 AND [entrata_4] IS NULL) OR ([entrata_4] = @Original_entrata_4)) AND ((@IsNull_uscita_4 = 1 AND [uscita_4] IS NULL) OR ([uscita_4] = @Original_uscita_4)) AND ((@IsNull_h_lav = 1 AND [h_lav] IS NULL) OR ([h_lav] = @Original_h_lav)) AND ((@IsNull_minLav = 1 AND [minLav] IS NULL) OR ([minLav] = @Original_minLav)) AND ((@IsNull_minOrd = 1 AND [minOrd] IS NULL) OR ([minOrd] = @Original_minOrd)) AND ((@IsNull_minNonLav = 1 AND [minNonLav] IS NULL) OR ([minNonLav] = @Original_minNonLav)) AND ((@IsNull_minStra = 1 AND [minStra] IS NULL) OR ([minStra] = @Original_minStra)) AND ((@IsNull_minPerm = 1 AND [minPerm] IS NULL) OR ([minPerm] = @Original_minPerm)) AND ((@IsNull_minFer = 1 AND [minFer] IS NULL) OR ([minFer] = @Original_minFer)) AND ((@IsNull_minMal = 1 AND [minMal] IS NULL) OR ([minMal] = @Original_minMal)) AND ((@IsNull_minFest = 1 AND [minFest] IS NULL) OR ([minFest] = @Original_minFest)) AND ((@IsNull_minMpp = 1 AND [minMpp] IS NULL) OR ([minMpp] = @Original_minMpp)) AND ((@IsNull_minArcoPres = 1 AND [minArcoPres] IS NULL) OR ([minArcoPres] = @Original_minArcoPres)) AND ((@IsNull_isOkTim = 1 AND [isOkTim] IS NULL) OR ([isOkTim] = @Original_isOkTim)) AND ((@IsNull_isOkApp = 1 AND [isOkApp] IS NULL) OR ([isOkApp] = @Original_isOkApp)) AND ((@IsNull_block = 1 AND [block] IS NULL) OR ([block] = @Original_block)) AND ((@IsNull_chkFunCod = 1 AND [chkFunCod] IS NULL) OR ([chkFunCod] = @Original_chkFunCod)) AND ((@IsNull_chkFunRes = 1 AND [chkFunRes] IS NULL) OR ([chkFunRes] = @Original_chkFunRes)) AND ((@IsNull_isOk = 1 AND [isOk] IS NULL) OR ([isOk] = @Original_isOk)) AND ([isOkLav] = @Original_isOkLav) AND ((@IsNull_h_giust = 1 AND [h_giust] IS NULL) OR ([h_giust] = @Original_h_giust))) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + INSERT INTO [ETS_GPW].[dbo].[TimbratureExpl] ([dataLav], [idxDipendente], [CognomeNome], [entrata_1], [uscita_1], [entrata_2], [uscita_2], [entrata_3], [uscita_3], [entrata_4], [uscita_4], [h_lav], [minLav], [minOrd], [minNonLav], [minStra], [minPerm], [minFer], [minMal], [minFest], [minMpp], [isOkTim], [isOkApp], [block], [chkFunCod], [chkFunRes]) VALUES (@dataLav, @idxDipendente, @CognomeNome, @entrata_1, @uscita_1, @entrata_2, @uscita_2, @entrata_3, @uscita_3, @entrata_4, @uscita_4, @h_lav, @minLav, @minOrd, @minNonLav, @minStra, @minPerm, @minFer, @minMal, @minFest, @minMpp, @isOkTim, @isOkApp, @block, @chkFunCod, @chkFunRes) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SELECT * FROM TimbratureExpl + + + + + + UPDATE [ETS_GPW].[dbo].[TimbratureExpl] SET [dataLav] = @dataLav, [idxDipendente] = @idxDipendente, [CognomeNome] = @CognomeNome, [entrata_1] = @entrata_1, [uscita_1] = @uscita_1, [entrata_2] = @entrata_2, [uscita_2] = @uscita_2, [entrata_3] = @entrata_3, [uscita_3] = @uscita_3, [entrata_4] = @entrata_4, [uscita_4] = @uscita_4, [h_lav] = @h_lav, [minLav] = @minLav, [minOrd] = @minOrd, [minNonLav] = @minNonLav, [minStra] = @minStra, [minPerm] = @minPerm, [minFer] = @minFer, [minMal] = @minMal, [minFest] = @minFest, [minMpp] = @minMpp, [isOkTim] = @isOkTim, [isOkApp] = @isOkApp, [block] = @block, [chkFunCod] = @chkFunCod, [chkFunRes] = @chkFunRes WHERE (([dataLav] = @Original_dataLav) AND ([idxDipendente] = @Original_idxDipendente) AND ((@IsNull_CognomeNome = 1 AND [CognomeNome] IS NULL) OR ([CognomeNome] = @Original_CognomeNome)) AND ((@IsNull_entrata_1 = 1 AND [entrata_1] IS NULL) OR ([entrata_1] = @Original_entrata_1)) AND ((@IsNull_uscita_1 = 1 AND [uscita_1] IS NULL) OR ([uscita_1] = @Original_uscita_1)) AND ((@IsNull_entrata_2 = 1 AND [entrata_2] IS NULL) OR ([entrata_2] = @Original_entrata_2)) AND ((@IsNull_uscita_2 = 1 AND [uscita_2] IS NULL) OR ([uscita_2] = @Original_uscita_2)) AND ((@IsNull_entrata_3 = 1 AND [entrata_3] IS NULL) OR ([entrata_3] = @Original_entrata_3)) AND ((@IsNull_uscita_3 = 1 AND [uscita_3] IS NULL) OR ([uscita_3] = @Original_uscita_3)) AND ((@IsNull_entrata_4 = 1 AND [entrata_4] IS NULL) OR ([entrata_4] = @Original_entrata_4)) AND ((@IsNull_uscita_4 = 1 AND [uscita_4] IS NULL) OR ([uscita_4] = @Original_uscita_4)) AND ((@IsNull_h_lav = 1 AND [h_lav] IS NULL) OR ([h_lav] = @Original_h_lav)) AND ((@IsNull_minLav = 1 AND [minLav] IS NULL) OR ([minLav] = @Original_minLav)) AND ((@IsNull_minOrd = 1 AND [minOrd] IS NULL) OR ([minOrd] = @Original_minOrd)) AND ((@IsNull_minNonLav = 1 AND [minNonLav] IS NULL) OR ([minNonLav] = @Original_minNonLav)) AND ((@IsNull_minStra = 1 AND [minStra] IS NULL) OR ([minStra] = @Original_minStra)) AND ((@IsNull_minPerm = 1 AND [minPerm] IS NULL) OR ([minPerm] = @Original_minPerm)) AND ((@IsNull_minFer = 1 AND [minFer] IS NULL) OR ([minFer] = @Original_minFer)) AND ((@IsNull_minMal = 1 AND [minMal] IS NULL) OR ([minMal] = @Original_minMal)) AND ((@IsNull_minFest = 1 AND [minFest] IS NULL) OR ([minFest] = @Original_minFest)) AND ((@IsNull_minMpp = 1 AND [minMpp] IS NULL) OR ([minMpp] = @Original_minMpp)) AND ((@IsNull_minArcoPres = 1 AND [minArcoPres] IS NULL) OR ([minArcoPres] = @Original_minArcoPres)) AND ((@IsNull_isOkTim = 1 AND [isOkTim] IS NULL) OR ([isOkTim] = @Original_isOkTim)) AND ((@IsNull_isOkApp = 1 AND [isOkApp] IS NULL) OR ([isOkApp] = @Original_isOkApp)) AND ((@IsNull_block = 1 AND [block] IS NULL) OR ([block] = @Original_block)) AND ((@IsNull_chkFunCod = 1 AND [chkFunCod] IS NULL) OR ([chkFunCod] = @Original_chkFunCod)) AND ((@IsNull_chkFunRes = 1 AND [chkFunRes] IS NULL) OR ([chkFunRes] = @Original_chkFunRes)) AND ((@IsNull_isOk = 1 AND [isOk] IS NULL) OR ([isOk] = @Original_isOk)) AND ([isOkLav] = @Original_isOkLav) AND ((@IsNull_h_giust = 1 AND [h_giust] IS NULL) OR ([h_giust] = @Original_h_giust))) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_TE_getByAnnoSett + + + + + + + + + + + @@ -2040,7 +2288,7 @@ ORDER BY OrdGruppo - + @@ -2083,7 +2331,7 @@ ORDER BY OrdGruppo - + @@ -2133,7 +2381,7 @@ ORDER BY OrdGruppo - + @@ -2229,7 +2477,7 @@ ORDER BY OrdGruppo - + @@ -2280,7 +2528,7 @@ ORDER BY OrdGruppo - + @@ -2332,7 +2580,7 @@ ORDER BY OrdGruppo - + @@ -2435,7 +2683,7 @@ ORDER BY OrdGruppo - + @@ -2483,7 +2731,7 @@ ORDER BY OrdGruppo - + @@ -2500,7 +2748,7 @@ ORDER BY OrdGruppo - + @@ -2521,7 +2769,7 @@ ORDER BY OrdGruppo - + @@ -2566,7 +2814,7 @@ ORDER BY OrdGruppo - + @@ -2701,7 +2949,7 @@ ORDER BY OrdGruppo - + @@ -2720,7 +2968,7 @@ ORDER BY OrdGruppo - + @@ -2731,7 +2979,7 @@ ORDER BY OrdGruppo - + @@ -2747,7 +2995,7 @@ ORDER BY OrdGruppo - + @@ -2776,7 +3024,7 @@ ORDER BY OrdGruppo - + @@ -2796,7 +3044,7 @@ ORDER BY OrdGruppo - + @@ -2810,7 +3058,7 @@ ORDER BY OrdGruppo - + @@ -2825,7 +3073,7 @@ ORDER BY OrdGruppo - + @@ -2841,7 +3089,7 @@ ORDER BY OrdGruppo - + @@ -2940,7 +3188,7 @@ ORDER BY OrdGruppo - + @@ -2963,6 +3211,62 @@ ORDER BY OrdGruppo + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -3060,16 +3364,21 @@ ORDER BY OrdGruppo + + + + + - - - - - - - + + + + + + + \ No newline at end of file diff --git a/ETS_Data/Ds_ProjEts.xss b/ETS_Data/Ds_ProjEts.xss index a3b798f..3994098 100644 --- a/ETS_Data/Ds_ProjEts.xss +++ b/ETS_Data/Ds_ProjEts.xss @@ -4,32 +4,33 @@ Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. --> - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - + 370 @@ -41,7 +42,7 @@ - + 876 @@ -53,7 +54,7 @@ - + 1107 @@ -65,7 +66,7 @@ - + 1107 @@ -85,7 +86,7 @@ - + 495 @@ -101,7 +102,7 @@ - + 172 @@ -117,7 +118,7 @@ - + 1298 diff --git a/ETS_Data/SQL/ETS_PROJ/ETS_PROJ_2110.sql b/ETS_Data/SQL/ETS_PROJ/ETS_PROJ_2110.sql index 9558f65..864c1eb 100644 --- a/ETS_Data/SQL/ETS_PROJ/ETS_PROJ_2110.sql +++ b/ETS_Data/SQL/ETS_PROJ/ETS_PROJ_2110.sql @@ -595,3 +595,82 @@ ORDER BY AG.OrdGruppo, D2A.GrpOrder RETURN GO + + +-- sistemazione finale gestione registro timbrature cona ttività +CREATE SYNONYM [dbo].[syn_GPW_TimbratureExpl] FOR [ETS_GPW].[dbo].[TimbratureExpl] +GO + + +CREATE VIEW [dbo].TimbratureExpl +AS + SELECT dataLav + ,idxDipendente + ,YEAR(dataLav) AS Anno + ,DATEPART(wk, dataLav) AS Sett + ,CognomeNome + ,entrata_1 + ,uscita_1 + ,entrata_2 + ,uscita_2 + ,entrata_3 + ,uscita_3 + ,entrata_4 + ,uscita_4 + ,h_lav + ,minLav + ,minOrd + ,minNonLav + ,minStra + ,minPerm + ,minFer + ,minMal + ,minFest + ,minMpp + ,minArcoPres + ,isOkTim + ,isOkApp + ,block + ,chkFunCod + ,chkFunRes + ,isOk + ,isOkLav + ,h_giust + FROM syn_GPW_TimbratureExpl + +GO + +/********************************************************** +* STORED stp_TE_getByAnnoSett +* +* recupera record TImbrature Expl per anno e settimana selezionate +* +* mod: S.E.L. 2021.10.19 +* +**********************************************************/ +CREATE PROCEDURE [dbo].[stp_TE_getByAnnoSett] +( + @Anno int, + @Sett int, + @showAll BIT = 1 -- 1 = mostra tutti, 0 = solo impostati a visibili in gruppi +) +AS +SET NOCOUNT ON; + +-- seleziono i dip (TUTTI distinct) +WITH cteDip AS +( + SELECT DISTINCT D2A.idxDipendente + FROM Dip2ATR D2A + INNER JOIN AnagGruppi AG ON D2A.Gruppo = AG.Gruppo + WHERE (AG.Visibile = 1 OR @showAll = 1) +) + +SELECT TE.* +FROM dbo.TimbratureExpl TE + INNER JOIN Dip2ATR D2A ON TE.idxDipendente = D2A.idxDipendente + INNER JOIN AnagGruppi AG ON D2A.Gruppo = AG.Gruppo +WHERE (AG.Visibile = 1 OR @showAll = 1) + AND Anno = @Anno AND Sett = @Sett + +GO 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 95b5806..fb81826 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/bin/ETS_Data.dll b/PROJ-ETS/PROJ-ETS/bin/ETS_Data.dll index 5626b4e..e3d3cae 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 fe9c6b0..4147354 100644 Binary files a/PROJ-ETS/PROJ-ETS/bin/PROJ-ETS.dll and b/PROJ-ETS/PROJ-ETS/bin/PROJ-ETS.dll differ