diff --git a/Data/DS_app.Designer.cs b/Data/DS_app.Designer.cs index bf256c5..cea1659 100644 --- a/Data/DS_app.Designer.cs +++ b/Data/DS_app.Designer.cs @@ -50,6 +50,8 @@ namespace Data { private ER_ActsDataTable tableER_Acts; + private PAZ_DashStatsDataTable tablePAZ_DashStats; + private global::System.Data.DataRelation relationFK_AnagCondomini_AnagAmministratori; private global::System.Data.DataRelation relationRelFornitore2Area_AnagFornitori; @@ -60,8 +62,6 @@ namespace Data { private global::System.Data.DataRelation relationFK_RelFornitore2Condominio_AnagFornitori; - private global::System.Data.DataRelation relationFK_AssF2A_AnagFornitori; - private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -129,6 +129,9 @@ namespace Data { if ((ds.Tables["ER_Acts"] != null)) { base.Tables.Add(new ER_ActsDataTable(ds.Tables["ER_Acts"])); } + if ((ds.Tables["PAZ_DashStats"] != null)) { + base.Tables.Add(new PAZ_DashStatsDataTable(ds.Tables["PAZ_DashStats"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -277,6 +280,16 @@ namespace Data { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public PAZ_DashStatsDataTable PAZ_DashStats { + get { + return this.tablePAZ_DashStats; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] [global::System.ComponentModel.BrowsableAttribute(true)] @@ -383,6 +396,9 @@ namespace Data { if ((ds.Tables["ER_Acts"] != null)) { base.Tables.Add(new ER_ActsDataTable(ds.Tables["ER_Acts"])); } + if ((ds.Tables["PAZ_DashStats"] != null)) { + base.Tables.Add(new PAZ_DashStatsDataTable(ds.Tables["PAZ_DashStats"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -494,12 +510,17 @@ namespace Data { this.tableER_Acts.InitVars(); } } + this.tablePAZ_DashStats = ((PAZ_DashStatsDataTable)(base.Tables["PAZ_DashStats"])); + if ((initTable == true)) { + if ((this.tablePAZ_DashStats != null)) { + this.tablePAZ_DashStats.InitVars(); + } + } this.relationFK_AnagCondomini_AnagAmministratori = this.Relations["FK_AnagCondomini_AnagAmministratori"]; this.relationRelFornitore2Area_AnagFornitori = this.Relations["RelFornitore2Area_AnagFornitori"]; this.relationAnagAree_RelFornitore2Area = this.Relations["AnagAree_RelFornitore2Area"]; this.relationFK_RelFornitore2Condominio_AnagCondomini = this.Relations["FK_RelFornitore2Condominio_AnagCondomini"]; this.relationFK_RelFornitore2Condominio_AnagFornitori = this.Relations["FK_RelFornitore2Condominio_AnagFornitori"]; - this.relationFK_AssF2A_AnagFornitori = this.Relations["FK_AssF2A_AnagFornitori"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -536,6 +557,8 @@ namespace Data { base.Tables.Add(this.tableAnagPrior); this.tableER_Acts = new ER_ActsDataTable(); base.Tables.Add(this.tableER_Acts); + this.tablePAZ_DashStats = new PAZ_DashStatsDataTable(); + base.Tables.Add(this.tablePAZ_DashStats); this.relationFK_AnagCondomini_AnagAmministratori = new global::System.Data.DataRelation("FK_AnagCondomini_AnagAmministratori", new global::System.Data.DataColumn[] { this.tableAnagAmministratori.idxAmmColumn}, new global::System.Data.DataColumn[] { this.tableAnagCondomini.idxAmmColumn}, false); @@ -556,10 +579,6 @@ namespace Data { this.tableAnagFornitori.idxFornitoreColumn}, new global::System.Data.DataColumn[] { this.tableAssF2C.idxFornitoreColumn}, false); this.Relations.Add(this.relationFK_RelFornitore2Condominio_AnagFornitori); - this.relationFK_AssF2A_AnagFornitori = new global::System.Data.DataRelation("FK_AssF2A_AnagFornitori", new global::System.Data.DataColumn[] { - this.tableAnagFornitori.idxFornitoreColumn}, new global::System.Data.DataColumn[] { - this.tableAssF2A.idxFornitoreColumn}, false); - this.Relations.Add(this.relationFK_AssF2A_AnagFornitori); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -640,6 +659,12 @@ namespace Data { return false; } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + private bool ShouldSerializePAZ_DashStats() { + return false; + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { @@ -734,6 +759,9 @@ namespace Data { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] public delegate void ER_ActsRowChangeEventHandler(object sender, ER_ActsRowChangeEvent e); + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public delegate void PAZ_DashStatsRowChangeEventHandler(object sender, PAZ_DashStatsRowChangeEvent e); + /// ///Represents the strongly named DataTable class. /// @@ -5875,6 +5903,344 @@ namespace Data { } } + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class PAZ_DashStatsDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnnRichieste; + + private global::System.Data.DataColumn columnnPrevReq; + + private global::System.Data.DataColumn columnnPrevAppr; + + private global::System.Data.DataColumn columnnAperte; + + private global::System.Data.DataColumn columnnConcluse; + + private global::System.Data.DataColumn columnnFatturate; + + private global::System.Data.DataColumn columnnPagate; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public PAZ_DashStatsDataTable() { + this.TableName = "PAZ_DashStats"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + internal PAZ_DashStatsDataTable(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", "15.0.0.0")] + protected PAZ_DashStatsDataTable(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", "15.0.0.0")] + public global::System.Data.DataColumn nRichiesteColumn { + get { + return this.columnnRichieste; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public global::System.Data.DataColumn nPrevReqColumn { + get { + return this.columnnPrevReq; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public global::System.Data.DataColumn nPrevApprColumn { + get { + return this.columnnPrevAppr; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public global::System.Data.DataColumn nAperteColumn { + get { + return this.columnnAperte; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public global::System.Data.DataColumn nConcluseColumn { + get { + return this.columnnConcluse; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public global::System.Data.DataColumn nFatturateColumn { + get { + return this.columnnFatturate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public global::System.Data.DataColumn nPagateColumn { + get { + return this.columnnPagate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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", "15.0.0.0")] + public PAZ_DashStatsRow this[int index] { + get { + return ((PAZ_DashStatsRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public event PAZ_DashStatsRowChangeEventHandler PAZ_DashStatsRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public event PAZ_DashStatsRowChangeEventHandler PAZ_DashStatsRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public event PAZ_DashStatsRowChangeEventHandler PAZ_DashStatsRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public event PAZ_DashStatsRowChangeEventHandler PAZ_DashStatsRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public void AddPAZ_DashStatsRow(PAZ_DashStatsRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public PAZ_DashStatsRow AddPAZ_DashStatsRow(int nRichieste, int nPrevReq, int nPrevAppr, int nAperte, int nConcluse, int nFatturate, int nPagate) { + PAZ_DashStatsRow rowPAZ_DashStatsRow = ((PAZ_DashStatsRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + nRichieste, + nPrevReq, + nPrevAppr, + nAperte, + nConcluse, + nFatturate, + nPagate}; + rowPAZ_DashStatsRow.ItemArray = columnValuesArray; + this.Rows.Add(rowPAZ_DashStatsRow); + return rowPAZ_DashStatsRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public override global::System.Data.DataTable Clone() { + PAZ_DashStatsDataTable cln = ((PAZ_DashStatsDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new PAZ_DashStatsDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + internal void InitVars() { + this.columnnRichieste = base.Columns["nRichieste"]; + this.columnnPrevReq = base.Columns["nPrevReq"]; + this.columnnPrevAppr = base.Columns["nPrevAppr"]; + this.columnnAperte = base.Columns["nAperte"]; + this.columnnConcluse = base.Columns["nConcluse"]; + this.columnnFatturate = base.Columns["nFatturate"]; + this.columnnPagate = base.Columns["nPagate"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + private void InitClass() { + this.columnnRichieste = new global::System.Data.DataColumn("nRichieste", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnnRichieste); + this.columnnPrevReq = new global::System.Data.DataColumn("nPrevReq", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnnPrevReq); + this.columnnPrevAppr = new global::System.Data.DataColumn("nPrevAppr", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnnPrevAppr); + this.columnnAperte = new global::System.Data.DataColumn("nAperte", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnnAperte); + this.columnnConcluse = new global::System.Data.DataColumn("nConcluse", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnnConcluse); + this.columnnFatturate = new global::System.Data.DataColumn("nFatturate", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnnFatturate); + this.columnnPagate = new global::System.Data.DataColumn("nPagate", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnnPagate); + this.columnnRichieste.ReadOnly = true; + this.columnnPrevReq.ReadOnly = true; + this.columnnPrevAppr.ReadOnly = true; + this.columnnAperte.ReadOnly = true; + this.columnnConcluse.ReadOnly = true; + this.columnnFatturate.ReadOnly = true; + this.columnnPagate.ReadOnly = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public PAZ_DashStatsRow NewPAZ_DashStatsRow() { + return ((PAZ_DashStatsRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new PAZ_DashStatsRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(PAZ_DashStatsRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.PAZ_DashStatsRowChanged != null)) { + this.PAZ_DashStatsRowChanged(this, new PAZ_DashStatsRowChangeEvent(((PAZ_DashStatsRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.PAZ_DashStatsRowChanging != null)) { + this.PAZ_DashStatsRowChanging(this, new PAZ_DashStatsRowChangeEvent(((PAZ_DashStatsRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.PAZ_DashStatsRowDeleted != null)) { + this.PAZ_DashStatsRowDeleted(this, new PAZ_DashStatsRowChangeEvent(((PAZ_DashStatsRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.PAZ_DashStatsRowDeleting != null)) { + this.PAZ_DashStatsRowDeleting(this, new PAZ_DashStatsRowChangeEvent(((PAZ_DashStatsRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public void RemovePAZ_DashStatsRow(PAZ_DashStatsRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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_app ds = new DS_app(); + 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 = "PAZ_DashStatsDataTable"; + 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. /// @@ -6623,17 +6989,6 @@ namespace Data { return ((AssF2CRow[])(base.GetChildRows(this.Table.ChildRelations["FK_RelFornitore2Condominio_AnagFornitori"]))); } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] - public AssF2ARow[] GetAssF2ARows() { - if ((this.Table.ChildRelations["FK_AssF2A_AnagFornitori"] == null)) { - return new AssF2ARow[0]; - } - else { - return ((AssF2ARow[])(base.GetChildRows(this.Table.ChildRelations["FK_AssF2A_AnagFornitori"]))); - } - } } /// @@ -6694,17 +7049,6 @@ namespace Data { } } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] - public AnagFornitoriRow AnagFornitoriRow { - get { - return ((AnagFornitoriRow)(this.GetParentRow(this.Table.ParentRelations["FK_AssF2A_AnagFornitori"]))); - } - set { - this.SetParentRow(value, this.Table.ParentRelations["FK_AssF2A_AnagFornitori"]); - } - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] public AnagFornitoriRow[] GetAnagFornitoriRows() { @@ -8395,6 +8739,217 @@ namespace Data { } } + /// + ///Represents strongly named DataRow class. + /// + public partial class PAZ_DashStatsRow : global::System.Data.DataRow { + + private PAZ_DashStatsDataTable tablePAZ_DashStats; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + internal PAZ_DashStatsRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablePAZ_DashStats = ((PAZ_DashStatsDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public int nRichieste { + get { + try { + return ((int)(this[this.tablePAZ_DashStats.nRichiesteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'nRichieste\' nella tabella \'PAZ_DashStats\' è DBNull.", e); + } + } + set { + this[this.tablePAZ_DashStats.nRichiesteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public int nPrevReq { + get { + try { + return ((int)(this[this.tablePAZ_DashStats.nPrevReqColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'nPrevReq\' nella tabella \'PAZ_DashStats\' è DBNull.", e); + } + } + set { + this[this.tablePAZ_DashStats.nPrevReqColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public int nPrevAppr { + get { + try { + return ((int)(this[this.tablePAZ_DashStats.nPrevApprColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'nPrevAppr\' nella tabella \'PAZ_DashStats\' è DBNull.", e); + } + } + set { + this[this.tablePAZ_DashStats.nPrevApprColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public int nAperte { + get { + try { + return ((int)(this[this.tablePAZ_DashStats.nAperteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'nAperte\' nella tabella \'PAZ_DashStats\' è DBNull.", e); + } + } + set { + this[this.tablePAZ_DashStats.nAperteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public int nConcluse { + get { + try { + return ((int)(this[this.tablePAZ_DashStats.nConcluseColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'nConcluse\' nella tabella \'PAZ_DashStats\' è DBNull.", e); + } + } + set { + this[this.tablePAZ_DashStats.nConcluseColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public int nFatturate { + get { + try { + return ((int)(this[this.tablePAZ_DashStats.nFatturateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'nFatturate\' nella tabella \'PAZ_DashStats\' è DBNull.", e); + } + } + set { + this[this.tablePAZ_DashStats.nFatturateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public int nPagate { + get { + try { + return ((int)(this[this.tablePAZ_DashStats.nPagateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'nPagate\' nella tabella \'PAZ_DashStats\' è DBNull.", e); + } + } + set { + this[this.tablePAZ_DashStats.nPagateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public bool IsnRichiesteNull() { + return this.IsNull(this.tablePAZ_DashStats.nRichiesteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public void SetnRichiesteNull() { + this[this.tablePAZ_DashStats.nRichiesteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public bool IsnPrevReqNull() { + return this.IsNull(this.tablePAZ_DashStats.nPrevReqColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public void SetnPrevReqNull() { + this[this.tablePAZ_DashStats.nPrevReqColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public bool IsnPrevApprNull() { + return this.IsNull(this.tablePAZ_DashStats.nPrevApprColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public void SetnPrevApprNull() { + this[this.tablePAZ_DashStats.nPrevApprColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public bool IsnAperteNull() { + return this.IsNull(this.tablePAZ_DashStats.nAperteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public void SetnAperteNull() { + this[this.tablePAZ_DashStats.nAperteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public bool IsnConcluseNull() { + return this.IsNull(this.tablePAZ_DashStats.nConcluseColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public void SetnConcluseNull() { + this[this.tablePAZ_DashStats.nConcluseColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public bool IsnFatturateNull() { + return this.IsNull(this.tablePAZ_DashStats.nFatturateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public void SetnFatturateNull() { + this[this.tablePAZ_DashStats.nFatturateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public bool IsnPagateNull() { + return this.IsNull(this.tablePAZ_DashStats.nPagateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public void SetnPagateNull() { + this[this.tablePAZ_DashStats.nPagateColumn] = global::System.Convert.DBNull; + } + } + /// ///Row event argument class /// @@ -8836,6 +9391,40 @@ namespace Data { } } } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public class PAZ_DashStatsRowChangeEvent : global::System.EventArgs { + + private PAZ_DashStatsRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public PAZ_DashStatsRowChangeEvent(PAZ_DashStatsRow 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", "15.0.0.0")] + public PAZ_DashStatsRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } } } namespace Data.DS_appTableAdapters { @@ -13193,6 +13782,193 @@ SELECT idxPriorita, descrPriorita, scadenzaGg FROM AnagPrior WHERE (idxPriorita } } + /// + ///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 PAZ_DashStatsTableAdapter : 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", "15.0.0.0")] + public PAZ_DashStatsTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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", "15.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", "15.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", "15.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", "15.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", "15.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 = "PAZ_DashStats"; + tableMapping.ColumnMappings.Add("nRichieste", "nRichieste"); + tableMapping.ColumnMappings.Add("nPrevReq", "nPrevReq"); + tableMapping.ColumnMappings.Add("nPrevAppr", "nPrevAppr"); + tableMapping.ColumnMappings.Add("nAperte", "nAperte"); + tableMapping.ColumnMappings.Add("nConcluse", "nConcluse"); + tableMapping.ColumnMappings.Add("nFatturate", "nFatturate"); + tableMapping.ColumnMappings.Add("nPagate", "nPagate"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::Data.Properties.Settings.Default.B2BCondConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "dbo.stp_PAZ_DashStats"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[0].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[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxFornitore", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.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_app.PAZ_DashStatsDataTable dataTable, global::System.Nullable idxFornitore) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((idxFornitore.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxFornitore.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + 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", "15.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_app.PAZ_DashStatsDataTable GetData(global::System.Nullable idxFornitore) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((idxFornitore.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxFornitore.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + DS_app.PAZ_DashStatsDataTable dataTable = new DS_app.PAZ_DashStatsDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + /// ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios /// @@ -13378,12 +14154,12 @@ SELECT idxPriorita, descrPriorita, scadenzaGg FROM AnagPrior WHERE (idxPriorita [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] private int UpdateUpdatedRows(DS_app dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) { int result = 0; - if ((this._anagFornitoriTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.AnagFornitori.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + if ((this._assF2ATableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AssF2A.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); if (((updatedRows != null) && (0 < updatedRows.Length))) { - result = (result + this._anagFornitoriTableAdapter.Update(updatedRows)); + result = (result + this._assF2ATableAdapter.Update(updatedRows)); allChangedRows.AddRange(updatedRows); } } @@ -13396,12 +14172,12 @@ SELECT idxPriorita, descrPriorita, scadenzaGg FROM AnagPrior WHERE (idxPriorita allChangedRows.AddRange(updatedRows); } } - if ((this._assF2ATableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.AssF2A.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + if ((this._anagFornitoriTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AnagFornitori.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); if (((updatedRows != null) && (0 < updatedRows.Length))) { - result = (result + this._assF2ATableAdapter.Update(updatedRows)); + result = (result + this._anagFornitoriTableAdapter.Update(updatedRows)); allChangedRows.AddRange(updatedRows); } } @@ -13433,11 +14209,11 @@ SELECT idxPriorita, descrPriorita, scadenzaGg FROM AnagPrior WHERE (idxPriorita [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")] private int UpdateInsertedRows(DS_app dataSet, global::System.Collections.Generic.List allAddedRows) { int result = 0; - if ((this._anagFornitoriTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.AnagFornitori.Select(null, null, global::System.Data.DataViewRowState.Added); + if ((this._assF2ATableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AssF2A.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) && (0 < addedRows.Length))) { - result = (result + this._anagFornitoriTableAdapter.Update(addedRows)); + result = (result + this._assF2ATableAdapter.Update(addedRows)); allAddedRows.AddRange(addedRows); } } @@ -13449,11 +14225,11 @@ SELECT idxPriorita, descrPriorita, scadenzaGg FROM AnagPrior WHERE (idxPriorita allAddedRows.AddRange(addedRows); } } - if ((this._assF2ATableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.AssF2A.Select(null, null, global::System.Data.DataViewRowState.Added); + if ((this._anagFornitoriTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AnagFornitori.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) && (0 < addedRows.Length))) { - result = (result + this._assF2ATableAdapter.Update(addedRows)); + result = (result + this._anagFornitoriTableAdapter.Update(addedRows)); allAddedRows.AddRange(addedRows); } } @@ -13499,11 +14275,11 @@ SELECT idxPriorita, descrPriorita, scadenzaGg FROM AnagPrior WHERE (idxPriorita allChangedRows.AddRange(deletedRows); } } - if ((this._assF2ATableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.AssF2A.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if ((this._anagFornitoriTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AnagFornitori.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) && (0 < deletedRows.Length))) { - result = (result + this._assF2ATableAdapter.Update(deletedRows)); + result = (result + this._anagFornitoriTableAdapter.Update(deletedRows)); allChangedRows.AddRange(deletedRows); } } @@ -13515,11 +14291,11 @@ SELECT idxPriorita, descrPriorita, scadenzaGg FROM AnagPrior WHERE (idxPriorita allChangedRows.AddRange(deletedRows); } } - if ((this._anagFornitoriTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.AnagFornitori.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if ((this._assF2ATableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AssF2A.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) && (0 < deletedRows.Length))) { - result = (result + this._anagFornitoriTableAdapter.Update(deletedRows)); + result = (result + this._assF2ATableAdapter.Update(deletedRows)); allChangedRows.AddRange(deletedRows); } } diff --git a/Data/DS_app.xsd b/Data/DS_app.xsd index 8dc746e..5ff6f90 100644 --- a/Data/DS_app.xsd +++ b/Data/DS_app.xsd @@ -548,7 +548,7 @@ FROM v_AssF2C - + dbo.stp_ER_UpdateForn @@ -561,7 +561,7 @@ FROM v_AssF2C - + dbo.stp_ER_UpdatePrior @@ -586,7 +586,7 @@ FROM v_AssF2C - + dbo.stp_ER_UpdateText @@ -845,6 +845,31 @@ FROM v_ER_Acts + + + + + + dbo.stp_PAZ_DashStats + + + + + + + + + + + + + + + + + + + @@ -1387,6 +1412,19 @@ FROM v_ER_Acts + + + + + + + + + + + + + @@ -1440,7 +1478,6 @@ FROM v_ER_Acts - \ No newline at end of file diff --git a/Data/DS_app.xss b/Data/DS_app.xss index 6dba540..38104b9 100644 --- a/Data/DS_app.xss +++ b/Data/DS_app.xss @@ -6,30 +6,31 @@ --> - + - - - - - - + + + + + + + - 330 - 154 + 355 + 185 440 - 154 + 185 @@ -81,25 +82,5 @@ - - - - 151 - 0 - - - 151 - -30 - - - 110 - -30 - - - 110 - 0 - - - \ No newline at end of file diff --git a/PUB/PAM/DettaglioIntervento.aspx.cs b/PUB/PAM/DettaglioIntervento.aspx.cs index 1498d90..1394ffd 100644 --- a/PUB/PAM/DettaglioIntervento.aspx.cs +++ b/PUB/PAM/DettaglioIntervento.aspx.cs @@ -1,9 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using System.Web.UI; -using System.Web.UI.WebControls; namespace PUB.PAM { diff --git a/PUB/PAZ/MyDashboard.aspx b/PUB/PAZ/MyDashboard.aspx index e3b12b3..69ed6ba 100644 --- a/PUB/PAZ/MyDashboard.aspx +++ b/PUB/PAZ/MyDashboard.aspx @@ -1,25 +1,18 @@ -<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="MyDashboard.aspx.cs" Inherits="PUB.PAZ.MyDashboard" %> - -
-
-

B2BCONDOMINI.IT

-

Qui dobbiamo spiegare all'utente "FORNITORE" cosa deve fare e come deve accedere... TENDENZIALMENTE con email e certificato associato (come quelli già usati)

- -

Però per le aziende potremmo avere anche il caso di + accessi (es un accesso principale e altri accessi secondari): accesso principale riceve notifiche e fa gestione principale, accessi secondari possono solo "portare avanti" le cose già accettate/iniziate/prese in carico...

-

POTREBBE essere utile pensare anche a una forma di pubblicità (da rieptere dalla sezione "about" / contatti?) x convincere le aziende all'accesso

-

!!!DA COMPLETARE!!!

-

Per maggiori informazioni »

-
-
-
- -
-
-
-

Accesso FORNITORI / AZIENDE

-

DISABILITATO

- dobbiamo definire come farli entrare... loro con il sistema email + link cliccabile... ma dobbiamo decidere se si ciano accessi multipli (di sub-users) con altri metodi +<%@ Page Title="" Language="C#" MasterPageFile="~/SitePAZ.Master" AutoEventWireup="true" CodeBehind="MyDashboard.aspx.cs" Inherits="PUB.PAZ.MyDashboard" %> + +<%@ Register Src="~/WebUserContols/mod_ER_inCorso.ascx" TagPrefix="uc1" TagName="mod_ER_inCorso" %> +<%@ Register Src="~/WebUserContols/mod_ER_richieste.ascx" TagPrefix="uc1" TagName="mod_ER_richieste" %> + + + +
+
+
+ +
+
+
-
\ No newline at end of file + diff --git a/PUB/PAZ/MyDashboard.aspx.designer.cs b/PUB/PAZ/MyDashboard.aspx.designer.cs index 05a3079..537b463 100644 --- a/PUB/PAZ/MyDashboard.aspx.designer.cs +++ b/PUB/PAZ/MyDashboard.aspx.designer.cs @@ -11,5 +11,23 @@ namespace PUB.PAZ { public partial class MyDashboard { + + /// + /// Controllo mod_ER_richieste. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::PUB.WebUserContols.mod_ER_richieste mod_ER_richieste; + + /// + /// Controllo mod_ER_inCorso. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::PUB.WebUserContols.mod_ER_inCorso mod_ER_inCorso; } } diff --git a/PUB/WebUserContols/mod_statusRowPAZ.ascx b/PUB/WebUserContols/mod_statusRowPAZ.ascx index d2a5948..e5c9642 100644 --- a/PUB/WebUserContols/mod_statusRowPAZ.ascx +++ b/PUB/WebUserContols/mod_statusRowPAZ.ascx @@ -1 +1,124 @@ <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_statusRowPAZ.ascx.cs" Inherits="PUB.WebUserContols.mod_statusRowPAZ" %> + + +
+
+
+ +
+
+ +
+
+ Preventivi +
+
+
+
+
+
+ + registrati +
+
+ + da approvare +
+
+
+
+
+
+
+ +
+
+ +
+
+ Richieste +
+
+
+
+
+
+ + attive +
+
+
+
+
+
+
+ +
+
+ +
+
+ Dashboard +
+
+
+
+ +
+
+
+ +
+
+ +
+
+ Interventi aperti +
+
+
+
+
+
+ + in corso +
+
+
+
+
+
+
+ +
+
+ +
+
+ Conclusi +
+
+
+
+
+
+ + chiusi +
+
+ + + maturati +
+
+
+
+
+
+
+
+ + + + + diff --git a/PUB/WebUserContols/mod_statusRowPAZ.ascx.designer.cs b/PUB/WebUserContols/mod_statusRowPAZ.ascx.designer.cs index 40db3b4..fbfe86d 100644 --- a/PUB/WebUserContols/mod_statusRowPAZ.ascx.designer.cs +++ b/PUB/WebUserContols/mod_statusRowPAZ.ascx.designer.cs @@ -1,17 +1,33 @@ //------------------------------------------------------------------------------ -// +// // Codice generato da uno strumento. // // Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se -// il codice viene rigenerato. -// +// il codice viene rigenerato. +// //------------------------------------------------------------------------------ -namespace PUB.WebUserContols -{ - - - public partial class mod_statusRowPAZ - { - } +namespace PUB.WebUserContols { + + + public partial class mod_statusRowPAZ { + + /// + /// Controllo repStats. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.Repeater repStats; + + /// + /// Controllo ods. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + } }