diff --git a/AppData/DS_App.Designer.cs b/AppData/DS_App.Designer.cs
index e3027ae..b030fa4 100644
--- a/AppData/DS_App.Designer.cs
+++ b/AppData/DS_App.Designer.cs
@@ -44,6 +44,8 @@ namespace AppData {
private TaskList2PostDataTable tableTaskList2Post;
+ private AnagStatiDataTable tableAnagStati;
+
private global::System.Data.DataRelation relationFK_TaskRec_AnagFasi;
private global::System.Data.DataRelation relationFK_TaskRec_AnagOpr;
@@ -110,6 +112,9 @@ namespace AppData {
if ((ds.Tables["TaskList2Post"] != null)) {
base.Tables.Add(new TaskList2PostDataTable(ds.Tables["TaskList2Post"]));
}
+ if ((ds.Tables["AnagStati"] != null)) {
+ base.Tables.Add(new AnagStatiDataTable(ds.Tables["AnagStati"]));
+ }
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -228,6 +233,16 @@ namespace AppData {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public AnagStatiDataTable AnagStati {
+ get {
+ return this.tableAnagStati;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.BrowsableAttribute(true)]
@@ -325,6 +340,9 @@ namespace AppData {
if ((ds.Tables["TaskList2Post"] != null)) {
base.Tables.Add(new TaskList2PostDataTable(ds.Tables["TaskList2Post"]));
}
+ if ((ds.Tables["AnagStati"] != null)) {
+ base.Tables.Add(new AnagStatiDataTable(ds.Tables["AnagStati"]));
+ }
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -418,6 +436,12 @@ namespace AppData {
this.tableTaskList2Post.InitVars();
}
}
+ this.tableAnagStati = ((AnagStatiDataTable)(base.Tables["AnagStati"]));
+ if ((initTable == true)) {
+ if ((this.tableAnagStati != null)) {
+ this.tableAnagStati.InitVars();
+ }
+ }
this.relationFK_TaskRec_AnagFasi = this.Relations["FK_TaskRec_AnagFasi"];
this.relationFK_TaskRec_AnagOpr = this.Relations["FK_TaskRec_AnagOpr"];
this.relationTaskRec_TaskList = this.Relations["TaskRec_TaskList"];
@@ -452,6 +476,8 @@ namespace AppData {
base.Tables.Add(this.tableAnagArticoli);
this.tableTaskList2Post = new TaskList2PostDataTable();
base.Tables.Add(this.tableTaskList2Post);
+ this.tableAnagStati = new AnagStatiDataTable();
+ base.Tables.Add(this.tableAnagStati);
this.relationFK_TaskRec_AnagFasi = new global::System.Data.DataRelation("FK_TaskRec_AnagFasi", new global::System.Data.DataColumn[] {
this.tableAnagFasi.CodFaseColumn}, new global::System.Data.DataColumn[] {
this.tableTaskRec.CodFaseColumn}, false);
@@ -530,6 +556,12 @@ namespace AppData {
return false;
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private bool ShouldSerializeAnagStati() {
+ return false;
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
@@ -615,6 +647,9 @@ namespace AppData {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public delegate void TaskList2PostRowChangeEventHandler(object sender, TaskList2PostRowChangeEvent e);
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public delegate void AnagStatiRowChangeEventHandler(object sender, AnagStatiRowChangeEvent e);
+
///
///Represents the strongly named DataTable class.
///
@@ -4569,6 +4604,310 @@ namespace AppData {
}
}
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class AnagStatiDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columnCodStato;
+
+ private global::System.Data.DataColumn columnFamStato;
+
+ private global::System.Data.DataColumn columnDescrStato;
+
+ private global::System.Data.DataColumn columnPrioritaStato;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public AnagStatiDataTable() {
+ this.TableName = "AnagStati";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ internal AnagStatiDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
+ }
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected AnagStatiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn CodStatoColumn {
+ get {
+ return this.columnCodStato;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn FamStatoColumn {
+ get {
+ return this.columnFamStato;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn DescrStatoColumn {
+ get {
+ return this.columnDescrStato;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn PrioritaStatoColumn {
+ get {
+ return this.columnPrioritaStato;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public AnagStatiRow this[int index] {
+ get {
+ return ((AnagStatiRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public event AnagStatiRowChangeEventHandler AnagStatiRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public event AnagStatiRowChangeEventHandler AnagStatiRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public event AnagStatiRowChangeEventHandler AnagStatiRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public event AnagStatiRowChangeEventHandler AnagStatiRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void AddAnagStatiRow(AnagStatiRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public AnagStatiRow AddAnagStatiRow(string CodStato, string FamStato, string DescrStato, int PrioritaStato) {
+ AnagStatiRow rowAnagStatiRow = ((AnagStatiRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ CodStato,
+ FamStato,
+ DescrStato,
+ PrioritaStato};
+ rowAnagStatiRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowAnagStatiRow);
+ return rowAnagStatiRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public AnagStatiRow FindByCodStato(string CodStato) {
+ return ((AnagStatiRow)(this.Rows.Find(new object[] {
+ CodStato})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ AnagStatiDataTable cln = ((AnagStatiDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new AnagStatiDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ internal void InitVars() {
+ this.columnCodStato = base.Columns["CodStato"];
+ this.columnFamStato = base.Columns["FamStato"];
+ this.columnDescrStato = base.Columns["DescrStato"];
+ this.columnPrioritaStato = base.Columns["PrioritaStato"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private void InitClass() {
+ this.columnCodStato = new global::System.Data.DataColumn("CodStato", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnCodStato);
+ this.columnFamStato = new global::System.Data.DataColumn("FamStato", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnFamStato);
+ this.columnDescrStato = new global::System.Data.DataColumn("DescrStato", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnDescrStato);
+ this.columnPrioritaStato = new global::System.Data.DataColumn("PrioritaStato", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnPrioritaStato);
+ this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
+ this.columnCodStato}, true));
+ this.columnCodStato.AllowDBNull = false;
+ this.columnCodStato.Unique = true;
+ this.columnCodStato.MaxLength = 50;
+ this.columnFamStato.AllowDBNull = false;
+ this.columnFamStato.MaxLength = 50;
+ this.columnDescrStato.MaxLength = 50;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public AnagStatiRow NewAnagStatiRow() {
+ return ((AnagStatiRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new AnagStatiRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(AnagStatiRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.AnagStatiRowChanged != null)) {
+ this.AnagStatiRowChanged(this, new AnagStatiRowChangeEvent(((AnagStatiRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.AnagStatiRowChanging != null)) {
+ this.AnagStatiRowChanging(this, new AnagStatiRowChangeEvent(((AnagStatiRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.AnagStatiRowDeleted != null)) {
+ this.AnagStatiRowDeleted(this, new AnagStatiRowChangeEvent(((AnagStatiRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.AnagStatiRowDeleting != null)) {
+ this.AnagStatiRowDeleting(this, new AnagStatiRowChangeEvent(((AnagStatiRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void RemoveAnagStatiRow(AnagStatiRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ DS_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 = "AnagStatiDataTable";
+ 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.
///
@@ -6458,6 +6797,99 @@ namespace AppData {
}
}
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class AnagStatiRow : global::System.Data.DataRow {
+
+ private AnagStatiDataTable tableAnagStati;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ internal AnagStatiRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tableAnagStati = ((AnagStatiDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string CodStato {
+ get {
+ return ((string)(this[this.tableAnagStati.CodStatoColumn]));
+ }
+ set {
+ this[this.tableAnagStati.CodStatoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string FamStato {
+ get {
+ return ((string)(this[this.tableAnagStati.FamStatoColumn]));
+ }
+ set {
+ this[this.tableAnagStati.FamStatoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string DescrStato {
+ get {
+ try {
+ return ((string)(this[this.tableAnagStati.DescrStatoColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("Il valore della colonna \'DescrStato\' nella tabella \'AnagStati\' è DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableAnagStati.DescrStatoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public int PrioritaStato {
+ get {
+ try {
+ return ((int)(this[this.tableAnagStati.PrioritaStatoColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("Il valore della colonna \'PrioritaStato\' nella tabella \'AnagStati\' è DBNull.", e);
+ }
+ }
+ set {
+ this[this.tableAnagStati.PrioritaStatoColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsDescrStatoNull() {
+ return this.IsNull(this.tableAnagStati.DescrStatoColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetDescrStatoNull() {
+ this[this.tableAnagStati.DescrStatoColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsPrioritaStatoNull() {
+ return this.IsNull(this.tableAnagStati.PrioritaStatoColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetPrioritaStatoNull() {
+ this[this.tableAnagStati.PrioritaStatoColumn] = global::System.Convert.DBNull;
+ }
+ }
+
///
///Row event argument class
///
@@ -6797,6 +7229,40 @@ namespace AppData {
}
}
}
+
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public class AnagStatiRowChangeEvent : global::System.EventArgs {
+
+ private AnagStatiRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public AnagStatiRowChangeEvent(AnagStatiRow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public AnagStatiRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
}
}
namespace AppData.DS_AppTableAdapters {
@@ -10753,7 +11219,7 @@ SELECT CodArt, Disegno, DescArticolo, CurrRev, ProdRev, FlagIsNew, Tipo FROM Ana
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
private void InitCommandCollection() {
- this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT NumTask, CodGruppo, CodArt, QtaRic, QtaEv, Prior, Concluso, DataIns, NumRe" +
@@ -10767,6 +11233,14 @@ SELECT CodArt, Disegno, DescArticolo, CurrRev, ProdRev, FlagIsNew, Tipo FROM Ana
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodPost", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStato", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[2].Connection = this.Connection;
+ this._commandCollection[2].CommandText = "dbo.stp_TL2P_UpdateFase";
+ this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[2].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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodPost", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_NumTask", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodFase", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -10815,6 +11289,502 @@ SELECT CodArt, Disegno, DescArticolo, CurrRev, ProdRev, FlagIsNew, Tipo FROM Ana
this.Adapter.Fill(dataTable);
return dataTable;
}
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int UpdateFase(string Original_CodPost, string Original_NumTask, string CodFase) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
+ if ((Original_CodPost == null)) {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[1].Value = ((string)(Original_CodPost));
+ }
+ if ((Original_NumTask == null)) {
+ command.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[2].Value = ((string)(Original_NumTask));
+ }
+ if ((CodFase == null)) {
+ command.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[3].Value = ((string)(CodFase));
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+ }
+
+ ///
+ ///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 AnagStatiTableAdapter : global::System.ComponentModel.Component {
+
+ private global::System.Data.SqlClient.SqlDataAdapter _adapter;
+
+ private global::System.Data.SqlClient.SqlConnection _connection;
+
+ private global::System.Data.SqlClient.SqlTransaction _transaction;
+
+ private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
+
+ private bool _clearBeforeFill;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public AnagStatiTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
+ get {
+ if ((this._adapter == null)) {
+ this.InitAdapter();
+ }
+ return this._adapter;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
+ this.InitConnection();
+ }
+ return this._connection;
+ }
+ set {
+ this._connection = value;
+ if ((this.Adapter.InsertCommand != null)) {
+ this.Adapter.InsertCommand.Connection = value;
+ }
+ if ((this.Adapter.DeleteCommand != null)) {
+ this.Adapter.DeleteCommand.Connection = value;
+ }
+ if ((this.Adapter.UpdateCommand != null)) {
+ this.Adapter.UpdateCommand.Connection = value;
+ }
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ if ((this.CommandCollection[i] != null)) {
+ ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
+ }
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
+ return this._transaction;
+ }
+ set {
+ this._transaction = value;
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ this.CommandCollection[i].Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
+ this.Adapter.DeleteCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
+ this.Adapter.InsertCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.UpdateCommand != null))) {
+ this.Adapter.UpdateCommand.Transaction = this._transaction;
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
+ get {
+ if ((this._commandCollection == null)) {
+ this.InitCommandCollection();
+ }
+ return this._commandCollection;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool ClearBeforeFill {
+ get {
+ return this._clearBeforeFill;
+ }
+ set {
+ this._clearBeforeFill = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private void InitAdapter() {
+ this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
+ global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
+ tableMapping.SourceTable = "Table";
+ tableMapping.DataSetTable = "AnagStati";
+ tableMapping.ColumnMappings.Add("CodStato", "CodStato");
+ tableMapping.ColumnMappings.Add("FamStato", "FamStato");
+ tableMapping.ColumnMappings.Add("DescrStato", "DescrStato");
+ tableMapping.ColumnMappings.Add("PrioritaStato", "PrioritaStato");
+ this._adapter.TableMappings.Add(tableMapping);
+ this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.DeleteCommand.Connection = this.Connection;
+ this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[AnagStati] WHERE (([CodStato] = @Original_CodStato) AND ([FamStato] = @Original_FamStato) AND ((@IsNull_DescrStato = 1 AND [DescrStato] IS NULL) OR ([DescrStato] = @Original_DescrStato)) AND ((@IsNull_PrioritaStato = 1 AND [PrioritaStato] IS NULL) OR ([PrioritaStato] = @Original_PrioritaStato)))";
+ this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FamStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FamStato", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrStato", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrStato", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_PrioritaStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PrioritaStato", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PrioritaStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PrioritaStato", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.InsertCommand.Connection = this.Connection;
+ this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[AnagStati] ([CodStato], [FamStato], [DescrStato], [PrioritaSta" +
+ "to]) VALUES (@CodStato, @FamStato, @DescrStato, @PrioritaStato);\r\nSELECT CodStat" +
+ "o, FamStato, DescrStato, PrioritaStato FROM AnagStati WHERE (CodStato = @CodStat" +
+ "o)";
+ this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FamStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FamStato", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrStato", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PrioritaStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PrioritaStato", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.UpdateCommand.Connection = this.Connection;
+ this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[AnagStati] SET [CodStato] = @CodStato, [FamStato] = @FamStato, [DescrStato] = @DescrStato, [PrioritaStato] = @PrioritaStato WHERE (([CodStato] = @Original_CodStato) AND ([FamStato] = @Original_FamStato) AND ((@IsNull_DescrStato = 1 AND [DescrStato] IS NULL) OR ([DescrStato] = @Original_DescrStato)) AND ((@IsNull_PrioritaStato = 1 AND [PrioritaStato] IS NULL) OR ([PrioritaStato] = @Original_PrioritaStato)));
+SELECT CodStato, FamStato, DescrStato, PrioritaStato FROM AnagStati WHERE (CodStato = @CodStato)";
+ this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FamStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FamStato", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescrStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrStato", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PrioritaStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PrioritaStato", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodStato", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FamStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FamStato", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_DescrStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrStato", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_DescrStato", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DescrStato", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_PrioritaStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PrioritaStato", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_PrioritaStato", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "PrioritaStato", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = global::AppData.Properties.Settings.Default.C_TRACKConnectionString;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private void InitCommandCollection() {
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3];
+ this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[0].Connection = this.Connection;
+ this._commandCollection[0].CommandText = "SELECT CodStato, FamStato, DescrStato, PrioritaStato FROM dbo.AnagStati";
+ this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
+ this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[1].Connection = this.Connection;
+ this._commandCollection[1].CommandText = "dbo.stp_AS_GetByFam";
+ this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FamStato", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[2].Connection = this.Connection;
+ this._commandCollection[2].CommandText = "dbo.stp_AS_GetByKey";
+ this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[2].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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStato", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
+ public virtual int Fill(DS_App.AnagStatiDataTable dataTable) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((this.ClearBeforeFill == true)) {
+ dataTable.Clear();
+ }
+ int returnValue = this.Adapter.Fill(dataTable);
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual DS_App.AnagStatiDataTable GetData() {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ DS_App.AnagStatiDataTable dataTable = new DS_App.AnagStatiDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_App.AnagStatiDataTable getByFam(string FamStato) {
+ this.Adapter.SelectCommand = this.CommandCollection[1];
+ if ((FamStato == null)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((string)(FamStato));
+ }
+ DS_App.AnagStatiDataTable dataTable = new DS_App.AnagStatiDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_App.AnagStatiDataTable getByKey(string CodStato) {
+ this.Adapter.SelectCommand = this.CommandCollection[2];
+ if ((CodStato == null)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodStato));
+ }
+ DS_App.AnagStatiDataTable dataTable = new DS_App.AnagStatiDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(DS_App.AnagStatiDataTable dataTable) {
+ return this.Adapter.Update(dataTable);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(DS_App dataSet) {
+ return this.Adapter.Update(dataSet, "AnagStati");
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow dataRow) {
+ return this.Adapter.Update(new global::System.Data.DataRow[] {
+ dataRow});
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow[] dataRows) {
+ return this.Adapter.Update(dataRows);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
+ public virtual int Delete(string Original_CodStato, string Original_FamStato, string Original_DescrStato, global::System.Nullable Original_PrioritaStato) {
+ if ((Original_CodStato == null)) {
+ throw new global::System.ArgumentNullException("Original_CodStato");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_CodStato));
+ }
+ if ((Original_FamStato == null)) {
+ throw new global::System.ArgumentNullException("Original_FamStato");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_FamStato));
+ }
+ if ((Original_DescrStato == null)) {
+ this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_DescrStato));
+ }
+ if ((Original_PrioritaStato.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[5].Value = ((int)(Original_PrioritaStato.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
+ if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.DeleteCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.DeleteCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
+ public virtual int Insert(string CodStato, string FamStato, string DescrStato, global::System.Nullable PrioritaStato) {
+ if ((CodStato == null)) {
+ throw new global::System.ArgumentNullException("CodStato");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CodStato));
+ }
+ if ((FamStato == null)) {
+ throw new global::System.ArgumentNullException("FamStato");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[1].Value = ((string)(FamStato));
+ }
+ if ((DescrStato == null)) {
+ this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[2].Value = ((string)(DescrStato));
+ }
+ if ((PrioritaStato.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[3].Value = ((int)(PrioritaStato.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
+ if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.InsertCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.InsertCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(string CodStato, string FamStato, string DescrStato, global::System.Nullable PrioritaStato, string Original_CodStato, string Original_FamStato, string Original_DescrStato, global::System.Nullable Original_PrioritaStato) {
+ if ((CodStato == null)) {
+ throw new global::System.ArgumentNullException("CodStato");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CodStato));
+ }
+ if ((FamStato == null)) {
+ throw new global::System.ArgumentNullException("FamStato");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(FamStato));
+ }
+ if ((DescrStato == null)) {
+ this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(DescrStato));
+ }
+ if ((PrioritaStato.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(PrioritaStato.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ if ((Original_CodStato == null)) {
+ throw new global::System.ArgumentNullException("Original_CodStato");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_CodStato));
+ }
+ if ((Original_FamStato == null)) {
+ throw new global::System.ArgumentNullException("Original_FamStato");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_FamStato));
+ }
+ if ((Original_DescrStato == null)) {
+ this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_DescrStato));
+ }
+ if ((Original_PrioritaStato.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[9].Value = ((int)(Original_PrioritaStato.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
+ }
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
+ if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.UpdateCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.UpdateCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(string FamStato, string DescrStato, global::System.Nullable PrioritaStato, string Original_CodStato, string Original_FamStato, string Original_DescrStato, global::System.Nullable Original_PrioritaStato) {
+ return this.Update(Original_CodStato, FamStato, DescrStato, PrioritaStato, Original_CodStato, Original_FamStato, Original_DescrStato, Original_PrioritaStato);
+ }
}
///
@@ -10839,6 +11809,8 @@ SELECT CodArt, Disegno, DescArticolo, CurrRev, ProdRev, FlagIsNew, Tipo FROM Ana
private AnagArticoliTableAdapter _anagArticoliTableAdapter;
+ private AnagStatiTableAdapter _anagStatiTableAdapter;
+
private bool _backupDataSetBeforeUpdate;
private global::System.Data.IDbConnection _connection;
@@ -10924,6 +11896,20 @@ SELECT CodArt, Disegno, DescArticolo, CurrRev, ProdRev, FlagIsNew, Tipo FROM Ana
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
+ "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
+ "a", "System.Drawing.Design.UITypeEditor")]
+ public AnagStatiTableAdapter AnagStatiTableAdapter {
+ get {
+ return this._anagStatiTableAdapter;
+ }
+ set {
+ this._anagStatiTableAdapter = value;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool BackupDataSetBeforeUpdate {
@@ -10963,6 +11949,10 @@ SELECT CodArt, Disegno, DescArticolo, CurrRev, ProdRev, FlagIsNew, Tipo FROM Ana
&& (this._anagArticoliTableAdapter.Connection != null))) {
return this._anagArticoliTableAdapter.Connection;
}
+ if (((this._anagStatiTableAdapter != null)
+ && (this._anagStatiTableAdapter.Connection != null))) {
+ return this._anagStatiTableAdapter.Connection;
+ }
return null;
}
set {
@@ -10991,6 +11981,9 @@ SELECT CodArt, Disegno, DescArticolo, CurrRev, ProdRev, FlagIsNew, Tipo FROM Ana
if ((this._anagArticoliTableAdapter != null)) {
count = (count + 1);
}
+ if ((this._anagStatiTableAdapter != null)) {
+ count = (count + 1);
+ }
return count;
}
}
@@ -11047,6 +12040,15 @@ SELECT CodArt, Disegno, DescArticolo, CurrRev, ProdRev, FlagIsNew, Tipo FROM Ana
allChangedRows.AddRange(updatedRows);
}
}
+ if ((this._anagStatiTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.AnagStati.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
+ result = (result + this._anagStatiTableAdapter.Update(updatedRows));
+ allChangedRows.AddRange(updatedRows);
+ }
+ }
return result;
}
@@ -11097,6 +12099,14 @@ SELECT CodArt, Disegno, DescArticolo, CurrRev, ProdRev, FlagIsNew, Tipo FROM Ana
allAddedRows.AddRange(addedRows);
}
}
+ if ((this._anagStatiTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.AnagStati.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
+ result = (result + this._anagStatiTableAdapter.Update(addedRows));
+ allAddedRows.AddRange(addedRows);
+ }
+ }
return result;
}
@@ -11107,6 +12117,14 @@ SELECT CodArt, Disegno, DescArticolo, CurrRev, ProdRev, FlagIsNew, Tipo FROM Ana
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
private int UpdateDeletedRows(DS_App dataSet, global::System.Collections.Generic.List allChangedRows) {
int result = 0;
+ if ((this._anagStatiTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.AnagStati.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
+ result = (result + this._anagStatiTableAdapter.Update(deletedRows));
+ allChangedRows.AddRange(deletedRows);
+ }
+ }
if ((this._anagArticoliTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.AnagArticoli.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
@@ -11211,6 +12229,11 @@ SELECT CodArt, Disegno, DescArticolo, CurrRev, ProdRev, FlagIsNew, Tipo FROM Ana
throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" +
"a stessa stringa di connessione.");
}
+ if (((this._anagStatiTableAdapter != null)
+ && (this.MatchTableAdapterConnection(this._anagStatiTableAdapter.Connection) == false))) {
+ throw new global::System.ArgumentException("Tutti gli oggetti TableAdapter gestiti da TableAdapterManager devono utilizzare l" +
+ "a stessa stringa di connessione.");
+ }
global::System.Data.IDbConnection workConnection = this.Connection;
if ((workConnection == null)) {
throw new global::System.ApplicationException("TableAdapterManager non contiene informazioni di connessione. Impostare la propri" +
@@ -11289,6 +12312,15 @@ SELECT CodArt, Disegno, DescArticolo, CurrRev, ProdRev, FlagIsNew, Tipo FROM Ana
adaptersWithAcceptChangesDuringUpdate.Add(this._anagArticoliTableAdapter.Adapter);
}
}
+ if ((this._anagStatiTableAdapter != null)) {
+ revertConnections.Add(this._anagStatiTableAdapter, this._anagStatiTableAdapter.Connection);
+ this._anagStatiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
+ this._anagStatiTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
+ if (this._anagStatiTableAdapter.Adapter.AcceptChangesDuringUpdate) {
+ this._anagStatiTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
+ adaptersWithAcceptChangesDuringUpdate.Add(this._anagStatiTableAdapter.Adapter);
+ }
+ }
//
//---- Perform updates -----------
//
@@ -11367,6 +12399,10 @@ SELECT CodArt, Disegno, DescArticolo, CurrRev, ProdRev, FlagIsNew, Tipo FROM Ana
this._anagArticoliTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagArticoliTableAdapter]));
this._anagArticoliTableAdapter.Transaction = null;
}
+ if ((this._anagStatiTableAdapter != null)) {
+ this._anagStatiTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._anagStatiTableAdapter]));
+ this._anagStatiTableAdapter.Transaction = null;
+ }
if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) {
global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count];
adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters);
diff --git a/AppData/DS_App.xsd b/AppData/DS_App.xsd
index 38e93db..4acb97c 100644
--- a/AppData/DS_App.xsd
+++ b/AppData/DS_App.xsd
@@ -848,6 +848,104 @@ SELECT CodArt, Disegno, DescArticolo, CurrRev, ProdRev, FlagIsNew, Tipo FROM Ana
+
+
+
+ dbo.stp_TL2P_UpdateFase
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DELETE FROM [dbo].[AnagStati] WHERE (([CodStato] = @Original_CodStato) AND ([FamStato] = @Original_FamStato) AND ((@IsNull_DescrStato = 1 AND [DescrStato] IS NULL) OR ([DescrStato] = @Original_DescrStato)) AND ((@IsNull_PrioritaStato = 1 AND [PrioritaStato] IS NULL) OR ([PrioritaStato] = @Original_PrioritaStato)))
+
+
+
+
+
+
+
+
+
+
+
+
+ INSERT INTO [dbo].[AnagStati] ([CodStato], [FamStato], [DescrStato], [PrioritaStato]) VALUES (@CodStato, @FamStato, @DescrStato, @PrioritaStato);
+SELECT CodStato, FamStato, DescrStato, PrioritaStato FROM AnagStati WHERE (CodStato = @CodStato)
+
+
+
+
+
+
+
+
+
+
+ SELECT CodStato, FamStato, DescrStato, PrioritaStato FROM dbo.AnagStati
+
+
+
+
+
+ UPDATE [dbo].[AnagStati] SET [CodStato] = @CodStato, [FamStato] = @FamStato, [DescrStato] = @DescrStato, [PrioritaStato] = @PrioritaStato WHERE (([CodStato] = @Original_CodStato) AND ([FamStato] = @Original_FamStato) AND ((@IsNull_DescrStato = 1 AND [DescrStato] IS NULL) OR ([DescrStato] = @Original_DescrStato)) AND ((@IsNull_PrioritaStato = 1 AND [PrioritaStato] IS NULL) OR ([PrioritaStato] = @Original_PrioritaStato)));
+SELECT CodStato, FamStato, DescrStato, PrioritaStato FROM AnagStati WHERE (CodStato = @CodStato)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_AS_GetByFam
+
+
+
+
+
+
+
+
+
+
+ dbo.stp_AS_GetByKey
+
+
+
+
+
+
+
@@ -1350,6 +1448,34 @@ SELECT CodArt, Disegno, DescArticolo, CurrRev, ProdRev, FlagIsNew, Tipo FROM Ana
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1391,6 +1517,10 @@ SELECT CodArt, Disegno, DescArticolo, CurrRev, ProdRev, FlagIsNew, Tipo FROM Ana
+
+
+
+
diff --git a/AppData/DS_App.xss b/AppData/DS_App.xss
index f02bf5d..1caba67 100644
--- a/AppData/DS_App.xss
+++ b/AppData/DS_App.xss
@@ -4,21 +4,22 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
-->
-
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
-
+
897
@@ -30,7 +31,7 @@
-
+
900
@@ -42,7 +43,7 @@
-
+
519
@@ -54,7 +55,7 @@
-
+
626
diff --git a/C-TRACK/WebUserControls/mod_postMulti.ascx b/C-TRACK/WebUserControls/mod_postMulti.ascx
index f6b3423..f65cb54 100644
--- a/C-TRACK/WebUserControls/mod_postMulti.ascx
+++ b/C-TRACK/WebUserControls/mod_postMulti.ascx
@@ -6,7 +6,7 @@
-
@@ -15,7 +15,7 @@
-
diff --git a/C-TRACK/WebUserControls/mod_task2post.ascx b/C-TRACK/WebUserControls/mod_task2post.ascx
index 540ee51..1b3d932 100644
--- a/C-TRACK/WebUserControls/mod_task2post.ascx
+++ b/C-TRACK/WebUserControls/mod_task2post.ascx
@@ -2,53 +2,84 @@
-
-
-
- -
+
+
+
+
+
+
+ No Record
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
-
-
-
- -
-
-
-
-
-
-
-
-
+
+
+
+
-
+
+
+
+
+
+
+
+
diff --git a/C-TRACK/WebUserControls/mod_task2post.ascx.designer.cs b/C-TRACK/WebUserControls/mod_task2post.ascx.designer.cs
index 18b4d86..ce7500f 100644
--- a/C-TRACK/WebUserControls/mod_task2post.ascx.designer.cs
+++ b/C-TRACK/WebUserControls/mod_task2post.ascx.designer.cs
@@ -22,13 +22,13 @@ namespace C_TRACK.WebUserControls {
protected global::System.Web.UI.WebControls.HiddenField hfStatoComm;
///
- /// Controllo repList.
+ /// Controllo grView.
///
///
/// 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 repList;
+ protected global::System.Web.UI.WebControls.GridView grView;
///
/// Controllo ods.
@@ -38,5 +38,14 @@ namespace C_TRACK.WebUserControls {
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
///
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
+
+ ///
+ /// Controllo odsFasi.
+ ///
+ ///
+ /// 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 odsFasi;
}
}