aggiunta visualizzazione stato interventi x condomini
This commit is contained in:
Generated
+812
@@ -42,6 +42,8 @@ namespace Data {
|
||||
|
||||
private AnagStatiDataTable tableAnagStati;
|
||||
|
||||
private StatoRichDataTable tableStatoRich;
|
||||
|
||||
private global::System.Data.DataRelation relationFK_AnagCondomini_AnagAmministratori;
|
||||
|
||||
private global::System.Data.DataRelation relationRelFornitore2Area_AnagFornitori;
|
||||
@@ -109,6 +111,9 @@ namespace Data {
|
||||
if ((ds.Tables["AnagStati"] != null)) {
|
||||
base.Tables.Add(new AnagStatiDataTable(ds.Tables["AnagStati"]));
|
||||
}
|
||||
if ((ds.Tables["StatoRich"] != null)) {
|
||||
base.Tables.Add(new StatoRichDataTable(ds.Tables["StatoRich"]));
|
||||
}
|
||||
this.DataSetName = ds.DataSetName;
|
||||
this.Prefix = ds.Prefix;
|
||||
this.Namespace = ds.Namespace;
|
||||
@@ -217,6 +222,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 StatoRichDataTable StatoRich {
|
||||
get {
|
||||
return this.tableStatoRich;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
[global::System.ComponentModel.BrowsableAttribute(true)]
|
||||
@@ -311,6 +326,9 @@ namespace Data {
|
||||
if ((ds.Tables["AnagStati"] != null)) {
|
||||
base.Tables.Add(new AnagStatiDataTable(ds.Tables["AnagStati"]));
|
||||
}
|
||||
if ((ds.Tables["StatoRich"] != null)) {
|
||||
base.Tables.Add(new StatoRichDataTable(ds.Tables["StatoRich"]));
|
||||
}
|
||||
this.DataSetName = ds.DataSetName;
|
||||
this.Prefix = ds.Prefix;
|
||||
this.Namespace = ds.Namespace;
|
||||
@@ -398,6 +416,12 @@ namespace Data {
|
||||
this.tableAnagStati.InitVars();
|
||||
}
|
||||
}
|
||||
this.tableStatoRich = ((StatoRichDataTable)(base.Tables["StatoRich"]));
|
||||
if ((initTable == true)) {
|
||||
if ((this.tableStatoRich != null)) {
|
||||
this.tableStatoRich.InitVars();
|
||||
}
|
||||
}
|
||||
this.relationFK_AnagCondomini_AnagAmministratori = this.Relations["FK_AnagCondomini_AnagAmministratori"];
|
||||
this.relationRelFornitore2Area_AnagFornitori = this.Relations["RelFornitore2Area_AnagFornitori"];
|
||||
this.relationAnagAree_RelFornitore2Area = this.Relations["AnagAree_RelFornitore2Area"];
|
||||
@@ -432,6 +456,8 @@ namespace Data {
|
||||
base.Tables.Add(this.tableElencolRich);
|
||||
this.tableAnagStati = new AnagStatiDataTable();
|
||||
base.Tables.Add(this.tableAnagStati);
|
||||
this.tableStatoRich = new StatoRichDataTable();
|
||||
base.Tables.Add(this.tableStatoRich);
|
||||
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);
|
||||
@@ -512,6 +538,12 @@ namespace Data {
|
||||
return false;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
private bool ShouldSerializeStatoRich() {
|
||||
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) {
|
||||
@@ -594,6 +626,9 @@ namespace Data {
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public delegate void AnagStatiRowChangeEventHandler(object sender, AnagStatiRowChangeEvent e);
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public delegate void StatoRichRowChangeEventHandler(object sender, StatoRichRowChangeEvent e);
|
||||
|
||||
/// <summary>
|
||||
///Represents the strongly named DataTable class.
|
||||
///</summary>
|
||||
@@ -4288,6 +4323,346 @@ namespace Data {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Represents the strongly named DataTable class.
|
||||
///</summary>
|
||||
[global::System.Serializable()]
|
||||
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
||||
public partial class StatoRichDataTable : global::System.Data.TypedTableBase<StatoRichRow> {
|
||||
|
||||
private global::System.Data.DataColumn columncod_cond;
|
||||
|
||||
private global::System.Data.DataColumn columnnom_cond;
|
||||
|
||||
private global::System.Data.DataColumn columnnRichieste;
|
||||
|
||||
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 StatoRichDataTable() {
|
||||
this.TableName = "StatoRich";
|
||||
this.BeginInit();
|
||||
this.InitClass();
|
||||
this.EndInit();
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
internal StatoRichDataTable(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 StatoRichDataTable(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 cod_condColumn {
|
||||
get {
|
||||
return this.columncod_cond;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public global::System.Data.DataColumn nom_condColumn {
|
||||
get {
|
||||
return this.columnnom_cond;
|
||||
}
|
||||
}
|
||||
|
||||
[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 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 StatoRichRow this[int index] {
|
||||
get {
|
||||
return ((StatoRichRow)(this.Rows[index]));
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public event StatoRichRowChangeEventHandler StatoRichRowChanging;
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public event StatoRichRowChangeEventHandler StatoRichRowChanged;
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public event StatoRichRowChangeEventHandler StatoRichRowDeleting;
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public event StatoRichRowChangeEventHandler StatoRichRowDeleted;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public void AddStatoRichRow(StatoRichRow row) {
|
||||
this.Rows.Add(row);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public StatoRichRow AddStatoRichRow(string cod_cond, string nom_cond, int nRichieste, int nAperte, int nConcluse, int nFatturate, int nPagate) {
|
||||
StatoRichRow rowStatoRichRow = ((StatoRichRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
cod_cond,
|
||||
nom_cond,
|
||||
nRichieste,
|
||||
nAperte,
|
||||
nConcluse,
|
||||
nFatturate,
|
||||
nPagate};
|
||||
rowStatoRichRow.ItemArray = columnValuesArray;
|
||||
this.Rows.Add(rowStatoRichRow);
|
||||
return rowStatoRichRow;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public override global::System.Data.DataTable Clone() {
|
||||
StatoRichDataTable cln = ((StatoRichDataTable)(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 StatoRichDataTable();
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
internal void InitVars() {
|
||||
this.columncod_cond = base.Columns["cod_cond"];
|
||||
this.columnnom_cond = base.Columns["nom_cond"];
|
||||
this.columnnRichieste = base.Columns["nRichieste"];
|
||||
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.columncod_cond = new global::System.Data.DataColumn("cod_cond", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columncod_cond);
|
||||
this.columnnom_cond = new global::System.Data.DataColumn("nom_cond", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnnom_cond);
|
||||
this.columnnRichieste = new global::System.Data.DataColumn("nRichieste", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnnRichieste);
|
||||
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.columncod_cond.AllowDBNull = false;
|
||||
this.columncod_cond.MaxLength = 50;
|
||||
this.columnnom_cond.AllowDBNull = false;
|
||||
this.columnnom_cond.MaxLength = 30;
|
||||
this.columnnRichieste.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 StatoRichRow NewStatoRichRow() {
|
||||
return ((StatoRichRow)(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 StatoRichRow(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(StatoRichRow);
|
||||
}
|
||||
|
||||
[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.StatoRichRowChanged != null)) {
|
||||
this.StatoRichRowChanged(this, new StatoRichRowChangeEvent(((StatoRichRow)(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.StatoRichRowChanging != null)) {
|
||||
this.StatoRichRowChanging(this, new StatoRichRowChangeEvent(((StatoRichRow)(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.StatoRichRowDeleted != null)) {
|
||||
this.StatoRichRowDeleted(this, new StatoRichRowChangeEvent(((StatoRichRow)(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.StatoRichRowDeleting != null)) {
|
||||
this.StatoRichRowDeleting(this, new StatoRichRowChangeEvent(((StatoRichRow)(e.Row)), e.Action));
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public void RemoveStatoRichRow(StatoRichRow 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 = "StatoRichDataTable";
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Represents strongly named DataRow class.
|
||||
///</summary>
|
||||
@@ -6158,6 +6533,183 @@ namespace Data {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Represents strongly named DataRow class.
|
||||
///</summary>
|
||||
public partial class StatoRichRow : global::System.Data.DataRow {
|
||||
|
||||
private StatoRichDataTable tableStatoRich;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
internal StatoRichRow(global::System.Data.DataRowBuilder rb) :
|
||||
base(rb) {
|
||||
this.tableStatoRich = ((StatoRichDataTable)(this.Table));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public string cod_cond {
|
||||
get {
|
||||
return ((string)(this[this.tableStatoRich.cod_condColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableStatoRich.cod_condColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public string nom_cond {
|
||||
get {
|
||||
return ((string)(this[this.tableStatoRich.nom_condColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tableStatoRich.nom_condColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[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.tableStatoRich.nRichiesteColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("Il valore della colonna \'nRichieste\' nella tabella \'StatoRich\' è DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableStatoRich.nRichiesteColumn] = 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.tableStatoRich.nAperteColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("Il valore della colonna \'nAperte\' nella tabella \'StatoRich\' è DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableStatoRich.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.tableStatoRich.nConcluseColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("Il valore della colonna \'nConcluse\' nella tabella \'StatoRich\' è DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableStatoRich.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.tableStatoRich.nFatturateColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("Il valore della colonna \'nFatturate\' nella tabella \'StatoRich\' è DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableStatoRich.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.tableStatoRich.nPagateColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("Il valore della colonna \'nPagate\' nella tabella \'StatoRich\' è DBNull.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableStatoRich.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.tableStatoRich.nRichiesteColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public void SetnRichiesteNull() {
|
||||
this[this.tableStatoRich.nRichiesteColumn] = 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.tableStatoRich.nAperteColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public void SetnAperteNull() {
|
||||
this[this.tableStatoRich.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.tableStatoRich.nConcluseColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public void SetnConcluseNull() {
|
||||
this[this.tableStatoRich.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.tableStatoRich.nFatturateColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public void SetnFatturateNull() {
|
||||
this[this.tableStatoRich.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.tableStatoRich.nPagateColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public void SetnPagateNull() {
|
||||
this[this.tableStatoRich.nPagateColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Row event argument class
|
||||
///</summary>
|
||||
@@ -6463,6 +7015,40 @@ namespace Data {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Row event argument class
|
||||
///</summary>
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
public class StatoRichRowChangeEvent : global::System.EventArgs {
|
||||
|
||||
private StatoRichRow 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 StatoRichRowChangeEvent(StatoRichRow 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 StatoRichRow 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 {
|
||||
@@ -9595,6 +10181,232 @@ SELECT idxStato, stato, descrizione, cssStato FROM AnagStati WHERE (idxStato = @
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Represents the connection and commands used to retrieve and save data.
|
||||
///</summary>
|
||||
[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 StatoRichTableAdapter : 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 StatoRichTableAdapter() {
|
||||
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 = "StatoRich";
|
||||
tableMapping.ColumnMappings.Add("cod_cond", "cod_cond");
|
||||
tableMapping.ColumnMappings.Add("nom_cond", "nom_cond");
|
||||
tableMapping.ColumnMappings.Add("nRichieste", "nRichieste");
|
||||
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_StatoRich_byAmmCond";
|
||||
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("@idxAmm", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idxCond", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@minStato", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@maxStato", 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.StatoRichDataTable dataTable, global::System.Nullable<int> idxAmm, global::System.Nullable<int> idxCond, global::System.Nullable<int> minStato, global::System.Nullable<int> maxStato) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[0];
|
||||
if ((idxAmm.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxAmm.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((idxCond.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = ((int)(idxCond.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((minStato.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[3].Value = ((int)(minStato.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((maxStato.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[4].Value = ((int)(maxStato.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[4].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.StatoRichDataTable GetData(global::System.Nullable<int> idxAmm, global::System.Nullable<int> idxCond, global::System.Nullable<int> minStato, global::System.Nullable<int> maxStato) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[0];
|
||||
if ((idxAmm.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(idxAmm.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((idxCond.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = ((int)(idxCond.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((minStato.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[3].Value = ((int)(minStato.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((maxStato.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[4].Value = ((int)(maxStato.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
|
||||
}
|
||||
DS_app.StatoRichDataTable dataTable = new DS_app.StatoRichDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
return dataTable;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
|
||||
///</summary>
|
||||
|
||||
@@ -607,6 +607,34 @@ SELECT idxStato, stato, descrizione, cssStato FROM AnagStati WHERE (idxStato = @
|
||||
</DbSource>
|
||||
</Sources>
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="StatoRichTableAdapter" GeneratorDataComponentClassName="StatoRichTableAdapter" Name="StatoRich" UserDataComponentName="StatoRichTableAdapter">
|
||||
<MainSource>
|
||||
<DbSource ConnectionRef="B2BCondConnectionString (Settings)" DbObjectName="B2BCond.dbo.stp_StatoRich_byAmmCond" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_StatoRich_byAmmCond</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxAmm" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idxCond" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@minStato" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@maxStato" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
</MainSource>
|
||||
<Mappings>
|
||||
<Mapping SourceColumn="cod_cond" DataSetColumn="cod_cond" />
|
||||
<Mapping SourceColumn="nom_cond" DataSetColumn="nom_cond" />
|
||||
<Mapping SourceColumn="nRichieste" DataSetColumn="nRichieste" />
|
||||
<Mapping SourceColumn="nAperte" DataSetColumn="nAperte" />
|
||||
<Mapping SourceColumn="nConcluse" DataSetColumn="nConcluse" />
|
||||
<Mapping SourceColumn="nFatturate" DataSetColumn="nFatturate" />
|
||||
<Mapping SourceColumn="nPagate" DataSetColumn="nPagate" />
|
||||
</Mappings>
|
||||
<Sources />
|
||||
</TableAdapter>
|
||||
</Tables>
|
||||
<Sources />
|
||||
</DataSource>
|
||||
@@ -1021,6 +1049,31 @@ SELECT idxStato, stato, descrizione, cssStato FROM AnagStati WHERE (idxStato = @
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="StatoRich" msprop:Generator_TableClassName="StatoRichDataTable" msprop:Generator_TableVarName="tableStatoRich" msprop:Generator_TablePropName="StatoRich" msprop:Generator_RowDeletingName="StatoRichRowDeleting" msprop:Generator_RowChangingName="StatoRichRowChanging" msprop:Generator_RowEvHandlerName="StatoRichRowChangeEventHandler" msprop:Generator_RowDeletedName="StatoRichRowDeleted" msprop:Generator_UserTableName="StatoRich" msprop:Generator_RowChangedName="StatoRichRowChanged" msprop:Generator_RowEvArgName="StatoRichRowChangeEvent" msprop:Generator_RowClassName="StatoRichRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="cod_cond" msprop:Generator_ColumnVarNameInTable="columncod_cond" msprop:Generator_ColumnPropNameInRow="cod_cond" msprop:Generator_ColumnPropNameInTable="cod_condColumn" msprop:Generator_UserColumnName="cod_cond">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nom_cond" msprop:Generator_ColumnVarNameInTable="columnnom_cond" msprop:Generator_ColumnPropNameInRow="nom_cond" msprop:Generator_ColumnPropNameInTable="nom_condColumn" msprop:Generator_UserColumnName="nom_cond">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="30" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nRichieste" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnnRichieste" msprop:Generator_ColumnPropNameInRow="nRichieste" msprop:Generator_ColumnPropNameInTable="nRichiesteColumn" msprop:Generator_UserColumnName="nRichieste" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="nAperte" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnnAperte" msprop:Generator_ColumnPropNameInRow="nAperte" msprop:Generator_ColumnPropNameInTable="nAperteColumn" msprop:Generator_UserColumnName="nAperte" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="nConcluse" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnnConcluse" msprop:Generator_ColumnPropNameInRow="nConcluse" msprop:Generator_ColumnPropNameInTable="nConcluseColumn" msprop:Generator_UserColumnName="nConcluse" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="nFatturate" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnnFatturate" msprop:Generator_ColumnPropNameInRow="nFatturate" msprop:Generator_ColumnPropNameInTable="nFatturateColumn" msprop:Generator_UserColumnName="nFatturate" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="nPagate" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnnPagate" msprop:Generator_ColumnPropNameInRow="nPagate" msprop:Generator_ColumnPropNameInTable="nPagateColumn" msprop:Generator_UserColumnName="nPagate" type="xs:int" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@ pipeline {
|
||||
|
||||
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
|
||||
script {
|
||||
withEnv(['NEXT_BUILD_NUMBER=97']) {
|
||||
withEnv(['NEXT_BUILD_NUMBER=98']) {
|
||||
// env.versionNumber = VersionNumber(versionNumberString : '0.9.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true)
|
||||
env.versionNumber = VersionNumber(versionNumberString : '0.9.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
|
||||
env.APP_NAME = 'SOSCONDOMINI'
|
||||
|
||||
@@ -1,14 +1,12 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/SitePAM.master" AutoEventWireup="true" CodeBehind="Condomini.aspx.cs" Inherits="PUB.PAM.Condomini" %>
|
||||
|
||||
<%@ Register Src="~/WebUserContols/mod_statoRich.ascx" TagPrefix="uc1" TagName="mod_statoRich" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
|
||||
<div class="container-fluid my-1 bg-light">
|
||||
<div class="row p-2">
|
||||
<div class="col my-1">
|
||||
<ul>
|
||||
<li>visualizzazione elenco condomini</li>
|
||||
<li>possibilità filtraggio con selettori buttons (FILTRO TIPO OR) tipo "con richieste in corso", "con interventi in corso", "con attività concluse", "escludi TOTALMENTE conclusi" (negato)</li>
|
||||
<li>interventi x condominio come elenco tabellare (num x ogni stato)</li>
|
||||
<li>da ogni conteggio click --> pagina dettaglio</li>
|
||||
</ul>
|
||||
<uc1:mod_statoRich runat="server" id="mod_statoRich" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Generated
+9
@@ -11,5 +11,14 @@ namespace PUB.PAM {
|
||||
|
||||
|
||||
public partial class Condomini {
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mod_statoRich.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::PUB.WebUserContols.mod_statoRich mod_statoRich;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -256,6 +256,7 @@
|
||||
<Content Include="WebUserContols\mod_richiesteList.ascx" />
|
||||
<Content Include="WebUserContols\mod_scadenzeDetail.ascx" />
|
||||
<Content Include="WebUserContols\mod_scadenzeList.ascx" />
|
||||
<Content Include="WebUserContols\mod_statoRich.ascx" />
|
||||
<Content Include="WebUserContols\mod_statusRow.ascx" />
|
||||
<Content Include="WebUserContols\mod_statusRowPAM.ascx" />
|
||||
<Content Include="WebUserContols\mod_warnings.ascx" />
|
||||
@@ -734,6 +735,13 @@
|
||||
<Compile Include="WebUserContols\mod_scadenzeList.ascx.designer.cs">
|
||||
<DependentUpon>mod_scadenzeList.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserContols\mod_statoRich.ascx.cs">
|
||||
<DependentUpon>mod_statoRich.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserContols\mod_statoRich.ascx.designer.cs">
|
||||
<DependentUpon>mod_statoRich.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserContols\mod_statusRow.ascx.cs">
|
||||
<DependentUpon>mod_statusRow.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Elenco degli interventi conclusi</h5>
|
||||
<uc1:mod_ER_grid runat="server" ID="mod_ER_grid" StatoMin="41" StatoMax="70" />
|
||||
<uc1:mod_ER_grid runat="server" ID="mod_ER_grid" StatoMin="41" StatoMax="80" />
|
||||
<%--<a href="#" class="btn btn-success">Gestione Interventi</a>--%>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_statoRich.ascx.cs" Inherits="PUB.WebUserContols.mod_statoRich" %>
|
||||
<asp:GridView ID="grView" runat="server" AllowPaging="True" DataSourceID="ods" CssClass="table table-striped table-hover table-sm table-responsive-sm mw-100" AllowSorting="True" AutoGenerateColumns="False">
|
||||
<Columns>
|
||||
<asp:BoundField DataField="cod_cond" HeaderText="cod_cond" SortExpression="cod_cond" />
|
||||
<asp:BoundField DataField="nom_cond" HeaderText="Condominio" SortExpression="nom_cond" />
|
||||
<asp:BoundField DataField="nRichieste" HeaderText="Richieste" ReadOnly="True" SortExpression="nRichieste" />
|
||||
<asp:BoundField DataField="nAperte" HeaderText="Aperte" ReadOnly="True" SortExpression="nAperte" />
|
||||
<asp:BoundField DataField="nConcluse" HeaderText="Concluse" ReadOnly="True" SortExpression="nConcluse" />
|
||||
<asp:BoundField DataField="nFatturate" HeaderText="Fatturate" ReadOnly="True" SortExpression="nFatturate" />
|
||||
<asp:BoundField DataField="nPagate" HeaderText="Pagate" ReadOnly="True" SortExpression="nPagate" />
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="Data.DS_appTableAdapters.StatoRichTableAdapter" FilterExpression=" cod_cond LIKE '%{0}%' OR nom_cond LIKE '%{0}%' ">
|
||||
<FilterParameters>
|
||||
<asp:SessionParameter DefaultValue="" SessionField="siteSearchVal" />
|
||||
</FilterParameters>
|
||||
<SelectParameters>
|
||||
<asp:SessionParameter DefaultValue="1" Name="idxAmm" SessionField="idxAmm" Type="Int32" />
|
||||
<asp:Parameter DefaultValue="0" Name="idxCond" Type="Int32" />
|
||||
<asp:Parameter DefaultValue="0" Name="minStato" Type="Int32" />
|
||||
<asp:Parameter DefaultValue="200" Name="maxStato" Type="Int32" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
|
||||
|
||||
<%--Note possibili modifiche:
|
||||
la tab deve avere
|
||||
<ul>
|
||||
<li>visualizzazione elenco condomini</li>
|
||||
<li>possibilità filtraggio con selettori buttons (FILTRO TIPO OR) tipo "con richieste in corso", "con interventi in corso", "con attività concluse", "escludi TOTALMENTE conclusi" (negato)</li>
|
||||
<li>interventi x condominio come elenco tabellare (num x ogni stato)</li>
|
||||
<li>da ogni conteggio click --> pagina dettaglio</li>
|
||||
</ul>--%>
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace PUB.WebUserContols
|
||||
{
|
||||
public partial class mod_statoRich : System.Web.UI.UserControl
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <generato automaticamente>
|
||||
// Codice generato da uno strumento.
|
||||
//
|
||||
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
|
||||
// il codice viene rigenerato.
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace PUB.WebUserContols {
|
||||
|
||||
|
||||
public partial class mod_statoRich {
|
||||
|
||||
/// <summary>
|
||||
/// Controllo grView.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.GridView grView;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo ods.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user